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

durable-task v1.33 fails with agent Dockerfile

XMLWordPrintable

      Error I get
      process apparently never started in /home/ec2-user/workspace/ntend-pipeline_customer-settings@3@tmp/durable-f026a6cb
      (running Jenkins temporarily with -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true might make the problem clearer)
      Cannot contact EC2 (ec2) - new-builder-backend-j8 (i-0d91350838c6340f5): java.io.FileNotFoundException: File '/home/ec2-user/workspace/ntend-pipeline_customer-settings@3@tmp/durable-f026a6cb/output.txt' does not existHard kill!

      Stack trace:

      Nov 26, 2019 3:17:48 PM FINER org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep
      EC2 (ec2) - new-builder-backend-j8 (i-0d91350838c6340f5) seems to be online so using /home/ec2-user/workspace/ntend-pipeline_customer-settings@3 
      Nov 26, 2019 3:17:48 PM FINE org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep
      could not check /home/ec2-user/workspace/ntend-pipeline_customer-settings@3 
          Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to EC2 (ec2) - new-builder-backend-j8 (i-0d91350838c6340f5)
              at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
              at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
              at hudson.remoting.Channel.call(Channel.java:957)
              at hudson.FilePath.act(FilePath.java:1072)
              at hudson.FilePath.act(FilePath.java:1061)
              at org.jenkinsci.plugins.durabletask.FileMonitoringTask$FileMonitoringController.getOutput(FileMonitoringTask.java:300)
              at org.jenkinsci.plugins.durabletask.FileMonitoringTask$FileMonitoringController.getOutput(FileMonitoringTask.java:293)
              at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.lambda$check$3(DurableTaskStep.java:604)
              at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:651)
              at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:604)
              at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:548)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
      java.io.FileNotFoundException: File '/home/ec2-user/workspace/ntend-pipeline_customer-settings@3@tmp/durable-a112d9e1/output.txt' does not exist
          at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:297)
          at org.apache.commons.io.FileUtils.readFileToByteArray(FileUtils.java:1851)
          at org.jenkinsci.plugins.durabletask.FileMonitoringTask$FileMonitoringController$1.invoke(FileMonitoringTask.java:302)
          at org.jenkinsci.plugins.durabletask.FileMonitoringTask$FileMonitoringController$1.invoke(FileMonitoringTask.java:300)
          at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3052)
          at hudson.remoting.UserRequest.perform(UserRequest.java:212)
          at hudson.remoting.UserRequest.perform(UserRequest.java:54)
          at hudson.remoting.Request$2.run(Request.java:369)
          at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at java.lang.Thread.run(Thread.java:748)
      
      

            Unassigned Unassigned
            jequals5 Marky Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: