FailedConsole 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-014-pipeline
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
Cloning the remote Git repository
Cloning repository git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git
 > git init /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-014-pipeline # 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/*
 > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > 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
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 f89b803dcb893cd85dfee9350b35e7500c3376b9, 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 1b7fd86ec22366ba540a1592a8fd8d054bae57ce (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1b7fd86ec22366ba540a1592a8fd8d054bae57ce
Commit message: "added openapi-cli image version"
First time build. Skipping changelog.
[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-014-pipeline/apis
[Pipeline] {
[Pipeline] checkout
using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
Cloning the remote Git repository
Cloning repository git@forge.etsi.org:mec/gs014-ue-identity-api.git
 > git init /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-014-pipeline/apis # timeout=10
Fetching upstream changes from git@forge.etsi.org:mec/gs014-ue-identity-api.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git fetch --tags --progress git@forge.etsi.org:mec/gs014-ue-identity-api.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url git@forge.etsi.org:mec/gs014-ue-identity-api.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git@forge.etsi.org:mec/gs014-ue-identity-api.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:mec/gs014-ue-identity-api.git
using GIT_SSH to set credentials 
 > git fetch --tags --progress git@forge.etsi.org:mec/gs014-ue-identity-api.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse f89b803dcb893cd85dfee9350b35e7500c3376b9^{commit} # timeout=10
 > git branch -a -v --no-abbrev --contains f89b803dcb893cd85dfee9350b35e7500c3376b9 # timeout=10
Checking out Revision f89b803dcb893cd85dfee9350b35e7500c3376b9 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f89b803dcb893cd85dfee9350b35e7500c3376b9
Commit message: "Merge branch 'stf606-final' into 'master'"
First time build. Skipping changelog.
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-014-pipeline/scripts
[Pipeline] {
[Pipeline] checkout
using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
Cloning the remote Git repository
Cloning repository git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git
 > git init /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-014-pipeline/scripts # 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/*
 > git config remote.origin.url git@forge.etsi.org:cti/forge-tools/jenkins-scripts-for-openapis.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > 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
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 f89b803dcb893cd85dfee9350b35e7500c3376b9, 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 1b7fd86ec22366ba540a1592a8fd8d054bae57ce (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1b7fd86ec22366ba540a1592a8fd8d054bae57ce
Commit message: "added openapi-cli image version"
[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 ------
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 ./UEidentityAPI.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/UEidentityAPI.yaml... [1] ../specs/UEidentityAPI.yaml:25:5 at #/paths/~1{appInstanceId}~1ue_identity_tag_info/get/summary Operation object should contain `summary` field. 23 | parameters: 24 | - $ref: "#/components/parameters/Path.AppInstanceId" 25 | get: | ^^^ 26 | description: Retrieves information about a specific UeIdentityTagInfo resource 27 | operationId: UeIdentityTagInfo_GET Error was generated by the operation-summary rule. [2] ../specs/UEidentityAPI.yaml:46:5 at #/paths/~1{appInstanceId}~1ue_identity_tag_info/put/summary Operation object should contain `summary` field. 44 | "404": 45 | $ref: '#/components/responses/Error.404' 46 | put: | ^^^ 47 | description: Register/De-register the information about specific a UeIdentityTagInfo 48 | resource Error was generated by the operation-summary rule. [3] ../specs/UEidentityAPI.yaml:20:5 at #/tags/0/description Tag object should contain `description` field. 18 | - url: https://127.0.0.1:8081/ui/v1 19 | tags: 20 | - name: ueIdentityTagInfo | ^^^^^^^^^^^^^^^^^^^^^^^ 21 | paths: 22 | "/{appInstanceId}/ue_identity_tag_info": Warning was generated by the tag-description rule. s/UEidentityAPI.yaml: validated in 75ms ❌ Validation failed with 2 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./UEidentityAPI.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/UEidentityAPI.json... [1] ../specs/UEidentityAPI.json:35:4 at #/paths/~1{appInstanceId}~1ue_identity_tag_info/get/summary Operation object should contain `summary` field. 33 | "$ref": "#/components/parameters/Path.AppInstanceId" 34 | }], 35 | "get": { | ^^^^^ 36 | "description": "Retrieves information about a specific UeIdentityTagInfo resource", 37 | "operationId": "UeIdentityTagInfo_GET", Error was generated by the operation-summary rule. [2] ../specs/UEidentityAPI.json:66:4 at #/paths/~1{appInstanceId}~1ue_identity_tag_info/put/summary Operation object should contain `summary` field. 64 | } 65 | }, 66 | "put": { | ^^^^^ 67 | "description": "Register/De-register the information about specific a UeIdentityTagInfo resource", 68 | "operationId": "UeIdentityTagInfo_PUT", Error was generated by the operation-summary rule. [3] ../specs/UEidentityAPI.json:27:11 at #/tags/0/description Tag object should contain `description` field. 25 | "url": "https://127.0.0.1:8081/ui/v1" 26 | }], 27 | "tags": [{ | ^ 28 | "name": "ueIdentityTagInfo" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 29 | }], | ^^ 30 | "paths": { 31 | "/{appInstanceId}/ue_identity_tag_info": { Warning was generated by the tag-description rule. s/UEidentityAPI.json: validated in 85ms ❌ Validation failed with 2 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.


---- Complete log of validation ----
---- Validating ./UEidentityAPI.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/UEidentityAPI.yaml... [1] ../specs/UEidentityAPI.yaml:25:5 at #/paths/~1{appInstanceId}~1ue_identity_tag_info/get/summary Operation object should contain `summary` field. 23 | parameters: 24 | - $ref: "#/components/parameters/Path.AppInstanceId" 25 | get: | ^^^ 26 | description: Retrieves information about a specific UeIdentityTagInfo resource 27 | operationId: UeIdentityTagInfo_GET Error was generated by the operation-summary rule. [2] ../specs/UEidentityAPI.yaml:46:5 at #/paths/~1{appInstanceId}~1ue_identity_tag_info/put/summary Operation object should contain `summary` field. 44 | "404": 45 | $ref: '#/components/responses/Error.404' 46 | put: | ^^^ 47 | description: Register/De-register the information about specific a UeIdentityTagInfo 48 | resource Error was generated by the operation-summary rule. [3] ../specs/UEidentityAPI.yaml:20:5 at #/tags/0/description Tag object should contain `description` field. 18 | - url: https://127.0.0.1:8081/ui/v1 19 | tags: 20 | - name: ueIdentityTagInfo | ^^^^^^^^^^^^^^^^^^^^^^^ 21 | paths: 22 | "/{appInstanceId}/ue_identity_tag_info": Warning was generated by the tag-description rule. s/UEidentityAPI.yaml: validated in 75ms ❌ Validation failed with 2 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./UEidentityAPI.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/UEidentityAPI.json... [1] ../specs/UEidentityAPI.json:35:4 at #/paths/~1{appInstanceId}~1ue_identity_tag_info/get/summary Operation object should contain `summary` field. 33 | "$ref": "#/components/parameters/Path.AppInstanceId" 34 | }], 35 | "get": { | ^^^^^ 36 | "description": "Retrieves information about a specific UeIdentityTagInfo resource", 37 | "operationId": "UeIdentityTagInfo_GET", Error was generated by the operation-summary rule. [2] ../specs/UEidentityAPI.json:66:4 at #/paths/~1{appInstanceId}~1ue_identity_tag_info/put/summary Operation object should contain `summary` field. 64 | } 65 | }, 66 | "put": { | ^^^^^ 67 | "description": "Register/De-register the information about specific a UeIdentityTagInfo resource", 68 | "operationId": "UeIdentityTagInfo_PUT", Error was generated by the operation-summary rule. [3] ../specs/UEidentityAPI.json:27:11 at #/tags/0/description Tag object should contain `description` field. 25 | "url": "https://127.0.0.1:8081/ui/v1" 26 | }], 27 | "tags": [{ | ^ 28 | "name": "ueIdentityTagInfo" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 29 | }], | ^^ 30 | "paths": { 31 | "/{appInstanceId}/ue_identity_tag_info": { Warning was generated by the tag-description rule. s/UEidentityAPI.json: validated in 85ms ❌ Validation failed with 2 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.


------ Content of the folder ------
LICENSE
openapi-validation.log
README.md
UEidentityAPI.json
UEidentityAPI.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