FailedConsole Output

08:38:05 Started by GitLab push by Samir Medjiah
08:38:05 Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005
08:38:05 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
08:38:05  > git rev-parse --is-inside-work-tree # timeout=10
08:38:05 Fetching changes from the remote Git repository
08:38:05  > git config remote.origin.url git@forge.etsi.org:nfv/SOL005.git # timeout=10
08:38:05 Fetching upstream changes from git@forge.etsi.org:nfv/SOL005.git
08:38:05  > git --version # timeout=10
08:38:05 using GIT_SSH to set credentials 
08:38:05  > git fetch --tags --progress git@forge.etsi.org:nfv/SOL005.git +refs/heads/*:refs/remotes/origin/*
08:38:10  > git rev-parse remotes/origin/2.5.1-dev^{commit} # timeout=10
08:38:10  > git branch -a -v --no-abbrev --contains 9f5f89cf7cc533dd5401c15b5bfe1b5abd9137ef # timeout=10
08:38:10 Checking out Revision 9f5f89cf7cc533dd5401c15b5bfe1b5abd9137ef (origin/2.5.1-dev)
08:38:10  > git config core.sparsecheckout # timeout=10
08:38:10  > git checkout -f 9f5f89cf7cc533dd5401c15b5bfe1b5abd9137ef
08:38:10 Commit message: "Correcting typos in some paramters names ("filter", etc.) in NS LCM, NS FM, VNG PM interfaces"
08:38:10  > git rev-list --no-walk 5166eb9411f9345605fda85a5cd09bb776de86cf # timeout=10
08:38:10 [sol005] $ /bin/bash /tmp/jenkins6411342391087814742.sh
08:38:10 ./build-container.sh: line 7: proxy: command not found
08:38:10 http_proxy is not set
08:38:10 Proxy set to 
08:38:10 Sending build context to Docker daemon  13.31kB

08:38:10 Step 1/24 : FROM alpine:3.6
08:38:10  ---> 43773d1dba76
08:38:10 Step 2/24 : RUN env
08:38:10  ---> Using cache
08:38:10  ---> 94a774cc9d8b
08:38:10 Step 3/24 : RUN apk update
08:38:10  ---> Using cache
08:38:10  ---> 12b582a22f41
08:38:10 Step 4/24 : RUN apk add bash
08:38:10  ---> Using cache
08:38:10  ---> fafd07ab0655
08:38:10 Step 5/24 : RUN apk add nodejs
08:38:10  ---> Using cache
08:38:10  ---> 1debd0445296
08:38:10 Step 6/24 : RUN apk add nodejs-npm
08:38:10  ---> Using cache
08:38:10  ---> c827a1cac07e
08:38:10 Step 7/24 : RUN apk add asciidoctor
08:38:10  ---> Using cache
08:38:10  ---> e90589c3e596
08:38:10 Step 8/24 : RUN apk add openjdk8
08:38:10  ---> Using cache
08:38:10  ---> 735d8f58c1bc
08:38:10 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates
08:38:10  ---> Using cache
08:38:10  ---> c3dc23607c9d
08:38:10 Step 10/24 : RUN apk add openssl
08:38:10  ---> Using cache
08:38:10  ---> a643db7e74bb
08:38:10 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre
08:38:10  ---> Using cache
08:38:10  ---> 3c2b8bf7c2ca
08:38:10 Step 12/24 : RUN gem install asciidoctor-pdf-cjk
08:38:10  ---> Using cache
08:38:10  ---> 8572c9df5ed2
08:38:10 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar
08:38:10  ---> Using cache
08:38:10  ---> f44bfb2813f1
08:38:10 Step 14/24 : RUN npm config set proxy $http_proxy
08:38:10  ---> Using cache
08:38:10  ---> 4b6141ff47f4
08:38:10 Step 15/24 : RUN npm install -g swagger-tools@0.10.3
08:38:10  ---> Using cache
08:38:10  ---> 3021daafa234
08:38:10 Step 16/24 : RUN npm install -g json-refs@3.0.2
08:38:10  ---> Using cache
08:38:10  ---> 450ac1367008
08:38:10 Step 17/24 : RUN npm install -g yamljs@0.3.0
08:38:10  ---> Using cache
08:38:10  ---> b2179889fdf7
08:38:10 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh
08:38:10  ---> Using cache
08:38:10  ---> 22b0f991742d
08:38:10 Step 19/24 : RUN chmod +x /validate-in-docker.sh
08:38:10  ---> Using cache
08:38:10  ---> 15b59145c33b
08:38:10 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup
08:38:10  ---> Using cache
08:38:10  ---> 7308f4b26eb2
08:38:10 Step 21/24 : RUN chmod +x /bin/swg2mrkup
08:38:10  ---> Using cache
08:38:10  ---> dfc7883158e5
08:38:10 Step 22/24 : ADD oas2pdf /bin/oas2pdf
08:38:10  ---> Using cache
08:38:10  ---> 6b3ffc5e7e2b
08:38:10 Step 23/24 : RUN chmod +x /bin/oas2pdf
08:38:10  ---> Using cache
08:38:10  ---> b2e0fd2d61e5
08:38:10 Step 24/24 : ENTRYPOINT /validate-in-docker.sh
08:38:10  ---> Using cache
08:38:10  ---> aead7ceb0f7b
08:38:10 Successfully built aead7ceb0f7b
08:38:10 Successfully tagged openapivalidator:latest
08:38:10 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 as /work
08:38:10 mkdir: created directory '/var/www/html/api/nfv/sol005/66'
08:38:10 Mounting dir /var/www/html/api/nfv/sol005/66 as /storage
08:38:11 Using filter ''
08:38:11 
08:38:11 Entering dir /work/src
08:38:11 -- Will validate: ./SOL005/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL005)
08:38:11 --- Merging file.
08:38:13 --- Create PDF...
08:39:42 --- Validating ../build/SOL005-NSDManagement-API.yaml
08:39:43 
08:39:43 API Errors:
08:39:43 
08:39:43   #/paths/~1api-versions/get/responses/200: Not a valid response definition
08:39:43     #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition
08:39:43       #/schema/properties/apiVersions/items: Not a valid schema items definition
08:39:43         #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean
08:39:43         #/properties/apiVersions/items: Expected type array but found type object
08:39:43       #/schema: Additional properties not allowed: properties
08:39:43     #/paths/~1api-versions/get/responses/200: Missing required property: $ref
08:39:43 
08:39:43 1 error and 0 warnings
08:39:43 
08:39:43 --- Validation done (1).
08:39:43 '../build/SOL005-NSDManagement-API.yaml' -> '/storage/SOL005-NSDManagement-API.yaml'
08:39:43 '../build/SOL005-NSDManagement-API.json' -> '/storage/SOL005-NSDManagement-API.json'
08:39:43 '../build/SOL005-NSDManagement-API.pdf' -> '/storage/SOL005-NSDManagement-API.pdf'
08:39:43 -- Will validate: ./SOL005/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL005)
08:39:43 --- Merging file.
08:39:45 --- Create PDF...
08:39:51 --- Validating ../build/SOL005-APIVersion-API.yaml
08:39:52 
08:39:52 API Errors:
08:39:52 
08:39:52   #/paths/~1api-versions/get/responses/200: Not a valid response definition
08:39:52     #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition
08:39:52       #/schema/properties/apiVersions/items: Not a valid schema items definition
08:39:52         #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean
08:39:52         #/properties/apiVersions/items: Expected type array but found type object
08:39:52       #/schema: Additional properties not allowed: properties
08:39:52     #/paths/~1api-versions/get/responses/200: Missing required property: $ref
08:39:52 
08:39:52 1 error and 0 warnings
08:39:52 
08:39:52 --- Validation done (1).
08:39:52 '../build/SOL005-APIVersion-API.yaml' -> '/storage/SOL005-APIVersion-API.yaml'
08:39:52 '../build/SOL005-APIVersion-API.json' -> '/storage/SOL005-APIVersion-API.json'
08:39:52 '../build/SOL005-APIVersion-API.pdf' -> '/storage/SOL005-APIVersion-API.pdf'
08:39:52 -- Will validate: ./SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL005)
08:39:52 --- Merging file.
08:39:54 --- Create PDF...
08:40:44 --- Validating ../build/SOL005-NSPerformanceManagement-API.yaml
08:40:45 
08:40:45 API Errors:
08:40:45 
08:40:45   #/paths/~1api-versions/get/responses/200: Not a valid response definition
08:40:45     #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition
08:40:45       #/schema/properties/apiVersions/items: Not a valid schema items definition
08:40:45         #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean
08:40:45         #/properties/apiVersions/items: Expected type array but found type object
08:40:45       #/schema: Additional properties not allowed: properties
08:40:45     #/paths/~1api-versions/get/responses/200: Missing required property: $ref
08:40:45 
08:40:45 1 error and 0 warnings
08:40:45 
08:40:45 --- Validation done (1).
08:40:45 '../build/SOL005-NSPerformanceManagement-API.yaml' -> '/storage/SOL005-NSPerformanceManagement-API.yaml'
08:40:45 '../build/SOL005-NSPerformanceManagement-API.json' -> '/storage/SOL005-NSPerformanceManagement-API.json'
08:40:45 '../build/SOL005-NSPerformanceManagement-API.pdf' -> '/storage/SOL005-NSPerformanceManagement-API.pdf'
08:40:45 -- Will validate: ./SOL005/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL005)
08:40:45 --- Merging file.
08:40:46 
08:40:46   error: Document has invalid references:
08:40:46 
08:40:46   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-AlarmClearedNotification/post/parameters/0/schema/properties/AlarmClearedNotification/properties/_links/properties/alarm: Extra JSON Reference properties will be ignored: description
08:40:46   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-AlarmClearedNotification/post/parameters/0/schema/properties/AlarmClearedNotification/properties/_links/properties/subscription: Extra JSON Reference properties will be ignored: description
08:40:46   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-AlarmListRebuiltNotification/post/parameters/0/schema/properties/AlarmListRebuiltNotification/properties/_links/properties/alarms: Extra JSON Reference properties will be ignored: description
08:40:46   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-AlarmListRebuiltNotification/post/parameters/0/schema/properties/AlarmListRebuiltNotification/properties/_links/properties/subscription: Extra JSON Reference properties will be ignored: description
08:40:46   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-AlarmNotification/post/parameters/0/schema/properties/AlarmNotification/properties/_links/properties/subscription: Extra JSON Reference properties will be ignored: description
08:40:46 
08:40:47 --- Create PDF...
08:40:48 --- Validating ../build/SOL005-NSFaultManagement-API.yaml
08:40:48 mv: can't rename 'SOL005-NSFaultManagement-API.pdf': No such file or directory
08:40:49 
08:40:49   error: Unsupported Swagger version: undefined
08:40:49 
08:40:49 --- Validation done (1).
08:40:49 '../build/SOL005-NSFaultManagement-API.yaml' -> '/storage/SOL005-NSFaultManagement-API.yaml'
08:40:49 '../build/SOL005-NSFaultManagement-API.json' -> '/storage/SOL005-NSFaultManagement-API.json'
08:40:49 '../build/SOL005-NSFaultManagement-API.pdf' -> '/storage/SOL005-NSFaultManagement-API.pdf'
08:40:49 -- Will validate: ./SOL005/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL005)
08:40:49 --- Merging file.
08:40:50 
08:40:50   error: Document has invalid references:
08:40:50 
08:40:50   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-VnfPackageChangeNotification/post/parameters/0/schema/properties/VnfPackageChangeNotification/properties/_links/properties/subscription: Extra JSON Reference properties will be ignored: description
08:40:50   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-VnfPackageChangeNotification/post/parameters/0/schema/properties/VnfPackageChangeNotification/properties/_links/properties/vnfPackage: Extra JSON Reference properties will be ignored: description
08:40:50   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-VnfPackageOnboardingNotification/post/parameters/0/schema/properties/VnfPackageOnboardingNotification/properties/_links/properties/subscription: Extra JSON Reference properties will be ignored: description
08:40:50   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-VnfPackageOnboardingNotification/post/parameters/0/schema/properties/VnfPackageOnboardingNotification/properties/_links/properties/vnfPackage: Extra JSON Reference properties will be ignored: description
08:40:50 
08:40:50 --- Create PDF...
08:40:52 mv: can't rename 'SOL005-VNFPackageManagement-API.pdf': No such file or directory
08:40:52 --- Validating ../build/SOL005-VNFPackageManagement-API.yaml
08:40:52 
08:40:52   error: Unsupported Swagger version: undefined
08:40:52 
08:40:52 --- Validation done (1).
08:40:52 '../build/SOL005-VNFPackageManagement-API.yaml' -> '/storage/SOL005-VNFPackageManagement-API.yaml'
08:40:52 '../build/SOL005-VNFPackageManagement-API.json' -> '/storage/SOL005-VNFPackageManagement-API.json'
08:40:53 '../build/SOL005-VNFPackageManagement-API.pdf' -> '/storage/SOL005-VNFPackageManagement-API.pdf'
08:40:53 -- Will validate: ./SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL005)
08:40:53 --- Merging file.
08:40:54 
08:40:54   error: Document has invalid references:
08:40:54 
08:40:54   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsIdentifierCreationNotification/post/parameters/0/schema/properties/NsIdentifierCreationNotification/properties/_links/properties/nsInstance: Extra JSON Reference properties will be ignored: description
08:40:54   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsIdentifierCreationNotification/post/parameters/0/schema/properties/NsIdentifierCreationNotification/properties/_links/properties/nslcmOpOcc: Extra JSON Reference properties will be ignored: description
08:40:54   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsIdentifierCreationNotification/post/parameters/0/schema/properties/NsIdentifierCreationNotification/properties/_links/properties/subscription: Extra JSON Reference properties will be ignored: description
08:40:54   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsIdentifierDeletionNotification/post/parameters/0/schema/properties/NsIdentifierDeletionNotification/properties/_links/properties/nsInstance: Extra JSON Reference properties will be ignored: description
08:40:54   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsIdentifierDeletionNotification/post/parameters/0/schema/properties/NsIdentifierDeletionNotification/properties/_links/properties/nslcmOpOcc: Extra JSON Reference properties will be ignored: description
08:40:54   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsIdentifierDeletionNotification/post/parameters/0/schema/properties/NsIdentifierDeletionNotification/properties/_links/properties/subscription: Extra JSON Reference properties will be ignored: description
08:40:54   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsLcmOperationOccurrenceNotification/post/parameters/0/schema/properties/NsLcmOperationOccurrenceNotification/properties/_links/properties/nsInstance: Extra JSON Reference properties will be ignored: description
08:40:54   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsLcmOperationOccurrenceNotification/post/parameters/0/schema/properties/NsLcmOperationOccurrenceNotification/properties/_links/properties/nslcmOpOcc: Extra JSON Reference properties will be ignored: description
08:40:54   #/paths/~1URI_is_provided_by_the_client_when_creating_the_subscription-NsLcmOperationOccurrenceNotification/post/parameters/0/schema/properties/NsLcmOperationOccurrenceNotification/properties/_links/properties/subscription: Extra JSON Reference properties will be ignored: description
08:40:54   #/paths/~1ns_instances/get/responses/200/schema/items/properties/NsInstance/properties/vnfInstance/items/properties/instantiatedVnfInfo/properties/extCpInfo/items/properties/cpProtocolInfo/items: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/CpProtocolInfo
08:40:54   #/paths/~1ns_instances/post/responses/201/schema/properties/NsInstance/properties/vnfInstance/items/properties/instantiatedVnfInfo/properties/extCpInfo/items/properties/cpProtocolInfo/items: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/CpProtocolInfo
08:40:54   #/paths/~1ns_instances~1{nsInstanceId}/get/responses/200/schema/properties/NsInstance/properties/vnfInstance/items/properties/instantiatedVnfInfo/properties/extCpInfo/items/properties/cpProtocolInfo/items: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/CpProtocolInfo
08:40:54   #/paths/~1ns_instances~1{nsInstanceId}~1heal/post/responses/202/schema/properties/vnfInstance/items/properties/instantiatedVnfInfo/properties/extCpInfo/items/properties/cpProtocolInfo/items: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/CpProtocolInfo
08:40:54   #/paths/~1ns_instances~1{nsInstanceId}~1instantiate/post/responses/202/schema/properties/vnfInstance/items/properties/instantiatedVnfInfo/properties/extCpInfo/items/properties/cpProtocolInfo/items: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/CpProtocolInfo
08:40:54   #/paths/~1ns_instances~1{nsInstanceId}~1scale/post/responses/202/schema/properties/vnfInstance/items/properties/instantiatedVnfInfo/properties/extCpInfo/items/properties/cpProtocolInfo/items: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/CpProtocolInfo
08:40:54   #/paths/~1ns_instances~1{nsInstanceId}~1terminate/post/responses/202/schema/properties/vnfInstance/items/properties/instantiatedVnfInfo/properties/extCpInfo/items/properties/cpProtocolInfo/items: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/CpProtocolInfo
08:40:54   #/paths/~1ns_instances~1{nsInstanceId}~1update/post/parameters/4/schema/properties/UpdateNsRequest/properties/updateVnffg/items/properties/nfp/items/properties/cpGroup/items/properties/cpPairInfo/items: JSON Pointer points to missing location: #/definitions/CpPairInfo
08:40:54   #/paths/~1ns_instances~1{nsInstanceId}~1update/post/responses/202/schema/properties/vnfInstance/items/properties/instantiatedVnfInfo/properties/extCpInfo/items/properties/cpProtocolInfo/items: JSON Pointer points to missing location: SOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yamlSOL005_def.yaml#/definitions/CpProtocolInfo
08:40:54 
08:40:54 --- Create PDF...
08:40:56 mv: can't rename 'SOL005-NSLifecycleManagement-API.pdf': No such file or directory
08:40:56 --- Validating ../build/SOL005-NSLifecycleManagement-API.yaml
08:40:56 
08:40:56   error: Unsupported Swagger version: undefined
08:40:56 
08:40:56 --- Validation done (1).
08:40:56 '../build/SOL005-NSLifecycleManagement-API.yaml' -> '/storage/SOL005-NSLifecycleManagement-API.yaml'
08:40:56 '../build/SOL005-NSLifecycleManagement-API.json' -> '/storage/SOL005-NSLifecycleManagement-API.json'
08:40:56 '../build/SOL005-NSLifecycleManagement-API.pdf' -> '/storage/SOL005-NSLifecycleManagement-API.pdf'
08:40:56 -- Final validator returns 1.
08:40:57 Build step 'Execute shell' marked build as failure
08:40:57 Skipped archiving because build is not successful
08:40:57 Finished: FAILURE