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