FailedConsole Output

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

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