-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Jenkins LTS 2.32.3
Docker Pipeline 1.10
I have a Pipeline Jenkins job. Oftenly, but not always, the job fails because of a timeout when trying to get the fingerprint of the docker image. I do not see anyway to increase that 10s timeout in documentation link here
Can't we add a timeout?
Error log (some line changed):
[<DockerImaaaage>] Failed in branch <DockerImaaaage>
[techape] ---> acf366361a93
[techape] Removing intermediate container 3868723aa9b3
[techape] Step 5 : RUN chmod -R u=rwX,g=rwX,o=rX /var/ApeSubmitter && chmod -R 775 /var/ApeSubmitter/bin
[techape] ---> Running in 493efdd09a88
[techape] ---> b6e0475dd5a6
[techape] Removing intermediate container 493efdd09a88
[techape] Step 6 : RUN mkdir -p /opt/facilities/cluster && ln -s /var/ApeSubmitter/lib /opt/facilities/cluster/lib && ln -s /var/ApeSubmitter/etc /opt/facilities/cluster/etc && mkdir -p /opt/facilities/cluster/PROPERTY_FILE && ln -s /var/ApeSubmitter/etc/cluster-config.properties /opt/facilities/cluster/PROPERTY_FILE/ && ln -s /var/ApeSubmitter/etc/cluster-storm.yaml /opt/facilities/cluster/PROPERTY_FILE/
[techape] ---> Running in d8fc1b1cbbba
[techape] ---> 058ec792a80d
[techape] Removing intermediate container d8fc1b1cbbba
[techape] Step 7 : USER appusr
[techape] ---> Running in d0bd7f212ca5
[techape] ---> 22ef13ad218c
[techape] Removing intermediate container d0bd7f212ca5
[techape] Step 8 : CMD '/var/ApeSubmitter/bin/runProduction.sh'
[techape] ---> Running in dd4b0dcd5153
[techape] ---> a4001d42565d
[techape] Removing intermediate container dd4b0dcd5153
[techape] Successfully built a4001d42565d
[Pipeline] [techape] dockerFingerprintFrom
[techape] ERROR: Timeout after 10 seconds
[techape] [Pipeline] [techape] }
[Pipeline] [techape] // withDockerServer
[Pipeline] [techape] }
[Pipeline] [techape] // dir
[Pipeline] [techape] }
[Pipeline] [techape] // dir
[Pipeline] [techape] }
[Pipeline] [techape] // stage
[Pipeline] [techape] }
[Pipeline] [techape] // node
[Pipeline] [techape] }
[techape] Failed in branch techape
[Pipeline] // parallel
[Pipeline] End of Pipeline
java.io.IOException: Cannot retrieve .Id from 'docker inspect<Registryyyyyy>:5000/<Repooo>/ape-fdac-rpm-submitter:tags-0-1-2'
at org.jenkinsci.plugins.docker.workflow.client.DockerClient.inspectRequiredField(DockerClient.java:192)
at org.jenkinsci.plugins.docker.workflow.FromFingerprintStep$Execution.run(FromFingerprintStep.java:115)
at org.jenkinsci.plugins.docker.workflow.FromFingerprintStep$Execution.run(FromFingerprintStep.java:75)
at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
at hudson.security.ACL.impersonate(ACL.java:221)
at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
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:745)
Suppressed: java.io.IOException: Cannot retrieve .Id from 'docker inspect<Registryyyyyy>:5000/<Repooo>/ape-techape-v-rpm-fci-submitter:feature-0-2-1'
... 11 more
Finished: FAILURE
- duplicates
-
JENKINS-42322 Docker rm/stop/... commands killed by the timeout, failing builds
- Resolved