FailedConsole Output

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

12:02:26 Step 1/24 : FROM alpine:3.6
12:02:26  ---> 43773d1dba76
12:02:26 Step 2/24 : RUN env
12:02:26  ---> Using cache
12:02:26  ---> 8f8fd58edd62
12:02:26 Step 3/24 : RUN apk update
12:02:26  ---> Using cache
12:02:26  ---> b5cdbf75bff8
12:02:26 Step 4/24 : RUN apk add bash
12:02:26  ---> Using cache
12:02:26  ---> d5b7d5b8474d
12:02:26 Step 5/24 : RUN apk add nodejs
12:02:26  ---> Using cache
12:02:26  ---> 02b0beae235e
12:02:26 Step 6/24 : RUN apk add nodejs-npm
12:02:26  ---> Using cache
12:02:26  ---> c28532e54062
12:02:26 Step 7/24 : RUN apk add asciidoctor
12:02:26  ---> Using cache
12:02:26  ---> 896cdd5b8441
12:02:26 Step 8/24 : RUN apk add openjdk8
12:02:26  ---> Using cache
12:02:26  ---> 33e797dafb78
12:02:26 Step 9/24 : RUN apk add ca-certificates wget && update-ca-certificates
12:02:26  ---> Using cache
12:02:26  ---> 593f73ca93e7
12:02:26 Step 10/24 : RUN apk add openssl
12:02:26  ---> Using cache
12:02:26  ---> 9e091baf1530
12:02:26 Step 11/24 : RUN gem install rdoc --pre || gem install rdoc --pre
12:02:26  ---> Using cache
12:02:26  ---> ac732be97a1c
12:02:26 Step 12/24 : RUN gem install asciidoctor-pdf-cjk
12:02:26  ---> Using cache
12:02:26  ---> c0cc4d048580
12:02:26 Step 13/24 : RUN wget https://forge.etsi.org/swagger2markup-cli-1.3.2.jar
12:02:26  ---> Using cache
12:02:26  ---> 6fe15e9ad31c
12:02:26 Step 14/24 : RUN npm config set proxy $http_proxy
12:02:26  ---> Using cache
12:02:26  ---> becf94dcbee2
12:02:26 Step 15/24 : RUN npm install -g swagger-tools@0.10.3
12:02:26  ---> Using cache
12:02:26  ---> e326d07e34fd
12:02:26 Step 16/24 : RUN npm install -g json-refs@3.0.2
12:02:26  ---> Using cache
12:02:26  ---> fc42f7ee9c63
12:02:26 Step 17/24 : RUN npm install -g yamljs@0.3.0
12:02:26  ---> Using cache
12:02:26  ---> dd78623612c4
12:02:26 Step 18/24 : ADD validate-in-docker.sh /validate-in-docker.sh
12:02:26  ---> Using cache
12:02:26  ---> b9c3f10f16e4
12:02:26 Step 19/24 : RUN chmod +x /validate-in-docker.sh
12:02:26  ---> Using cache
12:02:26  ---> 109442b45655
12:02:26 Step 20/24 : ADD swg2mrkup /bin/swg2mrkup
12:02:26  ---> Using cache
12:02:26  ---> 3c60d5299293
12:02:26 Step 21/24 : RUN chmod +x /bin/swg2mrkup
12:02:26  ---> Using cache
12:02:26  ---> a2cf9540578a
12:02:26 Step 22/24 : ADD oas2pdf /bin/oas2pdf
12:02:26  ---> Using cache
12:02:26  ---> 09622137cc29
12:02:26 Step 23/24 : RUN chmod +x /bin/oas2pdf
12:02:26  ---> Using cache
12:02:26  ---> 705743878200
12:02:26 Step 24/24 : ENTRYPOINT /validate-in-docker.sh
12:02:26  ---> Using cache
12:02:26  ---> 2d38a1f29ebf
12:02:26 Successfully built 2d38a1f29ebf
12:02:26 Successfully tagged openapivalidator:latest
12:02:26 Mounting dir /home/jenkins/workspace/NFV - Network Functions Virtualisation/sol005 as /work
12:02:26 mkdir: created directory '/var/www/html/api/nfv/sol005/153'
12:02:26 Mounting dir /var/www/html/api/nfv/sol005/153 as /storage
12:02:27 Using filter ''
12:02:27 
12:02:27 Entering dir /work/src
12:02:27 -- Will validate: ./SOL005/NSLifecycleManagementNotification/NSLifecycleManagementNotification.yaml (api: NSLifecycleManagementNotification) (deliverable:SOL005)
12:02:27 --- Merging file.
12:02:28 --- Create PDF...
12:02:46 --- Validating ../build/SOL005-NSLifecycleManagementNotification-API.yaml
12:02:47 --- Validation done (0).
12:02:47 '../build/SOL005-NSLifecycleManagementNotification-API.yaml' -> '/storage/SOL005-NSLifecycleManagementNotification-API.yaml'
12:02:47 '../build/SOL005-NSLifecycleManagementNotification-API.json' -> '/storage/SOL005-NSLifecycleManagementNotification-API.json'
12:02:47 '../build/SOL005-NSLifecycleManagementNotification-API.pdf' -> '/storage/SOL005-NSLifecycleManagementNotification-API.pdf'
12:02:47 -- Will validate: ./SOL005/VNFPackageManagementNotification/VNFPackageManagementNotification.yaml (api: VNFPackageManagementNotification) (deliverable:SOL005)
12:02:47 --- Merging file.
12:02:48 --- Create PDF...
12:02:57 --- Validating ../build/SOL005-VNFPackageManagementNotification-API.yaml
12:02:58 --- Validation done (0).
12:02:58 '../build/SOL005-VNFPackageManagementNotification-API.yaml' -> '/storage/SOL005-VNFPackageManagementNotification-API.yaml'
12:02:58 '../build/SOL005-VNFPackageManagementNotification-API.json' -> '/storage/SOL005-VNFPackageManagementNotification-API.json'
12:02:58 '../build/SOL005-VNFPackageManagementNotification-API.pdf' -> '/storage/SOL005-VNFPackageManagementNotification-API.pdf'
12:02:58 -- Will validate: ./SOL005/NSDManagement/NSDManagement.yaml (api: NSDManagement) (deliverable:SOL005)
12:02:58 --- Merging file.
12:03:01 --- Create PDF...
12:04:05 --- Validating ../build/SOL005-NSDManagement-API.yaml
12:04:07 --- Validation done (0).
12:04:07 '../build/SOL005-NSDManagement-API.yaml' -> '/storage/SOL005-NSDManagement-API.yaml'
12:04:07 '../build/SOL005-NSDManagement-API.json' -> '/storage/SOL005-NSDManagement-API.json'
12:04:07 '../build/SOL005-NSDManagement-API.pdf' -> '/storage/SOL005-NSDManagement-API.pdf'
12:04:07 -- Will validate: ./SOL005/APIVersion/APIVersion.yaml (api: APIVersion) (deliverable:SOL005)
12:04:07 --- Merging file.
12:04:09 --- Create PDF...
12:04:27 --- Validating ../build/SOL005-APIVersion-API.yaml
12:04:28 --- Validation done (0).
12:04:28 '../build/SOL005-APIVersion-API.yaml' -> '/storage/SOL005-APIVersion-API.yaml'
12:04:28 '../build/SOL005-APIVersion-API.json' -> '/storage/SOL005-APIVersion-API.json'
12:04:28 '../build/SOL005-APIVersion-API.pdf' -> '/storage/SOL005-APIVersion-API.pdf'
12:04:28 -- Will validate: ./SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml (api: NSPerformanceManagement) (deliverable:SOL005)
12:04:28 --- Merging file.
12:04:30 --- Create PDF...
12:05:03 --- Validating ../build/SOL005-NSPerformanceManagement-API.yaml
12:05:05 --- Validation done (0).
12:05:05 '../build/SOL005-NSPerformanceManagement-API.yaml' -> '/storage/SOL005-NSPerformanceManagement-API.yaml'
12:05:05 '../build/SOL005-NSPerformanceManagement-API.json' -> '/storage/SOL005-NSPerformanceManagement-API.json'
12:05:05 '../build/SOL005-NSPerformanceManagement-API.pdf' -> '/storage/SOL005-NSPerformanceManagement-API.pdf'
12:05:05 -- Will validate: ./SOL005/NSDManagementNotification/NSDManagementNotification.yaml (api: NSDManagementNotification) (deliverable:SOL005)
12:05:05 --- Merging file.
12:05:07 --- Create PDF...
12:05:41 --- Validating ../build/SOL005-NSDManagementNotification-API.yaml
12:05:42 --- Validation done (0).
12:05:42 '../build/SOL005-NSDManagementNotification-API.yaml' -> '/storage/SOL005-NSDManagementNotification-API.yaml'
12:05:42 '../build/SOL005-NSDManagementNotification-API.json' -> '/storage/SOL005-NSDManagementNotification-API.json'
12:05:42 '../build/SOL005-NSDManagementNotification-API.pdf' -> '/storage/SOL005-NSDManagementNotification-API.pdf'
12:05:42 -- Will validate: ./SOL005/NSFaultManagement/NSFaultManagement.yaml (api: NSFaultManagement) (deliverable:SOL005)
12:05:42 --- Merging file.
12:05:43 
12:05:43   error: Document has invalid references:
12:05:43 
12:05:43   #/paths/~1api_versions: JSON Pointer points to missing location: ../endpoints/SOL005_endpoints.yaml#/endpoints/api_versions
12:05:43 
12:05:43 --- Create PDF...
12:05:45 mv: can't rename 'SOL005-NSFaultManagement-API.pdf': No such file or directory
12:05:45 --- Validating ../build/SOL005-NSFaultManagement-API.yaml
12:05:46 
12:05:46   error: Unsupported Swagger version: undefined
12:05:46 
12:05:46 --- Validation done (1).
12:05:46 '../build/SOL005-NSFaultManagement-API.yaml' -> '/storage/SOL005-NSFaultManagement-API.yaml'
12:05:46 '../build/SOL005-NSFaultManagement-API.json' -> '/storage/SOL005-NSFaultManagement-API.json'
12:05:46 '../build/SOL005-NSFaultManagement-API.pdf' -> '/storage/SOL005-NSFaultManagement-API.pdf'
12:05:46 -- Will validate: ./SOL005/VNFPackageManagement/VNFPackageManagement.yaml (api: VNFPackageManagement) (deliverable:SOL005)
12:05:46 --- Merging file.
12:05:47 
12:05:47   error: Document has invalid references:
12:05:47 
12:05:47   #/paths/~1api_versions: JSON Pointer points to missing location: ../endpoints/SOL005_endpoints.yaml#/endpoints/api_versions
12:05:47 
12:05:47 --- Create PDF...
12:05:49 mv: can't rename 'SOL005-VNFPackageManagement-API.pdf': No such file or directory
12:05:49 --- Validating ../build/SOL005-VNFPackageManagement-API.yaml
12:05:50 
12:05:50   error: Unsupported Swagger version: undefined
12:05:50 
12:05:50 --- Validation done (1).
12:05:50 '../build/SOL005-VNFPackageManagement-API.yaml' -> '/storage/SOL005-VNFPackageManagement-API.yaml'
12:05:50 '../build/SOL005-VNFPackageManagement-API.json' -> '/storage/SOL005-VNFPackageManagement-API.json'
12:05:50 '../build/SOL005-VNFPackageManagement-API.pdf' -> '/storage/SOL005-VNFPackageManagement-API.pdf'
12:05:50 -- Will validate: ./SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml (api: NSLifecycleManagement) (deliverable:SOL005)
12:05:50 --- Merging file.
12:05:51 
12:05:51   error: Document has invalid references:
12:05:51 
12:05:51   #/paths/~1api_versions: JSON Pointer points to missing location: ../endpoints/SOL005_endpoints.yaml#/endpoints/api_versions
12:05:51 
12:05:51 --- Create PDF...
12:05:53 mv: can't rename 'SOL005-NSLifecycleManagement-API.pdf': No such file or directory
12:05:53 --- Validating ../build/SOL005-NSLifecycleManagement-API.yaml
12:05:54 
12:05:54   error: Unsupported Swagger version: undefined
12:05:54 
12:05:54 --- Validation done (1).
12:05:54 '../build/SOL005-NSLifecycleManagement-API.yaml' -> '/storage/SOL005-NSLifecycleManagement-API.yaml'
12:05:54 '../build/SOL005-NSLifecycleManagement-API.json' -> '/storage/SOL005-NSLifecycleManagement-API.json'
12:05:54 '../build/SOL005-NSLifecycleManagement-API.pdf' -> '/storage/SOL005-NSLifecycleManagement-API.pdf'
12:05:54 -- Will validate: ./SOL005/NSFaultManagementNotification/NSFaultManagementNotification.yaml (api: NSFaultManagementNotification) (deliverable:SOL005)
12:05:54 --- Merging file.
12:05:55 --- Create PDF...
12:06:09 --- Validating ../build/SOL005-NSFaultManagementNotification-API.yaml
12:06:11 --- Validation done (0).
12:06:11 '../build/SOL005-NSFaultManagementNotification-API.yaml' -> '/storage/SOL005-NSFaultManagementNotification-API.yaml'
12:06:11 '../build/SOL005-NSFaultManagementNotification-API.json' -> '/storage/SOL005-NSFaultManagementNotification-API.json'
12:06:11 '../build/SOL005-NSFaultManagementNotification-API.pdf' -> '/storage/SOL005-NSFaultManagementNotification-API.pdf'
12:06:11 -- Will validate: ./SOL005/NSPerformanceManagementNotification/NSPerformanceManagementNotification.yaml (api: NSPerformanceManagementNotification) (deliverable:SOL005)
12:06:11 --- Merging file.
12:06:12 --- Create PDF...
12:06:23 --- Validating ../build/SOL005-NSPerformanceManagementNotification-API.yaml
12:06:25 --- Validation done (0).
12:06:25 '../build/SOL005-NSPerformanceManagementNotification-API.yaml' -> '/storage/SOL005-NSPerformanceManagementNotification-API.yaml'
12:06:25 '../build/SOL005-NSPerformanceManagementNotification-API.json' -> '/storage/SOL005-NSPerformanceManagementNotification-API.json'
12:06:25 '../build/SOL005-NSPerformanceManagementNotification-API.pdf' -> '/storage/SOL005-NSPerformanceManagementNotification-API.pdf'
12:06:25 -- Final validator returns 1.
12:06:25 Build step 'Execute shell' marked build as failure
12:06:25 Skipped archiving because build is not successful
12:06:25 Finished: FAILURE