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

timeout failing to terminate run-away Pipeline executions

      In this Jenkinsfile we're using a timeout block to prevent run-away test executions which would waste our cloud budget.

      It appears that this fails to actually stop executions.in some circumstances that I have not yet determined.

      I captured the following thread-dump from the Pipeline execution:

      Thread #12
      	at DSL.sh(awaiting process completion in /home/azureuser/workspace/Core_jenkins_upstream-XZUSMW3CKUAM6W5W2KS46X6N7A3DSFZYKUTDXGXOKZVL3XWWFAMA@tmp/durable-56765fdf on Azure1003041313 (pid: 65350))
      	at WorkflowScript.run(WorkflowScript:39)
      	at WorkflowScript.withMavenEnv(WorkflowScript:76)
      	at DSL.withEnv(Native Method)
      	at WorkflowScript.withMavenEnv(WorkflowScript:75)
      	at WorkflowScript.run(WorkflowScript:33)
      	at DSL.timeout(Native Method)
      	at WorkflowScript.run(WorkflowScript:30)
      	at DSL.stage(Native Method)
      	at WorkflowScript.run(WorkflowScript:29)
      	at DSL.timestamps(Native Method)
      	at WorkflowScript.run(WorkflowScript:21)
      	at DSL.node(running on Azure1003041313)
      	at WorkflowScript.run(WorkflowScript:20)
      

      I don't yet have a reproduction case, as I see this only sporadically, but I see it at least once or twice a week on ci.jenkins.io so if there are additional diagnostics I can perform the next time I see the issue, please let me know!

          [JENKINS-38713] timeout failing to terminate run-away Pipeline executions

          There are no comments yet on this issue.

            cloudbees CloudBees Inc.
            rtyler R. Tyler Croy
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: