Started by GitLab push by Michele Carignani 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 Build 3 in /home/jenkins/workspace/playground/test-nfv-jenkinsfile [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 rev-parse remotes/origin/master^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains f08784e1243775455a106b740b62b4a3d30a5be3 # timeout=10 Checking out Revision f08784e1243775455a106b740b62b4a3d30a5be3 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f f08784e1243775455a106b740b62b4a3d30a5be3 Commit message: "fix" > git rev-list --no-walk 68e9f4705f83f08f900adf43b591cfa8aa997b61 # 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 rev-parse remotes/origin/master^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains f08784e1243775455a106b740b62b4a3d30a5be3 # timeout=10 Checking out Revision f08784e1243775455a106b740b62b4a3d30a5be3 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f f08784e1243775455a106b740b62b4a3d30a5be3 Commit message: "fix" [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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 rev-parse remotes/origin/master^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains f08784e1243775455a106b740b62b4a3d30a5be3 # timeout=10 Checking out Revision f08784e1243775455a106b740b62b4a3d30a5be3 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f f08784e1243775455a106b740b62b4a3d30a5be3 Commit message: "fix" [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Validate) [Pipeline] updateGitlabCommitStatus [Pipeline] sh + echo Validate stage Validate stage [Pipeline] sh + cd ./scripts + pwd + bash .jenkins.sh /home/jenkins/workspace/playground/test-nfv-jenkinsfile/scripts/../apis ./docker/build-container.sh: line 4: $'\r': command not found ./docker/build-container.sh: line 6: $'\r': command not found ./docker/build-container.sh: line 7: proxy: command not found ./docker/build-container.sh: line 10: syntax error near unexpected token `elif' ./docker/build-container.sh: line 10: `elif [[ -z "$http_proxy" ]]; then ' Mounting dir /home/jenkins/workspace/playground/test-nfv-jenkinsfile/scripts/../apis as /work mkdir: cannot create directory ‘/var/www/html/api/nfv/test-nfv-jenkinsfile’: Permission denied Mounting dir /var/www/html/api/nfv/test-nfv-jenkinsfile/7 as /storage Unable to find image 'openapivalidator:latest' locally docker: Error response from daemon: pull access denied for openapivalidator, repository does not exist or may require 'docker login'. See 'docker run --help'. [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // gitlabBuilds [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 125 Finished: FAILURE