10:04:23 Started by GitLab push by bernini 10:04:23 Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol012 10:04:23 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e 10:04:23 > git rev-parse --is-inside-work-tree # timeout=10 10:04:23 Fetching changes from the remote Git repository 10:04:23 > git config remote.origin.url git@forge.etsi.org:nfv/SOL012.git # timeout=10 10:04:23 Fetching upstream changes from git@forge.etsi.org:nfv/SOL012.git 10:04:23 > git --version # timeout=10 10:04:23 using GIT_SSH to set credentials 10:04:23 > git fetch --tags --progress git@forge.etsi.org:nfv/SOL012.git +refs/heads/*:refs/remotes/origin/* 10:04:24 > git rev-parse remotes/origin/3.3.1-dev^{commit} # timeout=10 10:04:24 > git branch -a -v --no-abbrev --contains 952c66ddb805e33488be162207e45fa03d4939be # timeout=10 10:04:24 Checking out Revision 952c66ddb805e33488be162207e45fa03d4939be (origin/3.3.1-dev) 10:04:24 > git config core.sparsecheckout # timeout=10 10:04:24 > git checkout -f 952c66ddb805e33488be162207e45fa03d4939be 10:04:24 Commit message: "set correct permissions for container scritps" 10:04:24 > git rev-list --no-walk d4c77daa1a358f17899c25f57b8b9d9495f14da6 # timeout=10 10:04:24 [sol012] $ /bin/bash /tmp/jenkins6533653647456286397.sh 10:04:24 ./build-container.sh: line 7: proxy: command not found 10:04:24 http_proxy is not set 10:04:24 Proxy set to 10:04:24 Sending build context to Docker daemon 13.31kB 10:04:24 Step 1/24 : FROM alpine:3.10.0 10:04:24 ---> 4d90542f0623 10:04:24 Step 2/24 : RUN env 10:04:24 ---> Using cache 10:04:24 ---> e2553b1af332 10:04:24 Step 3/24 : RUN apk update 10:04:24 ---> Using cache 10:04:24 ---> 9d891293b328 10:04:24 Step 4/24 : RUN apk add bash 10:04:24 ---> Using cache 10:04:24 ---> 60c4c93ce401 10:04:24 Step 5/24 : RUN apk add nodejs 10:04:24 ---> Using cache 10:04:24 ---> e900d2f09106 10:04:24 Step 6/24 : RUN apk add nodejs-npm 10:04:24 ---> Using cache 10:04:24 ---> 03f6a25fc90c 10:04:24 Step 7/24 : RUN apk add asciidoctor 10:04:24 ---> Using cache 10:04:24 ---> 978c03d7b45f 10:04:24 Step 8/24 : RUN apk add openjdk8 10:04:24 ---> Using cache 10:04:24 ---> 87e0c01787eb 10:04:24 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates 10:04:24 ---> Using cache 10:04:24 ---> ca2326e0fd7e 10:04:24 Step 10/24 : RUN apk add openssl 10:04:24 ---> Using cache 10:04:24 ---> 0805ccbe0a56 10:04:24 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre 10:04:24 ---> Using cache 10:04:24 ---> 2118ba81fe9b 10:04:24 Step 12/24 : RUN gem install asciidoctor-pdf-cjk 10:04:24 ---> Using cache 10:04:24 ---> f2f90a52569b 10:04:24 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar 10:04:24 ---> Using cache 10:04:24 ---> cfd3e7827631 10:04:24 Step 14/24 : RUN npm config set proxy $http_proxy 10:04:24 ---> Using cache 10:04:24 ---> 318995b26504 10:04:24 Step 15/24 : RUN npm install -g swagger-cli 10:04:24 ---> Using cache 10:04:24 ---> 2463a99164db 10:04:24 Step 16/24 : RUN npm install -g json-refs 10:04:24 ---> Using cache 10:04:24 ---> 9afd7d84668d 10:04:24 Step 17/24 : RUN npm install -g yamljs 10:04:24 ---> Using cache 10:04:24 ---> 7b4ab59ef078 10:04:24 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh 10:04:24 ---> Using cache 10:04:24 ---> 26355895695c 10:04:24 Step 19/24 : RUN chmod +x /validate-in-docker.sh 10:04:24 ---> Using cache 10:04:24 ---> 2ea92fd26247 10:04:24 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup 10:04:24 ---> Using cache 10:04:24 ---> a47b77933d8d 10:04:24 Step 21/24 : RUN chmod +x /bin/swg2mrkup 10:04:24 ---> Using cache 10:04:24 ---> d53bd9ad4cef 10:04:24 Step 22/24 : ADD oas2pdf /bin/oas2pdf 10:04:24 ---> Using cache 10:04:24 ---> b9ffcd63a9a0 10:04:24 Step 23/24 : RUN chmod +x /bin/oas2pdf 10:04:24 ---> Using cache 10:04:24 ---> e20d9fc244f4 10:04:24 Step 24/24 : ENTRYPOINT /validate-in-docker.sh 10:04:24 ---> Using cache 10:04:24 ---> 8e6a899656b8 10:04:24 Successfully built 8e6a899656b8 10:04:24 Successfully tagged openapivalidator:latest 10:04:24 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol012 as /work 10:04:24 mkdir: created directory '/var/www/html/api/nfv/sol012/7' 10:04:24 Mounting dir /var/www/html/api/nfv/sol012/7 as /storage 10:04:25 Using filter '' 10:04:25 10:04:25 Entering dir /work/src 10:04:25 -- Will validate: ./SOL012/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL012) 10:04:25 --- Merging file. 10:04:26 --- Create PDF... 10:04:27 mv: can't rename 'SOL012-APIVersion-API.pdf': No such file or directory 10:04:27 --- Validating ../build/SOL012-APIVersion-API.yaml 10:04:28 ../build/SOL012-APIVersion-API.yaml is valid 10:04:28 --- Validation done (0). 10:04:28 '../build/SOL012-APIVersion-API.yaml' -> '/storage/SOL012-APIVersion-API.yaml' 10:04:28 '../build/SOL012-APIVersion-API.json' -> '/storage/SOL012-APIVersion-API.json' 10:04:28 cp: can't stat '../build/SOL012-APIVersion-API.pdf': No such file or directory 10:04:28 -- Will validate: ./SOL012/PolicyManagement/PolicyManagement.yaml (api: PolicyManagement) (deliverable:SOL012) 10:04:28 --- Merging file. 10:04:29 --- Create PDF... 10:04:31 mv: can't rename 'SOL012-PolicyManagement-API.pdf': No such file or directory 10:04:31 --- Validating ../build/SOL012-PolicyManagement-API.yaml 10:04:31 ../build/SOL012-PolicyManagement-API.yaml is valid 10:04:31 --- Validation done (0). 10:04:31 '../build/SOL012-PolicyManagement-API.yaml' -> '/storage/SOL012-PolicyManagement-API.yaml' 10:04:31 '../build/SOL012-PolicyManagement-API.json' -> '/storage/SOL012-PolicyManagement-API.json' 10:04:31 cp: can't stat '../build/SOL012-PolicyManagement-API.pdf': No such file or directory 10:04:31 -- Final validator returns 0. 10:04:32 Archiving artifacts 10:04:32 Finished: SUCCESS