FailedConsole Output

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

14:27:50 Step 1/24 : FROM alpine:3.6
14:27:50  ---> 43773d1dba76
14:27:50 Step 2/24 : RUN env
14:27:50  ---> Using cache
14:27:50  ---> 94a774cc9d8b
14:27:50 Step 3/24 : RUN apk update
14:27:50  ---> Using cache
14:27:50  ---> 12b582a22f41
14:27:50 Step 4/24 : RUN apk add bash
14:27:50  ---> Using cache
14:27:50  ---> fafd07ab0655
14:27:50 Step 5/24 : RUN apk add nodejs
14:27:50  ---> Using cache
14:27:50  ---> 1debd0445296
14:27:50 Step 6/24 : RUN apk add nodejs-npm
14:27:50  ---> Using cache
14:27:50  ---> c827a1cac07e
14:27:50 Step 7/24 : RUN apk add asciidoctor
14:27:50  ---> Using cache
14:27:50  ---> e90589c3e596
14:27:50 Step 8/24 : RUN apk add openjdk8
14:27:50  ---> Using cache
14:27:50  ---> 735d8f58c1bc
14:27:50 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates
14:27:50  ---> Using cache
14:27:50  ---> c3dc23607c9d
14:27:50 Step 10/24 : RUN apk add openssl
14:27:50  ---> Using cache
14:27:50  ---> a643db7e74bb
14:27:50 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre
14:27:50  ---> Using cache
14:27:50  ---> 3c2b8bf7c2ca
14:27:50 Step 12/24 : RUN gem install asciidoctor-pdf-cjk
14:27:50  ---> Using cache
14:27:50  ---> 8572c9df5ed2
14:27:50 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar
14:27:50  ---> Using cache
14:27:50  ---> f44bfb2813f1
14:27:50 Step 14/24 : RUN npm config set proxy $http_proxy
14:27:50  ---> Using cache
14:27:50  ---> 4b6141ff47f4
14:27:50 Step 15/24 : RUN npm install -g swagger-tools@0.10.3
14:27:50  ---> Using cache
14:27:50  ---> 3021daafa234
14:27:50 Step 16/24 : RUN npm install -g json-refs@3.0.2
14:27:50  ---> Using cache
14:27:50  ---> 450ac1367008
14:27:50 Step 17/24 : RUN npm install -g yamljs@0.3.0
14:27:50  ---> Using cache
14:27:50  ---> b2179889fdf7
14:27:50 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh
14:27:50  ---> Using cache
14:27:50  ---> 22b0f991742d
14:27:50 Step 19/24 : RUN chmod +x /validate-in-docker.sh
14:27:50  ---> Using cache
14:27:50  ---> 15b59145c33b
14:27:50 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup
14:27:50  ---> Using cache
14:27:50  ---> 7308f4b26eb2
14:27:50 Step 21/24 : RUN chmod +x /bin/swg2mrkup
14:27:50  ---> Using cache
14:27:50  ---> dfc7883158e5
14:27:50 Step 22/24 : ADD oas2pdf /bin/oas2pdf
14:27:50  ---> Using cache
14:27:50  ---> 6b3ffc5e7e2b
14:27:50 Step 23/24 : RUN chmod +x /bin/oas2pdf
14:27:50  ---> Using cache
14:27:50  ---> b2e0fd2d61e5
14:27:50 Step 24/24 : ENTRYPOINT /validate-in-docker.sh
14:27:50  ---> Using cache
14:27:50  ---> aead7ceb0f7b
14:27:50 Successfully built aead7ceb0f7b
14:27:50 Successfully tagged openapivalidator:latest
14:27:50 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 as /work
14:27:50 mkdir: created directory '/var/www/html/api/nfv/sol005/65'
14:27:50 Mounting dir /var/www/html/api/nfv/sol005/65 as /storage
14:27:50 Using filter ''
14:27:50 
14:27:50 Entering dir /work/src
14:27:50 -- Will validate: ./SOL005/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL005)
14:27:50 --- Merging file.
14:27:53 --- Create PDF...
14:29:24 --- Validating ../build/SOL005-NSDManagement-API.yaml
14:29:25 
14:29:25 API Errors:
14:29:25 
14:29:25   #/paths/~1api-versions/get/responses/200: Not a valid response definition
14:29:25     #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition
14:29:25       #/schema/properties/apiVersions/items: Not a valid schema items definition
14:29:25         #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean
14:29:25         #/properties/apiVersions/items: Expected type array but found type object
14:29:25       #/schema: Additional properties not allowed: properties
14:29:25     #/paths/~1api-versions/get/responses/200: Missing required property: $ref
14:29:25 
14:29:25 1 error and 0 warnings
14:29:25 
14:29:25 --- Validation done (1).
14:29:25 '../build/SOL005-NSDManagement-API.yaml' -> '/storage/SOL005-NSDManagement-API.yaml'
14:29:25 '../build/SOL005-NSDManagement-API.json' -> '/storage/SOL005-NSDManagement-API.json'
14:29:25 '../build/SOL005-NSDManagement-API.pdf' -> '/storage/SOL005-NSDManagement-API.pdf'
14:29:25 -- Will validate: ./SOL005/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL005)
14:29:25 --- Merging file.
14:29:26 --- Create PDF...
14:29:33 --- Validating ../build/SOL005-APIVersion-API.yaml
14:29:34 
14:29:34 API Errors:
14:29:34 
14:29:34   #/paths/~1api-versions/get/responses/200: Not a valid response definition
14:29:34     #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition
14:29:34       #/schema/properties/apiVersions/items: Not a valid schema items definition
14:29:34         #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean
14:29:34         #/properties/apiVersions/items: Expected type array but found type object
14:29:34       #/schema: Additional properties not allowed: properties
14:29:34     #/paths/~1api-versions/get/responses/200: Missing required property: $ref
14:29:34 
14:29:34 1 error and 0 warnings
14:29:34 
14:29:34 --- Validation done (1).
14:29:34 '../build/SOL005-APIVersion-API.yaml' -> '/storage/SOL005-APIVersion-API.yaml'
14:29:34 '../build/SOL005-APIVersion-API.json' -> '/storage/SOL005-APIVersion-API.json'
14:29:34 '../build/SOL005-APIVersion-API.pdf' -> '/storage/SOL005-APIVersion-API.pdf'
14:29:34 -- Will validate: ./SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL005)
14:29:34 --- Merging file.
14:29:36 --- Create PDF...
14:30:27 --- Validating ../build/SOL005-NSPerformanceManagement-API.yaml
14:30:29 
14:30:29 API Errors:
14:30:29 
14:30:29   #/paths/~1api-versions/get/responses/200: Not a valid response definition
14:30:29     #/paths/~1api-versions/get/responses/200/schema: Not a valid 200 definition
14:30:29       #/schema/properties/apiVersions/items: Not a valid schema items definition
14:30:29         #/properties/apiVersions/items/properties/version/required: Expected type array but found type boolean
14:30:29         #/properties/apiVersions/items: Expected type array but found type object
14:30:29       #/schema: Additional properties not allowed: properties
14:30:29     #/paths/~1api-versions/get/responses/200: Missing required property: $ref
14:30:29 
14:30:29 1 error and 0 warnings
14:30:29 
14:30:29 --- Validation done (1).
14:30:29 '../build/SOL005-NSPerformanceManagement-API.yaml' -> '/storage/SOL005-NSPerformanceManagement-API.yaml'
14:30:29 '../build/SOL005-NSPerformanceManagement-API.json' -> '/storage/SOL005-NSPerformanceManagement-API.json'
14:30:29 '../build/SOL005-NSPerformanceManagement-API.pdf' -> '/storage/SOL005-NSPerformanceManagement-API.pdf'
14:30:29 -- Will validate: ./SOL005/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL005)
14:30:29 --- Merging file.
14:30:30 --- Create PDF...
14:30:58 --- Validating ../build/SOL005-NSFaultManagement-API.yaml
14:30:59 --- Validation done (0).
14:30:59 '../build/SOL005-NSFaultManagement-API.yaml' -> '/storage/SOL005-NSFaultManagement-API.yaml'
14:30:59 '../build/SOL005-NSFaultManagement-API.json' -> '/storage/SOL005-NSFaultManagement-API.json'
14:30:59 '../build/SOL005-NSFaultManagement-API.pdf' -> '/storage/SOL005-NSFaultManagement-API.pdf'
14:30:59 -- Will validate: ./SOL005/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL005)
14:30:59 --- Merging file.
14:31:01 --- Create PDF...
14:31:44 --- Validating ../build/SOL005-VNFPackageManagement-API.yaml
14:31:45 --- Validation done (0).
14:31:45 '../build/SOL005-VNFPackageManagement-API.yaml' -> '/storage/SOL005-VNFPackageManagement-API.yaml'
14:31:45 '../build/SOL005-VNFPackageManagement-API.json' -> '/storage/SOL005-VNFPackageManagement-API.json'
14:31:45 '../build/SOL005-VNFPackageManagement-API.pdf' -> '/storage/SOL005-VNFPackageManagement-API.pdf'
14:31:45 -- Will validate: ./SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL005)
14:31:45 --- Merging file.
14:31:49 --- Create PDF...
14:34:00 --- Validating ../build/SOL005-NSLifecycleManagement-API.yaml
14:34:02 --- Validation done (0).
14:34:02 '../build/SOL005-NSLifecycleManagement-API.yaml' -> '/storage/SOL005-NSLifecycleManagement-API.yaml'
14:34:02 '../build/SOL005-NSLifecycleManagement-API.json' -> '/storage/SOL005-NSLifecycleManagement-API.json'
14:34:02 '../build/SOL005-NSLifecycleManagement-API.pdf' -> '/storage/SOL005-NSLifecycleManagement-API.pdf'
14:34:02 -- Final validator returns 1.
14:34:02 Build step 'Execute shell' marked build as failure
14:34:02 Skipped archiving because build is not successful
14:34:03 Finished: FAILURE