Console Output
Triggered by GitLab Merge Request #11: MEC - Multi-access Edge Computing/stf606-final => master
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-028
[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 85bef031b3bb4b4fff83ab90a587c42949a59650, 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 fe946f61cf4bd9fe98fecb3b354ab5a44592df04 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f fe946f61cf4bd9fe98fecb3b354ab5a44592df04
Commit message: "Update cli-validate-openapis-mec.sh"
> git rev-list --no-walk fe946f61cf4bd9fe98fecb3b354ab5a44592df04 # 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-028/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/gs028-wai-api.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:mec/gs028-wai-api.git
> git --version # timeout=10
using GIT_SSH to set credentials
> git fetch --tags --progress git@forge.etsi.org:mec/gs028-wai-api.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse 85bef031b3bb4b4fff83ab90a587c42949a59650^{commit} # timeout=10
> git branch -a -v --no-abbrev --contains 85bef031b3bb4b4fff83ab90a587c42949a59650 # timeout=10
Merging Revision 85bef031b3bb4b4fff83ab90a587c42949a59650 (origin/stf606-final) to origin/master, UserMergeOptions{mergeRemote='origin', mergeTarget='master', mergeStrategy='default', fastForwardMode='--ff'}
> git rev-parse origin/master^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f origin/master
> git merge --ff 85bef031b3bb4b4fff83ab90a587c42949a59650 # timeout=10
> git rev-parse HEAD^{commit} # timeout=10
Seen branch in repository origin/develop
Seen branch in repository origin/master
Seen branch in repository origin/stf606-draft
Seen branch in repository origin/stf606-final
Seen 4 remote branches
> git show-ref --tags -d # timeout=10
Checking out Revision 85bef031b3bb4b4fff83ab90a587c42949a59650 (origin/stf606-final, origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 85bef031b3bb4b4fff83ab90a587c42949a59650
Commit message: "Update README.md"
> git rev-list --no-walk 85bef031b3bb4b4fff83ab90a587c42949a59650 # timeout=10
> git rev-list --no-walk 85bef031b3bb4b4fff83ab90a587c42949a59650 # timeout=10
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-028/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 85bef031b3bb4b4fff83ab90a587c42949a59650, 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 fe946f61cf4bd9fe98fecb3b354ab5a44592df04 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f fe946f61cf4bd9fe98fecb3b354ab5a44592df04
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 ./WlanInformationApi.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/WlanInformationApi.json... [1] ../specs/WlanInformationApi.json:2578:7 at #/components/schemas/ExpiryNotification Component: "ExpiryNotification" is never used. 2576 | } 2577 | }, 2578 | "ExpiryNotification": { | ^^^^^^^^^^^^^^^^^^^^ 2579 | "title": "ExpiryNotification", 2580 | "required": [ Warning was generated by the no-unused-components rule. [2] ../specs/WlanInformationApi.json:3682:7 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 3680 | } 3681 | }, 3682 | "TestNotification": { | ^^^^^^^^^^^^^^^^^^ 3683 | "title": "TestNotification", 3684 | "required": [ Warning was generated by the no-unused-components rule. s/WlanInformationApi.json: validated in 281ms Woohoo! Your OpenAPI definition is valid. 🎉 You have 2 warnings.
---- Validating ./WlanInformationApi.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/WlanInformationApi.yaml... [1] ../specs/WlanInformationApi.yaml:1794:5 at #/components/schemas/ExpiryNotification Component: "ExpiryNotification" is never used. 1792 | description: Training parameters as defined in draft IEEE P802.11ay [i.11] 1793 | contentEncoding: int32 1794 | ExpiryNotification: | ^^^^^^^^^^^^^^^^^^ 1795 | title: ExpiryNotification 1796 | required: Warning was generated by the no-unused-components rule. [2] ../specs/WlanInformationApi.yaml:2641:5 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 2639 | $ref: '#/components/schemas/Subscription' 2640 | description: '' 2641 | TestNotification: | ^^^^^^^^^^^^^^^^ 2642 | title: TestNotification 2643 | required: Warning was generated by the no-unused-components rule. s/WlanInformationApi.yaml: validated in 293ms Woohoo! Your OpenAPI definition is valid. 🎉 You have 2 warnings.
------ Content of the folder ------
LICENSE
openapi-validation.log
proto3
README.md
WlanInformationApi.json
WlanInformationApi.yaml
[Pipeline] updateGitlabCommitStatus
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // gitlabBuilds
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS