Console Output
16:21:47 Started by GitLab push by bernini
16:21:47 Building remotely on Build 3 (selenium docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol011
16:21:47 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
16:21:47 > git rev-parse --is-inside-work-tree # timeout=10
16:21:47 Fetching changes from the remote Git repository
16:21:47 > git config remote.origin.url git@forge.etsi.org:nfv/SOL011.git # timeout=10
16:21:47 Fetching upstream changes from git@forge.etsi.org:nfv/SOL011.git
16:21:47 > git --version # timeout=10
16:21:47 using GIT_SSH to set credentials
16:21:47 > git fetch --tags --progress git@forge.etsi.org:nfv/SOL011.git +refs/heads/*:refs/remotes/origin/*
16:21:48 > git rev-parse remotes/origin/3.3.1-dev^{commit} # timeout=10
16:21:48 > git branch -a -v --no-abbrev --contains c687bb5c2e045065b4367d916e864711e32803eb # timeout=10
16:21:48 Checking out Revision c687bb5c2e045065b4367d916e864711e32803eb (origin/3.3.1-dev)
16:21:48 > git config core.sparsecheckout # timeout=10
16:21:48 > git checkout -f c687bb5c2e045065b4367d916e864711e32803eb
16:21:48 Commit message: "updated NSD Management OpenAPI to refer to SOL005"
16:21:48 > git rev-list --no-walk b7c9170a480778e9b4bb865bf67294e3be26ae7a # timeout=10
16:21:48 [sol011] $ /bin/bash /tmp/jenkins3083922034962563006.sh
16:21:48 ./build-container.sh: line 7: proxy: command not found
16:21:48 http_proxy is not set
16:21:48 Proxy set to
16:21:48 Sending build context to Docker daemon 13.31kB
16:21:48 Step 1/24 : FROM alpine:3.10.0
16:21:48 ---> 4d90542f0623
16:21:48 Step 2/24 : RUN env
16:21:48 ---> Using cache
16:21:48 ---> 74f10208e216
16:21:48 Step 3/24 : RUN apk update
16:21:48 ---> Using cache
16:21:48 ---> 402f5f4181db
16:21:48 Step 4/24 : RUN apk add bash
16:21:48 ---> Using cache
16:21:48 ---> 7fee8facc93c
16:21:48 Step 5/24 : RUN apk add nodejs
16:21:48 ---> Using cache
16:21:48 ---> fd1b1ff44aec
16:21:48 Step 6/24 : RUN apk add nodejs-npm
16:21:48 ---> Using cache
16:21:48 ---> 72dcb8c5469d
16:21:48 Step 7/24 : RUN apk add asciidoctor
16:21:48 ---> Using cache
16:21:48 ---> f93c03b6714b
16:21:48 Step 8/24 : RUN apk add openjdk8
16:21:48 ---> Using cache
16:21:48 ---> 64595557b10d
16:21:48 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates
16:21:48 ---> Using cache
16:21:48 ---> 89b1cc262e26
16:21:48 Step 10/24 : RUN apk add openssl
16:21:48 ---> Using cache
16:21:48 ---> decdca7d1ef5
16:21:48 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre
16:21:48 ---> Using cache
16:21:48 ---> 1d853dd7c6c3
16:21:48 Step 12/24 : RUN gem install asciidoctor-pdf-cjk
16:21:48 ---> Using cache
16:21:48 ---> 295b0548de80
16:21:48 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar
16:21:48 ---> Using cache
16:21:48 ---> be6e6825f19e
16:21:48 Step 14/24 : RUN npm config set proxy $http_proxy
16:21:48 ---> Using cache
16:21:48 ---> c40e0db98de7
16:21:48 Step 15/24 : RUN npm install -g swagger-cli
16:21:48 ---> Using cache
16:21:48 ---> 47d8bbfd0303
16:21:48 Step 16/24 : RUN npm install -g json-refs
16:21:48 ---> Using cache
16:21:48 ---> 3fee18d05a16
16:21:48 Step 17/24 : RUN npm install -g yamljs
16:21:48 ---> Using cache
16:21:48 ---> 514359d9f9b0
16:21:48 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh
16:21:48 ---> Using cache
16:21:48 ---> 7d0d40b8c427
16:21:48 Step 19/24 : RUN chmod +x /validate-in-docker.sh
16:21:48 ---> Using cache
16:21:48 ---> 263ed9d13f24
16:21:48 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup
16:21:48 ---> Using cache
16:21:48 ---> 63cc9d490b54
16:21:48 Step 21/24 : RUN chmod +x /bin/swg2mrkup
16:21:48 ---> Using cache
16:21:48 ---> eb1ef268cdc1
16:21:48 Step 22/24 : ADD oas2pdf /bin/oas2pdf
16:21:48 ---> Using cache
16:21:48 ---> 3d5957bfc623
16:21:48 Step 23/24 : RUN chmod +x /bin/oas2pdf
16:21:48 ---> Using cache
16:21:48 ---> 381d3ad57559
16:21:48 Step 24/24 : ENTRYPOINT ["/validate-in-docker.sh"]
16:21:48 ---> Using cache
16:21:48 ---> d346f2906793
16:21:48 Successfully built d346f2906793
16:21:48 Successfully tagged openapivalidator:latest
16:21:48 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol011 as /work
16:21:48 mkdir: cannot create directory ‘/var/www/html/api/nfv/sol011/11’: Permission denied
16:21:48 Mounting dir /var/www/html/api/nfv/sol011/11 as /storage
16:21:49 Using filter ''
16:21:49
16:21:49 Entering dir /work/src
16:21:49 -- Will validate: ./SOL011/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml (api: NSLifecycleManagementNotification) (deliverable:SOL011)
16:21:49 --- Merging file.
16:21:52 --- Create PDF...
16:22:10 --- Validating ../build/SOL011-NSLifecycleManagementNotification-API.yaml
16:22:10 ../build/SOL011-NSLifecycleManagementNotification-API.yaml is valid
16:22:10 --- Validation done (0).
16:22:10 '../build/SOL011-NSLifecycleManagementNotification-API.yaml' -> '/storage/SOL011-NSLifecycleManagementNotification-API.yaml'
16:22:10 '../build/SOL011-NSLifecycleManagementNotification-API.json' -> '/storage/SOL011-NSLifecycleManagementNotification-API.json'
16:22:10 '../build/SOL011-NSLifecycleManagementNotification-API.pdf' -> '/storage/SOL011-NSLifecycleManagementNotification-API.pdf'
16:22:10 -- Will validate: ./SOL011/NSLifecycleOperationGranting/NSLifecycleOperationGranting.yaml (api: NSLifecycleOperationGranting) (deliverable:SOL011)
16:22:10 --- Merging file.
16:22:11 --- Create PDF...
16:22:13 --- Validating ../build/SOL011-NSLifecycleOperationGranting-API.yaml
16:22:13 mv: can't rename 'SOL011-NSLifecycleOperationGranting-API.pdf': No such file or directory
16:22:13 ../build/SOL011-NSLifecycleOperationGranting-API.yaml is valid
16:22:13 --- Validation done (0).
16:22:13 '../build/SOL011-NSLifecycleOperationGranting-API.yaml' -> '/storage/SOL011-NSLifecycleOperationGranting-API.yaml'
16:22:13 '../build/SOL011-NSLifecycleOperationGranting-API.json' -> '/storage/SOL011-NSLifecycleOperationGranting-API.json'
16:22:13 cp: can't stat '../build/SOL011-NSLifecycleOperationGranting-API.pdf': No such file or directory
16:22:13 -- Will validate: ./SOL011/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL011)
16:22:13 --- Merging file.
16:22:15
16:22:15 error: Document has invalid references:
16:22:15
16:22:15 #/paths/~1ns_descriptors~1{nsdInfoId}/get: JSON Pointer points to missing location: https://forge.etsi.org/rep/nfv/SOL005/raw/v2.6.1/src/SOL005/NSDManagement/NSDManagement.yaml#/paths/~1ns_descriptors/~1{nsdInfoId}/get
16:22:15
16:22:15 --- Create PDF...
16:22:17 mv: can't rename 'SOL011-NSDManagement-API.pdf': No such file or directory
16:22:17 --- Validating ../build/SOL011-NSDManagement-API.yaml
16:22:17 "/work/build/SOL011-NSDManagement-API.yaml" is not a valid JSON Schema
16:22:17 --- Validation done (1).
16:22:17 '../build/SOL011-NSDManagement-API.yaml' -> '/storage/SOL011-NSDManagement-API.yaml'
16:22:17 '../build/SOL011-NSDManagement-API.json' -> '/storage/SOL011-NSDManagement-API.json'
16:22:17 cp: can't stat '../build/SOL011-NSDManagement-API.pdf': No such file or directory
16:22:17 -- Will validate: ./SOL011/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL011)
16:22:17 --- Merging file.
16:22:18 --- Create PDF...
16:22:20 mv: can't rename 'SOL011-APIVersion-API.pdf': No such file or directory
16:22:20 --- Validating ../build/SOL011-APIVersion-API.yaml
16:22:20 ../build/SOL011-APIVersion-API.yaml is valid
16:22:20 --- Validation done (0).
16:22:20 '../build/SOL011-APIVersion-API.yaml' -> '/storage/SOL011-APIVersion-API.yaml'
16:22:20 '../build/SOL011-APIVersion-API.json' -> '/storage/SOL011-APIVersion-API.json'
16:22:20 cp: can't stat '../build/SOL011-APIVersion-API.pdf': No such file or directory
16:22:20 -- Will validate: ./SOL011/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL011)
16:22:20 --- Merging file.
16:22:22 --- Create PDF...
16:22:45 --- Validating ../build/SOL011-NSPerformanceManagement-API.yaml
16:22:46 ../build/SOL011-NSPerformanceManagement-API.yaml is valid
16:22:46 --- Validation done (0).
16:22:46 '../build/SOL011-NSPerformanceManagement-API.yaml' -> '/storage/SOL011-NSPerformanceManagement-API.yaml'
16:22:46 '../build/SOL011-NSPerformanceManagement-API.json' -> '/storage/SOL011-NSPerformanceManagement-API.json'
16:22:46 '../build/SOL011-NSPerformanceManagement-API.pdf' -> '/storage/SOL011-NSPerformanceManagement-API.pdf'
16:22:46 -- Will validate: ./SOL011/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL011)
16:22:46 --- Merging file.
16:22:48 --- Create PDF...
16:23:08 --- Validating ../build/SOL011-NSFaultManagement-API.yaml
16:23:09 ../build/SOL011-NSFaultManagement-API.yaml is valid
16:23:09 --- Validation done (0).
16:23:09 '../build/SOL011-NSFaultManagement-API.yaml' -> '/storage/SOL011-NSFaultManagement-API.yaml'
16:23:09 '../build/SOL011-NSFaultManagement-API.json' -> '/storage/SOL011-NSFaultManagement-API.json'
16:23:09 '../build/SOL011-NSFaultManagement-API.pdf' -> '/storage/SOL011-NSFaultManagement-API.pdf'
16:23:09 -- Will validate: ./SOL011/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL011)
16:23:09 --- Merging file.
16:23:12 --- Create PDF...
16:24:17 --- Validating ../build/SOL011-NSLifecycleManagement-API.yaml
16:24:17 ../build/SOL011-NSLifecycleManagement-API.yaml is valid
16:24:17 --- Validation done (0).
16:24:17 '../build/SOL011-NSLifecycleManagement-API.yaml' -> '/storage/SOL011-NSLifecycleManagement-API.yaml'
16:24:17 '../build/SOL011-NSLifecycleManagement-API.json' -> '/storage/SOL011-NSLifecycleManagement-API.json'
16:24:17 '../build/SOL011-NSLifecycleManagement-API.pdf' -> '/storage/SOL011-NSLifecycleManagement-API.pdf'
16:24:17 -- Will validate: ./SOL011/NSFaultManagementNotification/NSFaultManagementNotification.yaml (api: NSFaultManagementNotification) (deliverable:SOL011)
16:24:17 --- Merging file.
16:24:19 --- Create PDF...
16:24:31 --- Validating ../build/SOL011-NSFaultManagementNotification-API.yaml
16:24:31 ../build/SOL011-NSFaultManagementNotification-API.yaml is valid
16:24:31 --- Validation done (0).
16:24:31 '../build/SOL011-NSFaultManagementNotification-API.yaml' -> '/storage/SOL011-NSFaultManagementNotification-API.yaml'
16:24:31 '../build/SOL011-NSFaultManagementNotification-API.json' -> '/storage/SOL011-NSFaultManagementNotification-API.json'
16:24:31 '../build/SOL011-NSFaultManagementNotification-API.pdf' -> '/storage/SOL011-NSFaultManagementNotification-API.pdf'
16:24:31 -- Will validate: ./SOL011/NSInstanceUsageNotification/NSInstanceUsageNotification.yaml (api: NSInstanceUsageNotification) (deliverable:SOL011)
16:24:31 --- Merging file.
16:24:32 --- Create PDF...
16:24:34 mv: can't rename 'SOL011-NSInstanceUsageNotification-API.pdf': No such file or directory
16:24:34 --- Validating ../build/SOL011-NSInstanceUsageNotification-API.yaml
16:24:34 ../build/SOL011-NSInstanceUsageNotification-API.yaml is valid
16:24:35 --- Validation done (0).
16:24:35 '../build/SOL011-NSInstanceUsageNotification-API.yaml' -> '/storage/SOL011-NSInstanceUsageNotification-API.yaml'
16:24:35 '../build/SOL011-NSInstanceUsageNotification-API.json' -> '/storage/SOL011-NSInstanceUsageNotification-API.json'
16:24:35 cp: can't stat '../build/SOL011-NSInstanceUsageNotification-API.pdf': No such file or directory
16:24:35 -- Will validate: ./SOL011/NSPerformanceManagementNotification/NSPerformanceManagementNotification.yaml (api: NSPerformanceManagementNotification) (deliverable:SOL011)
16:24:35 --- Merging file.
16:24:36 --- Create PDF...
16:24:47 --- Validating ../build/SOL011-NSPerformanceManagementNotification-API.yaml
16:24:47 ../build/SOL011-NSPerformanceManagementNotification-API.yaml is valid
16:24:47 --- Validation done (0).
16:24:47 '../build/SOL011-NSPerformanceManagementNotification-API.yaml' -> '/storage/SOL011-NSPerformanceManagementNotification-API.yaml'
16:24:47 '../build/SOL011-NSPerformanceManagementNotification-API.json' -> '/storage/SOL011-NSPerformanceManagementNotification-API.json'
16:24:47 '../build/SOL011-NSPerformanceManagementNotification-API.pdf' -> '/storage/SOL011-NSPerformanceManagementNotification-API.pdf'
16:24:47 -- Final validator returns 1.
16:24:48 Build step 'Execute shell' marked build as failure
16:24:48 Skipped archiving because build is not successful
16:24:48 Finished: FAILURE