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-010-2-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 2aabbb8d6f54e1d5b6d55c331fda9bd3814c08f9 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2aabbb8d6f54e1d5b6d55c331fda9bd3814c08f9
Commit message: "Update cli-validate-openapis-mec.sh"
 > git rev-list --no-walk 2aabbb8d6f54e1d5b6d55c331fda9bd3814c08f9 # 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-010-2-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/gs010-2-app-pkg-lcm-api.git # timeout=10
Fetching upstream changes from git@forge.etsi.org:mec/gs010-2-app-pkg-lcm-api.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git fetch --tags --progress git@forge.etsi.org:mec/gs010-2-app-pkg-lcm-api.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse remotes/origin/master^{commit} # timeout=10
 > git branch -a -v --no-abbrev --contains 4eb20ca8ffcc9e7eaad8fbfd83495a2c909526d3 # timeout=10
Checking out Revision 4eb20ca8ffcc9e7eaad8fbfd83495a2c909526d3 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4eb20ca8ffcc9e7eaad8fbfd83495a2c909526d3
Commit message: "Merge branch 'stf606-final' into 'master'"
 > git rev-list --no-walk 4eb20ca8ffcc9e7eaad8fbfd83495a2c909526d3 # timeout=10
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/jenkins/workspace/MEC - Multi-access Edge Computing/mec-gs-010-2-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 2aabbb8d6f54e1d5b6d55c331fda9bd3814c08f9 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2aabbb8d6f54e1d5b6d55c331fda9bd3814c08f9
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 1.
Some errors found, see below the details.

