Quantcast

[JIRA] (JENKINS-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

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

[JIRA] (JENKINS-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: cvs
Created: 07/Aug/12 3:16 PM
Description:

When creating a job using a cvs branch, and cvs plugin does the checkout and rlog, but finds nothing. Using the same parameters from the commandline, using linux cvs client, it does see the changes.

From the log:
cvs rlog -S -d07 Aug 2012 17:47:11 +0300<07 Aug 2012 18:12:20 +0300 base-iso
cvs rlog: Logging base-iso
cvs rlog: Logging base-iso/.disk
cvs rlog: Logging base-iso/boot

but from the commandline:
cvs rlog -S -d"07 Aug 2012 17:47:11 +0300<07 Aug 2012 18:12:20 +0300" base-iso
cvs rlog: Logging base-iso

RCS file: /opt/cvsroot/base-iso/create_iso.sh,v
head: 1.6
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 1
description:
----------------------------
revision 1.6
date: 2012/08/07 14:47:55; author: urim; state: Exp; lines: +1 -1
Changelog
=============================================================================
cvs rlog: Logging base-iso/.disk
cvs rlog: Logging base-iso/boot
cvs rlog: Logging base-iso/boot/grub

After downgrading to CVS plugin 1.6, the changes list is working, so it seems to be a problem with the cvs library.

Project: Jenkins
Priority: Major Major
Reporter: uri milman
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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

JIRA noreply@jenkins-ci.org

It looks to be a regression from 2.4. I have just downgraded from 2.5 to 2.4 and it is working again.

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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

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

I have one installation with version 2.5 of plugin (Jenkins 1.477) and it is not possible to downgrade to 2.4 but only to 1.6 from the jenkins manager console. Is there any workarround to get it working before we have the issue solved?

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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

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

BTW, the workaround is to fix the changelog.xml files manually. Just change de <changeDate> to use - instead / as date fields separator. Maybe a shell script could help.

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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

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

I have found the error and created a patch at https://github.com/mgraciano/cvs-plugin/commit/acda8d6d6cc9053f770ae765c497a6396b860b9f

It was a parsing pattern issue, so i fixed to revert to the original parsing and created a workaround to parse the current date. The problem is just for visualization, the changelog is created successfully. How can I send the patch to you? Should I create a pull request?

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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Michel Graciano started work on Bug JENKINS-14711
Change By: Michel Graciano (16/Aug/12 3:55 PM)
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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Michel Graciano stopped work on Bug JENKINS-14711
Change By: Michel Graciano (16/Aug/12 7:02 PM)
Status: In Progress Open
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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

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

I have updated my patch and create tests to avoid this kind of regression again as well to verify the patch.

https://github.com/mgraciano/cvs-plugin/commits/master

Should I start a pull request for this?

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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

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

Code changed in jenkins
User: mgraciano
Path:
src/main/java/hudson/scm/CVSChangeLogSet.java
src/test/java/hudson/scm/CVSChangeLogParserTest.java
src/test/resources/hudson/scm/changelogCurrentFormat.xml
src/test/resources/hudson/scm/changelogRegression14711.xml
http://jenkins-ci.org/commit/cvs-plugin/c990be067a84f6dda9a127dada65e47e0b91ec84
Log:
Created tests to verify changelog parsing retrocompatibility for JENKINS-14711

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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

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

Code changed in jenkins
User: mgraciano
Path:
src/main/java/hudson/scm/CVSChangeLogSet.java
http://jenkins-ci.org/commit/cvs-plugin/acda8d6d6cc9053f770ae765c497a6396b860b9f
Log:
JENKINS-14711 - No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

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

Code changed in jenkins
User: mgraciano
Path:
src/test/java/hudson/scm/CVSChangeLogSetTest.java
http://jenkins-ci.org/commit/cvs-plugin/e50ef5e9abf9f196a4c7e487481c5dcfcac094e9
Log:
Created tests to avoid regressions as JENKINS-14711

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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

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/CVSChangeLogSet.java
src/test/java/hudson/scm/CVSChangeLogParserTest.java
src/test/java/hudson/scm/CVSChangeLogSetTest.java
src/test/resources/hudson/scm/changelogCurrentFormat.xml
src/test/resources/hudson/scm/changelogRegression14711.xml
http://jenkins-ci.org/commit/cvs-plugin/7b2322db8d83efbef17a4dc1bf1f67931d83f0e2
Log:
Merge pull request #14 from mgraciano/master

Fix for issue JENKINS-14711

Compare: https://github.com/jenkinsci/cvs-plugin/compare/dd3cbc6479a4...7b2322db8d83

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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Michael Clarke resolved Bug JENKINS-14711 as Fixed

Pull request merged, available in next release

Change By: Michael Clarke (17/Aug/12 7:24 AM)
Status: Open Resolved
Assignee: Michael Clarke
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

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

Thanks Michael.

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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

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

Hi,

I am still getting this issue where I am seeing no changes in change log it updated my workspace though & rlog command works fine on Solaris CLI as.

My set up is

Jenkins ver. 1.488
CVS plugin I tried both latest 2.7 & 2.4 no luck

My Project job configuration for SCM is
location: Tag
Tag name: DEV
Use Update is checked (yes)

Basically I want Jenkins to kick of build job if there are any updates to a particular tag in this case DEV, which works fine with this scheme for my workspace but the change is not reflected in change log.

Console output
cvs checkout -r DEV -d temp srcmgr
cvs checkout: Updating temp
cvs checkout: Updating temp/adhoc
cvs checkout: Updating temp/cm
cvs checkout: Updating temp/cm/bin
cvs checkout: Updating temp/logs
cvs checkout: Updating temp/test
U temp/test/someotheFile
cvs checkout: Updating temp/test/createSomeLongPathDirAveryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVerylongpathDirectory
cvs checkout: Updating temp/test/someDir
U temp/test/someDir/foo.bar
Using locally configured password for connection to :pserver:amittal@melcvs01:/cvs
cvs rlog -S -d15 Nov 2012 15:24:35 +1100<15 Nov 2012 15:39:59 +1100 srcmgr
cvs rlog: Logging srcmgr
cvs rlog: Logging srcmgr/adhoc
cvs rlog: Logging srcmgr/cm
cvs rlog: Logging srcmgr/cm/bin
cvs rlog: Logging srcmgr/logs
cvs rlog: Logging srcmgr/test
cvs rlog: Logging srcmgr/test/createSomeLongPathDirAveryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVerylongpathDirectory
cvs rlog: Logging srcmgr/test/someDir

It updates my workspace however there is nothing in the change log or changes in Jenkins, whereas I can run rlog on Solaris CLI
>cvs rlog -S -d'15 Nov 2012 15:24:35 +1100<15 Nov 2012 15:39:59 +1100' srcmgr
cvs rlog: Logging srcmgr
cvs rlog: Logging srcmgr/adhoc
cvs rlog: Logging srcmgr/cm
cvs rlog: Logging srcmgr/cm/bin
cvs rlog: Logging srcmgr/logs
cvs rlog: Logging srcmgr/test

RCS file: /cvs/srcmgr/test/someotheFile,v
head: 1.3
branch:
locks: strict
access list:
symbolic names:
TAGINFO: 1.1
SOURCE_CONTROL: 1.1
QA: 1.1
PRODSTAGE: 1.1
PRODBUILD: 1.1
PRODFIX: 1.1
SITPR1: 1.1
UATPR1: 1.1
TESTGAP: 1.1
TESTMIG: 1.1
TRNG: 1.1
HUGO: 1.1
DEVGAP: 1.1
DEVMIG2: 1.1
DEVMIG: 1.1
DEV: 1.3
keyword substitution: kv
total revisions: 3; selected revisions: 1
description:
----------------------------
revision 1.2
date: 2012/11/15 04:39:21; author: amittal; state: Exp; lines: +1 -0

      • empty log message ***
        =============================================================================
        cvs rlog: Logging srcmgr/test/createSomeLongPathDirAveryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVerylongpathDirectory
        cvs rlog: Logging srcmgr/test/someDir

Change log is empty
/export/home/amittal/.jenkins/jobs/Akhil/builds/17 >cat changelog.xml
<?xml version="1.0" encoding="UTF-8"?>
<changelog>
</changelog>

TIA
Akhil

Change By: Akhil Mittal (15/Nov/12 5:29 AM)
Resolution: Fixed
Status: Resolved Reopened
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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

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

Could you attach your RLOG output as a text document please?

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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Akhil Mittal (15/Nov/12 9:36 PM)
Attachment: Jenkins_console_build17_out.txt
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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Akhil Mittal (15/Nov/12 9:37 PM)
Attachment: rlog_of_solaris_cli.txt
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-14711) No changelist in CVS plugin 2.5 using rlog, but "cli rlog" works fine

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Akhil Mittal (15/Nov/12 9:37 PM)
Attachment: Jenkins_console_build17_out.txt
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
123
Loading...