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