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

integrity-plugin 2.4 runs into a Timeout Exception during checkout and cannot be terminated

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • integrity-plugin
    • None

      If a free-style job using the PTC Windchill RV&S CM - Jenkins Plugin (integrity-plugin) 2.4 runs into a timeout exeception, it cannot be stopped other than by restarting the jenkins service on Windows. The message is:
      Populating clean workspace...
      18:24:13 A Timeout Exception was caught. Failed to checkout contents of file!
      18:24:13 null*
      18:24:13* Terminating checkout threads

      (It seems that the plugin is caught in a lock-up situation, Restarted the service after there was no change at or around 18:41 respectiveky 6:41 PM).

       

      Versions:
      Jenkins v2.263.4
      PTC Windchill RV&S CM - Jenkins Plugin (integrity-plugin): 2.4
      SCM API Plugin (scm-api): 2.6.4
      Pipeline: API (workflow-api): 2.41
      Pipeline: Basic Steps (workflow-basic-steps): 2.23
      Pipeline: Groovy (workflow-cps): 2.90
      Pipeline: Nodes and Processes (workflow-durable-task-step): 2.38
      Pipeline: Job (workflow-job): 2.40
      Pipeline: Multibranch (workflow-multibranch): 2.22
      Pipeline: SCM Step (workflow-scm-step): 2.12
      Pipeline: Step API (workflow-step-api): 2.23
      Pipeline: Supporting APIs (workflow-support): 3.8

          [JENKINS-65038] integrity-plugin 2.4 runs into a Timeout Exception during checkout and cannot be terminated

          Martin Hohl added a comment - - edited

          After the restart SCM log entries contain:

          Mar 05, 2021 6:41:59 PM FINE IntegritySCM
          Loading derby driver: org.apache.derby.jdbc.EmbeddedDriver
          Mar 05, 2021 6:41:59 PM FINE IntegritySCM
          Preparing to execute SELECT ID FROM INTEGRITY_SCM_REGISTRY WHERE ID = 1
          Mar 05, 2021 6:42:02 PM FINE IntegritySCM
          Executed...!
          Mar 05, 2021 6:42:02 PM FINE IntegritySCM
          Windchill RV&S SCM cache registry table exists...
          Mar 05, 2021 6:42:03 PM FINE IntegritySCM
          IntegrityCheckinAction.IntegrityCheckinDescriptorImpl() constructed!
          Mar 05, 2021 6:42:03 PM FINE IntegritySCM
          IntegrityItemAction.IntegrityItemDescriptorImpl() constructed!
          Mar 05, 2021 6:42:03 PM FINE IntegritySCM
          IntegrityCheckpointAction.IntegrityCheckpointDescriptorImpl() constructed!
          Mar 05, 2021 6:42:04 PM FINE IntegritySCM
          IntegritySCMChkptDescriptorImpl() invoked!
          Mar 05, 2021 6:42:04 PM FINE IntegritySCM
          IntegritySCMCheckinDescriptorImpl() invoked!
          Mar 05, 2021 6:42:04 PM FINE IntegritySCM
          IntegritySCMLabelDescriptorImpl() invoked!

          Martin Hohl added a comment - - edited After the restart SCM log entries contain: Mar 05, 2021 6:41:59 PM FINE IntegritySCM Loading derby driver: org.apache.derby.jdbc.EmbeddedDriver Mar 05, 2021 6:41:59 PM FINE IntegritySCM Preparing to execute SELECT ID FROM INTEGRITY_SCM_REGISTRY WHERE ID = 1 Mar 05, 2021 6:42:02 PM FINE IntegritySCM Executed...! Mar 05, 2021 6:42:02 PM FINE IntegritySCM Windchill RV&S SCM cache registry table exists... Mar 05, 2021 6:42:03 PM FINE IntegritySCM IntegrityCheckinAction.IntegrityCheckinDescriptorImpl() constructed! Mar 05, 2021 6:42:03 PM FINE IntegritySCM IntegrityItemAction.IntegrityItemDescriptorImpl() constructed! Mar 05, 2021 6:42:03 PM FINE IntegritySCM IntegrityCheckpointAction.IntegrityCheckpointDescriptorImpl() constructed! Mar 05, 2021 6:42:04 PM FINE IntegritySCM IntegritySCMChkptDescriptorImpl() invoked! Mar 05, 2021 6:42:04 PM FINE IntegritySCM IntegritySCMCheckinDescriptorImpl() invoked! Mar 05, 2021 6:42:04 PM FINE IntegritySCM IntegritySCMLabelDescriptorImpl() invoked!

          Martin Hohl added a comment -

          The PTC Integrity Server logfiles shows a lot of cache update messages like this:
          Major cache update: all existing properties will be refetched.

          Martin Hohl added a comment - The PTC Integrity Server logfiles shows a lot of cache update messages like this: Major cache update: all existing properties will be refetched.

          Martin Hohl added a comment -

          1) Still occurs after increasing the cache size, but with lower occurrence.

          2) After updating Jenkins to v2.289.2 (LTS version), the occurrence is MUCH lower, but the issue still has not completely disappeared.

          Martin Hohl added a comment - 1) Still occurs after increasing the cache size, but with lower occurrence. 2) After updating Jenkins to v2.289.2 (LTS version), the occurrence is MUCH lower, but the issue still has not completely disappeared.

            integrity_jenkins_plugin PTC ALM
            martin_hohl Martin Hohl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: