17:37:40 Started by GitLab push by Michele Carignani 17:37:40 Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol009 17:37:40 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e 17:37:40 > git rev-parse --is-inside-work-tree # timeout=10 17:37:40 Fetching changes from the remote Git repository 17:37:40 > git config remote.origin.url git@forge.etsi.org:nfv/SOL009.git # timeout=10 17:37:40 Fetching upstream changes from git@forge.etsi.org:nfv/SOL009.git 17:37:40 > git --version # timeout=10 17:37:40 using GIT_SSH to set credentials 17:37:40 > git fetch --tags --progress git@forge.etsi.org:nfv/SOL009.git +refs/heads/*:refs/remotes/origin/* 17:37:40 > git rev-parse remotes/origin/validation^{commit} # timeout=10 17:37:40 > git branch -a -v --no-abbrev --contains fc8e0f1e40812f51c37385cb5a9d7066439b3c90 # timeout=10 17:37:41 Checking out Revision fc8e0f1e40812f51c37385cb5a9d7066439b3c90 (origin/validation) 17:37:41 > git config core.sparsecheckout # timeout=10 17:37:41 > git checkout -f fc8e0f1e40812f51c37385cb5a9d7066439b3c90 17:37:41 Commit message: "use swagger-cli for the validation" 17:37:41 > git rev-list --no-walk 89742707edf11b90f684b69ff049fa8a17dda2f2 # timeout=10 17:37:41 [sol009] $ /bin/bash /tmp/jenkins8815849505900501728.sh 17:37:41 ./build-container.sh: line 7: proxy: command not found 17:37:41 http_proxy is not set 17:37:41 Proxy set to 17:37:41 Sending build context to Docker daemon 13.31kB 17:37:41 Step 1/24 : FROM alpine:3.6 17:37:41 ---> 43773d1dba76 17:37:41 Step 2/24 : RUN env 17:37:41 ---> Using cache 17:37:41 ---> 8f8fd58edd62 17:37:41 Step 3/24 : RUN apk update 17:37:41 ---> Using cache 17:37:41 ---> b5cdbf75bff8 17:37:41 Step 4/24 : RUN apk add bash 17:37:41 ---> Using cache 17:37:41 ---> d5b7d5b8474d 17:37:41 Step 5/24 : RUN apk add nodejs 17:37:41 ---> Using cache 17:37:41 ---> 02b0beae235e 17:37:41 Step 6/24 : RUN apk add nodejs-npm 17:37:41 ---> Using cache 17:37:41 ---> c28532e54062 17:37:41 Step 7/24 : RUN apk add asciidoctor 17:37:41 ---> Using cache 17:37:41 ---> 896cdd5b8441 17:37:41 Step 8/24 : RUN apk add openjdk8 17:37:41 ---> Using cache 17:37:41 ---> 33e797dafb78 17:37:41 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates 17:37:41 ---> Using cache 17:37:41 ---> 593f73ca93e7 17:37:41 Step 10/24 : RUN apk add openssl 17:37:41 ---> Using cache 17:37:41 ---> 9e091baf1530 17:37:41 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre 17:37:41 ---> Using cache 17:37:41 ---> ac732be97a1c 17:37:41 Step 12/24 : RUN gem install asciidoctor-pdf-cjk 17:37:41 ---> Using cache 17:37:41 ---> c0cc4d048580 17:37:41 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar 17:37:41 ---> Using cache 17:37:41 ---> 6fe15e9ad31c 17:37:41 Step 14/24 : RUN npm config set proxy $http_proxy 17:37:41 ---> Using cache 17:37:41 ---> becf94dcbee2 17:37:41 Step 15/24 : RUN npm install -g swagger-cli@0.10.3 17:37:41 ---> Running in 5e6751e35250 17:37:42 npm WARN invalid config proxy="" 17:37:42 npm WARN invalid config Must be a full url with 'http://' 17:37:42 npm ERR! Linux 4.4.0-154-generic 17:37:44 npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "swagger-cli@0.10.3" 17:37:44 npm ERR! node v6.10.3 17:37:44 npm ERR! npm  v3.10.10 17:37:44 npm ERR! code ETARGET 17:37:44  17:37:44 npm ERR! notarget No compatible version found: swagger-cli@0.10.3 17:37:44 npm ERR! notarget Valid install targets: 17:37:44 npm ERR! notarget 2.3.4, 2.3.3, 2.3.2, 2.3.1, 2.3.0, 2.2.2, 2.2.1, 2.2.0, 2.1.3, 2.1.2, 2.1.1, 2.1.0, 2.0.0, 1.0.2, 1.0.1, 1.0.0, 1.0.0-beta.2, 1.0.0-beta.1, 1.0.0-beta.0 17:37:44 npm ERR! notarget 17:37:44 npm ERR! notarget This is most likely not a problem with npm itself. 17:37:44 npm ERR! notarget In most cases you or one of your dependencies are requesting 17:37:44 npm ERR! notarget a package version that doesn't exist. 17:37:44  17:37:44 npm ERR! Please include the following file with any support request: 17:37:44 npm ERR! /npm-debug.log 17:37:44 The command '/bin/sh -c npm install -g swagger-cli@0.10.3' returned a non-zero code: 1 17:37:44 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol009 as /work 17:37:44 mkdir: created directory '/var/www/html/api/nfv/sol009/4' 17:37:44 Mounting dir /var/www/html/api/nfv/sol009/4 as /storage 17:37:45 Using filter '' 17:37:45 17:37:45 Entering dir /work/src 17:37:45 -- Will validate: ./SOL009/NFVManoLogManagementNotification/NFVManoLogManagementNotification.yaml (api: NFVManoLogManagementNotification) (deliverable:SOL009) 17:37:45 --- Merging file. 17:37:46 --- Create PDF... 17:37:48 mv: can't rename 'SOL009-NFVManoLogManagementNotification-API.pdf': No such file or directory 17:37:48 --- Validating ../build/SOL009-NFVManoLogManagementNotification-API.yaml 17:37:49 17:37:49 error: Unable to identify the Swagger version for document: ../build/SOL009-NFVManoLogManagementNotification-API.yaml 17:37:49 17:37:49 --- Validation done (1). 17:37:49 '../build/SOL009-NFVManoLogManagementNotification-API.yaml' -> '/storage/SOL009-NFVManoLogManagementNotification-API.yaml' 17:37:49 '../build/SOL009-NFVManoLogManagementNotification-API.json' -> '/storage/SOL009-NFVManoLogManagementNotification-API.json' 17:37:49 cp: can't stat '../build/SOL009-NFVManoLogManagementNotification-API.pdf': No such file or directory 17:37:49 -- Will validate: ./SOL009/NFVManoLogManagement/NFVManoLogManagement.yaml (api: NFVManoLogManagement) (deliverable:SOL009) 17:37:49 --- Merging file. 17:37:51 --- Create PDF... 17:37:53 mv: can't rename 'SOL009-NFVManoLogManagement-API.pdf': No such file or directory 17:37:53 --- Validating ../build/SOL009-NFVManoLogManagement-API.yaml 17:37:54 17:37:54 error: Unable to identify the Swagger version for document: ../build/SOL009-NFVManoLogManagement-API.yaml 17:37:54 17:37:54 --- Validation done (1). 17:37:54 '../build/SOL009-NFVManoLogManagement-API.yaml' -> '/storage/SOL009-NFVManoLogManagement-API.yaml' 17:37:54 '../build/SOL009-NFVManoLogManagement-API.json' -> '/storage/SOL009-NFVManoLogManagement-API.json' 17:37:54 cp: can't stat '../build/SOL009-NFVManoLogManagement-API.pdf': No such file or directory 17:37:54 -- Will validate: ./SOL009/NFVManoConfigurationAndInformationManagement/NFVManoConfigurationAndInformationManagement.yaml (api: NFVManoConfigurationAndInformationManagement) (deliverable:SOL009) 17:37:54 --- Merging file. 17:37:56 --- Create PDF... 17:37:58 mv: can't rename 'SOL009-NFVManoConfigurationAndInformationManagement-API.pdf': No such file or directory 17:37:58 --- Validating ../build/SOL009-NFVManoConfigurationAndInformationManagement-API.yaml 17:37:59 17:37:59 error: Unable to identify the Swagger version for document: ../build/SOL009-NFVManoConfigurationAndInformationManagement-API.yaml 17:37:59 17:37:59 --- Validation done (1). 17:37:59 '../build/SOL009-NFVManoConfigurationAndInformationManagement-API.yaml' -> '/storage/SOL009-NFVManoConfigurationAndInformationManagement-API.yaml' 17:37:59 '../build/SOL009-NFVManoConfigurationAndInformationManagement-API.json' -> '/storage/SOL009-NFVManoConfigurationAndInformationManagement-API.json' 17:37:59 cp: can't stat '../build/SOL009-NFVManoConfigurationAndInformationManagement-API.pdf': No such file or directory 17:37:59 -- Will validate: ./SOL009/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL009) 17:37:59 --- Merging file. 17:38:00 --- Create PDF... 17:38:01 mv: can't rename 'SOL009-APIVersion-API.pdf': No such file or directory 17:38:01 --- Validating ../build/SOL009-APIVersion-API.yaml 17:38:02 17:38:02 error: Unable to identify the Swagger version for document: ../build/SOL009-APIVersion-API.yaml 17:38:02 17:38:02 --- Validation done (1). 17:38:02 '../build/SOL009-APIVersion-API.yaml' -> '/storage/SOL009-APIVersion-API.yaml' 17:38:02 '../build/SOL009-APIVersion-API.json' -> '/storage/SOL009-APIVersion-API.json' 17:38:02 cp: can't stat '../build/SOL009-APIVersion-API.pdf': No such file or directory 17:38:02 -- Will validate: ./SOL009/NFVManoPerformanceManagementNotification/NFVManoPerformanceManagementNotification.yaml (api: NFVManoPerformanceManagementNotification) (deliverable:SOL009) 17:38:02 --- Merging file. 17:38:03 --- Create PDF... 17:38:05 mv: can't rename 'SOL009-NFVManoPerformanceManagementNotification-API.pdf': No such file or directory 17:38:05 --- Validating ../build/SOL009-NFVManoPerformanceManagementNotification-API.yaml 17:38:06 17:38:06 error: Unable to identify the Swagger version for document: ../build/SOL009-NFVManoPerformanceManagementNotification-API.yaml 17:38:06 17:38:06 --- Validation done (1). 17:38:06 '../build/SOL009-NFVManoPerformanceManagementNotification-API.yaml' -> '/storage/SOL009-NFVManoPerformanceManagementNotification-API.yaml' 17:38:06 '../build/SOL009-NFVManoPerformanceManagementNotification-API.json' -> '/storage/SOL009-NFVManoPerformanceManagementNotification-API.json' 17:38:06 cp: can't stat '../build/SOL009-NFVManoPerformanceManagementNotification-API.pdf': No such file or directory 17:38:06 -- Will validate: ./SOL009/NFVManoConfigurationAndInformationManagementNotification/NFVManoConfigurationAndInformationManagementNotification.yaml (api: NFVManoConfigurationAndInformationManagementNotification) (deliverable:SOL009) 17:38:06 --- Merging file. 17:38:07 --- Create PDF... 17:38:08 mv: can't rename 'SOL009-NFVManoConfigurationAndInformationManagementNotification-API.pdf': No such file or directory 17:38:09 --- Validating ../build/SOL009-NFVManoConfigurationAndInformationManagementNotification-API.yaml 17:38:09 17:38:09 error: Unable to identify the Swagger version for document: ../build/SOL009-NFVManoConfigurationAndInformationManagementNotification-API.yaml 17:38:09 17:38:09 --- Validation done (1). 17:38:09 '../build/SOL009-NFVManoConfigurationAndInformationManagementNotification-API.yaml' -> '/storage/SOL009-NFVManoConfigurationAndInformationManagementNotification-API.yaml' 17:38:09 '../build/SOL009-NFVManoConfigurationAndInformationManagementNotification-API.json' -> '/storage/SOL009-NFVManoConfigurationAndInformationManagementNotification-API.json' 17:38:09 cp: can't stat '../build/SOL009-NFVManoConfigurationAndInformationManagementNotification-API.pdf': No such file or directory 17:38:09 -- Will validate: ./SOL009/NFVManoFaultManagement/NFVManoFaultManagement.yaml (api: NFVManoFaultManagement) (deliverable:SOL009) 17:38:09 --- Merging file. 17:38:11 --- Create PDF... 17:38:12 --- Validating ../build/SOL009-NFVManoFaultManagement-API.yaml 17:38:12 mv: can't rename 'SOL009-NFVManoFaultManagement-API.pdf': No such file or directory 17:38:13 17:38:13 error: Unable to identify the Swagger version for document: ../build/SOL009-NFVManoFaultManagement-API.yaml 17:38:13 17:38:13 --- Validation done (1). 17:38:13 '../build/SOL009-NFVManoFaultManagement-API.yaml' -> '/storage/SOL009-NFVManoFaultManagement-API.yaml' 17:38:13 '../build/SOL009-NFVManoFaultManagement-API.json' -> '/storage/SOL009-NFVManoFaultManagement-API.json' 17:38:13 cp: can't stat '../build/SOL009-NFVManoFaultManagement-API.pdf': No such file or directory 17:38:13 -- Will validate: ./SOL009/NFVManoPerformanceManagement/NFVManoPerformanceManagement.yaml (api: NFVManoPerformanceManagement) (deliverable:SOL009) 17:38:13 --- Merging file. 17:38:15 --- Create PDF... 17:38:17 mv: can't rename 'SOL009-NFVManoPerformanceManagement-API.pdf': No such file or directory 17:38:17 --- Validating ../build/SOL009-NFVManoPerformanceManagement-API.yaml 17:38:18 17:38:18 error: Unable to identify the Swagger version for document: ../build/SOL009-NFVManoPerformanceManagement-API.yaml 17:38:18 17:38:18 --- Validation done (1). 17:38:18 '../build/SOL009-NFVManoPerformanceManagement-API.yaml' -> '/storage/SOL009-NFVManoPerformanceManagement-API.yaml' 17:38:18 '../build/SOL009-NFVManoPerformanceManagement-API.json' -> '/storage/SOL009-NFVManoPerformanceManagement-API.json' 17:38:18 cp: can't stat '../build/SOL009-NFVManoPerformanceManagement-API.pdf': No such file or directory 17:38:18 -- Will validate: ./SOL009/NFVManoFaultManagementNotification/NFVManoFaultManagementNotification.yaml (api: NFVManoFaultManagementNotification) (deliverable:SOL009) 17:38:18 --- Merging file. 17:38:19 --- Create PDF... 17:38:21 --- Validating ../build/SOL009-NFVManoFaultManagementNotification-API.yaml 17:38:21 mv: can't rename 'SOL009-NFVManoFaultManagementNotification-API.pdf': No such file or directory 17:38:22 17:38:22 error: Unable to identify the Swagger version for document: ../build/SOL009-NFVManoFaultManagementNotification-API.yaml 17:38:22 17:38:22 --- Validation done (1). 17:38:22 '../build/SOL009-NFVManoFaultManagementNotification-API.yaml' -> '/storage/SOL009-NFVManoFaultManagementNotification-API.yaml' 17:38:22 '../build/SOL009-NFVManoFaultManagementNotification-API.json' -> '/storage/SOL009-NFVManoFaultManagementNotification-API.json' 17:38:22 cp: can't stat '../build/SOL009-NFVManoFaultManagementNotification-API.pdf': No such file or directory 17:38:22 -- Final validator returns 1. 17:38:22 Build step 'Execute shell' marked build as failure 17:38:22 Skipped archiving because build is not successful 17:38:22 Finished: FAILURE