Console 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 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 3234b49368db6b182e271c7ec101c69fa5f411b0 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 3234b49368db6b182e271c7ec101c69fa5f411b0
Commit message: "Update cli-validate-openapis-mec.sh"
> git rev-list --no-walk ac6ae61be27d668006a50f4b595259975edfa092 # 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 3234b49368db6b182e271c7ec101c69fa5f411b0 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 3234b49368db6b182e271c7ec101c69fa5f411b0
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 db93f8d654ea: Waiting 83dd7442a1f9: Waiting 5b1716ddfcd1: Waiting 23454f8ba6f8: Waiting a63c4e8701fb: Waiting 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 bc7f0241b962: Waiting 7261be4a2f8c: Waiting ee8568a92012: Waiting 224804894d82: Waiting 08f5942d87cd: Waiting c3f98107bf94: Verifying Checksum c3f98107bf94: Download complete df9b9388f04a: Verifying Checksum df9b9388f04a: 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: Verifying Checksum 62f6113b2624: Download complete a63c4e8701fb: Verifying Checksum a63c4e8701fb: Download complete afd3312b4db8: Verifying Checksum afd3312b4db8: Download complete 7261be4a2f8c: Verifying Checksum 7261be4a2f8c: Download complete ee8568a92012: Verifying Checksum ee8568a92012: 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 105ms 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 103ms Woohoo! Your OpenAPI definition is valid. 🎉 You have 1 warning.
---- Validating ./BwManagementApi.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/BwManagementApi.json... [1] ../specs/BwManagementApi.json:25:5 at #/tags/0/description Tag object should contain `description` field. 23 | ], 24 | "tags": [ 25 | { | ^ 26 | "name": "bwm" | ^^^^^^^^^^^^^ 27 | } | ^ 28 | ], 29 | "paths": { Warning was generated by the tag-description rule. s/BwManagementApi.json: validated in 109ms Woohoo! Your OpenAPI definition is valid. 🎉 You have 1 warning.
---- Validating ./TrafficSteeringApi.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/TrafficSteeringApi.json... [1] ../specs/TrafficSteeringApi.json:25:5 at #/tags/0/description Tag object should contain `description` field. 23 | ], 24 | "tags": [ 25 | { | ^ 26 | "name": "mts" | ^^^^^^^^^^^^^ 27 | } | ^ 28 | ], 29 | "paths": { Warning was generated by the tag-description rule. s/TrafficSteeringApi.json: validated in 108ms 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