SuccessConsole Output

Started by GitLab push by Laurent Velez
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 build.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 ac6ae61be27d668006a50f4b595259975edfa092 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ac6ae61be27d668006a50f4b595259975edfa092
Commit message: "Update cli-validate-openapis-mec.sh"
 > git rev-list --no-walk 0efd28309b6b5f46943eb97cb68e620e2f585b54 # 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 ac6ae61be27d668006a50f4b595259975edfa092 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ac6ae61be27d668006a50f4b595259975edfa092
Commit message: "Update cli-validate-openapis-mec.sh"
[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 0.
No errors found, all files validate the OpenAPI definition. Below the complete log.

---- Complete log of validation ----
---- Validating ./BwManagementApi.yaml: Unable to find image 'redocly/openapi-cli:latest' locally latest: Pulling from redocly/openapi-cli df9b9388f04a: Pulling fs layer 62f6113b2624: Pulling fs layer c3f98107bf94: Pulling fs layer db93f8d654ea: Pulling fs layer 83dd7442a1f9: Pulling fs layer 5b1716ddfcd1: Pulling fs layer 23454f8ba6f8: Pulling fs layer a63c4e8701fb: Pulling fs layer afd3312b4db8: Pulling fs layer bc7f0241b962: Pulling fs layer 7261be4a2f8c: Pulling fs layer ee8568a92012: Pulling fs layer 224804894d82: Pulling fs layer 08f5942d87cd: Pulling fs layer 2a4bd5f5ffb0: Pulling fs layer e85308a2bcc2: Pulling fs layer afd3312b4db8: Waiting bc7f0241b962: Waiting 7261be4a2f8c: Waiting ee8568a92012: Waiting 224804894d82: Waiting 08f5942d87cd: Waiting 2a4bd5f5ffb0: Waiting e85308a2bcc2: Waiting db93f8d654ea: Waiting 83dd7442a1f9: Waiting 5b1716ddfcd1: Waiting a63c4e8701fb: Waiting 23454f8ba6f8: Waiting df9b9388f04a: Download complete c3f98107bf94: Verifying Checksum c3f98107bf94: Download complete df9b9388f04a: Pull complete db93f8d654ea: Verifying Checksum db93f8d654ea: Download complete 83dd7442a1f9: Verifying Checksum 83dd7442a1f9: Download complete 5b1716ddfcd1: Verifying Checksum 5b1716ddfcd1: Download complete 23454f8ba6f8: Verifying Checksum 23454f8ba6f8: Download complete 62f6113b2624: Download complete afd3312b4db8: Download complete a63c4e8701fb: Verifying Checksum a63c4e8701fb: Download complete ee8568a92012: Verifying Checksum ee8568a92012: Download complete 7261be4a2f8c: Verifying Checksum 7261be4a2f8c: Download complete 08f5942d87cd: Verifying Checksum 08f5942d87cd: Download complete 224804894d82: Verifying Checksum 224804894d82: Download complete 2a4bd5f5ffb0: Verifying Checksum 2a4bd5f5ffb0: Download complete e85308a2bcc2: Verifying Checksum e85308a2bcc2: Download complete bc7f0241b962: Verifying Checksum bc7f0241b962: Download complete 62f6113b2624: Pull complete c3f98107bf94: Pull complete db93f8d654ea: Pull complete 83dd7442a1f9: Pull complete 5b1716ddfcd1: Pull complete 23454f8ba6f8: Pull complete a63c4e8701fb: Pull complete afd3312b4db8: Pull complete bc7f0241b962: Pull complete 7261be4a2f8c: Pull complete ee8568a92012: Pull complete 224804894d82: Pull complete 08f5942d87cd: Pull complete 2a4bd5f5ffb0: Pull complete e85308a2bcc2: Pull complete Digest: sha256:a64711145258786171038367d251f0db715c2f9c22d022ee37d4f46b312927f1 Status: Downloaded newer image for redocly/openapi-cli:latest No configurations were defined in extends -- using built in recommended configuration by default. validating s/BwManagementApi.yaml... [1] ../specs/BwManagementApi.yaml:20:3 at #/tags/0/description Tag object should contain `description` field. 18 | 19 | tags: 20 | - name: "bwm" | ^^^^^^^^^^^ 21 | 22 | paths: Warning was generated by the tag-description rule. s/BwManagementApi.yaml: validated in 107ms Woohoo! Your OpenAPI definition is valid. 🎉 You have 1 warning.
---- Validating ./TrafficSteeringApi.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/TrafficSteeringApi.yaml... [1] ../specs/TrafficSteeringApi.yaml:20:3 at #/tags/0/description Tag object should contain `description` field. 18 | 19 | tags: 20 | - name: "mts" | ^^^^^^^^^^^ 21 | 22 | paths: Warning was generated by the tag-description rule. s/TrafficSteeringApi.yaml: validated in 119ms Woohoo! Your OpenAPI definition is valid. 🎉 You have 1 warning.


------ Content of the folder ------
BwManagementApi.json
BwManagementApi.yaml
LICENSE
openapi-validation.log
README.md
TrafficSteeringApi.json
TrafficSteeringApi.yaml
[Pipeline] updateGitlabCommitStatus
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // gitlabBuilds
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS