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