Add accredit/issue api #2594
dispatch.yml
on: push
Lint
/
Broken Markdown links
2m 46s
Lint
/
Super Linter
6m 46s
Build & Test
/
Build Node.js
3m 1s
Build & Test
/
Build Docker image
6m 0s
Staging
/
Staging Deploy
Release
/
Release Docker image
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:05:54 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/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
|
[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#L1
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 #2 ───────────────────────────────────────────────────────────────────────────────────────
Test was interrupted.
|
Legacy key/value format with whitespace separator should not be used:
docker/Dockerfile#L100
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#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#L123
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#L112
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#L89
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "STRIPE_SECRET_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#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#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#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/
|
Legacy key/value format with whitespace separator should not be used:
docker/Dockerfile#L135
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/
|
🎭 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 (58.6s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
cheqd~studio~LUNQRX.dockerbuild
Expired
|
60.7 KB |
|
playwright-report
Expired
|
53.3 KB |
|
studio-staging
Expired
|
705 MB |
|