FailedConsole Output

11:57:40 Started by GitLab push by f.moscatelli
11:57:40 Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005
11:57:40 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
11:57:40  > git rev-parse --is-inside-work-tree # timeout=10
11:57:40 Fetching changes from the remote Git repository
11:57:40  > git config remote.origin.url git@forge.etsi.org:nfv/SOL005.git # timeout=10
11:57:40 Fetching upstream changes from git@forge.etsi.org:nfv/SOL005.git
11:57:40  > git --version # timeout=10
11:57:40 using GIT_SSH to set credentials 
11:57:40  > git fetch --tags --progress git@forge.etsi.org:nfv/SOL005.git +refs/heads/*:refs/remotes/origin/*
11:57:41  > git rev-parse remotes/origin/2.5.1-dev^{commit} # timeout=10
11:57:41  > git branch -a -v --no-abbrev --contains ce906647c7be81fc1aa0d19d9b1c95f1b715cea8 # timeout=10
11:57:41 Checking out Revision ce906647c7be81fc1aa0d19d9b1c95f1b715cea8 (origin/2.5.1-dev)
11:57:41  > git config core.sparsecheckout # timeout=10
11:57:41  > git checkout -f ce906647c7be81fc1aa0d19d9b1c95f1b715cea8
11:57:41 Commit message: "SOL005: fix in NS Lifecycle mgmt data types"
11:57:41  > git rev-list --no-walk 30dec88e341d56a6b43baf3211a185b358d35595 # timeout=10
11:57:41 [sol005] $ /bin/bash /tmp/jenkins7610339585331201264.sh
11:57:41 ./build-container.sh: line 7: proxy: command not found
11:57:41 http_proxy is not set
11:57:41 Proxy set to 
11:57:41 Sending build context to Docker daemon  13.31kB

11:57:41 Step 1/24 : FROM alpine:3.6
11:57:41  ---> 43773d1dba76
11:57:41 Step 2/24 : RUN env
11:57:41  ---> Using cache
11:57:41  ---> 94a774cc9d8b
11:57:41 Step 3/24 : RUN apk update
11:57:41  ---> Using cache
11:57:41  ---> 12b582a22f41
11:57:41 Step 4/24 : RUN apk add bash
11:57:41  ---> Using cache
11:57:41  ---> fafd07ab0655
11:57:41 Step 5/24 : RUN apk add nodejs
11:57:41  ---> Using cache
11:57:41  ---> 1debd0445296
11:57:41 Step 6/24 : RUN apk add nodejs-npm
11:57:41  ---> Using cache
11:57:41  ---> c827a1cac07e
11:57:41 Step 7/24 : RUN apk add asciidoctor
11:57:41  ---> Using cache
11:57:41  ---> e90589c3e596
11:57:41 Step 8/24 : RUN apk add openjdk8
11:57:41  ---> Using cache
11:57:41  ---> 735d8f58c1bc
11:57:41 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates
11:57:41  ---> Using cache
11:57:41  ---> c3dc23607c9d
11:57:41 Step 10/24 : RUN apk add openssl
11:57:41  ---> Using cache
11:57:41  ---> a643db7e74bb
11:57:41 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre
11:57:41  ---> Using cache
11:57:41  ---> 3c2b8bf7c2ca
11:57:41 Step 12/24 : RUN gem install asciidoctor-pdf-cjk
11:57:41  ---> Using cache
11:57:41  ---> 8572c9df5ed2
11:57:41 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar
11:57:41  ---> Using cache
11:57:41  ---> f44bfb2813f1
11:57:41 Step 14/24 : RUN npm config set proxy $http_proxy
11:57:41  ---> Using cache
11:57:41  ---> 4b6141ff47f4
11:57:41 Step 15/24 : RUN npm install -g swagger-tools@0.10.3
11:57:41  ---> Using cache
11:57:41  ---> 3021daafa234
11:57:41 Step 16/24 : RUN npm install -g json-refs@3.0.2
11:57:41  ---> Using cache
11:57:41  ---> 450ac1367008
11:57:41 Step 17/24 : RUN npm install -g yamljs@0.3.0
11:57:41  ---> Using cache
11:57:41  ---> b2179889fdf7
11:57:41 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh
11:57:41  ---> Using cache
11:57:41  ---> 22b0f991742d
11:57:41 Step 19/24 : RUN chmod +x /validate-in-docker.sh
11:57:41  ---> Using cache
11:57:41  ---> 15b59145c33b
11:57:41 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup
11:57:41  ---> Using cache
11:57:41  ---> 7308f4b26eb2
11:57:41 Step 21/24 : RUN chmod +x /bin/swg2mrkup
11:57:41  ---> Using cache
11:57:41  ---> dfc7883158e5
11:57:41 Step 22/24 : ADD oas2pdf /bin/oas2pdf
11:57:41  ---> Using cache
11:57:41  ---> 6b3ffc5e7e2b
11:57:41 Step 23/24 : RUN chmod +x /bin/oas2pdf
11:57:41  ---> Using cache
11:57:41  ---> b2e0fd2d61e5
11:57:41 Step 24/24 : ENTRYPOINT /validate-in-docker.sh
11:57:41  ---> Using cache
11:57:41  ---> aead7ceb0f7b
11:57:41 Successfully built aead7ceb0f7b
11:57:41 Successfully tagged openapivalidator:latest
11:57:41 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 as /work
11:57:41 mkdir: created directory '/var/www/html/api/nfv/sol005/75'
11:57:41 Mounting dir /var/www/html/api/nfv/sol005/75 as /storage
11:57:41 Using filter ''
11:57:41 
11:57:41 Entering dir /work/src
11:57:41 -- Will validate: ./SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml (api: NSLifecycleManagementNotification) (deliverable:SOL005)
11:57:41 --- Merging file.
11:57:43 --- Create PDF...
11:57:59 --- Validating ../build/SOL005-NSLifecycleManagementNotification-API.yaml
11:58:00 --- Validation done (0).
11:58:00 '../build/SOL005-NSLifecycleManagementNotification-API.yaml' -> '/storage/SOL005-NSLifecycleManagementNotification-API.yaml'
11:58:00 '../build/SOL005-NSLifecycleManagementNotification-API.json' -> '/storage/SOL005-NSLifecycleManagementNotification-API.json'
11:58:00 '../build/SOL005-NSLifecycleManagementNotification-API.pdf' -> '/storage/SOL005-NSLifecycleManagementNotification-API.pdf'
11:58:00 -- Will validate: ./SOL005/VNFPackageManagementNotification/VNFPackageManagementNotification.yaml (api: VNFPackageManagementNotification) (deliverable:SOL005)
11:58:00 --- Merging file.
11:58:02 --- Create PDF...
11:58:10 --- Validating ../build/SOL005-VNFPackageManagementNotification-API.yaml
11:58:11 --- Validation done (0).
11:58:11 '../build/SOL005-VNFPackageManagementNotification-API.yaml' -> '/storage/SOL005-VNFPackageManagementNotification-API.yaml'
11:58:11 '../build/SOL005-VNFPackageManagementNotification-API.json' -> '/storage/SOL005-VNFPackageManagementNotification-API.json'
11:58:11 '../build/SOL005-VNFPackageManagementNotification-API.pdf' -> '/storage/SOL005-VNFPackageManagementNotification-API.pdf'
11:58:11 -- Will validate: ./SOL005/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL005)
11:58:11 --- Merging file.
11:58:13 --- Create PDF...
11:59:09 --- Validating ../build/SOL005-NSDManagement-API.yaml
11:59:10 
11:59:10 API Errors:
11:59:10 
11:59:10   #/paths/~1api-versions/get/responses/200: Not a valid response definition
11:59:10     #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition
11:59:10       #/schema/properties/apiVersions/items: Not a valid schema items definition
11:59:10         #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean
11:59:10         #/properties/apiVersions/items: Expected type array but found type object
11:59:10       #/schema: Additional properties not allowed: properties
11:59:10     #/paths/~1api-versions/get/responses/200: Missing required property: $ref
11:59:10 
11:59:10 1 error and 0 warnings
11:59:10 
11:59:10 --- Validation done (1).
11:59:10 '../build/SOL005-NSDManagement-API.yaml' -> '/storage/SOL005-NSDManagement-API.yaml'
11:59:10 '../build/SOL005-NSDManagement-API.json' -> '/storage/SOL005-NSDManagement-API.json'
11:59:10 '../build/SOL005-NSDManagement-API.pdf' -> '/storage/SOL005-NSDManagement-API.pdf'
11:59:10 -- Will validate: ./SOL005/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL005)
11:59:10 --- Merging file.
11:59:11 --- Create PDF...
11:59:32 --- Validating ../build/SOL005-APIVersion-API.yaml
11:59:33 
11:59:33 API Errors:
11:59:33 
11:59:33   #/paths/~1vnfpkgm~1api-versions/get/responses/200: Not a valid response definition
11:59:33     #/paths/~1vnfpkgm~1api-versions/get/responses/200/schema: Not a valid 200 definition
11:59:33       #/schema/properties/apiVersions/items: Not a valid schema items definition
11:59:33         #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean
11:59:33         #/properties/apiVersions/items: Expected type array but found type object
11:59:33       #/schema: Additional properties not allowed: properties
11:59:33     #/paths/~1vnfpkgm~1api-versions/get/responses/200: Missing required property: $ref
11:59:33   #/paths/~1nspm~1api-versions/get/responses/200: Not a valid response definition
11:59:33     #/paths/~1nspm~1api-versions/get/responses/200/schema: Not a valid 200 definition
11:59:33       #/schema/properties/apiVersions/items: Not a valid schema items definition
11:59:33         #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean
11:59:33         #/properties/apiVersions/items: Expected type array but found type object
11:59:33       #/schema: Additional properties not allowed: properties
11:59:33     #/paths/~1nspm~1api-versions/get/responses/200: Missing required property: $ref
11:59:33   #/paths/~1nslcm~1api-versions/get/responses/200: Not a valid response definition
11:59:33     #/paths/~1nslcm~1api-versions/get/responses/200/schema: Not a valid 200 definition
11:59:33       #/schema/properties/apiVersions/items: Not a valid schema items definition
11:59:33         #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean
11:59:33         #/properties/apiVersions/items: Expected type array but found type object
11:59:33       #/schema: Additional properties not allowed: properties
11:59:33     #/paths/~1nslcm~1api-versions/get/responses/200: Missing required property: $ref
11:59:33   #/paths/~1nsfm~1api-versions/get/responses/200: Not a valid response definition
11:59:33     #/paths/~1nsfm~1api-versions/get/responses/200/schema: Not a valid 200 definition
11:59:33       #/schema/properties/apiVersions/items: Not a valid schema items definition
11:59:33         #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean
11:59:33         #/properties/apiVersions/items: Expected type array but found type object
11:59:33       #/schema: Additional properties not allowed: properties
11:59:33     #/paths/~1nsfm~1api-versions/get/responses/200: Missing required property: $ref
11:59:33   #/paths/~1nsd~1api-versions/get/responses/200: Not a valid response definition
11:59:33     #/paths/~1nsd~1api-versions/get/responses/200/schema: Not a valid 200 definition
11:59:33       #/schema/properties/apiVersions/items: Not a valid schema items definition
11:59:33         #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean
11:59:33         #/properties/apiVersions/items: Expected type array but found type object
11:59:33       #/schema: Additional properties not allowed: properties
11:59:33     #/paths/~1nsd~1api-versions/get/responses/200: Missing required property: $ref
11:59:33 
11:59:33 5 errors and 0 warnings
11:59:33 
11:59:33 --- Validation done (1).
11:59:33 '../build/SOL005-APIVersion-API.yaml' -> '/storage/SOL005-APIVersion-API.yaml'
11:59:33 '../build/SOL005-APIVersion-API.json' -> '/storage/SOL005-APIVersion-API.json'
11:59:33 '../build/SOL005-APIVersion-API.pdf' -> '/storage/SOL005-APIVersion-API.pdf'
11:59:33 -- Will validate: ./SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL005)
11:59:33 --- Merging file.
11:59:35 --- Create PDF...
12:00:16 --- Validating ../build/SOL005-NSPerformanceManagement-API.yaml
12:00:17 
12:00:17 API Errors:
12:00:17 
12:00:17   #/paths/~1api-versions/get/responses/200: Not a valid response definition
12:00:17     #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition
12:00:17       #/schema/properties/apiVersions/items: Not a valid schema items definition
12:00:17         #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean
12:00:17         #/properties/apiVersions/items: Expected type array but found type object
12:00:17       #/schema: Additional properties not allowed: properties
12:00:17     #/paths/~1api-versions/get/responses/200: Missing required property: $ref
12:00:17 
12:00:17 1 error and 0 warnings
12:00:17 
12:00:17 --- Validation done (1).
12:00:17 '../build/SOL005-NSPerformanceManagement-API.yaml' -> '/storage/SOL005-NSPerformanceManagement-API.yaml'
12:00:17 '../build/SOL005-NSPerformanceManagement-API.json' -> '/storage/SOL005-NSPerformanceManagement-API.json'
12:00:17 '../build/SOL005-NSPerformanceManagement-API.pdf' -> '/storage/SOL005-NSPerformanceManagement-API.pdf'
12:00:17 -- Will validate: ./SOL005/NSDManagementNotification/NSDManagementNotification.yaml (api: NSDManagementNotification) (deliverable:SOL005)
12:00:17 --- Merging file.
12:00:19 --- Create PDF...
12:00:55 --- Validating ../build/SOL005-NSDManagementNotification-API.yaml
12:00:56 --- Validation done (0).
12:00:56 '../build/SOL005-NSDManagementNotification-API.yaml' -> '/storage/SOL005-NSDManagementNotification-API.yaml'
12:00:56 '../build/SOL005-NSDManagementNotification-API.json' -> '/storage/SOL005-NSDManagementNotification-API.json'
12:00:56 '../build/SOL005-NSDManagementNotification-API.pdf' -> '/storage/SOL005-NSDManagementNotification-API.pdf'
12:00:56 -- Will validate: ./SOL005/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL005)
12:00:56 --- Merging file.
12:00:57 --- Create PDF...
12:01:23 --- Validating ../build/SOL005-NSFaultManagement-API.yaml
12:01:24 
12:01:24 API Errors:
12:01:24 
12:01:24   #/paths/~1api-versions/get/responses/200: Not a valid response definition
12:01:24     #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition
12:01:24       #/schema/properties/apiVersions/items: Not a valid schema items definition
12:01:24         #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean
12:01:24         #/properties/apiVersions/items: Expected type array but found type object
12:01:24       #/schema: Additional properties not allowed: properties
12:01:24     #/paths/~1api-versions/get/responses/200: Missing required property: $ref
12:01:24 
12:01:24 1 error and 0 warnings
12:01:24 
12:01:24 --- Validation done (1).
12:01:24 '../build/SOL005-NSFaultManagement-API.yaml' -> '/storage/SOL005-NSFaultManagement-API.yaml'
12:01:24 '../build/SOL005-NSFaultManagement-API.json' -> '/storage/SOL005-NSFaultManagement-API.json'
12:01:24 '../build/SOL005-NSFaultManagement-API.pdf' -> '/storage/SOL005-NSFaultManagement-API.pdf'
12:01:24 -- Will validate: ./SOL005/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL005)
12:01:24 --- Merging file.
12:01:26 --- Create PDF...
12:02:08 --- Validating ../build/SOL005-VNFPackageManagement-API.yaml
12:02:10 
12:02:10 API Errors:
12:02:10 
12:02:10   #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/parameters/0/name: API path parameter could not be resolved: vnfPkgI
12:02:10   #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/get/parameters/3/name: API path parameter could not be resolved: vnfPkgI
12:02:10   #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/get: API requires path parameter but it is not defined: vnfPkgId
12:02:10   #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/put/parameters/3/name: API path parameter could not be resolved: vnfPkgI
12:02:10   #/paths/~1vnf_packages~1{vnfPkgId}~1package_content/put: API requires path parameter but it is not defined: vnfPkgId
12:02:10 
12:02:10 5 errors and 0 warnings
12:02:10 
12:02:10 --- Validation done (1).
12:02:10 '../build/SOL005-VNFPackageManagement-API.yaml' -> '/storage/SOL005-VNFPackageManagement-API.yaml'
12:02:10 '../build/SOL005-VNFPackageManagement-API.json' -> '/storage/SOL005-VNFPackageManagement-API.json'
12:02:10 '../build/SOL005-VNFPackageManagement-API.pdf' -> '/storage/SOL005-VNFPackageManagement-API.pdf'
12:02:10 -- Will validate: ./SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL005)
12:02:10 --- Merging file.
12:02:11 
12:02:11   error: Document has invalid references:
12:02:11 
12:02:11   #/paths/~1ns_lcm_op_occs~1{nsLcmOpOccId}~1rollback/post/responses/409: JSON Pointer points to missing location: ../responses/Sol005_resp.yaml#/responses/409
12:02:11   #/paths/~1nslcm~1v1~1ns_lcm_op_occs~1{nsLcmOpOccId}~1cancel/post/parameters/4/schema/properties/cancelMode: Extra JSON Reference properties will be ignored: description
12:02:11 
12:02:11 --- Create PDF...
12:02:13 mv: can't rename 'SOL005-NSLifecycleManagement-API.pdf': No such file or directory
12:02:13 --- Validating ../build/SOL005-NSLifecycleManagement-API.yaml
12:02:14 
12:02:14   error: Unsupported Swagger version: undefined
12:02:14 
12:02:14 --- Validation done (1).
12:02:14 '../build/SOL005-NSLifecycleManagement-API.yaml' -> '/storage/SOL005-NSLifecycleManagement-API.yaml'
12:02:14 '../build/SOL005-NSLifecycleManagement-API.json' -> '/storage/SOL005-NSLifecycleManagement-API.json'
12:02:14 cp: can't stat '../build/SOL005-NSLifecycleManagement-API.pdf': No such file or directory
12:02:14 -- Will validate: ./SOL005/NSFaultManagementNotification/NSFaultManagementNotification.yaml (api: NSFaultManagementNotification) (deliverable:SOL005)
12:02:14 --- Merging file.
12:02:15 --- Create PDF...
12:02:25 --- Validating ../build/SOL005-NSFaultManagementNotification-API.yaml
12:02:26 --- Validation done (0).
12:02:26 '../build/SOL005-NSFaultManagementNotification-API.yaml' -> '/storage/SOL005-NSFaultManagementNotification-API.yaml'
12:02:26 '../build/SOL005-NSFaultManagementNotification-API.json' -> '/storage/SOL005-NSFaultManagementNotification-API.json'
12:02:26 '../build/SOL005-NSFaultManagementNotification-API.pdf' -> '/storage/SOL005-NSFaultManagementNotification-API.pdf'
12:02:26 -- Will validate: ./SOL005/NSPerformanceManagementNotification/NSPerformanceManagementNotification.yaml (api: NSPerformanceManagementNotification) (deliverable:SOL005)
12:02:26 --- Merging file.
12:02:28 --- Create PDF...
12:02:40 --- Validating ../build/SOL005-NSPerformanceManagementNotification-API.yaml
12:02:41 --- Validation done (0).
12:02:41 '../build/SOL005-NSPerformanceManagementNotification-API.yaml' -> '/storage/SOL005-NSPerformanceManagementNotification-API.yaml'
12:02:41 '../build/SOL005-NSPerformanceManagementNotification-API.json' -> '/storage/SOL005-NSPerformanceManagementNotification-API.json'
12:02:41 '../build/SOL005-NSPerformanceManagementNotification-API.pdf' -> '/storage/SOL005-NSPerformanceManagementNotification-API.pdf'
12:02:41 -- Final validator returns 1.
12:02:41 Build step 'Execute shell' marked build as failure
12:02:41 Skipped archiving because build is not successful
12:02:41 Finished: FAILURE