java.lang.RuntimeException: Error while trying to run CVS rlog

Jenkins JIRA | Faizan Javed | 2 years ago
  1. 0

    I am getting following error in Jenkins. The cvs version on our server is: Concurrent Versions System (CVS) 1.12.13 (client/server) When I don't select 'skip changelog' the build always fail with the exception listed below. I tried running 'cvs rlog' command from command prompt, it didn't work. But with 'cvs log' I am getting the changelog. Using globally configured password for connection to ':pserver:192.168.4.101:2401/home/cvs/src' with username 'jenkins' cvs rlog -S -d25 Mar 2015 12:59:39 +0500<25 Mar 2015 13:06:21 +0500 ns cvs [rlog aborted]: premature end of value in /home/cvs/src/ns/stencils/statements/Attic/CheckTemplateUCPA.rtf,v revision 1.6 FATAL: Error while trying to run CVS rlog java.lang.RuntimeException: Error while trying to run CVS rlog at hudson.scm.AbstractCvs.executeRlog(AbstractCvs.java:694) at hudson.scm.AbstractCvs.access$100(AbstractCvs.java:80) at hudson.scm.AbstractCvs$2.invoke(AbstractCvs.java:666) at hudson.scm.AbstractCvs$2.invoke(AbstractCvs.java:663) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at hudson.scm.AbstractCvs.getRemoteLogForModule(AbstractCvs.java:663) at hudson.scm.AbstractCvs.calculateChangeLog(AbstractCvs.java:782) at hudson.scm.AbstractCvs.postCheckout(AbstractCvs.java:797) at hudson.scm.CVSSCM.checkout(CVSSCM.java:351) at hudson.model.AbstractProject.checkout(AbstractProject.java:1270) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531) at hudson.model.Run.execute(Run.java:1718) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)

    Jenkins JIRA | 2 years ago | Faizan Javed
    java.lang.RuntimeException: Error while trying to run CVS rlog
  2. 0

    I am getting following error in Jenkins. The cvs version on our server is: Concurrent Versions System (CVS) 1.12.13 (client/server) When I don't select 'skip changelog' the build always fail with the exception listed below. I tried running 'cvs rlog' command from command prompt, it didn't work. But with 'cvs log' I am getting the changelog. Using globally configured password for connection to ':pserver:192.168.4.101:2401/home/cvs/src' with username 'jenkins' cvs rlog -S -d25 Mar 2015 12:59:39 +0500<25 Mar 2015 13:06:21 +0500 ns cvs [rlog aborted]: premature end of value in /home/cvs/src/ns/stencils/statements/Attic/CheckTemplateUCPA.rtf,v revision 1.6 FATAL: Error while trying to run CVS rlog java.lang.RuntimeException: Error while trying to run CVS rlog at hudson.scm.AbstractCvs.executeRlog(AbstractCvs.java:694) at hudson.scm.AbstractCvs.access$100(AbstractCvs.java:80) at hudson.scm.AbstractCvs$2.invoke(AbstractCvs.java:666) at hudson.scm.AbstractCvs$2.invoke(AbstractCvs.java:663) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at hudson.scm.AbstractCvs.getRemoteLogForModule(AbstractCvs.java:663) at hudson.scm.AbstractCvs.calculateChangeLog(AbstractCvs.java:782) at hudson.scm.AbstractCvs.postCheckout(AbstractCvs.java:797) at hudson.scm.CVSSCM.checkout(CVSSCM.java:351) at hudson.model.AbstractProject.checkout(AbstractProject.java:1270) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531) at hudson.model.Run.execute(Run.java:1718) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)

    Jenkins JIRA | 2 years ago | Faizan Javed
    java.lang.RuntimeException: Error while trying to run CVS rlog
  3. 0

    There are some organisation still using older versions of CVS servers which don't support rlog with -S option. The CVS server the team I am on use is out of our control and there is no plan to upgrade it. If I don't 'select skip changelog' the build will always fail with the exception listed below. I have tested executing this command without the -S option and the command is successful. A fix for this could be to include a checkbox in the build configuration which allows the user to run rlog in a legacy mode without the -S option. Using locally configured password for connection to :pserver:userx@xxxx-xxxxxxxx:/ra1/CVS cvs rlog -S -d25 Oct 2013 16:35:32 +1100<29 Oct 2013 10:57:37 +1100 myproject/xxx/xxx cvs server: invalid option -- S Usage: cvs rlog [-lRhtNb] [-r[revisions]] [-d dates] [-s states] [-w[logins]] [files...] -l Local directory only, no recursion. -R Only print name of RCS file. -h Only print header. -t Only print header and descriptive text. -N Do not list tags. -b Only list revisions on the default branch. -r[revisions] Specify revision(s)s to list. rev1:rev2 Between rev1 and rev2, including rev1 and rev2. rev1::rev2 Between rev1 and rev2, excluding rev1 and rev2. rev: rev and following revisions on the same branch. rev:: After rev on the same branch. :rev rev and previous revisions on the same branch. ::rev Before rev on the same branch. rev Just rev. branch All revisions on the branch. branch. The last revision on the branch. -d dates Specify dates (D1<D2 for range, D for latest before). -s states Only list revisions with specified states. -w[logins] Only list revisions checked in by specified logins. (Specify the --help global option for a list of other help options) FATAL: Error while trying to run CVS rlog java.lang.RuntimeException: Error while trying to run CVS rlog at hudson.scm.AbstractCvs.getRemoteLogForModule(AbstractCvs.java:623) at hudson.scm.AbstractCvs.calculateChangeLog(AbstractCvs.java:696) at hudson.scm.AbstractCvs.postCheckout(AbstractCvs.java:715) at hudson.scm.CVSSCM.checkout(CVSSCM.java:359) at hudson.model.AbstractProject.checkout(AbstractProject.java:1256) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:590) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:495) at hudson.model.Run.execute(Run.java:1502) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237)

    Jenkins JIRA | 3 years ago | Simon Borysiewicz
    java.lang.RuntimeException: Error while trying to run CVS rlog
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    There are some organisation still using older versions of CVS servers which don't support rlog with -S option. The CVS server the team I am on use is out of our control and there is no plan to upgrade it. If I don't 'select skip changelog' the build will always fail with the exception listed below. I have tested executing this command without the -S option and the command is successful. A fix for this could be to include a checkbox in the build configuration which allows the user to run rlog in a legacy mode without the -S option. Using locally configured password for connection to :pserver:userx@xxxx-xxxxxxxx:/ra1/CVS cvs rlog -S -d25 Oct 2013 16:35:32 +1100<29 Oct 2013 10:57:37 +1100 myproject/xxx/xxx cvs server: invalid option -- S Usage: cvs rlog [-lRhtNb] [-r[revisions]] [-d dates] [-s states] [-w[logins]] [files...] -l Local directory only, no recursion. -R Only print name of RCS file. -h Only print header. -t Only print header and descriptive text. -N Do not list tags. -b Only list revisions on the default branch. -r[revisions] Specify revision(s)s to list. rev1:rev2 Between rev1 and rev2, including rev1 and rev2. rev1::rev2 Between rev1 and rev2, excluding rev1 and rev2. rev: rev and following revisions on the same branch. rev:: After rev on the same branch. :rev rev and previous revisions on the same branch. ::rev Before rev on the same branch. rev Just rev. branch All revisions on the branch. branch. The last revision on the branch. -d dates Specify dates (D1<D2 for range, D for latest before). -s states Only list revisions with specified states. -w[logins] Only list revisions checked in by specified logins. (Specify the --help global option for a list of other help options) FATAL: Error while trying to run CVS rlog java.lang.RuntimeException: Error while trying to run CVS rlog at hudson.scm.AbstractCvs.getRemoteLogForModule(AbstractCvs.java:623) at hudson.scm.AbstractCvs.calculateChangeLog(AbstractCvs.java:696) at hudson.scm.AbstractCvs.postCheckout(AbstractCvs.java:715) at hudson.scm.CVSSCM.checkout(CVSSCM.java:359) at hudson.model.AbstractProject.checkout(AbstractProject.java:1256) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:590) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:495) at hudson.model.Run.execute(Run.java:1502) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237)

    Jenkins JIRA | 3 years ago | Simon Borysiewicz
    java.lang.RuntimeException: Error while trying to run CVS rlog
  6. 0

    During the checkout process an uncaught Exception is thrown that fails the build. [DEBUG] IntegritySCM - Checkout on API thread: hudson.scm.APISession@fe9ee5 [INFO] IntegritySCM - java.util.concurrent.ExecutionException: java.lang.Exception: MKS124803: Internal error detected: Exception was: java.lang.RuntimeException: Release MKS Source registry for multiple updates: Attempt to release when not active! [INFO] IntegritySCM - at java.util.concurrent.FutureTask$Sync.innerGet(null:-1) [INFO] IntegritySCM - at java.util.concurrent.FutureTask.get(null:-1) [INFO] IntegritySCM - at hudson.scm.IntegrityCheckoutTask.invoke(IntegrityCheckoutTask.java:361) [INFO] IntegritySCM - at hudson.scm.IntegrityCheckoutTask.invoke(IntegrityCheckoutTask.java:25) [INFO] IntegritySCM - at hudson.FilePath.act(FilePath.java:914) [INFO] IntegritySCM - at hudson.FilePath.act(FilePath.java:887) [INFO] IntegritySCM - at hudson.scm.IntegritySCM.checkout(IntegritySCM.java:789) [INFO] IntegritySCM - at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) [INFO] IntegritySCM - at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:651) [INFO] IntegritySCM - at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) [INFO] IntegritySCM - at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:560) [INFO] IntegritySCM - at hudson.model.Run.execute(Run.java:1670) [INFO] IntegritySCM - at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) [INFO] IntegritySCM - at hudson.model.ResourceController.execute(ResourceController.java:88) [INFO] IntegritySCM - at hudson.model.Executor.run(Executor.java:231) This happens only if the "Checkout Thread Pool Size" is > 1. The occurrence of the exception is directly related to the "Checkout Thread Pool Size" : the bigger the pool, the more likely an exception is thrown.

    Jenkins JIRA | 3 years ago | Matthias Rump
    java.lang.RuntimeException: Release MKS Source registry for multiple updates: Attempt to release when not active! at java.util.concurrent.FutureTask$Sync.innerGet(null:-1) at java.util.concurrent.FutureTask.get(null:-1)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Error while trying to run CVS rlog

      at hudson.scm.AbstractCvs.executeRlog()
    2. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.scm.AbstractCvs.executeRlog(AbstractCvs.java:694)
      2. hudson.scm.AbstractCvs.access$100(AbstractCvs.java:80)
      3. hudson.scm.AbstractCvs$2.invoke(AbstractCvs.java:666)
      4. hudson.scm.AbstractCvs$2.invoke(AbstractCvs.java:663)
      5. hudson.FilePath.act(FilePath.java:989)
      6. hudson.FilePath.act(FilePath.java:967)
      7. hudson.scm.AbstractCvs.getRemoteLogForModule(AbstractCvs.java:663)
      8. hudson.scm.AbstractCvs.calculateChangeLog(AbstractCvs.java:782)
      9. hudson.scm.AbstractCvs.postCheckout(AbstractCvs.java:797)
      10. hudson.scm.CVSSCM.checkout(CVSSCM.java:351)
      11. hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
      12. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
      12 frames
    3. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    4. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
      2. hudson.model.Run.execute(Run.java:1718)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:89)
      5. hudson.model.Executor.run(Executor.java:240)
      5 frames