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