---- Errors detected ----
---- Validating ./MEC010-2_AppGrant.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppGrant.yaml... [1] ../specs/MEC010-2_AppGrant.yaml:636:11 at #/components/schemas/ZoneInfo/properties/vimConnectionId/description Expected type `string` but got `null`. 634 | vimConnectionId: 635 | type: string 636 | description: | ^^^^^^^^^^^^ 637 | zoneId: 638 | type: string Error was generated by the spec rule. s/MEC010-2_AppGrant.yaml: validated in 131ms ❌ Validation failed with 1 error. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010-2_AppLcm.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppLcm.yaml... [1] ../specs/MEC010-2_AppLcm.yaml:1439:21 at #/components/schemas/AppInstanceSubscriptionLinkList._links.subscriptions/properties/href/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1437 | properties: 1438 | href: 1439 | type: uri | ^^^ 1440 | subscriptionType: 1441 | $ref: '#/components/schemas/AppInstanceSubscriptionType' Error was generated by the spec rule. [2] ../specs/MEC010-2_AppLcm.yaml:1479:17 at #/components/schemas/AppInstIdCreationSubscriptionRequest/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1477 | type: string 1478 | callbackUri: 1479 | type: uri | ^^^ 1480 | appInstanceSubscriptionFilter: 1481 | $ref: '#/components/schemas/AppInstanceSubscriptionFilter' Error was generated by the spec rule. [3] ../specs/MEC010-2_AppLcm.yaml:1495:17 at #/components/schemas/AppInstIdDeletionSubscriptionRequest/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1493 | description: Shall be set to "AppIdentifierDeletionSubscription". 1494 | callbackUri: 1495 | type: uri | ^^^ 1496 | appInstanceSubscriptionFilter: 1497 | $ref: '#/components/schemas/AppInstanceSubscriptionFilter' Error was generated by the spec rule. [4] ../specs/MEC010-2_AppLcm.yaml:1512:17 at #/components/schemas/AppInstIdCreationSubscriptionInfo/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1510 | type: string 1511 | callbackUri: 1512 | type: uri | ^^^ 1513 | appInstanceSubscriptionFilter: 1514 | $ref: '#/components/schemas/AppInstanceSubscriptionFilter' Error was generated by the spec rule. [5] ../specs/MEC010-2_AppLcm.yaml:1539:17 at #/components/schemas/AppInstIdDeletionSubscriptionInfo/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1537 | description: Shall be set to "AppIdentifierDeletionSubscription". 1538 | callbackUri: 1539 | type: uri | ^^^ 1540 | appInstanceSubscriptionFilter: 1541 | $ref: '#/components/schemas/AppInstanceSubscriptionFilter' Error was generated by the spec rule. [6] ../specs/MEC010-2_AppLcm.yaml:417:15 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1callbackUri}/post/responses Operation must have at least one `4xx` response. 415 | - $ref: '#/components/schemas/AppInstNotification' 416 | - $ref: '#/components/schemas/AppLcmOpOccNotification' 417 | responses: | ^^^^^^^^^ 418 | '204': 419 | description: "No content" Warning was generated by the operation-4xx-response rule. s/MEC010-2_AppLcm.yaml: validated in 281ms ❌ Validation failed with 5 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010-2_AppPkgMgmt.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppPkgMgmt.yaml... [1] ../specs/MEC010-2_AppPkgMgmt.yaml:2052:17 at #/components/schemas/CreateAppPkg/properties/appPkgPath/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2050 | description: Name of the application package to be onboarded. 2051 | appPkgPath: 2052 | type: uri | ^^^ 2053 | appPkgVersion: 2054 | type: string Error was generated by the spec rule. [2] ../specs/MEC010-2_AppPkgMgmt.yaml:858:15 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1subscription.href}/post/responses Operation must have at least one `4xx` response. 856 | schema: 857 | $ref: '#/components/schemas/AppPkgNotification' 858 | responses: | ^^^^^^^^^ 859 | '204': 860 | description: "No content" Warning was generated by the operation-4xx-response rule. s/MEC010-2_AppPkgMgmt.yaml: validated in 253ms ❌ Validation failed with 1 error and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010p2_v221_definitions.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010p2_v221_definitions.yaml... Something went wrong when processing /specs/MEC010p2_v221_definitions.yaml: - This doesn’t look like an OpenAPI document. . /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20 throw new Error('This doesn’t look like an OpenAPI document.
'); ^ Error: This doesn’t look like an OpenAPI document. at Object.detectOpenAPI (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20:15) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:47:40 at Generator.next (<anonymous>) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:4:12) at lintDocument (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:44:12) at Object.<anonymous> (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:31:16) at Generator.next (<anonymous>) at fulfilled (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:5:58) Node.js v17.8.0
---- Validating ./MEC010-2_AppGrant.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppGrant.json... [1] ../specs/MEC010-2_AppGrant.json:896:28 at #/components/schemas/ZoneInfo/properties/vimConnectionId/description Expected type `string` but got `null`. 894 | "vimConnectionId": { 895 | "type": "string", 896 | "description": null | ^^^^ 897 | }, 898 | "zoneId": { Error was generated by the spec rule. s/MEC010-2_AppGrant.json: validated in 127ms ❌ Validation failed with 1 error. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010-2_AppLcm.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppLcm.json... [1] ../specs/MEC010-2_AppLcm.json:2198:21 at #/components/schemas/AppInstanceSubscriptionLinkList._links.subscriptions/properties/href/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2196 | "properties": { 2197 | "href": { 2198 | "type": "uri" | ^^^^^ 2199 | }, 2200 | "subscriptionType": { Error was generated by the spec rule. [2] ../specs/MEC010-2_AppLcm.json:2247:21 at #/components/schemas/AppInstIdCreationSubscriptionRequest/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2245 | }, 2246 | "callbackUri": { 2247 | "type": "uri" | ^^^^^ 2248 | }, 2249 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [3] ../specs/MEC010-2_AppLcm.json:2266:21 at #/components/schemas/AppInstIdDeletionSubscriptionRequest/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2264 | }, 2265 | "callbackUri": { 2266 | "type": "uri" | ^^^^^ 2267 | }, 2268 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [4] ../specs/MEC010-2_AppLcm.json:2289:21 at #/components/schemas/AppInstIdCreationSubscriptionInfo/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2287 | }, 2288 | "callbackUri": { 2289 | "type": "uri" | ^^^^^ 2290 | }, 2291 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [5] ../specs/MEC010-2_AppLcm.json:2324:21 at #/components/schemas/AppInstIdDeletionSubscriptionInfo/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2322 | }, 2323 | "callbackUri": { 2324 | "type": "uri" | ^^^^^ 2325 | }, 2326 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [6] ../specs/MEC010-2_AppLcm.json:646:17 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1callbackUri}/post/responses Operation must have at least one `4xx` response. 644 | } 645 | }, 646 | "responses": { | ^^^^^^^^^^^ 647 | "204": { 648 | "description": "No content" Warning was generated by the operation-4xx-response rule. s/MEC010-2_AppLcm.json: validated in 263ms ❌ Validation failed with 5 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010-2_AppPkgMgmt.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppPkgMgmt.json... [1] ../specs/MEC010-2_AppPkgMgmt.json:3008:21 at #/components/schemas/CreateAppPkg/properties/appPkgPath/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 3006 | }, 3007 | "appPkgPath": { 3008 | "type": "uri" | ^^^^^ 3009 | }, 3010 | "appPkgVersion": { Error was generated by the spec rule. [2] ../specs/MEC010-2_AppPkgMgmt.json:1294:17 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1subscription.href}/post/responses Operation must have at least one `4xx` response. 1292 | } 1293 | }, 1294 | "responses": { | ^^^^^^^^^^^ 1295 | "204": { 1296 | "description": "No content" Warning was generated by the operation-4xx-response rule. s/MEC010-2_AppPkgMgmt.json: validated in 219ms ❌ Validation failed with 1 error and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010p2_v221_definitions.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010p2_v221_definitions.json... Something went wrong when processing /specs/MEC010p2_v221_definitions.json: - This doesn’t look like an OpenAPI document. . /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20 throw new Error('This doesn’t look like an OpenAPI document.
'); ^ Error: This doesn’t look like an OpenAPI document. at Object.detectOpenAPI (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20:15) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:47:40 at Generator.next (<anonymous>) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:4:12) at lintDocument (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:44:12) at Object.<anonymous> (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:31:16) at Generator.next (<anonymous>) at fulfilled (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:5:58) Node.js v17.8.0


