Skip to content

fix swagger

fix swagger #2596

Triggered via push September 23, 2024 10:20
Status Failure
Total duration 7m 9s
Artifacts 3

dispatch.yml

on: push
Lint  /  Broken Markdown links
2m 20s
Lint / Broken Markdown links
Lint  /  Super Linter
6m 37s
Lint / Super Linter
Build & Test  /  Build Node.js
2m 52s
Build & Test / Build Node.js
Build & Test  /  Build Docker image
5m 37s
Build & Test / Build Docker image
Release  /  Release Docker image
Release / Release Docker image
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 10 warnings, and 1 notice
Build & Test / Build Node.js
Testing stopped early after 5 maximum allowed failures.
[Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020: tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L177
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020 Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 400 175 | const result = await verifyResponse.json(); 176 | expect(verifyResponse).toBeOK(); > 177 | expect(verifyResponse.status()).toBe(StatusCodes.OK); | ^ 178 | expect(result.verified).toBe(true); 179 | }); 180 | at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:177:34
[Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020: tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L176
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020 Error: expect(received).toBeOK() Call log: - → POST http://localhost:3000/credential/verify - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.18 Safari/537.36 - accept: */* - accept-encoding: gzip,deflate,br - x-api-key: *** - Content-Type: application/json - content-length: 773 - ← 400 Bad Request - content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests - cross-origin-opener-policy: same-origin - cross-origin-resource-policy: same-origin - origin-agent-cluster: ?1 - referrer-policy: no-referrer - strict-transport-security: max-age=15552000; includeSubDomains - x-content-type-options: nosniff - x-dns-prefetch-control: off - x-download-options: noopen - x-frame-options: SAMEORIGIN - x-permitted-cross-domain-policies: none - x-xss-protection: 0 - vary: Origin - content-type: application/json; charset=utf-8 - content-length: 59 - etag: W/"3b-K7phvcqPIfLDrQ7kC3Q6vutixiA" - date: Mon, 23 Sep 2024 10:24:02 GMT - connection: keep-alive - keep-alive: timeout=5 Response text: {"verified":false,"error":"verify: Verification error(s)."} 174 | }); 175 | const result = await verifyResponse.json(); > 176 | expect(verifyResponse).toBeOK(); | ^ 177 | expect(verifyResponse.status()).toBe(StatusCodes.OK); 178 | expect(result.verified).toBe(true); 179 | }); at /home/runner/work/studio/studio/tests/e2e/parallel/credential/issue-verify-flow.spec.ts:176:25
[Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020: tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L1
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020 Error: end of central directory record signature not found
[Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020: tests/e2e/parallel/credential/issue-verify-flow.spec.ts#L1
1) [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test was interrupted.
[Parallel Logged In User Tests] › parallel/credential/revoke-negative.spec.ts:14:1 › [Negative] It cannot revoke credential in mainnet network for user with testnet role: tests/e2e/parallel/credential/revoke-negative.spec.ts#L22
2) [Parallel Logged In User Tests] › parallel/credential/revoke-negative.spec.ts:14:1 › [Negative] It cannot revoke credential in mainnet network for user with testnet role Error: expect(received).toBe(expected) // Object.is equality Expected: 403 Received: 400 20 | }); 21 | expect(response).not.toBeOK(); > 22 | expect(response.status()).toBe(StatusCodes.FORBIDDEN); | ^ 23 | const { error } = (await response.json()) as UnsuccessfulResponseBody; 24 | expect(error).toEqual(expect.stringContaining(DEFAULT_DOES_NOT_HAVE_PERMISSIONS)); 25 | }); at /home/runner/work/studio/studio/tests/e2e/parallel/credential/revoke-negative.spec.ts:22:28
[Parallel Logged In User Tests] › parallel/credential/revoke-negative.spec.ts:14:1 › [Negative] It cannot revoke credential in mainnet network for user with testnet role: tests/e2e/parallel/credential/revoke-negative.spec.ts#L22
2) [Parallel Logged In User Tests] › parallel/credential/revoke-negative.spec.ts:14:1 › [Negative] It cannot revoke credential in mainnet network for user with testnet role Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 403 Received: 400 20 | }); 21 | expect(response).not.toBeOK(); > 22 | expect(response.status()).toBe(StatusCodes.FORBIDDEN); | ^ 23 | const { error } = (await response.json()) as UnsuccessfulResponseBody; 24 | expect(error).toEqual(expect.stringContaining(DEFAULT_DOES_NOT_HAVE_PERMISSIONS)); 25 | }); at /home/runner/work/studio/studio/tests/e2e/parallel/credential/revoke-negative.spec.ts:22:28
[Parallel Logged In User Tests] › parallel/credential/revoke-negative.spec.ts:14:1 › [Negative] It cannot revoke credential in mainnet network for user with testnet role: tests/e2e/parallel/credential/revoke-negative.spec.ts#L1
2) [Parallel Logged In User Tests] › parallel/credential/revoke-negative.spec.ts:14:1 › [Negative] It cannot revoke credential in mainnet network for user with testnet role Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test was interrupted.
[Parallel Logged In User Tests] › parallel/credential/suspend-negative.spec.ts:14:1 › [Negative] It cannot suspend credential in mainnet network for user with testnet role: tests/e2e/parallel/credential/suspend-negative.spec.ts#L22
3) [Parallel Logged In User Tests] › parallel/credential/suspend-negative.spec.ts:14:1 › [Negative] It cannot suspend credential in mainnet network for user with testnet role Error: expect(received).toBe(expected) // Object.is equality Expected: 403 Received: 400 20 | }); 21 | expect(response).not.toBeOK(); > 22 | expect(response.status()).toBe(StatusCodes.FORBIDDEN); | ^ 23 | const { error } = (await response.json()) as UnsuccessfulResponseBody; 24 | expect(error).toEqual(expect.stringContaining(DEFAULT_DOES_NOT_HAVE_PERMISSIONS)); 25 | }); at /home/runner/work/studio/studio/tests/e2e/parallel/credential/suspend-negative.spec.ts:22:28
[Parallel Logged In User Tests] › parallel/credential/suspend-negative.spec.ts:14:1 › [Negative] It cannot suspend credential in mainnet network for user with testnet role: tests/e2e/parallel/credential/suspend-negative.spec.ts#L22
3) [Parallel Logged In User Tests] › parallel/credential/suspend-negative.spec.ts:14:1 › [Negative] It cannot suspend credential in mainnet network for user with testnet role Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 403 Received: 400 20 | }); 21 | expect(response).not.toBeOK(); > 22 | expect(response.status()).toBe(StatusCodes.FORBIDDEN); | ^ 23 | const { error } = (await response.json()) as UnsuccessfulResponseBody; 24 | expect(error).toEqual(expect.stringContaining(DEFAULT_DOES_NOT_HAVE_PERMISSIONS)); 25 | }); at /home/runner/work/studio/studio/tests/e2e/parallel/credential/suspend-negative.spec.ts:22:28
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L110
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L115
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L132
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L138
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Sensitive data should not be used in the ARG or ENV commands: docker/Dockerfile#L143
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "STRIPE_WEBHOOK_SECRET") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L101
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L105
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L98
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Legacy key/value format with whitespace separator should not be used: docker/Dockerfile#L106
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
Sensitive data should not be used in the ARG or ENV commands: docker/Dockerfile#L106
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "EXTERNAL_DB_ENCRYPTION_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
🎭 Playwright Run Summary
3 failed [Parallel Logged In User Tests] › parallel/credential/issue-verify-flow.spec.ts:141:1 › Issue a jsonLD credential with JsonWebKey2020 [Parallel Logged In User Tests] › parallel/credential/revoke-negative.spec.ts:14:1 › [Negative] It cannot revoke credential in mainnet network for user with testnet role [Parallel Logged In User Tests] › parallel/credential/suspend-negative.spec.ts:14:1 › [Negative] It cannot suspend credential in mainnet network for user with testnet role 1 interrupted [Parallel Logged In User Tests] › parallel/credential-status/check.spec.ts:14:1 › [Positive] It can check an unencrypted status-list with an existent body and statusPurpose=revocation parameter 1 skipped 40 did not run 17 passed (51.0s)

Artifacts

Produced during runtime
Name Size
cheqd~studio~SEXU13.dockerbuild Expired
55.3 KB
playwright-report Expired
53.3 KB
studio-staging Expired
705 MB