jenkins-infra / helpdesk

Open your Infrastructure related issues here for the Jenkins project
https://github.com/jenkins-infra/helpdesk/issues/new/choose
16 stars 10 forks source link

[INFRA-1779] Our jenkins instances need longer heartbeat timeouts for pipeline #1490

Open jenkins-infra-bot opened 6 years ago

jenkins-infra-bot commented 6 years ago

Seeing exceptions like this

Step 9/20 : COPY --from=builder ${APP_DIR} .

wrapper script does not seem to be touching the log file in /home/jenkins/workspace/Containers/evergreen@tmp/durable-f9eca801

(JENKINS-48300: if on a laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=300)

Cannot contact ubuntu-jenkinsinfra51c610: java.lang.InterruptedException

wrapper script does not seem to be touching the log file in /home/jenkins/workspace/Containers/evergreen@tmp/durable-f9eca801

(JENKINS-48300: if on a laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=300)

script returned exit code -1

Which can be fixed with the system property set

14:58 (   rodrigc ) rtyler: this is what I have in my pipeline:
14:58 (   rodrigc ) steps {
14:58 (   rodrigc )  script {
14:58 (   rodrigc )      // workaround for bug JENKINS-48300
14:58 (   rodrigc )      System.setProperty("org.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL", "36000");


Originally reported by rtyler, imported from: Our jenkins instances need longer heartbeat timeouts for pipeline
  • assignee: rtyler
  • status: Open
  • priority: Minor
  • resolution: Unresolved
  • imported: 2022/01/10
jenkins-infra-bot commented 2 years ago

hlemeur:

R. Tyler Croy is this issue still relevant?