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

Cannot contact agent-1: java.io.IOException: cannot find current thread

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • workflow-cps-plugin

      We have upgraded to the jenkins version 2.479.1 and the mentioned plugin versions at 20th November 2024.
      Since last Xmas we are facing (or did we just recognize it a month later?) that our pipeline runs are failing after successful build in the deploy to cloud foundry stage. An exemplary log follows:

      [2025-01-03T07:06:25.296Z] info  cloudFoundryDeploy - Staging application "cp-not-db"...
      [2025-01-03T07:07:21.477Z] info  cloudFoundryDeploy - Executing task "deploy" on application "cp-not-db"...
      [2025-01-03T07:07:21.477Z] Cannot contact agent-1: java.io.IOException: cannot find current thread 

      I have rated the priority to critical, because we are not able to get a complete successful run.

        1. plugins.txt
          6 kB
        2. run-jenkins.sh
          1 kB
        3. plugin_versions.txt
          6 kB

          [JENKINS-75085] Cannot contact agent-1: java.io.IOException: cannot find current thread

          Markus created issue -
          Markus made changes -
          Description Original: We have upgraded to the jenkins version 2.479.1 and the mentioned plugin versions at 20th November 2024.
          Since last Xmas we are facing (or did we just recognize it a month later?) that our pipeline runs are failing after successful build in the deploy to cloud foundry stage. An exemplary log follows:


          [2025-01-03T07:06:25.296Z] info cloudFoundryDeploy - Staging application "cp-not-db-blue"...
          [|https://jenkins.copin.c.eu-de-1.cloud.sap/blue/organizations/jenkins/CoPM%2Fcopin-notification-service/detail/master/438/pipeline/#step-2339-log-80][2025-01-03T07:07:18.177Z] ERROR: also cancelling shell steps running on agent-1
          [|https://jenkins.copin.c.eu-de-1.cloud.sap/blue/organizations/jenkins/CoPM%2Fcopin-notification-service/detail/master/438/pipeline/#step-2339-log-83][2025-01-03T07:07:21.477Z] Cannot contact agent-1: java.io.IOException: cannot find current thread
           
          New: We have upgraded to the jenkins version 2.479.1 and the mentioned plugin versions at 20th November 2024.
          Since last Xmas we are facing (or did we just recognize it a month later?) that our pipeline runs are failing after successful build in the deploy to cloud foundry stage. An exemplary log follows:

          [2025-01-03T07:06:25.296Z] info cloudFoundryDeploy - Staging application "cp-not-db-blue"...
          [.../cp-not-service/detail/master/438/pipeline/#step-2339-log-80|https://jenkins.copin.c.eu-de-1.cloud.sap/blue/organizations/jenkins/CoPM%2Fcopin-notification-service/detail/master/438/pipeline/#step-2339-log-80][2025-01-03T07:07:18.177Z] ERROR: also cancelling shell steps running on agent-1
          .../[cp-not-service/detail/master/438/pipeline/#step-2339-log-83|https://jenkins.copin.c.eu-de-1.cloud.sap/blue/organizations/jenkins/CoPM%2Fcopin-notification-service/detail/master/438/pipeline/#step-2339-log-83][2025-01-03T07:07:21.477Z] Cannot contact agent-1: java.io.IOException: cannot find current thread
           
          Markus made changes -
          Description Original: We have upgraded to the jenkins version 2.479.1 and the mentioned plugin versions at 20th November 2024.
          Since last Xmas we are facing (or did we just recognize it a month later?) that our pipeline runs are failing after successful build in the deploy to cloud foundry stage. An exemplary log follows:

          [2025-01-03T07:06:25.296Z] info cloudFoundryDeploy - Staging application "cp-not-db-blue"...
          [.../cp-not-service/detail/master/438/pipeline/#step-2339-log-80|https://jenkins.copin.c.eu-de-1.cloud.sap/blue/organizations/jenkins/CoPM%2Fcopin-notification-service/detail/master/438/pipeline/#step-2339-log-80][2025-01-03T07:07:18.177Z] ERROR: also cancelling shell steps running on agent-1
          .../[cp-not-service/detail/master/438/pipeline/#step-2339-log-83|https://jenkins.copin.c.eu-de-1.cloud.sap/blue/organizations/jenkins/CoPM%2Fcopin-notification-service/detail/master/438/pipeline/#step-2339-log-83][2025-01-03T07:07:21.477Z] Cannot contact agent-1: java.io.IOException: cannot find current thread
           
          New: We have upgraded to the jenkins version 2.479.1 and the mentioned plugin versions at 20th November 2024.
          Since last Xmas we are facing (or did we just recognize it a month later?) that our pipeline runs are failing after successful build in the deploy to cloud foundry stage. An exemplary log follows:

          [2025-01-03T07:06:25.296Z] info  cloudFoundryDeploy - Staging application "cp-not-db-blue"...
          [2025-01-03T07:07:21.477Z] info  cloudFoundryDeploy - Executing task "deploy" on application "cp-not-db-blue"...
          [2025-01-03T07:07:21.477Z] Cannot contact agent-1: java.io.IOException: cannot find current thread 
          Markus made changes -
          Description Original: We have upgraded to the jenkins version 2.479.1 and the mentioned plugin versions at 20th November 2024.
          Since last Xmas we are facing (or did we just recognize it a month later?) that our pipeline runs are failing after successful build in the deploy to cloud foundry stage. An exemplary log follows:

          [2025-01-03T07:06:25.296Z] info  cloudFoundryDeploy - Staging application "cp-not-db-blue"...
          [2025-01-03T07:07:21.477Z] info  cloudFoundryDeploy - Executing task "deploy" on application "cp-not-db-blue"...
          [2025-01-03T07:07:21.477Z] Cannot contact agent-1: java.io.IOException: cannot find current thread 
          New: We have upgraded to the jenkins version 2.479.1 and the mentioned plugin versions at 20th November 2024.
          Since last Xmas we are facing (or did we just recognize it a month later?) that our pipeline runs are failing after successful build in the deploy to cloud foundry stage. An exemplary log follows:

          [2025-01-03T07:06:25.296Z] info  cloudFoundryDeploy - Staging application "cp-not-db-blue"...
          [2025-01-03T07:07:21.477Z] info  cloudFoundryDeploy - Executing task "deploy" on application "cp-not-db-blue"...
          [2025-01-03T07:07:21.477Z] Cannot contact agent-1: java.io.IOException: cannot find current thread 

          I have rated the priority to critical, because we are not able to get a complete successful run.
          Priority Original: Minor [ 4 ] New: Critical [ 2 ]
          Markus made changes -
          Description Original: We have upgraded to the jenkins version 2.479.1 and the mentioned plugin versions at 20th November 2024.
          Since last Xmas we are facing (or did we just recognize it a month later?) that our pipeline runs are failing after successful build in the deploy to cloud foundry stage. An exemplary log follows:

          [2025-01-03T07:06:25.296Z] info  cloudFoundryDeploy - Staging application "cp-not-db-blue"...
          [2025-01-03T07:07:21.477Z] info  cloudFoundryDeploy - Executing task "deploy" on application "cp-not-db-blue"...
          [2025-01-03T07:07:21.477Z] Cannot contact agent-1: java.io.IOException: cannot find current thread 

          I have rated the priority to critical, because we are not able to get a complete successful run.
          New: We have upgraded to the jenkins version 2.479.1 and the mentioned plugin versions at 20th November 2024.
          Since last Xmas we are facing (or did we just recognize it a month later?) that our pipeline runs are failing after successful build in the deploy to cloud foundry stage. An exemplary log follows:

          [2025-01-03T07:06:25.296Z] info  cloudFoundryDeploy - Staging application "cp-not-db"...
          [2025-01-03T07:07:21.477Z] info  cloudFoundryDeploy - Executing task "deploy" on application "cp-not-db"...
          [2025-01-03T07:07:21.477Z] Cannot contact agent-1: java.io.IOException: cannot find current thread 

          I have rated the priority to critical, because we are not able to get a complete successful run.
          Mark Waite made changes -
          Attachment New: plugins.txt [ 63757 ]
          Mark Waite made changes -
          Attachment New: run-jenkins.sh [ 63758 ]
          Markus made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Philippe made changes -
          Resolution Original: Not A Defect [ 7 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Andrea made changes -
          Attachment New: plugin_versions.txt [ 63783 ]
          Mark Waite made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]

            Unassigned Unassigned
            markus_lanz Markus
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: