Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13032

Updating cvs plugin to version 2.0 causes "java.lang.RuntimeException: CVS authentication failure while running rlog command"

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: cvs-plugin
    • Labels:
    • Environment:
      CentOS release 5.4 64-bit, Tomcat 6.0.20, Jenkins 1.454
    • Similar Issues:

      Description

      On version 1.6 everything was ok. Now every job using cvs fails.

      After updating cvs plugin from version 1.6 to 2.0 I get:

      FATAL: CVS authentication failure while running rlog command
      java.lang.RuntimeException: CVS authentication failure while running rlog command
      at hudson.scm.CVSSCM.getRemoteLogForModule(CVSSCM.java:529)
      at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:409)
      at hudson.scm.CVSSCM.checkout(CVSSCM.java:829)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:579)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:468)
      at hudson.model.Run.run(Run.java:1408)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)
      Caused by: org.netbeans.lib.cvsclient.connection.AuthenticationException: Timeout, no response from server.
      at org.netbeans.lib.cvsclient.Client.ensureConnection(Client.java:418)
      at org.netbeans.lib.cvsclient.command.log.RlogCommand.execute(RlogCommand.java:357)
      at org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:710)
      at hudson.scm.CVSSCM.getRemoteLogForModule(CVSSCM.java:521)
      ... 9 more

        Attachments

          Activity

          Hide
          mc1arke Michael Clarke added a comment -

          Next time you have the failure, could you go to /threadDump on your Jenkins host (e.g. http://localhost:8080/threadDump) before and after your restart so I can see if there's any rogue threads hanging around.

          Show
          mc1arke Michael Clarke added a comment - Next time you have the failure, could you go to /threadDump on your Jenkins host (e.g. http://localhost:8080/threadDump ) before and after your restart so I can see if there's any rogue threads hanging around.
          Hide
          jroyer Joël Royer added a comment -

          The bug re-occurs today.
          I joined a zip file which contains thread dumps before and after server reboot.

          Show
          jroyer Joël Royer added a comment - The bug re-occurs today. I joined a zip file which contains thread dumps before and after server reboot.
          Hide
          jroyer Joël Royer added a comment - - edited

          The bug re-occurs today.
          Here is a zip file which contains thread dumps: 1 before restart and 1 after restart

          (See joined file threadDumps.zip)

          Show
          jroyer Joël Royer added a comment - - edited The bug re-occurs today. Here is a zip file which contains thread dumps: 1 before restart and 1 after restart (See joined file threadDumps.zip)
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Michael Clarke
          Path:
          src/main/java/org/netbeans/lib/cvsclient/connection/PServerConnection.java
          http://jenkins-ci.org/commit/cvsclient/44ec053fafb65c44fc6fd4d88ce1d3e13e0da5d9
          Log:
          JENKINS-13032: Force timeout on initial connection to CVS Server

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michael Clarke Path: src/main/java/org/netbeans/lib/cvsclient/connection/PServerConnection.java http://jenkins-ci.org/commit/cvsclient/44ec053fafb65c44fc6fd4d88ce1d3e13e0da5d9 Log: JENKINS-13032 : Force timeout on initial connection to CVS Server
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Michael Clarke
          Path:
          pom.xml
          http://jenkins-ci.org/commit/cvs-plugin/443d3a1d640432d530cca78f6b777f966f2197a0
          Log:
          [FIXED JENKINS-13032] Upgrade to latest CVS Client with socket timeout

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michael Clarke Path: pom.xml http://jenkins-ci.org/commit/cvs-plugin/443d3a1d640432d530cca78f6b777f966f2197a0 Log: [FIXED JENKINS-13032] Upgrade to latest CVS Client with socket timeout

            People

            • Assignee:
              mc1arke Michael Clarke
              Reporter:
              jacekw jacekw
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: