Started by GitLab push by f.moscatelli Building remotely on build.forge.etsi.org (docker) in workspace /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@forge.etsi.org:nfv/SOL005.git # timeout=10 Fetching upstream changes from git@forge.etsi.org:nfv/SOL005.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress git@forge.etsi.org:nfv/SOL005.git +refs/heads/*:refs/remotes/origin/* > git rev-parse remotes/origin/2.5.1-dev^{commit} # timeout=10 > git branch -a -v --no-abbrev --contains 5051b7714b0dabb0e3c7efd7ffb409cd63de2afd # timeout=10 Checking out Revision 5051b7714b0dabb0e3c7efd7ffb409cd63de2afd (origin/2.5.1-dev) > git config core.sparsecheckout # timeout=10 > git checkout -f 5051b7714b0dabb0e3c7efd7ffb409cd63de2afd Commit message: "SOL005: API versions endpoint included ad endpoint type + API version updated to 1.2.0 + PDF references updated" > git rev-list --no-walk 9f5f89cf7cc533dd5401c15b5bfe1b5abd9137ef # timeout=10 [sol005] $ /bin/bash /tmp/jenkins1056254106520612963.sh ./build-container.sh: line 7: proxy: command not found http_proxy is not set Proxy set to Sending build context to Docker daemon 13.31kB Step 1/24 : FROM alpine:3.6 Get https://registry-1.docker.io/v2/library/alpine/manifests/3.6: dial tcp: lookup registry-1.docker.io on 127.0.1.1:53: read udp 127.0.0.1:41673->127.0.1.1:53: i/o timeout Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 as /work mkdir: created directory '/var/www/html/api/nfv/sol005/67' Mounting dir /var/www/html/api/nfv/sol005/67 as /storage Using filter '' Entering dir /work/src -- Will validate: ./SOL005/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL005) --- Merging file. --- Create PDF... --- Validating ../build/SOL005-NSDManagement-API.yaml API Errors: #/paths/~1api-versions/get/responses/200: Not a valid response definition #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition #/schema/properties/apiVersions/items: Not a valid schema items definition #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean #/properties/apiVersions/items: Expected type array but found type object #/schema: Additional properties not allowed: properties #/paths/~1api-versions/get/responses/200: Missing required property: $ref 1 error and 0 warnings --- Validation done (1). '../build/SOL005-NSDManagement-API.yaml' -> '/storage/SOL005-NSDManagement-API.yaml' '../build/SOL005-NSDManagement-API.json' -> '/storage/SOL005-NSDManagement-API.json' '../build/SOL005-NSDManagement-API.pdf' -> '/storage/SOL005-NSDManagement-API.pdf' -- Will validate: ./SOL005/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL005) --- Merging file. --- Create PDF... --- Validating ../build/SOL005-APIVersion-API.yaml API Errors: #/paths/~1api-versions/get/responses/200: Not a valid response definition #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition #/schema/properties/apiVersions/items: Not a valid schema items definition #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean #/properties/apiVersions/items: Expected type array but found type object #/schema: Additional properties not allowed: properties #/paths/~1api-versions/get/responses/200: Missing required property: $ref 1 error and 0 warnings --- Validation done (1). '../build/SOL005-APIVersion-API.yaml' -> '/storage/SOL005-APIVersion-API.yaml' '../build/SOL005-APIVersion-API.json' -> '/storage/SOL005-APIVersion-API.json' '../build/SOL005-APIVersion-API.pdf' -> '/storage/SOL005-APIVersion-API.pdf' -- Will validate: ./SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL005) --- Merging file. --- Create PDF... --- Validating ../build/SOL005-NSPerformanceManagement-API.yaml API Errors: #/paths/~1api-versions/get/responses/200: Not a valid response definition #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition #/schema/properties/apiVersions/items: Not a valid schema items definition #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean #/properties/apiVersions/items: Expected type array but found type object #/schema: Additional properties not allowed: properties #/paths/~1api-versions/get/responses/200: Missing required property: $ref 1 error and 0 warnings --- Validation done (1). '../build/SOL005-NSPerformanceManagement-API.yaml' -> '/storage/SOL005-NSPerformanceManagement-API.yaml' '../build/SOL005-NSPerformanceManagement-API.json' -> '/storage/SOL005-NSPerformanceManagement-API.json' '../build/SOL005-NSPerformanceManagement-API.pdf' -> '/storage/SOL005-NSPerformanceManagement-API.pdf' -- Will validate: ./SOL005/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL005) --- Merging file. error: Document has invalid references: #/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 #/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 #/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 #/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 #/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 --- Create PDF... --- Validating ../build/SOL005-NSFaultManagement-API.yaml mv: can't rename 'SOL005-NSFaultManagement-API.pdf': No such file or directory error: Unsupported Swagger version: undefined --- Validation done (1). '../build/SOL005-NSFaultManagement-API.yaml' -> '/storage/SOL005-NSFaultManagement-API.yaml' '../build/SOL005-NSFaultManagement-API.json' -> '/storage/SOL005-NSFaultManagement-API.json' '../build/SOL005-NSFaultManagement-API.pdf' -> '/storage/SOL005-NSFaultManagement-API.pdf' -- Will validate: ./SOL005/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL005) --- Merging file. error: Document has invalid references: #/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 #/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 #/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 #/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 --- Create PDF... mv: can't rename 'SOL005-VNFPackageManagement-API.pdf': No such file or directory --- Validating ../build/SOL005-VNFPackageManagement-API.yaml error: Unsupported Swagger version: undefined --- Validation done (1). '../build/SOL005-VNFPackageManagement-API.yaml' -> '/storage/SOL005-VNFPackageManagement-API.yaml' '../build/SOL005-VNFPackageManagement-API.json' -> '/storage/SOL005-VNFPackageManagement-API.json' '../build/SOL005-VNFPackageManagement-API.pdf' -> '/storage/SOL005-VNFPackageManagement-API.pdf' -- Will validate: ./SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL005) --- Merging file. error: Document has invalid references: #/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 #/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 #/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 #/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 #/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 #/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 #/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 #/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 #/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 #/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 #/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 #/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 #/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 #/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 #/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 #/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 #/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 #/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 --- Create PDF... mv: can't rename 'SOL005-NSLifecycleManagement-API.pdf': No such file or directory --- Validating ../build/SOL005-NSLifecycleManagement-API.yaml error: Unsupported Swagger version: undefined --- Validation done (1). '../build/SOL005-NSLifecycleManagement-API.yaml' -> '/storage/SOL005-NSLifecycleManagement-API.yaml' '../build/SOL005-NSLifecycleManagement-API.json' -> '/storage/SOL005-NSLifecycleManagement-API.json' '../build/SOL005-NSLifecycleManagement-API.pdf' -> '/storage/SOL005-NSLifecycleManagement-API.pdf' -- Final validator returns 1. Build step 'Execute shell' marked build as failure Skipped archiving because build is not successful Finished: FAILURE