---- Complete log of validation ----
---- Validating ./MEC010-2_AppGrant.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppGrant.yaml... [1] ../specs/MEC010-2_AppGrant.yaml:636:11 at #/components/schemas/ZoneInfo/properties/vimConnectionId/description Expected type `string` but got `null`. 634 | vimConnectionId: 635 | type: string 636 | description: | ^^^^^^^^^^^^ 637 | zoneId: 638 | type: string Error was generated by the spec rule. s/MEC010-2_AppGrant.yaml: validated in 131ms ❌ Validation failed with 1 error. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010-2_AppLcm.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppLcm.yaml... [1] ../specs/MEC010-2_AppLcm.yaml:1439:21 at #/components/schemas/AppInstanceSubscriptionLinkList._links.subscriptions/properties/href/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1437 | properties: 1438 | href: 1439 | type: uri | ^^^ 1440 | subscriptionType: 1441 | $ref: '#/components/schemas/AppInstanceSubscriptionType' Error was generated by the spec rule. [2] ../specs/MEC010-2_AppLcm.yaml:1479:17 at #/components/schemas/AppInstIdCreationSubscriptionRequest/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1477 | type: string 1478 | callbackUri: 1479 | type: uri | ^^^ 1480 | appInstanceSubscriptionFilter: 1481 | $ref: '#/components/schemas/AppInstanceSubscriptionFilter' Error was generated by the spec rule. [3] ../specs/MEC010-2_AppLcm.yaml:1495:17 at #/components/schemas/AppInstIdDeletionSubscriptionRequest/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1493 | description: Shall be set to "AppIdentifierDeletionSubscription". 1494 | callbackUri: 1495 | type: uri | ^^^ 1496 | appInstanceSubscriptionFilter: 1497 | $ref: '#/components/schemas/AppInstanceSubscriptionFilter' Error was generated by the spec rule. [4] ../specs/MEC010-2_AppLcm.yaml:1512:17 at #/components/schemas/AppInstIdCreationSubscriptionInfo/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1510 | type: string 1511 | callbackUri: 1512 | type: uri | ^^^ 1513 | appInstanceSubscriptionFilter: 1514 | $ref: '#/components/schemas/AppInstanceSubscriptionFilter' Error was generated by the spec rule. [5] ../specs/MEC010-2_AppLcm.yaml:1539:17 at #/components/schemas/AppInstIdDeletionSubscriptionInfo/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 1537 | description: Shall be set to "AppIdentifierDeletionSubscription". 1538 | callbackUri: 1539 | type: uri | ^^^ 1540 | appInstanceSubscriptionFilter: 1541 | $ref: '#/components/schemas/AppInstanceSubscriptionFilter' Error was generated by the spec rule. [6] ../specs/MEC010-2_AppLcm.yaml:417:15 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1callbackUri}/post/responses Operation must have at least one `4xx` response. 415 | - $ref: '#/components/schemas/AppInstNotification' 416 | - $ref: '#/components/schemas/AppLcmOpOccNotification' 417 | responses: | ^^^^^^^^^ 418 | '204': 419 | description: "No content" Warning was generated by the operation-4xx-response rule. s/MEC010-2_AppLcm.yaml: validated in 281ms ❌ Validation failed with 5 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010-2_AppPkgMgmt.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppPkgMgmt.yaml... [1] ../specs/MEC010-2_AppPkgMgmt.yaml:2052:17 at #/components/schemas/CreateAppPkg/properties/appPkgPath/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2050 | description: Name of the application package to be onboarded. 2051 | appPkgPath: 2052 | type: uri | ^^^ 2053 | appPkgVersion: 2054 | type: string Error was generated by the spec rule. [2] ../specs/MEC010-2_AppPkgMgmt.yaml:858:15 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1subscription.href}/post/responses Operation must have at least one `4xx` response. 856 | schema: 857 | $ref: '#/components/schemas/AppPkgNotification' 858 | responses: | ^^^^^^^^^ 859 | '204': 860 | description: "No content" Warning was generated by the operation-4xx-response rule. s/MEC010-2_AppPkgMgmt.yaml: validated in 253ms ❌ Validation failed with 1 error and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010p2_v221_definitions.yaml: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010p2_v221_definitions.yaml... Something went wrong when processing /specs/MEC010p2_v221_definitions.yaml: - This doesn’t look like an OpenAPI document. . /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20 throw new Error('This doesn’t look like an OpenAPI document.
'); ^ Error: This doesn’t look like an OpenAPI document. at Object.detectOpenAPI (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20:15) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:47:40 at Generator.next (<anonymous>) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:4:12) at lintDocument (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:44:12) at Object.<anonymous> (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:31:16) at Generator.next (<anonymous>) at fulfilled (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:5:58) Node.js v17.8.0
---- Validating ./MEC010-2_AppGrant.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppGrant.json... [1] ../specs/MEC010-2_AppGrant.json:896:28 at #/components/schemas/ZoneInfo/properties/vimConnectionId/description Expected type `string` but got `null`. 894 | "vimConnectionId": { 895 | "type": "string", 896 | "description": null | ^^^^ 897 | }, 898 | "zoneId": { Error was generated by the spec rule. s/MEC010-2_AppGrant.json: validated in 127ms ❌ Validation failed with 1 error. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010-2_AppLcm.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppLcm.json... [1] ../specs/MEC010-2_AppLcm.json:2198:21 at #/components/schemas/AppInstanceSubscriptionLinkList._links.subscriptions/properties/href/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2196 | "properties": { 2197 | "href": { 2198 | "type": "uri" | ^^^^^ 2199 | }, 2200 | "subscriptionType": { Error was generated by the spec rule. [2] ../specs/MEC010-2_AppLcm.json:2247:21 at #/components/schemas/AppInstIdCreationSubscriptionRequest/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2245 | }, 2246 | "callbackUri": { 2247 | "type": "uri" | ^^^^^ 2248 | }, 2249 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [3] ../specs/MEC010-2_AppLcm.json:2266:21 at #/components/schemas/AppInstIdDeletionSubscriptionRequest/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2264 | }, 2265 | "callbackUri": { 2266 | "type": "uri" | ^^^^^ 2267 | }, 2268 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [4] ../specs/MEC010-2_AppLcm.json:2289:21 at #/components/schemas/AppInstIdCreationSubscriptionInfo/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2287 | }, 2288 | "callbackUri": { 2289 | "type": "uri" | ^^^^^ 2290 | }, 2291 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [5] ../specs/MEC010-2_AppLcm.json:2324:21 at #/components/schemas/AppInstIdDeletionSubscriptionInfo/properties/callbackUri/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 2322 | }, 2323 | "callbackUri": { 2324 | "type": "uri" | ^^^^^ 2325 | }, 2326 | "appInstanceSubscriptionFilter": { Error was generated by the spec rule. [6] ../specs/MEC010-2_AppLcm.json:646:17 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1callbackUri}/post/responses Operation must have at least one `4xx` response. 644 | } 645 | }, 646 | "responses": { | ^^^^^^^^^^^ 647 | "204": { 648 | "description": "No content" Warning was generated by the operation-4xx-response rule. s/MEC010-2_AppLcm.json: validated in 263ms ❌ Validation failed with 5 errors and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010-2_AppPkgMgmt.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010-2_AppPkgMgmt.json... [1] ../specs/MEC010-2_AppPkgMgmt.json:3008:21 at #/components/schemas/CreateAppPkg/properties/appPkgPath/type `type` can be one of the following only: "object", "array", "string", "number", "integer", "boolean", "null". Did you mean: null ? 3006 | }, 3007 | "appPkgPath": { 3008 | "type": "uri" | ^^^^^ 3009 | }, 3010 | "appPkgVersion": { Error was generated by the spec rule. [2] ../specs/MEC010-2_AppPkgMgmt.json:1294:17 at #/paths/~1subscriptions/post/callbacks/notification/{$request.body#~1subscription.href}/post/responses Operation must have at least one `4xx` response. 1292 | } 1293 | }, 1294 | "responses": { | ^^^^^^^^^^^ 1295 | "204": { 1296 | "description": "No content" Warning was generated by the operation-4xx-response rule. s/MEC010-2_AppPkgMgmt.json: validated in 219ms ❌ Validation failed with 1 error and 1 warning. run `openapi lint --generate-ignore-file` to add all problems to the ignore file.
---- Validating ./MEC010p2_v221_definitions.json: No configurations were defined in extends -- using built in recommended configuration by default. validating s/MEC010p2_v221_definitions.json... Something went wrong when processing /specs/MEC010p2_v221_definitions.json: - This doesn’t look like an OpenAPI document. . /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20 throw new Error('This doesn’t look like an OpenAPI document.
'); ^ Error: This doesn’t look like an OpenAPI document. at Object.detectOpenAPI (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/oas-types.js:20:15) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:47:40 at Generator.next (<anonymous>) at /usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:8:71 at new Promise (<anonymous>) at __awaiter (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:4:12) at lintDocument (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:44:12) at Object.<anonymous> (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:31:16) at Generator.next (<anonymous>) at fulfilled (/usr/local/lib/node_modules/@redocly/openapi-cli/node_modules/@redocly/openapi-core/lib/lint.js:5:58) Node.js v17.8.0


------ Content of the folder ------
LICENSE
MEC010-2_AppGrant.json
MEC010-2_AppGrant.yaml
MEC010-2_AppLcm.json
MEC010-2_AppLcm.yaml
MEC010-2_AppPkgMgmt.json
MEC010-2_AppPkgMgmt.yaml
MEC010p2_v221_definitions.json
MEC010p2_v221_definitions.yaml
openapi-validation.log
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