FailedConsole Output

18:01:56 Started by GitLab push by Michele Carignani
18:01:56 Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005
18:01:56  > git rev-parse --is-inside-work-tree # timeout=10
18:01:56 Fetching changes from the remote Git repository
18:01:56  > git config remote.origin.url git@forge.etsi.org:nfv/SOL005.git # timeout=10
18:01:56 Fetching upstream changes from git@forge.etsi.org:nfv/SOL005.git
18:01:56  > git --version # timeout=10
18:01:56 using GIT_SSH to set credentials 
18:01:56  > git fetch --tags --progress git@forge.etsi.org:nfv/SOL005.git +refs/heads/*:refs/remotes/origin/*
18:01:57  > git rev-parse remotes/origin/fixes-for-nslcm^{commit} # timeout=10
18:01:57  > git branch -a -v --no-abbrev --contains 54fbe24c5b92a45064be707153da97f42a402480 # timeout=10
18:01:57 Checking out Revision 54fbe24c5b92a45064be707153da97f42a402480 (origin/fixes-for-nslcm)
18:01:57  > git config core.sparsecheckout # timeout=10
18:01:57  > git checkout -f 54fbe24c5b92a45064be707153da97f42a402480
18:01:57 Commit message: "several changes to use local definitions and responses, and quick fixes"
18:01:57 First time build. Skipping changelog.
18:01:57 [sol005] $ /bin/bash /tmp/jenkins541565291946960751.sh
18:01:57 ./build-container.sh: line 7: proxy: command not found
18:01:57 http_proxy is not set
18:01:57 Proxy set to 
18:01:57 Sending build context to Docker daemon  13.31kB

18:01:57 Step 1/24 : FROM alpine:3.6
18:01:57  ---> 94627dfbdf19
18:01:57 Step 2/24 : RUN env
18:01:57  ---> Using cache
18:01:57  ---> 5aba9ace9175
18:01:57 Step 3/24 : RUN apk update
18:01:57  ---> Using cache
18:01:57  ---> c93a8f8fceea
18:01:57 Step 4/24 : RUN apk add bash
18:01:57  ---> Using cache
18:01:57  ---> 9984393d4ab7
18:01:57 Step 5/24 : RUN apk add nodejs
18:01:57  ---> Using cache
18:01:57  ---> 002ade640a14
18:01:57 Step 6/24 : RUN apk add nodejs-npm
18:01:57  ---> Using cache
18:01:57  ---> 95fda2dffd97
18:01:57 Step 7/24 : RUN apk add asciidoctor
18:01:57  ---> Using cache
18:01:57  ---> 99af8b969755
18:01:57 Step 8/24 : RUN apk add openjdk8
18:01:57  ---> Using cache
18:01:57  ---> a00125cd64f2
18:01:57 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates
18:01:57  ---> Using cache
18:01:57  ---> 82f7425307e6
18:01:57 Step 10/24 : RUN apk add openssl
18:01:57  ---> Using cache
18:01:57  ---> c2d720896593
18:01:57 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre
18:01:57  ---> Using cache
18:01:57  ---> 3dcde753af30
18:01:57 Step 12/24 : RUN gem install asciidoctor-pdf-cjk
18:01:57  ---> Using cache
18:01:57  ---> f790ef185743
18:01:57 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar
18:01:57  ---> Using cache
18:01:57  ---> 6edcfc270195
18:01:57 Step 14/24 : RUN npm config set proxy $http_proxy
18:01:57  ---> Using cache
18:01:57  ---> c9c3979202c1
18:01:57 Step 15/24 : RUN npm install -g swagger-tools@0.10.3
18:01:57  ---> Using cache
18:01:57  ---> 360ceb237df9
18:01:57 Step 16/24 : RUN npm install -g json-refs@3.0.2
18:01:57  ---> Using cache
18:01:57  ---> cbc3149e2130
18:01:57 Step 17/24 : RUN npm install -g yamljs@0.3.0
18:01:57  ---> Using cache
18:01:57  ---> 7871c2bfc3ea
18:01:57 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh
18:01:57  ---> 2a5bac4daa74
18:01:57 Removing intermediate container 4a06fa901afe
18:01:57 Step 19/24 : RUN chmod +x /validate-in-docker.sh
18:01:57  ---> Running in eda7107c3d86
18:01:58  ---> bf5bcfd41178
18:01:58 Removing intermediate container eda7107c3d86
18:01:58 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup
18:01:58  ---> aa08a91c11f1
18:01:58 Removing intermediate container 40852423166f
18:01:58 Step 21/24 : RUN chmod +x /bin/swg2mrkup
18:01:58  ---> Running in 8845e0fc0486
18:01:59  ---> b74c572fba49
18:01:59 Removing intermediate container 8845e0fc0486
18:01:59 Step 22/24 : ADD oas2pdf /bin/oas2pdf
18:01:59  ---> b8fe714f1a85
18:01:59 Removing intermediate container f5ea21abfe94
18:01:59 Step 23/24 : RUN chmod +x /bin/oas2pdf
18:01:59  ---> Running in f6759327ae5e
18:01:59  ---> 8bd6314e0df1
18:01:59 Removing intermediate container f6759327ae5e
18:01:59 Step 24/24 : ENTRYPOINT /validate-in-docker.sh
18:01:59  ---> Running in 25103bf25ac0
18:02:00  ---> fde06f0f899f
18:02:00 Removing intermediate container 25103bf25ac0
18:02:00 Successfully built fde06f0f899f
18:02:00 Successfully tagged openapivalidator:latest
18:02:00 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 as /work
18:02:00 mkdir: created directory '/var/www/html/api/nfv/sol005/23'
18:02:00 Mounting dir /var/www/html/api/nfv/sol005/23 as /storage
18:02:00 Using filter ''
18:02:00 
18:02:00 Entering dir /work/src
18:02:00 -- Will validate: ./SOL005/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL005)
18:02:00 --- Merging file.
18:02:01 --- Create PDF...
18:02:10 --- Validating ../build/SOL005-NSDManagement-API.yaml
18:02:11 
18:02:11 API Warnings:
18:02:11 
18:02:11   #/definitions/PnfdInfo: Definition is defined but is not used: #/definitions/PnfdInfo
18:02:11   #/definitions/CreatePnfdInfoRequest: Definition is defined but is not used: #/definitions/CreatePnfdInfoRequest
18:02:11   #/definitions/NsdOnboardingNotification: Definition is defined but is not used: #/definitions/NsdOnboardingNotification
18:02:11   #/definitions/NsdOnboardingFailureNotification: Definition is defined but is not used: #/definitions/NsdOnboardingFailureNotification
18:02:11   #/definitions/NsdChangeNotification: Definition is defined but is not used: #/definitions/NsdChangeNotification
18:02:11   #/definitions/NsdDeletionNotification: Definition is defined but is not used: #/definitions/NsdDeletionNotification
18:02:11   #/definitions/PnfdOnboardingNotification: Definition is defined but is not used: #/definitions/PnfdOnboardingNotification
18:02:11   #/definitions/PnfdOnboardingFailureNotification: Definition is defined but is not used: #/definitions/PnfdOnboardingFailureNotification
18:02:11   #/definitions/PnfdDeletionNotification: Definition is defined but is not used: #/definitions/PnfdDeletionNotification
18:02:11 
18:02:11 Validation succeeded but with 9 warnings
18:02:11 
18:02:11 --- Validation done (0).
18:02:11 '../build/SOL005-NSDManagement-API.yaml' -> '/storage/SOL005-NSDManagement-API.yaml'
18:02:11 '../build/SOL005-NSDManagement-API.json' -> '/storage/SOL005-NSDManagement-API.json'
18:02:11 '../build/SOL005-NSDManagement-API.pdf' -> '/storage/SOL005-NSDManagement-API.pdf'
18:02:11 -- Will validate: ./SOL005/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL005)
18:02:11 --- Merging file.
18:02:12 --- Create PDF...
18:02:15 --- Validating ../build/SOL005-NSFaultManagement-API.yaml
18:02:15 --- Validation done (0).
18:02:15 '../build/SOL005-NSFaultManagement-API.yaml' -> '/storage/SOL005-NSFaultManagement-API.yaml'
18:02:15 '../build/SOL005-NSFaultManagement-API.json' -> '/storage/SOL005-NSFaultManagement-API.json'
18:02:15 '../build/SOL005-NSFaultManagement-API.pdf' -> '/storage/SOL005-NSFaultManagement-API.pdf'
18:02:15 -- Will validate: ./SOL005/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL005)
18:02:15 --- Merging file.
18:02:16 --- Create PDF...
18:02:19 --- Validating ../build/SOL005-VNFPackageManagement-API.yaml
18:02:20 --- Validation done (0).
18:02:20 '../build/SOL005-VNFPackageManagement-API.yaml' -> '/storage/SOL005-VNFPackageManagement-API.yaml'
18:02:20 '../build/SOL005-VNFPackageManagement-API.json' -> '/storage/SOL005-VNFPackageManagement-API.json'
18:02:20 '../build/SOL005-VNFPackageManagement-API.pdf' -> '/storage/SOL005-VNFPackageManagement-API.pdf'
18:02:20 -- Will validate: ./SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL005)
18:02:20 --- Merging file.
18:02:22 --- Create PDF...
18:02:27 --- Validating ../build/SOL005-NSLifecycleManagement-API.yaml
18:02:28 
18:02:28 API Errors:
18:02:28 
18:02:28   #/definitions/NsInstance/properties/vnfInstance/items: Not a valid schema items definition
18:02:28     #/definitions/NsInstance/properties/vnfInstance/items/properties/instantiatedVnfInfo/properties/monitoringParameters/items: Not a valid schema items definition
18:02:28       #/properties/instantiatedVnfInfo/properties/monitoringParameters/items/properties/value: Additional properties not allowed: timeStamp
18:02:28       #/properties/instantiatedVnfInfo/properties/monitoringParameters/items: Expected type array but found type object
18:02:28     #/definitions/NsInstance/properties/vnfInstance/items: Expected type array but found type object
18:02:28   #/paths/~1subscriptions~1{subscriptionId}: Additional properties not allowed: description
18:02:28   #/paths/~1subscriptions: Additional properties not allowed: description
18:02:28   #/paths/~1nslcm~1v1~1ns_lcm_op_occs~1{nsLcmOpOccId}~1cancel: Additional properties not allowed: description
18:02:28   #/paths/~1nslcm~1v1~1ns_lcm_op_occs~1{nsLcmOpOccId}~1fail: Additional properties not allowed: description
18:02:28   #/paths/~1ns_lcm_op_occs~1{nsLcmOpOccId}~1continue: Additional properties not allowed: description
18:02:28   #/paths/~1ns_lcm_op_occs~1{nsLcmOpOccId}~1rollback: Additional properties not allowed: description
18:02:28   #/paths/~1ns_lcm_op_occs~1{nsLcmOpOccId}~1retry: Additional properties not allowed: description
18:02:28   #/paths/~1ns_lcm_op_occs~1{nsLcmOpOccId}: Additional properties not allowed: description
18:02:28   #/paths/~1ns_lcm_op_occs~1{nsLcmOpOccId}/get/responses/200: Not a valid response definition
18:02:28     #/paths/~1ns_lcm_op_occs~1{nsLcmOpOccId}/get/responses/200: Additional properties not allowed: WWW-Authenticate
18:02:28     #/paths/~1ns_lcm_op_occs~1{nsLcmOpOccId}/get/responses/200: Missing required property: $ref
18:02:28   #/paths/~1ns_lcm_op_occs: Additional properties not allowed: description
18:02:28   #/paths/~1ns_lcm_op_occs/get/parameters/4: Not a valid parameter definition
18:02:28     #/paths/~1ns_lcm_op_occs/get/parameters/4: Not a valid parameter definition
18:02:28       #: Missing required property: schema
18:02:28       #: Missing required property: type
18:02:28     #/paths/~1ns_lcm_op_occs/get/parameters/4: Missing required property: $ref
18:02:28   #/paths/~1ns_instances~1{nsInstanceId}~1terminate: Additional properties not allowed: description
18:02:28   #/paths/~1ns_instances~1{nsInstanceId}~1terminate/post/responses/202: Not a valid response definition
18:02:28     #/paths/~1ns_instances~1{nsInstanceId}~1terminate/post/responses/202/schema: Not a valid 202 definition
18:02:28       #/schema/properties/vnfInstance/items: Not a valid schema items definition
18:02:28         #/properties/vnfInstance/items/properties/instantiatedVnfInfo/properties/monitoringParameters/items: Not a valid schema items definition
18:02:28           #/properties/instantiatedVnfInfo/properties/monitoringParameters/items/properties/value: Additional properties not allowed: timeStamp
18:02:28           #/properties/instantiatedVnfInfo/properties/monitoringParameters/items: Expected type array but found type object
18:02:28         #/properties/vnfInstance/items: Expected type array but found type object
18:02:28       #/schema: Additional properties not allowed: properties
18:02:28     #/paths/~1ns_instances~1{nsInstanceId}~1terminate/post/responses/202: Missing required property: $ref
18:02:28   #/paths/~1ns_instances~1{nsInstanceId}~1heal: Additional properties not allowed: description
18:02:28   #/paths/~1ns_instances~1{nsInstanceId}~1heal/post/responses/202: Not a valid response definition
18:02:28     #/paths/~1ns_instances~1{nsInstanceId}~1heal/post/responses/202/schema: Not a valid 202 definition
18:02:28       #/schema/properties/vnfInstance/items: Not a valid schema items definition
18:02:28         #/properties/vnfInstance/items/properties/instantiatedVnfInfo/properties/monitoringParameters/items: Not a valid schema items definition
18:02:28           #/properties/instantiatedVnfInfo/properties/monitoringParameters/items/properties/value: Additional properties not allowed: timeStamp
18:02:28           #/properties/instantiatedVnfInfo/properties/monitoringParameters/items: Expected type array but found type object
18:02:28         #/properties/vnfInstance/items: Expected type array but found type object
18:02:28       #/schema: Additional properties not allowed: properties
18:02:28     #/paths/~1ns_instances~1{nsInstanceId}~1heal/post/responses/202: Missing required property: $ref
18:02:28   #/paths/~1ns_instances~1{nsInstanceId}~1update: Additional properties not allowed: description
18:02:28   #/paths/~1ns_instances~1{nsInstanceId}~1update/post/responses/202: Not a valid response definition
18:02:28     #/paths/~1ns_instances~1{nsInstanceId}~1update/post/responses/202/schema: Not a valid 202 definition
18:02:28       #/schema/properties/vnfInstance/items: Not a valid schema items definition
18:02:28         #/properties/vnfInstance/items/properties/instantiatedVnfInfo/properties/monitoringParameters/items: Not a valid schema items definition
18:02:28           #/properties/instantiatedVnfInfo/properties/monitoringParameters/items/properties/value: Additional properties not allowed: timeStamp
18:02:28           #/properties/instantiatedVnfInfo/properties/monitoringParameters/items: Expected type array but found type object
18:02:28         #/properties/vnfInstance/items: Expected type array but found type object
18:02:28       #/schema: Additional properties not allowed: properties
18:02:28     #/paths/~1ns_instances~1{nsInstanceId}~1update/post/responses/202: Missing required property: $ref
18:02:28   #/paths/~1ns_instances~1{nsInstanceId}~1update/post/parameters/0: Not a valid parameter definition
18:02:28     #/paths/~1ns_instances~1{nsInstanceId}~1update/post/parameters/0: Not a valid parameter definition
18:02:28       #/schema: Additional properties not allowed: summary
18:02:28       #: Missing required property: type
18:02:28     #/paths/~1ns_instances~1{nsInstanceId}~1update/post/parameters/0: Missing required property: $ref
18:02:28   #/paths/~1ns_instances~1{nsInstanceId}~1scale: Additional properties not allowed: description
18:02:28   #/paths/~1ns_instances~1{nsInstanceId}~1scale/post/responses/202: Not a valid response definition
18:02:28     #/paths/~1ns_instances~1{nsInstanceId}~1scale/post/responses/202/schema: Not a valid 202 definition
18:02:28       #/schema/properties/vnfInstance/items: Not a valid schema items definition
18:02:28         #/properties/vnfInstance/items/properties/instantiatedVnfInfo/properties/monitoringParameters/items: Not a valid schema items definition
18:02:28           #/properties/instantiatedVnfInfo/properties/monitoringParameters/items/properties/value: Additional properties not allowed: timeStamp
18:02:28           #/properties/instantiatedVnfInfo/properties/monitoringParameters/items: Expected type array but found type object
18:02:28         #/properties/vnfInstance/items: Expected type array but found type object
18:02:28       #/schema: Additional properties not allowed: properties
18:02:28     #/paths/~1ns_instances~1{nsInstanceId}~1scale/post/responses/202: Missing required property: $ref
18:02:28   #/paths/~1ns_instances~1{nsInstanceId}~1instantiate/post/responses/202: Not a valid response definition
18:02:28     #/paths/~1ns_instances~1{nsInstanceId}~1instantiate/post/responses/202/headers/minimum: Expected type object but found type integer
18:02:28     #/paths/~1ns_instances~1{nsInstanceId}~1instantiate/post/responses/202: Missing required property: $ref
18:02:28   #/paths/~1ns_instances~1{nsInstanceId}: Additional properties not allowed: summary
18:02:28 
18:02:28 23 errors and 0 warnings
18:02:28 
18:02:28 --- Validation done (1).
18:02:28 '../build/SOL005-NSLifecycleManagement-API.yaml' -> '/storage/SOL005-NSLifecycleManagement-API.yaml'
18:02:28 '../build/SOL005-NSLifecycleManagement-API.json' -> '/storage/SOL005-NSLifecycleManagement-API.json'
18:02:28 '../build/SOL005-NSLifecycleManagement-API.pdf' -> '/storage/SOL005-NSLifecycleManagement-API.pdf'
18:02:28 -- Final validator returns 1.
18:02:29 Build step 'Execute shell' marked build as failure
18:02:29 Skipped archiving because build is not successful
18:02:29 Finished: FAILURE