Started by GitLab push by Michele Carignani 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 bf4834b482ab102390070f914e4ee23fda52cd40 # timeout=10 Checking out Revision bf4834b482ab102390070f914e4ee23fda52cd40 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f bf4834b482ab102390070f914e4ee23fda52cd40 Commit message: "Remove deprecated scripts" > git rev-list --no-walk c8731658a8a00acacecbfc9db604eb97960984a0 # timeout=10 [sol005-master] $ /bin/bash /tmp/jenkins1965586698800826851.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 3.6: Pulling from library/alpine Digest: sha256:66790a2b79e1ea3e1dabac43990c54aca5d1ddf268d9a5a0285e4167c8b24475 Status: Downloaded newer image for alpine:3.6 ---> 43773d1dba76 Step 2/24 : RUN env ---> Using cache ---> 8f8fd58edd62 Step 3/24 : RUN apk update ---> Using cache ---> b5cdbf75bff8 Step 4/24 : RUN apk add bash ---> Using cache ---> d5b7d5b8474d Step 5/24 : RUN apk add nodejs ---> Using cache ---> 02b0beae235e Step 6/24 : RUN apk add nodejs-npm ---> Using cache ---> c28532e54062 Step 7/24 : RUN apk add asciidoctor ---> Using cache ---> 896cdd5b8441 Step 8/24 : RUN apk add openjdk8 ---> Using cache ---> 33e797dafb78 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates ---> Using cache ---> 593f73ca93e7 Step 10/24 : RUN apk add openssl ---> Using cache ---> 9e091baf1530 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre ---> Using cache ---> ac732be97a1c Step 12/24 : RUN gem install asciidoctor-pdf-cjk ---> Using cache ---> c0cc4d048580 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar ---> Using cache ---> 6fe15e9ad31c Step 14/24 : RUN npm config set proxy $http_proxy ---> Using cache ---> becf94dcbee2 Step 15/24 : RUN npm install -g swagger-tools@0.10.3 ---> Using cache ---> e326d07e34fd Step 16/24 : RUN npm install -g json-refs@3.0.2 ---> Running in 6afb6547c05e npm WARN invalid config proxy="" npm WARN invalid config Must be a full url with 'http://' npm WARN deprecated superagent@3.8.3: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header). This notice will go away with v5.0.2+ once it is released. /usr/bin/json-refs -> /usr/lib/node_modules/json-refs/bin/json-refs /usr/lib `-- json-refs@3.0.2 +-- commander@2.20.1 +-- graphlib@2.1.7 +-- js-yaml@3.13.1 | +-- 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.24 | | `-- mime-db@1.40.0 | +-- formidable@1.2.1 | +-- methods@1.1.2 | +-- mime@1.6.0 | +-- qs@6.9.0 | `-- readable-stream@2.3.6 | +-- 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 ---> 07112aeb85e5 Removing intermediate container 6afb6547c05e Step 17/24 : RUN npm install -g yamljs@0.3.0 ---> Running in e9ff5ff7d6a5 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.4 +-- 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 ---> 9af74bcbefcb Removing intermediate container e9ff5ff7d6a5 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh ---> a7848e836063 Removing intermediate container 87a43aff9cfe Step 19/24 : RUN chmod +x /validate-in-docker.sh ---> Running in 9681081fbf4b ---> cd5855349bea Removing intermediate container 9681081fbf4b Step 20/24 : ADD swg2mrkup /bin/swg2mrkup ---> 335f34596479 Removing intermediate container 549f214d1b85 Step 21/24 : RUN chmod +x /bin/swg2mrkup ---> Running in c867f1b95c38 ---> 7b3c89d28f95 Removing intermediate container c867f1b95c38 Step 22/24 : ADD oas2pdf /bin/oas2pdf ---> 865b7d0ed98d Removing intermediate container 57040a4cc976 Step 23/24 : RUN chmod +x /bin/oas2pdf ---> Running in a9dbae3dc29c ---> 591715f77282 Removing intermediate container a9dbae3dc29c Step 24/24 : ENTRYPOINT /validate-in-docker.sh ---> Running in c619e5b680ab ---> 70eac81ef350 Removing intermediate container c619e5b680ab Successfully built 70eac81ef350 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/22' Mounting dir /var/www/html/api/nfv/sol005-master/22 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... #14 is removed because old than numToKeep Finished: SUCCESS