Quantcast

[JIRA] (JENKINS-14293) Error in ChangeLog if some of the changed files are locked

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14293) Error in ChangeLog if some of the changed files are locked

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: cvs
Created: 03/Jul/12 1:20 PM
Description:

While calling "cvs rlog", if some of the changed files are locked, the following error occurs :

.......
cvs rlog -S -d03 Jul 2012 10:50:26 +0200<03 Jul 2012 10:58:16 +0200 MI
.......
cvs rlog: Logging MI/MI/librtpr/rtbiglib
cvs rlog: Logging MI/MI/librtpr/src
cvs rlog: Logging MI/MI/librtpr/test
cvs rlog: Logging MI/MI/librtpr/test/include
cvs rlog: Logging MI/MI/old_libeqpr
cvs rlog: Logging MI/MI/old_libeqpr/src
FATAL: For input string: "3 locked by: mauri;"
java.lang.NumberFormatException: For input string: "3 locked by: mauri;"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at hudson.scm.CvsChangeLogHelper.isChangeValidForFileVersion(CvsChangeLogHelper.java:260)
at hudson.scm.CvsChangeLogHelper.mapCvsLog(CvsChangeLogHelper.java:200)
at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:419)
at hudson.scm.CVSSCM.checkout(CVSSCM.java:831)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1248)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
at hudson.model.Run.execute(Run.java:1484)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236

Following is the "cvs rlog" command line output:

cvs -Q rlog -S -d"03 Jul 2012 10:50:26 +0200<03 Jul 2012 10:58:16 +0200" MI

RCS file: /home_new/mauri/jenkins/testrepo/MI/MI/librtpr/Makefile,v
head: 1.3
branch:
locks: strict
mauri: 1.3
access list:
symbolic names:
ACME: 1.1.1.1
first-import: 1.1.1
keyword substitution: kv
total revisions: 4; selected revisions: 1
description:
----------------------------
revision 1.3 locked by: mauri;
date: 2012-07-03 10:54:50 +0200; author: mauri; state: Exp; lines: +0 -1; commitid: YV4vP97yquVGX5bw;
bbb
=============================================================================

It seems the plugin was not able to parse away the substring "locked by: mauri" from the revision line.

Environment: cvs server version 1.12.13
Project: Jenkins
Labels: plugin
Priority: Major Major
Reporter: Gianvittorio Mauri
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14293) Error in ChangeLog if some of the changed files are locked

JIRA noreply@jenkins-ci.org
Change By: Michael Clarke (03/Sep/12 7:58 AM)
Assignee: Michael Clarke
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14293) Error in ChangeLog if some of the changed files are locked

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Michael Clarke started work on Bug JENKINS-14293
Change By: Michael Clarke (03/Sep/12 7:58 AM)
Status: Open In Progress
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14293) Error in ChangeLog if some of the changed files are locked

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Code changed in jenkins
User: mc1arke
Path:
src/main/java/hudson/scm/AbstractCvs.java
src/main/java/hudson/scm/CVSChangeLogSet.java
src/main/java/hudson/scm/CvsLog.java
src/test/java/hudson/scm/CvsChangeLogHelperTest.java
http://jenkins-ci.org/commit/cvs-plugin/da501e9c5984e7e8b48bbf28cb22a36888e45dcc
Log:
Changing from regexp to keyword/token based parsing of CVS rlog output
[FIXED JENKINS-14163] Prevent hanging of polling whilst parsing rlog contents
[FIXED JENKINS-14293] Handle files with additional parameters in rlog output

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14293) Error in ChangeLog if some of the changed files are locked

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Michael Clarke resolved Bug JENKINS-14293 as Fixed
Change By: Michael Clarke (03/Sep/12 5:57 PM)
Status: In Progress Resolved
Resolution: Fixed
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...