FailedConsole Output

14:35:23 Started by GitLab push by f.moscatelli
14:35:23 Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005
14:35:23 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
14:35:23  > git rev-parse --is-inside-work-tree # timeout=10
14:35:23 Fetching changes from the remote Git repository
14:35:23  > git config remote.origin.url git@forge.etsi.org:nfv/SOL005.git # timeout=10
14:35:23 Fetching upstream changes from git@forge.etsi.org:nfv/SOL005.git
14:35:23  > git --version # timeout=10
14:35:23 using GIT_SSH to set credentials 
14:35:23  > git fetch --tags --progress git@forge.etsi.org:nfv/SOL005.git +refs/heads/*:refs/remotes/origin/*
14:35:24  > git rev-parse remotes/origin/2.4.1-editorial-fixes^{commit} # timeout=10
14:35:24  > git branch -a -v --no-abbrev --contains fcc3b122a60c66259f5bec0dc14ab20ea5ccfc23 # timeout=10
14:35:24 Checking out Revision fcc3b122a60c66259f5bec0dc14ab20ea5ccfc23 (origin/2.4.1-editorial-fixes)
14:35:24  > git config core.sparsecheckout # timeout=10
14:35:24  > git checkout -f fcc3b122a60c66259f5bec0dc14ab20ea5ccfc23
14:35:24 Commit message: "SOL005: OpenAPI version updated to 1.0.0 for all interfaces + Notification interfaces created"
14:35:24  > git rev-list --no-walk 5267857fca522e64922e706e76c8dffda7eb1573 # timeout=10
14:35:24 [sol005] $ /bin/bash /tmp/jenkins2165013858995661031.sh
14:35:24 ./build-container.sh: line 7: proxy: command not found
14:35:24 http_proxy is not set
14:35:24 Proxy set to 
14:35:24 Sending build context to Docker daemon  13.31kB

14:35:24 Step 1/24 : FROM alpine:3.6
14:35:24  ---> 43773d1dba76
14:35:24 Step 2/24 : RUN env
14:35:24  ---> Using cache
14:35:24  ---> 94a774cc9d8b
14:35:24 Step 3/24 : RUN apk update
14:35:24  ---> Using cache
14:35:24  ---> 12b582a22f41
14:35:24 Step 4/24 : RUN apk add bash
14:35:24  ---> Using cache
14:35:24  ---> fafd07ab0655
14:35:24 Step 5/24 : RUN apk add nodejs
14:35:24  ---> Using cache
14:35:24  ---> 1debd0445296
14:35:24 Step 6/24 : RUN apk add nodejs-npm
14:35:24  ---> Using cache
14:35:24  ---> c827a1cac07e
14:35:24 Step 7/24 : RUN apk add asciidoctor
14:35:24  ---> Using cache
14:35:24  ---> e90589c3e596
14:35:24 Step 8/24 : RUN apk add openjdk8
14:35:24  ---> Using cache
14:35:24  ---> 735d8f58c1bc
14:35:24 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates
14:35:24  ---> Using cache
14:35:24  ---> c3dc23607c9d
14:35:24 Step 10/24 : RUN apk add openssl
14:35:24  ---> Using cache
14:35:24  ---> a643db7e74bb
14:35:24 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre
14:35:24  ---> Using cache
14:35:24  ---> 3c2b8bf7c2ca
14:35:24 Step 12/24 : RUN gem install asciidoctor-pdf-cjk
14:35:24  ---> Using cache
14:35:24  ---> 8572c9df5ed2
14:35:24 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar
14:35:24  ---> Using cache
14:35:24  ---> f44bfb2813f1
14:35:24 Step 14/24 : RUN npm config set proxy $http_proxy
14:35:24  ---> Using cache
14:35:24  ---> 4b6141ff47f4
14:35:24 Step 15/24 : RUN npm install -g swagger-tools@0.10.3
14:35:24  ---> Using cache
14:35:24  ---> 3021daafa234
14:35:24 Step 16/24 : RUN npm install -g json-refs@3.0.2
14:35:24  ---> Using cache
14:35:24  ---> 450ac1367008
14:35:24 Step 17/24 : RUN npm install -g yamljs@0.3.0
14:35:24  ---> Using cache
14:35:24  ---> b2179889fdf7
14:35:24 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh
14:35:24  ---> Using cache
14:35:24  ---> 22b0f991742d
14:35:24 Step 19/24 : RUN chmod +x /validate-in-docker.sh
14:35:24  ---> Using cache
14:35:24  ---> 15b59145c33b
14:35:24 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup
14:35:24  ---> Using cache
14:35:24  ---> 7308f4b26eb2
14:35:24 Step 21/24 : RUN chmod +x /bin/swg2mrkup
14:35:24  ---> Using cache
14:35:24  ---> dfc7883158e5
14:35:24 Step 22/24 : ADD oas2pdf /bin/oas2pdf
14:35:24  ---> Using cache
14:35:24  ---> 6b3ffc5e7e2b
14:35:24 Step 23/24 : RUN chmod +x /bin/oas2pdf
14:35:24  ---> Using cache
14:35:24  ---> b2e0fd2d61e5
14:35:24 Step 24/24 : ENTRYPOINT /validate-in-docker.sh
14:35:24  ---> Using cache
14:35:24  ---> aead7ceb0f7b
14:35:24 Successfully built aead7ceb0f7b
14:35:24 Successfully tagged openapivalidator:latest
14:35:24 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 as /work
14:35:24 mkdir: created directory '/var/www/html/api/nfv/sol005/70'
14:35:24 Mounting dir /var/www/html/api/nfv/sol005/70 as /storage
14:35:25 Using filter ''
14:35:25 
14:35:25 Entering dir /work/src
14:35:25 -- Will validate: ./SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml (api: NSLifecycleManagementNotification) (deliverable:SOL005)
14:35:25 --- Merging file.
14:35:26 --- Create PDF...
14:35:41 --- Validating ../build/SOL005-NSLifecycleManagementNotification-API.yaml
14:35:42 --- Validation done (0).
14:35:42 '../build/SOL005-NSLifecycleManagementNotification-API.yaml' -> '/storage/SOL005-NSLifecycleManagementNotification-API.yaml'
14:35:42 '../build/SOL005-NSLifecycleManagementNotification-API.json' -> '/storage/SOL005-NSLifecycleManagementNotification-API.json'
14:35:42 '../build/SOL005-NSLifecycleManagementNotification-API.pdf' -> '/storage/SOL005-NSLifecycleManagementNotification-API.pdf'
14:35:42 -- Will validate: ./SOL005/VNFPackageManagementNotification/VNFPackageManagementNotification.yaml (api: VNFPackageManagementNotification) (deliverable:SOL005)
14:35:42 --- Merging file.
14:35:43 --- Create PDF...
14:35:51 --- Validating ../build/SOL005-VNFPackageManagementNotification-API.yaml
14:35:52 --- Validation done (0).
14:35:52 '../build/SOL005-VNFPackageManagementNotification-API.yaml' -> '/storage/SOL005-VNFPackageManagementNotification-API.yaml'
14:35:52 '../build/SOL005-VNFPackageManagementNotification-API.json' -> '/storage/SOL005-VNFPackageManagementNotification-API.json'
14:35:52 '../build/SOL005-VNFPackageManagementNotification-API.pdf' -> '/storage/SOL005-VNFPackageManagementNotification-API.pdf'
14:35:52 -- Will validate: ./SOL005/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL005)
14:35:52 --- Merging file.
14:35:54 --- Create PDF...
14:37:13 --- Validating ../build/SOL005-NSDManagement-API.yaml
14:37:15 --- Validation done (0).
14:37:15 '../build/SOL005-NSDManagement-API.yaml' -> '/storage/SOL005-NSDManagement-API.yaml'
14:37:15 '../build/SOL005-NSDManagement-API.json' -> '/storage/SOL005-NSDManagement-API.json'
14:37:15 '../build/SOL005-NSDManagement-API.pdf' -> '/storage/SOL005-NSDManagement-API.pdf'
14:37:15 -- Will validate: ./SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL005)
14:37:15 --- Merging file.
14:37:16 --- Create PDF...
14:37:51 --- Validating ../build/SOL005-NSPerformanceManagement-API.yaml
14:37:52 --- Validation done (0).
14:37:52 '../build/SOL005-NSPerformanceManagement-API.yaml' -> '/storage/SOL005-NSPerformanceManagement-API.yaml'
14:37:52 '../build/SOL005-NSPerformanceManagement-API.json' -> '/storage/SOL005-NSPerformanceManagement-API.json'
14:37:52 '../build/SOL005-NSPerformanceManagement-API.pdf' -> '/storage/SOL005-NSPerformanceManagement-API.pdf'
14:37:52 -- Will validate: ./SOL005/NSDManagementNotification/NSDManagementNotification.yaml (api: NSDManagementNotification) (deliverable:SOL005)
14:37:52 --- Merging file.
14:37:53 
14:37:53   error: Document has invalid references:
14:37:53 
14:37:53   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsdOnBoardingNotification/post/parameters/0/schema/properties/subscriptionId: JSON Pointer points to missing location: ../../NSDManagement/SOL005_def.yaml#/definitions/Identifier
14:37:53 
14:37:53 --- Create PDF...
14:37:55 mv: can't rename 'SOL005-NSDManagementNotification-API.pdf': No such file or directory
14:37:55 --- Validating ../build/SOL005-NSDManagementNotification-API.yaml
14:37:56 
14:37:56   error: Unsupported Swagger version: undefined
14:37:56 
14:37:56 --- Validation done (1).
14:37:56 '../build/SOL005-NSDManagementNotification-API.yaml' -> '/storage/SOL005-NSDManagementNotification-API.yaml'
14:37:56 '../build/SOL005-NSDManagementNotification-API.json' -> '/storage/SOL005-NSDManagementNotification-API.json'
14:37:56 '../build/SOL005-NSDManagementNotification-API.pdf' -> '/storage/SOL005-NSDManagementNotification-API.pdf'
14:37:56 -- Will validate: ./SOL005/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL005)
14:37:56 --- Merging file.
14:37:57 --- Create PDF...
14:38:23 --- Validating ../build/SOL005-NSFaultManagement-API.yaml
14:38:25 --- Validation done (0).
14:38:25 '../build/SOL005-NSFaultManagement-API.yaml' -> '/storage/SOL005-NSFaultManagement-API.yaml'
14:38:25 '../build/SOL005-NSFaultManagement-API.json' -> '/storage/SOL005-NSFaultManagement-API.json'
14:38:25 '../build/SOL005-NSFaultManagement-API.pdf' -> '/storage/SOL005-NSFaultManagement-API.pdf'
14:38:25 -- Will validate: ./SOL005/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL005)
14:38:25 --- Merging file.
14:38:26 
14:38:26   error: Document has invalid references:
14:38:26 
14:38:26   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-VnfPackageChangeNotification/post/parameters/0/schema/properties/VnfPackageChangeNotification: JSON Pointer points to missing location: definitions/SOL005VNFPMManagement_def.yaml#/definitions/VnfPackageChangeNotification
14:38:26   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-VnfPackageOnboardingNotification/post/parameters/0/schema/properties/VnfPackageOnboardingNotification: JSON Pointer points to missing location: definitions/SOL005VNFPMManagement_def.yaml#/definitions/VnfPackageOnboardingNotification
14:38:26   #/paths/~1subscriptions/get/responses/200/schema/items/properties/PkgmSubscription: JSON Pointer points to missing location: definitions/SOL005VNFPMManagement_def.yaml#/definitions/PkgmSubscription
14:38:26   #/paths/~1subscriptions/post/parameters/3/schema/properties/PkgmSubscriptionRequest: JSON Pointer points to missing location: definitions/SOL005VNFPMManagement_def.yaml#/definitions/PkgmSubscriptionRequest
14:38:26   #/paths/~1subscriptions/post/responses/201/schema/items/properties/PkgmSubscription: JSON Pointer points to missing location: definitions/SOL005VNFPMManagement_def.yaml#/definitions/PkgmSubscription
14:38:26   #/paths/~1subscriptions~1{subscriptionId}/get/responses/200/schema/properties/PkgmSubscription: JSON Pointer points to missing location: definitions/SOL005VNFPMManagement_def.yaml#/definitions/PkgmSubscription
14:38:26   #/paths/~1vnf_packages/get/responses/200/schema/items/properties/VnfPkgInfo: JSON Pointer points to missing location: definitions/SOL005VNFPMManagement_def.yaml#/definitions/VnfPkgInfo
14:38:26   #/paths/~1vnf_packages/post/parameters/3/schema/properties/CreateVnfPkgInfoRequest: JSON Pointer points to missing location: definitions/SOL005VNFPMManagement_def.yaml#/definitions/CreateVnfPkgInfoRequest
14:38:26   #/paths/~1vnf_packages/post/responses/201/schema/properties/VnfPkgInfo: JSON Pointer points to missing location: definitions/SOL005VNFPMManagement_def.yaml#/definitions/VnfPkgInfo
14:38:26   #/paths/~1vnf_packages~1{vnfPkgId}/get/responses/200/schema/properties/VnfPkgInfo: JSON Pointer points to missing location: definitions/SOL005VNFPMManagement_def.yaml#/definitions/VnfPkgInfo
14:38:26   #/paths/~1vnf_packages~1{vnfPkgId}/patch/parameters/0/schema/properties/VnfPkgInfoModifications: JSON Pointer points to missing location: definitions/SOL005VNFPMManagement_def.yaml#/definitions/VnfPkgInfoModifications
14:38:26   #/paths/~1vnf_packages~1{vnfPkgId}/patch/responses/200/schema/properties/VnfPkgInfoModifications: JSON Pointer points to missing location: definitions/SOL005VNFPMManagement_def.yaml#/definitions/VnfPkgInfoModifications
14:38:26   #/paths/~1vnf_packages~1{vnfPkgId}~1package_content~1upload_from_uri/post/parameters/4/schema/properties/UploadVnfPkgFromUriRequest: JSON Pointer points to missing location: definitions/SOL005VNFPMManagement_def.yaml#/definitions/UploadVnfPkgFromUriRequest
14:38:26 
14:38:26 --- Create PDF...
14:38:27 mv: can't rename 'SOL005-VNFPackageManagement-API.pdf': No such file or directory
14:38:27 --- Validating ../build/SOL005-VNFPackageManagement-API.yaml
14:38:28 
14:38:28   error: Unsupported Swagger version: undefined
14:38:28 
14:38:28 --- Validation done (1).
14:38:28 '../build/SOL005-VNFPackageManagement-API.yaml' -> '/storage/SOL005-VNFPackageManagement-API.yaml'
14:38:28 '../build/SOL005-VNFPackageManagement-API.json' -> '/storage/SOL005-VNFPackageManagement-API.json'
14:38:28 '../build/SOL005-VNFPackageManagement-API.pdf' -> '/storage/SOL005-VNFPackageManagement-API.pdf'
14:38:28 -- Will validate: ./SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL005)
14:38:28 --- Merging file.
14:38:32 --- Create PDF...
14:40:40 --- Validating ../build/SOL005-NSLifecycleManagement-API.yaml
14:40:42 --- Validation done (0).
14:40:42 '../build/SOL005-NSLifecycleManagement-API.yaml' -> '/storage/SOL005-NSLifecycleManagement-API.yaml'
14:40:42 '../build/SOL005-NSLifecycleManagement-API.json' -> '/storage/SOL005-NSLifecycleManagement-API.json'
14:40:42 '../build/SOL005-NSLifecycleManagement-API.pdf' -> '/storage/SOL005-NSLifecycleManagement-API.pdf'
14:40:42 -- Will validate: ./SOL005/NSFaultManagementNotification/NSFaultManagementNotification.yaml (api: NSFaultManagementNotification) (deliverable:SOL005)
14:40:42 --- Merging file.
14:40:43 --- Create PDF...
14:40:53 --- Validating ../build/SOL005-NSFaultManagementNotification-API.yaml
14:40:54 --- Validation done (0).
14:40:54 '../build/SOL005-NSFaultManagementNotification-API.yaml' -> '/storage/SOL005-NSFaultManagementNotification-API.yaml'
14:40:54 '../build/SOL005-NSFaultManagementNotification-API.json' -> '/storage/SOL005-NSFaultManagementNotification-API.json'
14:40:54 '../build/SOL005-NSFaultManagementNotification-API.pdf' -> '/storage/SOL005-NSFaultManagementNotification-API.pdf'
14:40:54 -- Will validate: ./SOL005/NSPerformanceManagementNotification/NSPerformanceManagementNotification.yaml (api: NSPerformanceManagementNotification) (deliverable:SOL005)
14:40:54 --- Merging file.
14:40:55 --- Create PDF...
14:41:06 --- Validating ../build/SOL005-NSPerformanceManagementNotification-API.yaml
14:41:07 --- Validation done (0).
14:41:07 '../build/SOL005-NSPerformanceManagementNotification-API.yaml' -> '/storage/SOL005-NSPerformanceManagementNotification-API.yaml'
14:41:07 '../build/SOL005-NSPerformanceManagementNotification-API.json' -> '/storage/SOL005-NSPerformanceManagementNotification-API.json'
14:41:07 '../build/SOL005-NSPerformanceManagementNotification-API.pdf' -> '/storage/SOL005-NSPerformanceManagementNotification-API.pdf'
14:41:07 -- Final validator returns 1.
14:41:08 Build step 'Execute shell' marked build as failure
14:41:08 Skipped archiving because build is not successful
14:41:08 Finished: FAILURE