Hi Team,
Please help with any solution to fix the code commit issue in SVN repo. There is no issue in code check out, only it is throwing below error while doing code commits.
We tried all the major troubleshooting steps to fix the issue – yet it is not working.
Some of selected resources were not committed. |
Regards,
Praveen Pothkanoori
ECOM Support | India
Hi Daniel,
Below are the details requested –
SVN version
$ svn --version svn, version 1.6.11 (r934486) compiled Aug 4 2015, 09:07:02
Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_neon : Module for accessing a repository via WebDAV protocol using Neon. - handles 'http' scheme - handles 'https' scheme * ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme |
Linux version
$ lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: RedHatEnterpriseServer Description: Red Hat Enterprise Linux Server release 6.10 (Santiago) Release: 6.10 Codename: Santiago |
Errors:
10.1.174.152 - - [07/Jul/2023:07:31:14 -0700] "MKACTIVITY /pvcs/mattel/!svn/act/1ac6f174-a536-ae47-85d4-15f6183c211d HTTP/1.1" 401 487 "-" "SVN/1.9.7 (x64-microsoft-windows) serf/1.3.9 TortoiseSVN-1.9.7.27907" 10.1.174.152 - DUTTAOIS [07/Jul/2023:07:31:26 -0700] "MKACTIVITY /pvcs/mattel/!svn/act/1ac6f174-a536-ae47-85d4-15f6183c211d HTTP/1.1" 500 620 "-" "SVN/1.9.7 (x64-microsoft-windows) serf/1.3.9 TortoiseSVN-1.9.7.27907" 10.1.174.152 - DUTTAOIS [07/Jul/2023:07:31:27 -0700] "DELETE /pvcs/mattel/!svn/act/1ac6f174-a536-ae47-85d4-15f6183c211d HTTP/1.1" 500 620 "-" "SVN/1.9.7 (x64-microsoft-windows) serf/1.3.9 TortoiseSVN-1.9.7.27907" |
[Sun May 28 03:38:02 2023] [notice] Apache/2.2.15 (Unix) DAV/2 SVN/1.6.11 configured -- resuming normal operations [Wed May 31 01:40:22 2023] [error] [client 10.7.52.182] Could not MERGE resource "/repos/wc/!svn/act/f8303ca6-08cd-854f-b08c-4f1433336a96" into "/repos/wc/onestore/branch/WCSPOD_2020/workspace/CSRStores/WebContent/Widgets/MattelCSRLineItemNotes". [409, #0] [Wed May 31 01:40:22 2023] [error] [client 10.7.52.182] Commit blocked by pre-commit hook (exit code 1) with output:\n------------------------------------------------------------------------\nCOMMIT VIOLATION:\n Commit comment must start with Jira issue IDs, like ASDF-0001, OWL-1234, AGCUP-567, or NONE, followed by ":"\n Revision property "svn:log" did not match regex "^((NONE)|((OWL|AEMECOM|CM|AGDT|ADA|AGDH|TPP|DPS|WCSPB)-[0-9]+,?)+):"\nMore info at http://svn/repos/wc/onestore/admin/rules.html\n [409, #165001] [Wed May 31 10:52:29 2023] [error] [client 10.7.52.182] Could not MERGE resource "/repos/wc/!svn/act/cab5ba16-3390-6c47-93a3-92ba30ec5780" into "/repos/wc/onestore/tag/QA_latest/workspace/CSRStores". [409, #0] [Wed May 31 10:52:29 2023] [error] [client 10.7.52.182] Commit blocked by pre-commit hook (exit code 1) with output:\n------------------------------------------------------------------------\nCOMMIT VIOLATION:\n Commit comment must start with Jira issue IDs, like ASDF-0001, OWL-1234, AGCUP-567, or NONE, followed by ":"\n Revision property "svn:log" did not match regex "^((NONE)|((OWL|AEMECOM|CM|AGDT|ADA|AGDH|TPP|DPS|WCSPB)-[0-9]+,?)+):"\n------------------------------------------------------------------------\nCOMMIT VIOLATION:\n Commit comment must have at least 10 characters after the colon\n Revision property "svn:log" did not match regex ":.{10,}"\nMore info at http://svn/repos/wc/onestore/admin/rules.html\n [409, #165001] [Wed May 31 13:23:01 2023] [error] [client 10.3.65.26] Directory index forbidden by Options directive: /var/www/html/ [Wed May 31 13:23:20 2023] [error] [client 10.3.65.26] File does not exist: /var/www/html/js [Wed May 31 13:23:20 2023] [error] [client 10.3.65.26] Directory index forbidden by Options directive: /var/www/html/ [Wed May 31 13:23:20 2023] [error] [client 10.3.65.26] File does not exist: /var/www/html/DeviceInformation [Wed May 31 13:23:20 2023] [error] [client 10.3.65.26] File does not exist: /var/www/html/CGI [Wed May 31 13:23:20 2023] [error] [client 10.3.65.26] Directory index forbidden by Options directive: /var/www/html/ [Wed May 31 13:23:20 2023] [error] [client 10.3.65.26] File does not exist: /var/www/html/js [Wed May 31 13:23:20 2023] [error] [client 10.3.65.26] Directory index forbidden by Options directive: /var/www/html/ [Wed May 31 13:23:20 2023] [error] [client 10.3.65.26] File does not exist: /var/www/html/php [Wed May 31 13:23:20 2023] [error] [client 10.3.65.26] File does not exist: /var/www/html/DeviceInformation [Wed May 31 13:23:20 2023] [error] [client 10.3.65.26] File does not exist: /var/www/html/CGI [Wed May 31 13:24:21 2023] [error] [client 10.3.65.26] File does not exist: /var/www/html/selfupdate [Wed May 31 13:24:21 2023] [error] [client 10.3.65.26] Directory index forbidden by Options directive: /var/www/html/ [Wed May 31 13:24:21 2023] [error] [client 10.3.65.26] Directory index forbidden by Options directive: /var/www/html/ |
Regards,
Praveen Pothkanoori
From: Daniel Sahlberg <daniel.l...@gmail.com>
Sent: Thursday, July 13, 2023 8:49 AM
To: Pothkanoori, Praveen Kumar(HCL) <PraveenKumar...@Mattel.com>
Cc: us...@subversion.apache.org
Subject: Re: Unable to commit code in SVN repo
** This email was sent from an external source **
HI Daniel,
Thanks for the inputs.
Upon my analysis – I could conclude that pre commit hook error is not causing the issue as we could even see these error while commit was working.
Also, this commit issue started only from June 20, 2023 – some 3 weeks ago.
I completely understand it is very old version that we are using, but it broke suddenly, and no fix is working.
Can we upgrade to latest version with this issue ongoing? And this upgrade doesn’t corrupt the files?
Best Regards,
Praveen Pothkanooru
Mattel ECOM Support
HCL Tech | Mattel Inc
HI Daniel,
Thanks for the inputs.
Upon my analysis – I could conclude that pre commit hook error is not causing the issue as we could even see these error while commit was working.
Also, this commit issue started only from June 20, 2023 – some 3 weeks ago.
I completely understand it is very old version that we are using, but it broke suddenly, and no fix is working.
Can we upgrade to latest version with this issue ongoing? And this upgrade doesn’t corrupt the files?