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

No progress while executing pipeline checkout jobs. No exception or error

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • integrity-plugin
    • Jenkins 2.32.2
      Integrity Plugin 2.0.2
      Integrity 10.9

      after trying to check out using a pipeline job with the integrity plugin, in some cases the process seems to stop after the "Preparing to execute ..." output or after creating the Change/Build Log.

      [Pipeline] stage
      [Pipeline] { (fetch)
      [Pipeline] node
      Running on master in C:\DevApps\Jenkins\workspace\test\pipelineName
      [Pipeline] {
      [Pipeline] timestamps
      [Pipeline] {
      [Pipeline] checkout
      08:38:25 Change Log: http://degtsaw371.com.mycompany.net:8080/job/test/job/pipelineName/15/changes
      08:38:25 Build Log: http://degtsaw371.com.mycompany.net:8080/job/test/job/pipelineName/15/console
      08:38:26 Preparing to execute si projectinfo for #/E-EC/Programme/test#3/prog/projectName/7_Quellen
      08:38:27 Preparing to execute si viewproject for #/E-EC/Programme/test#3/prog/projectName/7_Quellen
      

      There is no crash and because of that also no error message or Log entry. The console output remains in a loading state. We have to resart our master to get the plugin back to operational.

          [JENKINS-41838] No progress while executing pipeline checkout jobs. No exception or error

          PTC ALM added a comment -

          Hi Simon,

          To understand this better, can you send across the jenkins logs (https://wiki.jenkins-ci.org/display/JENKINS/Logging) & the IntegritySCM logs (https://wiki.jenkins-ci.org/display/JENKINS/PTC+Integrity+Plugin#PTCIntegrityPlugin-Troubleshooting) for this scenario?

          PTC ALM added a comment - Hi Simon, To understand this better, can you send across the jenkins logs ( https://wiki.jenkins-ci.org/display/JENKINS/Logging ) & the IntegritySCM logs ( https://wiki.jenkins-ci.org/display/JENKINS/PTC+Integrity+Plugin#PTCIntegrityPlugin-Troubleshooting ) for this scenario?

          Simon Beyer added a comment -

          Unfortunately, the Logger stops in the process of communication between jenkins and integrity. The only Error I found (today) looks like this:

          INFO: Starting Parse tasks for Derby DB
          Feb 15, 2017 9:38:01 AM hudson.scm.IntegritySCM checkout
          SEVERE: Execution Exception while parsing Derby Project Members
          java.util.concurrent.ExecutionException: java.sql.SQLSyntaxErrorException: Table/View 'SCM_A5DB047A_E349_4E13_B70F_568E44F56E92' does not exist.
          
          [...]
          

          If one job fails like this, every other running job refuses to go on working. Only "hard kill" and Jenkins restart can solve the issue (sometimes).

          Simon Beyer added a comment - Unfortunately, the Logger stops in the process of communication between jenkins and integrity. The only Error I found (today) looks like this: INFO: Starting Parse tasks for Derby DB Feb 15, 2017 9:38:01 AM hudson.scm.IntegritySCM checkout SEVERE: Execution Exception while parsing Derby Project Members java.util.concurrent.ExecutionException: java.sql.SQLSyntaxErrorException: Table/View 'SCM_A5DB047A_E349_4E13_B70F_568E44F56E92' does not exist. [...] If one job fails like this, every other running job refuses to go on working. Only "hard kill" and Jenkins restart can solve the issue (sometimes).

          Code changed in jenkins
          User: anuragsen
          Path:
          README.md
          src/main/java/hudson/scm/DerbyUtils.java
          src/main/java/hudson/scm/IntegrityCMMember.java
          src/main/java/hudson/scm/IntegrityRunListenerImpl.java
          src/main/java/hudson/scm/api/command/BasicAPICommand.java
          src/main/java/hudson/scm/api/session/APISession.java
          src/main/java/hudson/scm/api/session/ISessionPool.java
          http://jenkins-ci.org/commit/integrity-plugin/a87c734c0d5925665845fe13aed46c6ae653a029
          Log:
          JENKINS-42567 JENKINS-41838 - Deadlock handling of
          getAuthorFromRevisionInfo

          Change-Id: Ifcab4e24047d36603012776e2d2a6c48b92386d5

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: anuragsen Path: README.md src/main/java/hudson/scm/DerbyUtils.java src/main/java/hudson/scm/IntegrityCMMember.java src/main/java/hudson/scm/IntegrityRunListenerImpl.java src/main/java/hudson/scm/api/command/BasicAPICommand.java src/main/java/hudson/scm/api/session/APISession.java src/main/java/hudson/scm/api/session/ISessionPool.java http://jenkins-ci.org/commit/integrity-plugin/a87c734c0d5925665845fe13aed46c6ae653a029 Log: JENKINS-42567 JENKINS-41838 - Deadlock handling of getAuthorFromRevisionInfo Change-Id: Ifcab4e24047d36603012776e2d2a6c48b92386d5

          Code changed in jenkins
          User: Anurag Sen
          Path:
          README.md
          src/main/java/hudson/scm/DerbyUtils.java
          src/main/java/hudson/scm/IntegrityCMMember.java
          src/main/java/hudson/scm/IntegrityRunListenerImpl.java
          src/main/java/hudson/scm/api/command/BasicAPICommand.java
          src/main/java/hudson/scm/api/session/APISession.java
          src/main/java/hudson/scm/api/session/ISessionPool.java
          http://jenkins-ci.org/commit/integrity-plugin/fd7c503648a06b2a08515270a8bd6e261434246a
          Log:
          Merge pull request #47 from anuragsen/master

          JENKINS-42567 JENKINS-41838 - Deadlock handling of getAuthorFromRevisionInfo

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Anurag Sen Path: README.md src/main/java/hudson/scm/DerbyUtils.java src/main/java/hudson/scm/IntegrityCMMember.java src/main/java/hudson/scm/IntegrityRunListenerImpl.java src/main/java/hudson/scm/api/command/BasicAPICommand.java src/main/java/hudson/scm/api/session/APISession.java src/main/java/hudson/scm/api/session/ISessionPool.java http://jenkins-ci.org/commit/integrity-plugin/fd7c503648a06b2a08515270a8bd6e261434246a Log: Merge pull request #47 from anuragsen/master JENKINS-42567 JENKINS-41838 - Deadlock handling of getAuthorFromRevisionInfo

          PTC ALM added a comment -

          Issue resolved in 2.1 version of the plugin.

          PTC ALM added a comment - Issue resolved in 2.1 version of the plugin.

          Hello PTC ALM,

          Facing the same issue with remote client even with

           
          Jenkins Version installed: 2.204.1
          PTC Integrity -Jenkins Plugin version installed: 2.3
          OS: Windows 10
          Web browser: IE
          It takes 2hrs to do this, however blocking other threads in the PTC integrity server.

          This is important for us, could you please look into it.

          Thanks,

          RajendraPrasad

          RajendraPrasad Nagula added a comment - Hello PTC ALM, Facing the same issue with remote client even with   Jenkins Version installed: 2.204.1 PTC Integrity -Jenkins Plugin version installed: 2.3 OS: Windows 10 Web browser: IE It takes 2hrs to do this, however blocking other threads in the PTC integrity server. This is important for us, could you please look into it. Thanks, RajendraPrasad

            integrity_jenkins_plugin PTC ALM
            swanh Simon Beyer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: