FailedConsole Output

Started by GitLab push by etsi cti
Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/playground/gitlab-openapi-example
 > 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:nfv/openapi-test-repo.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:nfv/openapi-test-repo.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git fetch --tags --progress git@forge.etsi.org:nfv/openapi-test-repo.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse remotes/origin/master^{commit} # timeout=10
 > git branch -a -v --no-abbrev --contains 13fd5a758cc04125999abeec7404e87eebdbea28 # timeout=10
Checking out Revision 13fd5a758cc04125999abeec7404e87eebdbea28 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 13fd5a758cc04125999abeec7404e87eebdbea28
Commit message: "fix of build script"
 > git rev-list 886420974f08b9df08b91392613a7782802c8e0d # timeout=10
[gitlab-openapi-example] $ /bin/bash /tmp/jenkins7839209744607649595.sh
rm: cannot remove 'build/*-API.yaml': No such file or directory
rm: cannot remove 'build/*-API.json': No such file or directory
rm: cannot remove 'build/*-API.pdf': No such file or directory
./build-container.sh: line 7: proxy: command not found
http_proxy is not set
Proxy set to 
Sending build context to Docker daemon  13.31kB

Step 1/24 : FROM alpine:3.6
 ---> 37eec16f1872
Step 2/24 : RUN env
 ---> Using cache
 ---> 118f86344fe4
Step 3/24 : RUN apk update
 ---> Using cache
 ---> e4bc3bfd196d
Step 4/24 : RUN apk add bash
 ---> Using cache
 ---> ddd536927392
Step 5/24 : RUN apk add nodejs
 ---> Using cache
 ---> 9644a010beb6
Step 6/24 : RUN apk add nodejs-npm
 ---> Using cache
 ---> 615f95d9bef2
Step 7/24 : RUN apk add asciidoctor
 ---> Using cache
 ---> 07b91e8b8e53
Step 8/24 : RUN apk add openjdk8
 ---> Using cache
 ---> d7e1e0714341
Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates
 ---> Using cache
 ---> ca2ccaf56683
Step 10/24 : RUN apk add openssl
 ---> Using cache
 ---> 6b46498081cd
Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre
 ---> Using cache
 ---> bff5534325c4
Step 12/24 : RUN gem install asciidoctor-pdf-cjk
 ---> Using cache
 ---> 8b9cff333db2
Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar
 ---> Using cache
 ---> 81a898805c9f
Step 14/24 : RUN npm config set proxy $http_proxy
 ---> Using cache
 ---> de36501403e3
Step 15/24 : RUN npm install -g swagger-tools@0.10.3
 ---> Using cache
 ---> 84533e5860c9
Step 16/24 : RUN npm install -g json-refs@3.0.2
 ---> Using cache
 ---> dfcffa881097
Step 17/24 : RUN npm install -g yamljs@0.3.0
 ---> Using cache
 ---> 46618e25b412
Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh
 ---> 698533a52c4d
Removing intermediate container 861e6d1e5cb2
Step 19/24 : RUN chmod +x /validate-in-docker.sh
 ---> Running in b82717ba5a89
 ---> e8705dbdcb3a
Removing intermediate container b82717ba5a89
Step 20/24 : ADD swg2mrkup /bin/swg2mrkup
 ---> 4469ae439fb4
Removing intermediate container 6ab28dda77fa
Step 21/24 : RUN chmod +x /bin/swg2mrkup
 ---> Running in bbd0a00e2ff4
 ---> 92a1fdd5a199
Removing intermediate container bbd0a00e2ff4
Step 22/24 : ADD oas2pdf /bin/oas2pdf
 ---> 9a72dd804e49
Removing intermediate container 4d37b1ebaf21
Step 23/24 : RUN chmod +x /bin/oas2pdf
 ---> Running in ce65901923dd
 ---> 6c08dbf57209
Removing intermediate container ce65901923dd
Step 24/24 : ENTRYPOINT /validate-in-docker.sh
 ---> Running in 20589454934e
 ---> 359dcc804220
Removing intermediate container 20589454934e
Successfully built 359dcc804220
Successfully tagged openapivalidator:latest
Mounting dir /home/jenkins/workspace/playground/gitlab-openapi-example as /work
mkdir: created directory '/var/www/html/api/nfv/gitlab-openapi-example'
mkdir: created directory '/var/www/html/api/nfv/gitlab-openapi-example/2'
Mounting dir /var/www/html/api/nfv/gitlab-openapi-example/2 as /storage
Using filter ''

Entering dir /work/src
-- Will validate: ./spec1/api1/api1.yaml (api: api1) (deliverable:spec1)
--- Merging file.
--- Create PDF...
--- Validating ../build/spec1-api1-API.yaml

API Warnings:

  #/definitions/Standard: Definition is defined but is not used: #/definitions/Standard
  #/definitions/StandardRequest: Definition is defined but is not used: #/definitions/StandardRequest

Validation succeeded but with 2 warnings

--- Validation done (0).
'../build/spec1-api1-API.yaml' -> '/storage/spec1-api1-API.yaml'
'../build/spec1-api1-API.json' -> '/storage/spec1-api1-API.json'
'../build/spec1-api1-API.pdf' -> '/storage/spec1-api1-API.pdf'
-- Final validator returns 0.
python: can't open file './scripts/add_change_comment.py': [Errno 2] No such file or directory
Build step 'Execute shell' marked build as failure
Archiving artifacts
Not sending mail to unregistered user michele.carignani@etsi.org
Sending e-mails to: michele.carignani@etsi.org
Finished: FAILURE