FailedConsole Output

Triggered by GitLab Merge Request #7: MEC - Multi-access Edge Computing/stf606-draft => stf606-final
Obtained Jenkinsfile from git git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] node
Running on build.forge.etsi.org in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-029
[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 ddc0355a977eb797b22dfb665a11451adcb7b07e, 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 0efd28309b6b5f46943eb97cb68e620e2f585b54 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] gitlabBuilds
[Pipeline] {
Failed to update Gitlab commit status for project '356': HTTP 400 Bad Request
[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-029/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/gs029-fai-api.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:mec/gs029-fai-api.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git fetch --tags --progress git@forge.etsi.org:mec/gs029-fai-api.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse ddc0355a977eb797b22dfb665a11451adcb7b07e^{commit} # timeout=10
 > git branch -a -v --no-abbrev --contains ddc0355a977eb797b22dfb665a11451adcb7b07e # timeout=10
Checking out Revision ddc0355a977eb797b22dfb665a11451adcb7b07e (origin/stf606-draft, origin/stf606-final)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ddc0355a977eb797b22dfb665a11451adcb7b07e
Commit message: "Minor issues fixed."
 > git rev-list --no-walk ddc0355a977eb797b22dfb665a11451adcb7b07e # timeout=10
 > git rev-list --no-walk d1410b4ef6f20e5d3da154102b1a6c9483879821 # timeout=10
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-029/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 ddc0355a977eb797b22dfb665a11451adcb7b07e, 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.sh ./apis
------ Switching to ./apis folder --------
------ Content of the folder ------
LICENSE
MEC029_FAI.json
MEC029_FAI.yaml
proto3
README.md
------ Validating all YAML files ------
-- Validating and linting OpenAPI file MEC029_FAI.json...
(node:4951) ExperimentalWarning: The fs.promises API is experimental
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
--- Validator returned 1, linter returned 1.
-- Validating and linting OpenAPI file MEC029_FAI.yaml...
(node:4974) ExperimentalWarning: The fs.promises API is experimental
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
--- Validator returned 1, linter returned 1.
-- Final validation returns 1.
[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