FailedConsole Output

Started by GitLab push by Miguel Angel Reina Ortega
Obtained Jenkinsfile.mec from git git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] node
Running on build3.forge.etsi.org in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-015-pipeline
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
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:cti/forge-tools/jenkins-scripts-for-openapis.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git +refs/heads/*:refs/remotes/origin/*
skipping resolution of commit remotes/origin/master, since it originates from another repository
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 0efd28309b6b5f46943eb97cb68e620e2f585b54 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0efd28309b6b5f46943eb97cb68e620e2f585b54
Commit message: "Including lint of yaml files"
 > git rev-list --no-walk e2f219e6f46212268b1bbc4b56f962ddd519442a # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] gitlabBuilds
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Resolve)
[Pipeline] sh
+ echo Resolve stage
Resolve stage
[Pipeline] updateGitlabCommitStatus
[Pipeline] dir
Running in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-015-pipeline/apis
[Pipeline] {
[Pipeline] checkout
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:mec/gs015-bandwith-mgmt-api.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:mec/gs015-bandwith-mgmt-api.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git fetch --tags --progress git@forge.etsi.org:mec/gs015-bandwith-mgmt-api.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse remotes/origin/master^{commit} # timeout=10
 > git branch -a -v --no-abbrev --contains fdd63865a7f37bed48cb0b4d0d4658c3bbc116c8 # timeout=10
Checking out Revision fdd63865a7f37bed48cb0b4d0d4658c3bbc116c8 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f fdd63865a7f37bed48cb0b4d0d4658c3bbc116c8
Commit message: "Merge branch 'stf606-final' into 'master'"
 > git rev-list --no-walk fdd63865a7f37bed48cb0b4d0d4658c3bbc116c8 # timeout=10
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-015-pipeline/scripts
[Pipeline] {
[Pipeline] checkout
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:cti/forge-tools/jenkins-scripts-for-openapis.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git fetch --tags --progress git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git +refs/heads/*:refs/remotes/origin/*
skipping resolution of commit remotes/origin/master, since it originates from another repository
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 0efd28309b6b5f46943eb97cb68e620e2f585b54 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0efd28309b6b5f46943eb97cb68e620e2f585b54
Commit message: "Including lint of yaml files"
[Pipeline] updateGitlabCommitStatus
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Validate)
[Pipeline] updateGitlabCommitStatus
[Pipeline] sh
+ echo Validate stage
Validate stage
[Pipeline] sh
+ bash ./scripts/cli-validate-openapis-mec.sh ./apis

------ Switching to ./apis folder --------
------ Checking for previous logs ------
Found previous log. Removing it
Using dockerized validator (etsiforge/swagger-cli:4.0.3)
4.0.3: Pulling from etsiforge/swagger-cli
Digest: sha256:c6987d82d33715ec65ac79532768eb98152d83ed969754aa7f4a9344aea32d9a
Status: Image is up to date for etsiforge/swagger-cli:4.0.3
docker.io/etsiforge/swagger-cli:4.0.3

------ Validating all YAML files (may takes several minutes) ------

-- Final validator returns 1.
Some errors found, see below the details.

---- Errors detected ----
---- Validating ./BwManagementApi.yaml: Unsupported OpenAPI version: 3.1.0. Swagger Parser only supports versions 3.0.0, 3.0.1, 3.0.2, 3.0.3 Unable to find image 'wework/speccy:0.8' locally 0.8: Pulling from wework/speccy 4fe2ade4980c: Pulling fs layer a3f62ee5351e: Pulling fs layer b8ee302f1a47: Pulling fs layer cc7f8b281327: Pulling fs layer d9c4888f4435: Pulling fs layer e2c6f4c546d3: Pulling fs layer d9c4888f4435: Waiting e2c6f4c546d3: Waiting cc7f8b281327: Waiting 4fe2ade4980c: Verifying Checksum 4fe2ade4980c: Download complete b8ee302f1a47: Verifying Checksum b8ee302f1a47: Download complete 4fe2ade4980c: Pull complete d9c4888f4435: Download complete a3f62ee5351e: Download complete cc7f8b281327: Verifying Checksum cc7f8b281327: Download complete e2c6f4c546d3: Verifying Checksum e2c6f4c546d3: Download complete a3f62ee5351e: Pull complete b8ee302f1a47: Pull complete cc7f8b281327: Pull complete d9c4888f4435: Pull complete e2c6f4c546d3: Pull complete Digest: sha256:a0388d632b75abd73528c4eabdc1db8de55c5cc550bddb17e9124711b4203ab7 Status: Downloaded newer image for wework/speccy:0.8 Specification schema is invalid. #/ Must be an OpenAPI 3.0.x document
---- Validating ./TrafficSteeringApi.yaml: Unsupported OpenAPI version: 3.1.0. Swagger Parser only supports versions 3.0.0, 3.0.1, 3.0.2, 3.0.3 Specification schema is invalid. #/ Must be an OpenAPI 3.0.x document


---- Complete log of validation ----
---- Validating ./BwManagementApi.yaml: Unsupported OpenAPI version: 3.1.0. Swagger Parser only supports versions 3.0.0, 3.0.1, 3.0.2, 3.0.3 Unable to find image 'wework/speccy:0.8' locally 0.8: Pulling from wework/speccy 4fe2ade4980c: Pulling fs layer a3f62ee5351e: Pulling fs layer b8ee302f1a47: Pulling fs layer cc7f8b281327: Pulling fs layer d9c4888f4435: Pulling fs layer e2c6f4c546d3: Pulling fs layer d9c4888f4435: Waiting e2c6f4c546d3: Waiting cc7f8b281327: Waiting 4fe2ade4980c: Verifying Checksum 4fe2ade4980c: Download complete b8ee302f1a47: Verifying Checksum b8ee302f1a47: Download complete 4fe2ade4980c: Pull complete d9c4888f4435: Download complete a3f62ee5351e: Download complete cc7f8b281327: Verifying Checksum cc7f8b281327: Download complete e2c6f4c546d3: Verifying Checksum e2c6f4c546d3: Download complete a3f62ee5351e: Pull complete b8ee302f1a47: Pull complete cc7f8b281327: Pull complete d9c4888f4435: Pull complete e2c6f4c546d3: Pull complete Digest: sha256:a0388d632b75abd73528c4eabdc1db8de55c5cc550bddb17e9124711b4203ab7 Status: Downloaded newer image for wework/speccy:0.8 Specification schema is invalid. #/ Must be an OpenAPI 3.0.x document
---- Validating ./TrafficSteeringApi.yaml: Unsupported OpenAPI version: 3.1.0. Swagger Parser only supports versions 3.0.0, 3.0.1, 3.0.2, 3.0.3 Specification schema is invalid. #/ Must be an OpenAPI 3.0.x document


------ Content of the folder ------
BwManagementApi.json
BwManagementApi.yaml
LICENSE
openapi-validation.log
README.md
TrafficSteeringApi.json
TrafficSteeringApi.yaml
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] updateGitlabCommitStatus
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // gitlabBuilds
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE