Skip to content

Address PR comments #2657

Address PR comments

Address PR comments #2657

Triggered via push October 3, 2024 11:34
Status Failure
Total duration 7m 14s
Artifacts 3

dispatch.yml

on: push
Lint  /  Broken Markdown links
3m 2s
Lint / Broken Markdown links
Lint  /  Super Linter
7m 1s
Lint / Super Linter
Build & Test  /  Build Node.js
4m 18s
Build & Test / Build Node.js
Build & Test  /  Build Docker image
6m 19s
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 2 notices
Build & Test / Build Node.js
Testing stopped early after 5 maximum allowed failures.
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L18
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 400 16 | const { didUrls, accreditation } = await issueResponse.json(); 17 | expect(issueResponse).toBeOK(); > 18 | expect(issueResponse.status()).toBe(StatusCodes.OK); | ^ 19 | expect(accreditation.proof.type).toBe('JwtProof2020'); 20 | expect(accreditation.proof).toHaveProperty('jwt'); 21 | expect(typeof accreditation.issuer === 'string' ? accreditation.issuer : accreditation.issuer.id).toBe( at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:18:33
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L17
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation Error: expect(received).toBeOK() Call log: - → POST http://localhost:3000/accreditation/issue?accreditationType=authorize - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.6668.29 Safari/537.36 - accept: */* - accept-encoding: gzip,deflate,br - x-api-key: *** - Content-Type: application/json - content-length: 250 - ← 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: 144 - etag: W/"90-K8imfGYlGYjxtO0c3CbyyXOB8Qc" - date: Thu, 03 Oct 2024 11:39:00 GMT - connection: keep-alive - keep-alive: timeout=5 Response text: {"error":"Bad Request. No auth rules for handling such request: POST /accreditation/issue or please check that namespace scpecified correctly."} 15 | }); 16 | const { didUrls, accreditation } = await issueResponse.json(); > 17 | expect(issueResponse).toBeOK(); | ^ 18 | expect(issueResponse.status()).toBe(StatusCodes.OK); 19 | expect(accreditation.proof.type).toBe('JwtProof2020'); 20 | expect(accreditation.proof).toHaveProperty('jwt'); at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:17:24
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L1
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation Error: end of central directory record signature not found
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L18
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 400 16 | const { didUrls, accreditation } = await issueResponse.json(); 17 | expect(issueResponse).toBeOK(); > 18 | expect(issueResponse.status()).toBe(StatusCodes.OK); | ^ 19 | expect(accreditation.proof.type).toBe('JwtProof2020'); 20 | expect(accreditation.proof).toHaveProperty('jwt'); 21 | expect(typeof accreditation.issuer === 'string' ? accreditation.issuer : accreditation.issuer.id).toBe( at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:18:33
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L17
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeOK() Call log: - → POST http://localhost:3000/accreditation/issue?accreditationType=authorize - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.6668.29 Safari/537.36 - accept: */* - accept-encoding: gzip,deflate,br - x-api-key: *** - Content-Type: application/json - content-length: 250 - ← 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: 144 - etag: W/"90-K8imfGYlGYjxtO0c3CbyyXOB8Qc" - date: Thu, 03 Oct 2024 11:39:00 GMT - connection: keep-alive - keep-alive: timeout=5 Response text: {"error":"Bad Request. No auth rules for handling such request: POST /accreditation/issue or please check that namespace scpecified correctly."} 15 | }); 16 | const { didUrls, accreditation } = await issueResponse.json(); > 17 | expect(issueResponse).toBeOK(); | ^ 18 | expect(issueResponse.status()).toBe(StatusCodes.OK); 19 | expect(accreditation.proof.type).toBe('JwtProof2020'); 20 | expect(accreditation.proof).toHaveProperty('jwt'); at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:17:24
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L1
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: end of central directory record signature not found
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L18
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 400 16 | const { didUrls, accreditation } = await issueResponse.json(); 17 | expect(issueResponse).toBeOK(); > 18 | expect(issueResponse.status()).toBe(StatusCodes.OK); | ^ 19 | expect(accreditation.proof.type).toBe('JwtProof2020'); 20 | expect(accreditation.proof).toHaveProperty('jwt'); 21 | expect(typeof accreditation.issuer === 'string' ? accreditation.issuer : accreditation.issuer.id).toBe( at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:18:33
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L17
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeOK() Call log: - → POST http://localhost:3000/accreditation/issue?accreditationType=authorize - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.6668.29 Safari/537.36 - accept: */* - accept-encoding: gzip,deflate,br - x-api-key: *** - Content-Type: application/json - content-length: 250 - ← 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: 144 - etag: W/"90-K8imfGYlGYjxtO0c3CbyyXOB8Qc" - date: Thu, 03 Oct 2024 11:39:01 GMT - connection: keep-alive - keep-alive: timeout=5 Response text: {"error":"Bad Request. No auth rules for handling such request: POST /accreditation/issue or please check that namespace scpecified correctly."} 15 | }); 16 | const { didUrls, accreditation } = await issueResponse.json(); > 17 | expect(issueResponse).toBeOK(); | ^ 18 | expect(issueResponse.status()).toBe(StatusCodes.OK); 19 | expect(accreditation.proof.type).toBe('JwtProof2020'); 20 | expect(accreditation.proof).toHaveProperty('jwt'); at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:17:24
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:70:1 › Issue and verify a accredit accreditation: tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L80
2) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:70:1 › Issue and verify a accredit accreditation Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 400 78 | const { didUrls, accreditation } = await issueResponse.json(); 79 | expect(issueResponse).toBeOK(); > 80 | expect(issueResponse.status()).toBe(StatusCodes.OK); | ^ 81 | expect(accreditation.proof.type).toBe('JwtProof2020'); 82 | expect(accreditation.proof).toHaveProperty('jwt'); 83 | expect(typeof accreditation.issuer === 'string' ? accreditation.issuer : accreditation.issuer.id).toBe( at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:80:33
Sensitive data should not be used in the ARG or ENV commands: docker/Dockerfile#L142
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "STRIPE_PUBLISHABLE_KEY") 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#L107
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#L114
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "LOGTO_APP_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#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/
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/
Sensitive data should not be used in the ARG or ENV commands: docker/Dockerfile#L55
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "EXTERNAL_DB_ENCRYPTION_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
Sensitive data should not be used in the ARG or ENV commands: docker/Dockerfile#L90
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "STRIPE_PUBLISHABLE_KEY") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
Sensitive data should not be used in the ARG or ENV commands: docker/Dockerfile#L127
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "API_KEY_EXPIRATION") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
🎭 Playwright Run Summary
1 skipped 60 passed (2.1m)
🎭 Playwright Run Summary
2 failed [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:8:1 › Issue and verify a authorize accreditation [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:70:1 › Issue and verify a accredit accreditation 8 did not run 4 passed (11.9s)

Artifacts

Produced during runtime
Name Size
cheqd~studio~LZ9PRC.dockerbuild Expired
59.4 KB
playwright-report Expired
7.75 KB
studio-staging Expired
706 MB