Started by GitLab push by Muhammad Hamza Obtained Jenkinsfile from git git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git Running in Durability level: MAX_SURVIVABILITY [Pipeline] node Running on build3.forge.etsi.org in /home/jenkins/workspace/playground/test-nfv-jenkinsfile [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e Cloning the remote Git repository Cloning repository git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git > git init /home/jenkins/workspace/playground/test-nfv-jenkinsfile # timeout=10 Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git +refs/heads/*:refs/remotes/origin/* skipping resolution of commit remotes/origin/3.5.1-dev, since it originates from another repository > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 2021d6161aff275f28143f8aa423b0f26bb04b1b (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2021d6161aff275f28143f8aa423b0f26bb04b1b Commit message: "add version to docker container" > git rev-list --no-walk 2021d6161aff275f28143f8aa423b0f26bb04b1b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] gitlabBuilds [Pipeline] { [Pipeline] stage [Pipeline] { (Resolve) [Pipeline] sh + echo Resolve stage Resolve stage [Pipeline] updateGitlabCommitStatus [Pipeline] dir Running in /home/jenkins/workspace/playground/test-nfv-jenkinsfile/apis [Pipeline] { [Pipeline] checkout using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e Cloning the remote Git repository Cloning repository git@forge.etsi.org:nfv/SOL009.git > git init /home/jenkins/workspace/playground/test-nfv-jenkinsfile/apis # timeout=10 Fetching upstream changes from git@forge.etsi.org:nfv/SOL009.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:nfv/SOL009.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url git@forge.etsi.org:nfv/SOL009.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@forge.etsi.org:nfv/SOL009.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:nfv/SOL009.git using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:nfv/SOL009.git +refs/heads/*:refs/remotes/origin/* > git rev-parse remotes/origin/3.5.1-dev^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 9151038ad9820a18b39c1998431e260a83ba5f43 # timeout=10 Checking out Revision 9151038ad9820a18b39c1998431e260a83ba5f43 (origin/3.5.1-dev) > git config core.sparsecheckout # timeout=10 > git checkout -f 9151038ad9820a18b39c1998431e260a83ba5f43 Commit message: "Updated Responses and Refs" > git rev-list --no-walk a9d4b4d7e44e0c64da1c76700415ddc38e07dffd # timeout=10 [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/workspace/playground/test-nfv-jenkinsfile/scripts [Pipeline] { [Pipeline] checkout using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e Cloning the remote Git repository Cloning repository git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git > git init /home/jenkins/workspace/playground/test-nfv-jenkinsfile/scripts # timeout=10 Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git +refs/heads/*:refs/remotes/origin/* skipping resolution of commit remotes/origin/3.5.1-dev, since it originates from another repository > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 2021d6161aff275f28143f8aa423b0f26bb04b1b (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2021d6161aff275f28143f8aa423b0f26bb04b1b Commit message: "add version to docker container" [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Validate) [Pipeline] updateGitlabCommitStatus [Pipeline] sh + echo Validate stage Validate stage [Pipeline] sh + pwd + bash scripts/.jenkins.sh /home/jenkins/workspace/playground/test-nfv-jenkinsfile/apis unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/jenkins/workspace/playground/test-nfv-jenkinsfile/Dockerfile: no such file or directory this_dir = /home/jenkins/workspace/playground/test-nfv-jenkinsfile/scripts [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Validate in Docker) [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on build.forge.etsi.org in /home/jenkins/workspace/playground/test-nfv-jenkinsfile [Pipeline] { [Pipeline] checkout using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e Cloning the remote Git repository Cloning repository git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git > git init /home/jenkins/workspace/playground/test-nfv-jenkinsfile # timeout=10 Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/nfv-openapis-tools.git +refs/heads/*:refs/remotes/origin/* skipping resolution of commit remotes/origin/3.5.1-dev, since it originates from another repository > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 2021d6161aff275f28143f8aa423b0f26bb04b1b (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2021d6161aff275f28143f8aa423b0f26bb04b1b Commit message: "add version to docker container" [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . etsiforge/openapivalidator:latest Error: No such object: etsiforge/openapivalidator:latest [Pipeline] sh + docker pull etsiforge/openapivalidator:latest latest: Pulling from etsiforge/openapivalidator 5a3ea8efae5d: Pulling fs layer 9c696d302b01: Pulling fs layer eb806d049e77: Pulling fs layer 138f5222c4b1: Pulling fs layer 222f5dc6adc7: Pulling fs layer aa12e0e348c4: Pulling fs layer 5f3040b36d12: Pulling fs layer b4c755190ed9: Pulling fs layer 10301f4997fe: Pulling fs layer 72327d6673a7: Pulling fs layer fc0547271ad6: Pulling fs layer af093097681f: Pulling fs layer d2057c03129f: Pulling fs layer ceef840f84d1: Pulling fs layer 28571a09b729: Pulling fs layer 96d8d72631d6: Pulling fs layer fcb2bf56d48d: Pulling fs layer 138f5222c4b1: Waiting eddd59a02d05: Pulling fs layer 3dd8c50f3fb8: Pulling fs layer 8e0e7ea881f2: Pulling fs layer 95655b49205f: Pulling fs layer d5189b628708: Pulling fs layer 5f3040b36d12: Waiting 96d8d72631d6: Waiting 10301f4997fe: Waiting 72327d6673a7: Waiting 222f5dc6adc7: Waiting aa12e0e348c4: Waiting fcb2bf56d48d: Waiting 8e0e7ea881f2: Waiting eddd59a02d05: Waiting 3dd8c50f3fb8: Waiting 95655b49205f: Waiting d5189b628708: Waiting ceef840f84d1: Waiting d2057c03129f: Waiting af093097681f: Waiting 5a3ea8efae5d: Download complete 5a3ea8efae5d: Pull complete eb806d049e77: Verifying Checksum eb806d049e77: Download complete 9c696d302b01: Verifying Checksum 9c696d302b01: Download complete 9c696d302b01: Pull complete eb806d049e77: Pull complete 138f5222c4b1: Verifying Checksum 138f5222c4b1: Download complete 222f5dc6adc7: Verifying Checksum 222f5dc6adc7: Download complete 138f5222c4b1: Pull complete aa12e0e348c4: Verifying Checksum aa12e0e348c4: Download complete 222f5dc6adc7: Pull complete aa12e0e348c4: Pull complete b4c755190ed9: Verifying Checksum b4c755190ed9: Download complete 10301f4997fe: Verifying Checksum 10301f4997fe: Download complete 72327d6673a7: Verifying Checksum 72327d6673a7: Download complete fc0547271ad6: Verifying Checksum fc0547271ad6: Download complete d2057c03129f: Verifying Checksum d2057c03129f: Download complete af093097681f: Verifying Checksum af093097681f: Download complete 5f3040b36d12: Verifying Checksum 5f3040b36d12: Download complete 28571a09b729: Verifying Checksum 28571a09b729: Download complete ceef840f84d1: Verifying Checksum ceef840f84d1: Download complete fcb2bf56d48d: Verifying Checksum fcb2bf56d48d: Download complete 96d8d72631d6: Download complete eddd59a02d05: Verifying Checksum eddd59a02d05: Download complete 3dd8c50f3fb8: Verifying Checksum 3dd8c50f3fb8: Download complete 8e0e7ea881f2: Verifying Checksum 8e0e7ea881f2: Download complete 95655b49205f: Download complete 5f3040b36d12: Pull complete b4c755190ed9: Pull complete 10301f4997fe: Pull complete d5189b628708: Verifying Checksum d5189b628708: Download complete 72327d6673a7: Pull complete fc0547271ad6: Pull complete af093097681f: Pull complete d2057c03129f: Pull complete ceef840f84d1: Pull complete 28571a09b729: Pull complete 96d8d72631d6: Pull complete fcb2bf56d48d: Pull complete eddd59a02d05: Pull complete 3dd8c50f3fb8: Pull complete 8e0e7ea881f2: Pull complete 95655b49205f: Pull complete d5189b628708: Pull complete Digest: sha256:ba654dc8fadca1c579717a3ef5964c2106c22c8eea7f27afdf56410478434fce Status: Downloaded newer image for etsiforge/openapivalidator:latest [Pipeline] withDockerContainer build.forge.etsi.org does not seem to be running inside a container $ docker run -t -d -u 1004:1004 -v ${PWD}/apis:/work /work /storage -w /home/jenkins/workspace/playground/test-nfv-jenkinsfile -v /home/jenkins/workspace/playground/test-nfv-jenkinsfile:/home/jenkins/workspace/playground/test-nfv-jenkinsfile:rw,z -v /home/jenkins/workspace/playground/test-nfv-jenkinsfile@tmp:/home/jenkins/workspace/playground/test-nfv-jenkinsfile@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** etsiforge/openapivalidator:latest cat [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // gitlabBuilds [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline java.io.IOException: Failed to run image 'etsiforge/openapivalidator:latest'. Error: docker: invalid reference format. See 'docker run --help'. at org.jenkinsci.plugins.docker.workflow.client.DockerClient.run(DockerClient.java:133) at org.jenkinsci.plugins.docker.workflow.WithContainerStep$Execution.start(WithContainerStep.java:184) at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:270) at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:180) at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:122) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:48) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:20) at org.jenkinsci.plugins.docker.workflow.Docker$Image.inside(jar:file:/var/lib/jenkins/plugins/docker-workflow/WEB-INF/lib/docker-workflow.jar!/org/jenkinsci/plugins/docker/workflow/Docker.groovy:135) at org.jenkinsci.plugins.docker.workflow.Docker.node(jar:file:/var/lib/jenkins/plugins/docker-workflow/WEB-INF/lib/docker-workflow.jar!/org/jenkinsci/plugins/docker/workflow/Docker.groovy:66) at org.jenkinsci.plugins.docker.workflow.Docker$Image.inside(jar:file:/var/lib/jenkins/plugins/docker-workflow/WEB-INF/lib/docker-workflow.jar!/org/jenkinsci/plugins/docker/workflow/Docker.groovy:123) at org.jenkinsci.plugins.pipeline.modeldefinition.agent.impl.DockerPipelineScript.runImage(jar:file:/var/lib/jenkins/plugins/pipeline-model-definition/WEB-INF/lib/pipeline-model-definition.jar!/org/jenkinsci/plugins/pipeline/modeldefinition/agent/impl/DockerPipelineScript.groovy:57) at org.jenkinsci.plugins.pipeline.modeldefinition.agent.impl.AbstractDockerPipelineScript.configureRegistry(jar:file:/var/lib/jenkins/plugins/pipeline-model-definition/WEB-INF/lib/pipeline-model-definition.jar!/org/jenkinsci/plugins/pipeline/modeldefinition/agent/impl/AbstractDockerPipelineScript.groovy:74) at org.jenkinsci.plugins.pipeline.modeldefinition.agent.impl.AbstractDockerPipelineScript.run(jar:file:/var/lib/jenkins/plugins/pipeline-model-definition/WEB-INF/lib/pipeline-model-definition.jar!/org/jenkinsci/plugins/pipeline/modeldefinition/agent/impl/AbstractDockerPipelineScript.groovy:52) at org.jenkinsci.plugins.pipeline.modeldefinition.agent.CheckoutScript.checkoutAndRun(jar:file:/var/lib/jenkins/plugins/pipeline-model-extensions/WEB-INF/lib/pipeline-model-extensions.jar!/org/jenkinsci/plugins/pipeline/modeldefinition/agent/CheckoutScript.groovy:63) at ___cps.transform___(Native Method) at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:57) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:109) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:82) at sun.reflect.GeneratedMethodAccessor512.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.ClosureBlock.eval(ClosureBlock.java:46) at com.cloudbees.groovy.cps.Next.step(Next.java:83) at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174) at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163) at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129) at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268) at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$101(SandboxContinuable.java:34) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.lambda$run0$0(SandboxContinuable.java:59) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:136) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:58) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:182) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:332) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$200(CpsThreadGroup.java:83) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:244) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:232) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) 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:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Finished: FAILURE