FailedConsole Output

18:04:31 Started by GitLab push by bernini
18:04:31 Building remotely on Build 3 (selenium docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol011
18:04:31 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
18:04:31  > git rev-parse --is-inside-work-tree # timeout=10
18:04:31 Fetching changes from the remote Git repository
18:04:31  > git config remote.origin.url git@forge.etsi.org:nfv/SOL011.git # timeout=10
18:04:31 Fetching upstream changes from git@forge.etsi.org:nfv/SOL011.git
18:04:31  > git --version # timeout=10
18:04:31 using GIT_SSH to set credentials 
18:04:31  > git fetch --tags --progress git@forge.etsi.org:nfv/SOL011.git +refs/heads/*:refs/remotes/origin/*
18:04:32  > git rev-parse remotes/origin/3.3.1-dev^{commit} # timeout=10
18:04:32  > git branch -a -v --no-abbrev --contains 67c366b45772354ee26059bd2bdd2f8c292216a2 # timeout=10
18:04:32 Checking out Revision 67c366b45772354ee26059bd2bdd2f8c292216a2 (origin/3.3.1-dev)
18:04:32  > git config core.sparsecheckout # timeout=10
18:04:32  > git checkout -f 67c366b45772354ee26059bd2bdd2f8c292216a2
18:04:32 Commit message: "added NS Fault Management openAPI - reference to SOL005 as-is"
18:04:32  > git rev-list --no-walk a3dddfcc8d6a284a4d7a89b8c5152f4bb9340448 # timeout=10
18:04:32 [sol011] $ /bin/bash /tmp/jenkins7353266118783030182.sh
18:04:33 ./build-container.sh: line 7: proxy: command not found
18:04:33 http_proxy is not set
18:04:33 Proxy set to 
18:04:33 Sending build context to Docker daemon  13.31kB

18:04:33 Step 1/24 : FROM alpine:3.10.0
18:04:33  ---> 4d90542f0623
18:04:33 Step 2/24 : RUN env
18:04:33  ---> Using cache
18:04:33  ---> 74f10208e216
18:04:33 Step 3/24 : RUN apk update
18:04:33  ---> Using cache
18:04:33  ---> 402f5f4181db
18:04:33 Step 4/24 : RUN apk add bash
18:04:33  ---> Using cache
18:04:33  ---> 7fee8facc93c
18:04:33 Step 5/24 : RUN apk add nodejs
18:04:33  ---> Using cache
18:04:33  ---> fd1b1ff44aec
18:04:33 Step 6/24 : RUN apk add nodejs-npm
18:04:33  ---> Using cache
18:04:33  ---> 72dcb8c5469d
18:04:33 Step 7/24 : RUN apk add asciidoctor
18:04:33  ---> Using cache
18:04:33  ---> f93c03b6714b
18:04:33 Step 8/24 : RUN apk add openjdk8
18:04:33  ---> Using cache
18:04:33  ---> 64595557b10d
18:04:33 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates
18:04:33  ---> Using cache
18:04:33  ---> 89b1cc262e26
18:04:33 Step 10/24 : RUN apk add openssl
18:04:33  ---> Using cache
18:04:33  ---> decdca7d1ef5
18:04:33 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre
18:04:33  ---> Using cache
18:04:33  ---> 1d853dd7c6c3
18:04:33 Step 12/24 : RUN gem install asciidoctor-pdf-cjk
18:04:33  ---> Using cache
18:04:33  ---> 295b0548de80
18:04:33 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar
18:04:33  ---> Using cache
18:04:33  ---> be6e6825f19e
18:04:33 Step 14/24 : RUN npm config set proxy $http_proxy
18:04:33  ---> Using cache
18:04:33  ---> c40e0db98de7
18:04:33 Step 15/24 : RUN npm install -g swagger-cli
18:04:33  ---> Using cache
18:04:33  ---> 47d8bbfd0303
18:04:33 Step 16/24 : RUN npm install -g json-refs
18:04:33  ---> Using cache
18:04:33  ---> 3fee18d05a16
18:04:33 Step 17/24 : RUN npm install -g yamljs
18:04:33  ---> Using cache
18:04:33  ---> 514359d9f9b0
18:04:33 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh
18:04:33  ---> Using cache
18:04:33  ---> 7d0d40b8c427
18:04:33 Step 19/24 : RUN chmod +x /validate-in-docker.sh
18:04:33  ---> Using cache
18:04:33  ---> 263ed9d13f24
18:04:33 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup
18:04:33  ---> Using cache
18:04:33  ---> 63cc9d490b54
18:04:33 Step 21/24 : RUN chmod +x /bin/swg2mrkup
18:04:33  ---> Using cache
18:04:33  ---> eb1ef268cdc1
18:04:33 Step 22/24 : ADD oas2pdf /bin/oas2pdf
18:04:33  ---> Using cache
18:04:33  ---> 3d5957bfc623
18:04:33 Step 23/24 : RUN chmod +x /bin/oas2pdf
18:04:33  ---> Using cache
18:04:33  ---> 381d3ad57559
18:04:33 Step 24/24 : ENTRYPOINT ["/validate-in-docker.sh"]
18:04:33  ---> Using cache
18:04:33  ---> d346f2906793
18:04:33 Successfully built d346f2906793
18:04:33 Successfully tagged openapivalidator:latest
18:04:33 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol011 as /work
18:04:33 mkdir: cannot create directory ‘/var/www/html/api/nfv/sol011/3’: Permission denied
18:04:33 Mounting dir /var/www/html/api/nfv/sol011/3 as /storage
18:04:34 Using filter ''
18:04:34 
18:04:34 Entering dir /work/src
18:04:34 -- Will validate: ./SOL011/NSLifecycleOperationGranting/NSLifecycleOperationGranting.yaml (api: NSLifecycleOperationGranting) (deliverable:SOL011)
18:04:34 --- Merging file.
18:04:35 --- Create PDF...
18:04:38 --- Validating ../build/SOL011-NSLifecycleOperationGranting-API.yaml
18:04:38 mv: can't rename 'SOL011-NSLifecycleOperationGranting-API.pdf': No such file or directory
18:04:38 ../build/SOL011-NSLifecycleOperationGranting-API.yaml is valid
18:04:38 --- Validation done (0).
18:04:38 '../build/SOL011-NSLifecycleOperationGranting-API.yaml' -> '/storage/SOL011-NSLifecycleOperationGranting-API.yaml'
18:04:38 '../build/SOL011-NSLifecycleOperationGranting-API.json' -> '/storage/SOL011-NSLifecycleOperationGranting-API.json'
18:04:38 cp: can't stat '../build/SOL011-NSLifecycleOperationGranting-API.pdf': No such file or directory
18:04:38 -- Will validate: ./SOL011/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL011)
18:04:38 --- Merging file.
18:04:39 --- Create PDF...
18:04:41 mv: can't rename 'SOL011-NSDManagement-API.pdf': No such file or directory
18:04:41 --- Validating ../build/SOL011-NSDManagement-API.yaml
18:04:41 ../build/SOL011-NSDManagement-API.yaml is valid
18:04:41 --- Validation done (0).
18:04:41 '../build/SOL011-NSDManagement-API.yaml' -> '/storage/SOL011-NSDManagement-API.yaml'
18:04:41 '../build/SOL011-NSDManagement-API.json' -> '/storage/SOL011-NSDManagement-API.json'
18:04:41 cp: can't stat '../build/SOL011-NSDManagement-API.pdf': No such file or directory
18:04:41 -- Will validate: ./SOL011/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL011)
18:04:41 --- Merging file.
18:04:42 --- Create PDF...
18:04:44 mv: can't rename 'SOL011-APIVersion-API.pdf': No such file or directory
18:04:44 --- Validating ../build/SOL011-APIVersion-API.yaml
18:04:44 ../build/SOL011-APIVersion-API.yaml is valid
18:04:44 --- Validation done (0).
18:04:44 '../build/SOL011-APIVersion-API.yaml' -> '/storage/SOL011-APIVersion-API.yaml'
18:04:44 '../build/SOL011-APIVersion-API.json' -> '/storage/SOL011-APIVersion-API.json'
18:04:44 cp: can't stat '../build/SOL011-APIVersion-API.pdf': No such file or directory
18:04:44 -- Will validate: ./SOL011/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL011)
18:04:44 --- Merging file.
18:04:45 
18:04:45   error: Document has invalid references:
18:04:45 
18:04:45   #/paths/~1api_versions: obj must be an Array or an Object: https://forge.etsi.org/jenkins/job/NFV%20-%20Network%20Functions%20Virtualisation/job/sol005-master/20/artifact/build/SOL005-NSPerformanceManagement-API.yaml#/paths/~1api-versions
18:04:45   #/paths/~1pm_jobs: obj must be an Array or an Object: https://forge.etsi.org/jenkins/job/NFV%20-%20Network%20Functions%20Virtualisation/job/sol005-master/20/artifact/build/SOL005-NSPerformanceManagement-API.yaml#/paths/~1pm_jobs
18:04:45   #/paths/~1pm_jobs~1{pmJobId}: obj must be an Array or an Object: https://forge.etsi.org/jenkins/job/NFV%20-%20Network%20Functions%20Virtualisation/job/sol005-master/20/artifact/build/SOL005-NSPerformanceManagement-API.yaml#/paths/~1pm_jobs~1{pmJobId}
18:04:45   #/paths/~1thresholds: obj must be an Array or an Object: https://forge.etsi.org/jenkins/job/NFV%20-%20Network%20Functions%20Virtualisation/job/sol005-master/20/artifact/build/SOL005-NSPerformanceManagement-API.yaml#/paths/~1thresholds
18:04:45   #/paths/~1thresholds~1{thresholdId}: obj must be an Array or an Object: https://forge.etsi.org/jenkins/job/NFV%20-%20Network%20Functions%20Virtualisation/job/sol005-master/20/artifact/build/SOL005-NSPerformanceManagement-API.yaml#/paths/~1thresholds~1{thresholdId}
18:04:45 
18:04:45 --- Create PDF...
18:04:47 mv: can't rename 'SOL011-NSPerformanceManagement-API.pdf': No such file or directory
18:04:47 --- Validating ../build/SOL011-NSPerformanceManagement-API.yaml
18:04:47 "/work/build/SOL011-NSPerformanceManagement-API.yaml" is not a valid JSON Schema
18:04:47 --- Validation done (1).
18:04:47 '../build/SOL011-NSPerformanceManagement-API.yaml' -> '/storage/SOL011-NSPerformanceManagement-API.yaml'
18:04:47 '../build/SOL011-NSPerformanceManagement-API.json' -> '/storage/SOL011-NSPerformanceManagement-API.json'
18:04:47 cp: can't stat '../build/SOL011-NSPerformanceManagement-API.pdf': No such file or directory
18:04:47 -- Will validate: ./SOL011/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL011)
18:04:47 --- Merging file.
18:04:48 
18:04:48   error: Document has invalid references:
18:04:48 
18:04:48   #/paths/~1alarms: obj must be an Array or an Object: https://forge.etsi.org/jenkins/job/NFV%20-%20Network%20Functions%20Virtualisation/job/sol005-master/20/artifact/build/SOL005-NSFaultManagement-API.yaml#/paths/~1alarms
18:04:48   #/paths/~1alarms~1{alarmId}: obj must be an Array or an Object: https://forge.etsi.org/jenkins/job/NFV%20-%20Network%20Functions%20Virtualisation/job/sol005-master/20/artifact/build/SOL005-NSFaultManagement-API.yaml#/paths/~1alarms~1{alarmId}
18:04:48   #/paths/~1api_versions: obj must be an Array or an Object: https://forge.etsi.org/jenkins/job/NFV%20-%20Network%20Functions%20Virtualisation/job/sol005-master/20/artifact/build/SOL005-NSFaultManagement-API.yaml#/paths/~1api-versions
18:04:48   #/paths/~1subscriptions: obj must be an Array or an Object: https://forge.etsi.org/jenkins/job/NFV%20-%20Network%20Functions%20Virtualisation/job/sol005-master/20/artifact/build/SOL005-NSFaultManagement-API.yaml#/paths/~1subscriptions
18:04:48   #/paths/~1subscriptions~1{subscriptionId}: obj must be an Array or an Object: https://forge.etsi.org/jenkins/job/NFV%20-%20Network%20Functions%20Virtualisation/job/sol005-master/20/artifact/build/SOL005-NSFaultManagement-API.yaml#/paths/~1subscriptions~1{subscriptionId}
18:04:48 
18:04:48 --- Create PDF...
18:04:50 mv: can't rename 'SOL011-NSFaultManagement-API.pdf': No such file or directory
18:04:50 --- Validating ../build/SOL011-NSFaultManagement-API.yaml
18:04:50 "/work/build/SOL011-NSFaultManagement-API.yaml" is not a valid JSON Schema
18:04:50 --- Validation done (1).
18:04:50 '../build/SOL011-NSFaultManagement-API.yaml' -> '/storage/SOL011-NSFaultManagement-API.yaml'
18:04:50 '../build/SOL011-NSFaultManagement-API.json' -> '/storage/SOL011-NSFaultManagement-API.json'
18:04:50 cp: can't stat '../build/SOL011-NSFaultManagement-API.pdf': No such file or directory
18:04:50 -- Final validator returns 1.
18:04:51 Build step 'Execute shell' marked build as failure
18:04:51 Skipped archiving because build is not successful
18:04:51 Finished: FAILURE