15:52:13 Started by GitLab push by bernini 15:52:13 Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005-master 15:52:13 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e 15:52:13 > git rev-parse --is-inside-work-tree # timeout=10 15:52:13 Fetching changes from the remote Git repository 15:52:13 > git config remote.origin.url git@forge.etsi.org:nfv/SOL005.git # timeout=10 15:52:13 Fetching upstream changes from git@forge.etsi.org:nfv/SOL005.git 15:52:13 > git --version # timeout=10 15:52:13 using GIT_SSH to set credentials 15:52:13 > git fetch --tags --progress git@forge.etsi.org:nfv/SOL005.git +refs/heads/*:refs/remotes/origin/* 15:52:14 > git rev-parse remotes/origin/master^{commit} # timeout=10 15:52:14 > git branch -a -v --no-abbrev --contains 738b8c840ef8c054837542e4cafec6e7b96b6dce # timeout=10 15:52:14 Checking out Revision 738b8c840ef8c054837542e4cafec6e7b96b6dce (origin/master) 15:52:14 > git config core.sparsecheckout # timeout=10 15:52:14 > git checkout -f 738b8c840ef8c054837542e4cafec6e7b96b6dce 15:52:14 Commit message: "Revert "fixed dockerfile and jenkins validation script"" 15:52:14 > git rev-list --no-walk e836b8b3673629402d2bf548e7ff4d9f45d3dc80 # timeout=10 15:52:14 [sol005-master] $ /bin/bash /tmp/jenkins7147906563743481473.sh 15:52:14 ./build-container.sh: line 7: proxy: command not found 15:52:14 http_proxy is not set 15:52:14 Proxy set to 15:52:14 Sending build context to Docker daemon 13.31kB 15:52:14 Step 1/24 : FROM alpine:3.6 15:52:14 ---> 43773d1dba76 15:52:14 Step 2/24 : RUN env 15:52:14 ---> Using cache 15:52:14 ---> 57b4be4b6e07 15:52:14 Step 3/24 : RUN apk update 15:52:14 ---> Using cache 15:52:14 ---> 138cb0e010e6 15:52:14 Step 4/24 : RUN apk add bash 15:52:14 ---> Using cache 15:52:14 ---> c73234ea2b45 15:52:14 Step 5/24 : RUN apk add nodejs 15:52:14 ---> Using cache 15:52:14 ---> 4bd033eede33 15:52:14 Step 6/24 : RUN apk add nodejs-npm 15:52:14 ---> Using cache 15:52:14 ---> 1149785e8603 15:52:14 Step 7/24 : RUN apk add asciidoctor 15:52:14 ---> Using cache 15:52:14 ---> 6201f0de2b51 15:52:14 Step 8/24 : RUN apk add openjdk8 15:52:14 ---> Using cache 15:52:14 ---> 7454f72fb33b 15:52:14 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates 15:52:14 ---> Using cache 15:52:14 ---> 93048519be35 15:52:14 Step 10/24 : RUN apk add openssl 15:52:14 ---> Using cache 15:52:14 ---> 164068356648 15:52:14 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre 15:52:14 ---> Using cache 15:52:14 ---> 5c6b34666124 15:52:14 Step 12/24 : RUN gem install asciidoctor-pdf-cjk 15:52:14 ---> Using cache 15:52:14 ---> 7cda7f856384 15:52:14 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar 15:52:14 ---> Using cache 15:52:14 ---> 09121785e13e 15:52:14 Step 14/24 : RUN npm config set proxy $http_proxy 15:52:14 ---> Using cache 15:52:14 ---> 4c04cf1fd3da 15:52:14 Step 15/24 : RUN npm install -g swagger-tools@0.10.3 15:52:14 ---> Using cache 15:52:14 ---> 51ad500f48c6 15:52:14 Step 16/24 : RUN npm install -g json-refs@3.0.2 15:52:14 ---> Running in 3b44fa1cbfa5 15:52:16 npm WARN invalid config proxy="" 15:52:16 npm WARN invalid config Must be a full url with 'http://' 15:52:16 /usr/bin/json-refs -> /usr/lib/node_modules/json-refs/bin/json-refs 15:52:22 /usr/lib 15:52:22 `-- json-refs@3.0.2 15:52:22 +-- commander@2.20.3 15:52:22 +-- graphlib@2.1.8 15:52:22 +-- js-yaml@3.14.0 15:52:22 | +-- argparse@1.0.10 15:52:22 | | `-- sprintf-js@1.0.3 15:52:22 | `-- esprima@4.0.1 15:52:22 +-- lodash@4.17.15 15:52:22 +-- native-promise-only@0.8.1 15:52:22 +-- path-loader@1.0.10 15:52:22 | `-- superagent@3.8.3 15:52:22 | +-- component-emitter@1.3.0 15:52:22 | +-- cookiejar@2.1.2 15:52:22 | +-- debug@3.2.6 15:52:22 | | `-- ms@2.1.2 15:52:22 | +-- extend@3.0.2 15:52:22 | +-- form-data@2.5.1 15:52:22 | | +-- asynckit@0.4.0 15:52:22 | | +-- combined-stream@1.0.8 15:52:22 | | | `-- delayed-stream@1.0.0 15:52:22 | | `-- mime-types@2.1.27 15:52:22 | | `-- mime-db@1.44.0 15:52:22 | +-- formidable@1.2.2 15:52:22 | +-- methods@1.1.2 15:52:22 | +-- mime@1.6.0 15:52:22 | +-- qs@6.9.4 15:52:22 | `-- readable-stream@2.3.7 15:52:22 | +-- core-util-is@1.0.2 15:52:22 | +-- inherits@2.0.4 15:52:22 | +-- isarray@1.0.0 15:52:22 | +-- process-nextick-args@2.0.1 15:52:22 | +-- safe-buffer@5.1.2 15:52:22 | +-- string_decoder@1.1.1 15:52:22 | `-- util-deprecate@1.0.2 15:52:22 +-- slash@1.0.0 15:52:22 `-- uri-js@3.0.2 15:52:22 `-- punycode@2.1.1 15:52:22 15:52:23 ---> 89b62e7e28a5 15:52:23 Removing intermediate container 3b44fa1cbfa5 15:52:23 Step 17/24 : RUN npm install -g yamljs@0.3.0 15:52:23 ---> Running in a619a56a9f7c 15:52:24 npm WARN invalid config proxy="" 15:52:24 npm WARN invalid config Must be a full url with 'http://' 15:52:24 /usr/bin/yaml2json -> /usr/lib/node_modules/yamljs/bin/yaml2json 15:52:26 /usr/bin/json2yaml -> /usr/lib/node_modules/yamljs/bin/json2yaml 15:52:26 /usr/lib 15:52:26 `-- yamljs@0.3.0 15:52:26 +-- argparse@1.0.10 15:52:26 | `-- sprintf-js@1.0.3 15:52:26 `-- glob@7.1.6 15:52:26 +-- fs.realpath@1.0.0 15:52:26 +-- inflight@1.0.6 15:52:26 | `-- wrappy@1.0.2 15:52:26 +-- inherits@2.0.4 15:52:26 +-- minimatch@3.0.4 15:52:26 | `-- brace-expansion@1.1.11 15:52:26 | +-- balanced-match@1.0.0 15:52:26 | `-- concat-map@0.0.1 15:52:26 +-- once@1.4.0 15:52:26 `-- path-is-absolute@1.0.1 15:52:26 15:52:26 ---> 53776109e06b 15:52:26 Removing intermediate container a619a56a9f7c 15:52:26 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh 15:52:26 ---> f7846faab5e3 15:52:26 Removing intermediate container f316d74db9b7 15:52:26 Step 19/24 : RUN chmod +x /validate-in-docker.sh 15:52:26 ---> Running in 2b1d842f86da 15:52:27 ---> 39e7f3717a2e 15:52:27 Removing intermediate container 2b1d842f86da 15:52:27 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup 15:52:27 ---> 2851caac9c0b 15:52:27 Removing intermediate container 54d3a66248fa 15:52:27 Step 21/24 : RUN chmod +x /bin/swg2mrkup 15:52:27 ---> Running in c4a8e26de7f4 15:52:28 ---> ac8f5724de35 15:52:28 Removing intermediate container c4a8e26de7f4 15:52:28 Step 22/24 : ADD oas2pdf /bin/oas2pdf 15:52:28 ---> e5d095a4cef0 15:52:28 Removing intermediate container 6dc2f2a52ef4 15:52:28 Step 23/24 : RUN chmod +x /bin/oas2pdf 15:52:28 ---> Running in 7389fe76f523 15:52:29 ---> 54f714f23a9c 15:52:29 Removing intermediate container 7389fe76f523 15:52:29 Step 24/24 : ENTRYPOINT /validate-in-docker.sh 15:52:29 ---> Running in 726f7304a21c 15:52:29 ---> 6ba87ece937f 15:52:29 Removing intermediate container 726f7304a21c 15:52:29 Successfully built 6ba87ece937f 15:52:29 Successfully tagged openapivalidator:latest 15:52:29 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005-master as /work 15:52:29 mkdir: created directory '/var/www/html/api/nfv/sol005-master/28' 15:52:29 Mounting dir /var/www/html/api/nfv/sol005-master/28 as /storage 15:52:30 Using filter '' 15:52:30 15:52:30 Entering dir /work/src 15:52:30 -- Will validate: ./SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml (api: NSLifecycleManagementNotification) (deliverable:SOL005) 15:52:30 --- Merging file. 15:52:31 --- Create PDF... 15:52:47 --- Validating ../build/SOL005-NSLifecycleManagementNotification-API.yaml 15:52:49 --- Validation done (0). 15:52:49 '../build/SOL005-NSLifecycleManagementNotification-API.yaml' -> '/storage/SOL005-NSLifecycleManagementNotification-API.yaml' 15:52:49 '../build/SOL005-NSLifecycleManagementNotification-API.json' -> '/storage/SOL005-NSLifecycleManagementNotification-API.json' 15:52:49 '../build/SOL005-NSLifecycleManagementNotification-API.pdf' -> '/storage/SOL005-NSLifecycleManagementNotification-API.pdf' 15:52:49 -- Will validate: ./SOL005/VNFPackageManagementNotification/VNFPackageManagementNotification.yaml (api: VNFPackageManagementNotification) (deliverable:SOL005) 15:52:49 --- Merging file. 15:52:50 --- Create PDF... 15:52:59 --- Validating ../build/SOL005-VNFPackageManagementNotification-API.yaml 15:53:00 --- Validation done (0). 15:53:00 '../build/SOL005-VNFPackageManagementNotification-API.yaml' -> '/storage/SOL005-VNFPackageManagementNotification-API.yaml' 15:53:00 '../build/SOL005-VNFPackageManagementNotification-API.json' -> '/storage/SOL005-VNFPackageManagementNotification-API.json' 15:53:00 '../build/SOL005-VNFPackageManagementNotification-API.pdf' -> '/storage/SOL005-VNFPackageManagementNotification-API.pdf' 15:53:00 -- Will validate: ./SOL005/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL005) 15:53:00 --- Merging file. 15:53:02 --- Create PDF... 15:54:03 --- Validating ../build/SOL005-NSDManagement-API.yaml 15:54:05 --- Validation done (0). 15:54:05 '../build/SOL005-NSDManagement-API.yaml' -> '/storage/SOL005-NSDManagement-API.yaml' 15:54:05 '../build/SOL005-NSDManagement-API.json' -> '/storage/SOL005-NSDManagement-API.json' 15:54:05 '../build/SOL005-NSDManagement-API.pdf' -> '/storage/SOL005-NSDManagement-API.pdf' 15:54:05 -- Will validate: ./SOL005/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL005) 15:54:05 --- Merging file. 15:54:06 --- Create PDF... 15:54:24 --- Validating ../build/SOL005-APIVersion-API.yaml 15:54:25 --- Validation done (0). 15:54:25 '../build/SOL005-APIVersion-API.yaml' -> '/storage/SOL005-APIVersion-API.yaml' 15:54:25 '../build/SOL005-APIVersion-API.json' -> '/storage/SOL005-APIVersion-API.json' 15:54:25 '../build/SOL005-APIVersion-API.pdf' -> '/storage/SOL005-APIVersion-API.pdf' 15:54:25 -- Will validate: ./SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL005) 15:54:25 --- Merging file. 15:54:27 --- Create PDF... 15:54:59 --- Validating ../build/SOL005-NSPerformanceManagement-API.yaml 15:55:00 --- Validation done (0). 15:55:00 '../build/SOL005-NSPerformanceManagement-API.yaml' -> '/storage/SOL005-NSPerformanceManagement-API.yaml' 15:55:00 '../build/SOL005-NSPerformanceManagement-API.json' -> '/storage/SOL005-NSPerformanceManagement-API.json' 15:55:00 '../build/SOL005-NSPerformanceManagement-API.pdf' -> '/storage/SOL005-NSPerformanceManagement-API.pdf' 15:55:00 -- Will validate: ./SOL005/NSDManagementNotification/NSDManagementNotification.yaml (api: NSDManagementNotification) (deliverable:SOL005) 15:55:00 --- Merging file. 15:55:02 --- Create PDF... 15:55:33 --- Validating ../build/SOL005-NSDManagementNotification-API.yaml 15:55:34 --- Validation done (0). 15:55:34 '../build/SOL005-NSDManagementNotification-API.yaml' -> '/storage/SOL005-NSDManagementNotification-API.yaml' 15:55:34 '../build/SOL005-NSDManagementNotification-API.json' -> '/storage/SOL005-NSDManagementNotification-API.json' 15:55:34 '../build/SOL005-NSDManagementNotification-API.pdf' -> '/storage/SOL005-NSDManagementNotification-API.pdf' 15:55:34 -- Will validate: ./SOL005/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL005) 15:55:34 --- Merging file. 15:55:36 --- Create PDF... 15:55:58 --- Validating ../build/SOL005-NSFaultManagement-API.yaml 15:55:59 --- Validation done (0). 15:55:59 '../build/SOL005-NSFaultManagement-API.yaml' -> '/storage/SOL005-NSFaultManagement-API.yaml' 15:55:59 '../build/SOL005-NSFaultManagement-API.json' -> '/storage/SOL005-NSFaultManagement-API.json' 15:55:59 '../build/SOL005-NSFaultManagement-API.pdf' -> '/storage/SOL005-NSFaultManagement-API.pdf' 15:55:59 -- Will validate: ./SOL005/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL005) 15:55:59 --- Merging file. 15:56:01 --- Create PDF... 15:56:54 --- Validating ../build/SOL005-VNFPackageManagement-API.yaml 15:56:56 --- Validation done (0). 15:56:56 '../build/SOL005-VNFPackageManagement-API.yaml' -> '/storage/SOL005-VNFPackageManagement-API.yaml' 15:56:56 '../build/SOL005-VNFPackageManagement-API.json' -> '/storage/SOL005-VNFPackageManagement-API.json' 15:56:56 '../build/SOL005-VNFPackageManagement-API.pdf' -> '/storage/SOL005-VNFPackageManagement-API.pdf' 15:56:56 -- Will validate: ./SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL005) 15:56:56 --- Merging file. 15:56:59 --- Create PDF... 15:58:28 --- Validating ../build/SOL005-NSLifecycleManagement-API.yaml 15:58:30 --- Validation done (0). 15:58:30 '../build/SOL005-NSLifecycleManagement-API.yaml' -> '/storage/SOL005-NSLifecycleManagement-API.yaml' 15:58:30 '../build/SOL005-NSLifecycleManagement-API.json' -> '/storage/SOL005-NSLifecycleManagement-API.json' 15:58:30 '../build/SOL005-NSLifecycleManagement-API.pdf' -> '/storage/SOL005-NSLifecycleManagement-API.pdf' 15:58:30 -- Will validate: ./SOL005/NSFaultManagementNotification/NSFaultManagementNotification.yaml (api: NSFaultManagementNotification) (deliverable:SOL005) 15:58:30 --- Merging file. 15:58:32 --- Create PDF... 15:58:45 --- Validating ../build/SOL005-NSFaultManagementNotification-API.yaml 15:58:46 --- Validation done (0). 15:58:46 '../build/SOL005-NSFaultManagementNotification-API.yaml' -> '/storage/SOL005-NSFaultManagementNotification-API.yaml' 15:58:46 '../build/SOL005-NSFaultManagementNotification-API.json' -> '/storage/SOL005-NSFaultManagementNotification-API.json' 15:58:46 '../build/SOL005-NSFaultManagementNotification-API.pdf' -> '/storage/SOL005-NSFaultManagementNotification-API.pdf' 15:58:46 -- Will validate: ./SOL005/NSPerformanceManagementNotification/NSPerformanceManagementNotification.yaml (api: NSPerformanceManagementNotification) (deliverable:SOL005) 15:58:46 --- Merging file. 15:58:47 --- Create PDF... 15:58:58 --- Validating ../build/SOL005-NSPerformanceManagementNotification-API.yaml 15:58:59 --- Validation done (0). 15:58:59 '../build/SOL005-NSPerformanceManagementNotification-API.yaml' -> '/storage/SOL005-NSPerformanceManagementNotification-API.yaml' 15:58:59 '../build/SOL005-NSPerformanceManagementNotification-API.json' -> '/storage/SOL005-NSPerformanceManagementNotification-API.json' 15:58:59 '../build/SOL005-NSPerformanceManagementNotification-API.pdf' -> '/storage/SOL005-NSPerformanceManagementNotification-API.pdf' 15:58:59 -- Final validator returns 0. 15:59:00 Archiving artifacts 15:59:02 Discard old builds... 15:59:02 #21 is removed because old than numToKeep 15:59:02 Finished: SUCCESS