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 build.forge.etsi.org in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-021-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-021-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 3f90c9a842b28733c3a2e01107ad6e68d9c64a72, 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-021-pipeline/apis
[Pipeline] {
[Pipeline] checkout
using credential f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e
Cloning the remote Git repository
Cloning repository git@forge.etsi.org:mec/gs021-amsi-api.git
 > git init /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-021-pipeline/apis # timeout=10
Fetching upstream changes from git@forge.etsi.org:mec/gs021-amsi-api.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git fetch --tags --progress git@forge.etsi.org:mec/gs021-amsi-api.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url git@forge.etsi.org:mec/gs021-amsi-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/gs021-amsi-api.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:mec/gs021-amsi-api.git
using GIT_SSH to set credentials 
 > git fetch --tags --progress git@forge.etsi.org:mec/gs021-amsi-api.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse 3f90c9a842b28733c3a2e01107ad6e68d9c64a72^{commit} # timeout=10
 > git branch -a -v --no-abbrev --contains 3f90c9a842b28733c3a2e01107ad6e68d9c64a72 # timeout=10
Checking out Revision 3f90c9a842b28733c3a2e01107ad6e68d9c64a72 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3f90c9a842b28733c3a2e01107ad6e68d9c64a72
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-021-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-021-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 3f90c9a842b28733c3a2e01107ad6e68d9c64a72, 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 ./MEC021_AppMobilityService.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC021_AppMobilityService.yaml... [1] ../specs/MEC021_AppMobilityService.yaml:1129:17 at #/components/schemas/MobilityProcedureSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1127 | $ref: '#/components/schemas/MobilityProcedureSubscription.links' 1128 | callbackReference: 1129 | type: uri | ^^^ 1130 | description: URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall b...<34 chars> 1131 | requestTestNotification: Error was generated by the spec rule. [2] ../specs/MEC021_AppMobilityService.yaml:1114:17 at #/components/schemas/WebsockNotifConfig/properties/websocketUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1112 | websocketUri: 1113 | description: Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications. 1114 | type: uri | ^^^ 1115 | requestWebsocketUri: 1116 | type: boolean Error was generated by the spec rule. [3] ../specs/MEC021_AppMobilityService.yaml:1009:17 at #/components/schemas/AdjacentAppInfoSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1007 | $ref: '#/components/schemas/AdjacentAppInfoSubscription.links' 1008 | callbackReference: 1009 | type: uri | ^^^ 1010 | description: URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall b...<34 chars> 1011 | requestTestNotification: Error was generated by the spec rule. [4] ../specs/MEC021_AppMobilityService.yaml:1242:5 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 1240 | description: The boundary value setting in the subscription request. 1241 | $ref: '#/components/schemas/TimeStamp' 1242 | TestNotification: | ^^^^^^^^^^^^^^^^ 1243 | title: TestNotification 1244 | required: Warning was generated by the no-unused-components rule. s/MEC021_AppMobilityService.yaml: validated in 241ms ❌ Validation failed with 3 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC021_AppMobilityService.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC021_AppMobilityService.json... [1] ../specs/MEC021_AppMobilityService.json:1714:21 at #/components/schemas/MobilityProcedureSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1712 | }, 1713 | "callbackReference": { 1714 | "type": "uri", | ^^^^^ 1715 | "description": "URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shal...<38 chars> 1716 | }, Error was generated by the spec rule. [2] ../specs/MEC021_AppMobilityService.json:1694:21 at #/components/schemas/WebsockNotifConfig/properties/websocketUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1692 | "websocketUri": { 1693 | "description": "Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications.", 1694 | "type": "uri" | ^^^^^ 1695 | }, 1696 | "requestWebsocketUri": { Error was generated by the spec rule. [3] ../specs/MEC021_AppMobilityService.json:1549:21 at #/components/schemas/AdjacentAppInfoSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1547 | }, 1548 | "callbackReference": { 1549 | "type": "uri", | ^^^^^ 1550 | "description": "URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shal...<38 chars> 1551 | }, Error was generated by the spec rule. [4] ../specs/MEC021_AppMobilityService.json:1871:7 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 1869 | } 1870 | }, 1871 | "TestNotification": { | ^^^^^^^^^^^^^^^^^^ 1872 | "title": "TestNotification", 1873 | "required": [ Warning was generated by the no-unused-components rule. s/MEC021_AppMobilityService.json: validated in 207ms ❌ Validation failed with 3 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.


---- Complete log of validation ----
---- Validating ./MEC021_AppMobilityService.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC021_AppMobilityService.yaml... [1] ../specs/MEC021_AppMobilityService.yaml:1129:17 at #/components/schemas/MobilityProcedureSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1127 | $ref: '#/components/schemas/MobilityProcedureSubscription.links' 1128 | callbackReference: 1129 | type: uri | ^^^ 1130 | description: URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall b...<34 chars> 1131 | requestTestNotification: Error was generated by the spec rule. [2] ../specs/MEC021_AppMobilityService.yaml:1114:17 at #/components/schemas/WebsockNotifConfig/properties/websocketUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1112 | websocketUri: 1113 | description: Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications. 1114 | type: uri | ^^^ 1115 | requestWebsocketUri: 1116 | type: boolean Error was generated by the spec rule. [3] ../specs/MEC021_AppMobilityService.yaml:1009:17 at #/components/schemas/AdjacentAppInfoSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1007 | $ref: '#/components/schemas/AdjacentAppInfoSubscription.links' 1008 | callbackReference: 1009 | type: uri | ^^^ 1010 | description: URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shall b...<34 chars> 1011 | requestTestNotification: Error was generated by the spec rule. [4] ../specs/MEC021_AppMobilityService.yaml:1242:5 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 1240 | description: The boundary value setting in the subscription request. 1241 | $ref: '#/components/schemas/TimeStamp' 1242 | TestNotification: | ^^^^^^^^^^^^^^^^ 1243 | title: TestNotification 1244 | required: Warning was generated by the no-unused-components rule. s/MEC021_AppMobilityService.yaml: validated in 241ms ❌ Validation failed with 3 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC021_AppMobilityService.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC021_AppMobilityService.json... [1] ../specs/MEC021_AppMobilityService.json:1714:21 at #/components/schemas/MobilityProcedureSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1712 | }, 1713 | "callbackReference": { 1714 | "type": "uri", | ^^^^^ 1715 | "description": "URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shal...<38 chars> 1716 | }, Error was generated by the spec rule. [2] ../specs/MEC021_AppMobilityService.json:1694:21 at #/components/schemas/WebsockNotifConfig/properties/websocketUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1692 | "websocketUri": { 1693 | "description": "Set by AMS to indicate to the service consumer the Websocket URI to be used for delivering notifications.", 1694 | "type": "uri" | ^^^^^ 1695 | }, 1696 | "requestWebsocketUri": { Error was generated by the spec rule. [3] ../specs/MEC021_AppMobilityService.json:1549:21 at #/components/schemas/AdjacentAppInfoSubscription/properties/callbackReference/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1547 | }, 1548 | "callbackReference": { 1549 | "type": "uri", | ^^^^^ 1550 | "description": "URI selected by the service consumer to receive notifications on the subscribed Application Mobility Service. This shal...<38 chars> 1551 | }, Error was generated by the spec rule. [4] ../specs/MEC021_AppMobilityService.json:1871:7 at #/components/schemas/TestNotification Component: "TestNotification" is never used. 1869 | } 1870 | }, 1871 | "TestNotification": { | ^^^^^^^^^^^^^^^^^^ 1872 | "title": "TestNotification", 1873 | "required": [ Warning was generated by the no-unused-components rule. s/MEC021_AppMobilityService.json: validated in 207ms ❌ Validation failed with 3 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.


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