Merge branch 'develop' into verify-accreditation #2705
dispatch.yml
on: push
Lint
/
Broken Markdown links
2m 55s
Lint
/
Super Linter
7m 19s
Build & Test
/
Build Node.js
13m 25s
Build & Test
/
Build Docker image
6m 28s
Staging
/
Staging Deploy
Release
/
Release Docker image
Annotations
4 errors, 13 warnings, and 2 notices
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:141:1 › Issue and verify a attest accreditation:
tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L151
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:141:1 › Issue and verify a attest accreditation
Error: expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 500
149 | const { didUrls, accreditation } = await issueResponse.json();
150 | expect(issueResponse).toBeOK();
> 151 | expect(issueResponse.status()).toBe(StatusCodes.OK);
| ^
152 | expect(accreditation.proof.type).toBe('JwtProof2020');
153 | expect(accreditation.proof).toHaveProperty('jwt');
154 | 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:151:33
|
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:141:1 › Issue and verify a attest accreditation:
tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L150
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:141:1 › Issue and verify a attest accreditation
Error: expect(received).toBeOK()
Call log:
- → POST http://localhost:3000/trust-registry/accreditation/issue?accreditationType=attest
- 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: 543
- ← 500 Internal Server Error
- 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: 188
- etag: W/"bc-cVjDHikTTK6E3T9tPpSqx0AQhww"
- date: Thu, 10 Oct 2024 08:26:57 GMT
- connection: keep-alive
- keep-alive: timeout=5
Response text:
{"error":"Internal error: Error: Error: Broadcasting transaction failed with code 32 (codespace: sdk). Log: account sequence mismatch, expected 1965, got 1964: incorrect account sequence"}
148 | });
149 | const { didUrls, accreditation } = await issueResponse.json();
> 150 | expect(issueResponse).toBeOK();
| ^
151 | expect(issueResponse.status()).toBe(StatusCodes.OK);
152 | expect(accreditation.proof.type).toBe('JwtProof2020');
153 | expect(accreditation.proof).toHaveProperty('jwt');
at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts:150:24
|
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:141:1 › Issue and verify a attest accreditation:
tests/e2e/sequential/accreditation/issue-verify-flow.spec.ts#L1
1) [Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:141:1 › Issue and verify a attest accreditation
Error: end of central directory record signature not found
|
[Logged In User Tests] › sequential/accreditation/suspension-flow.spec.ts:58:1 › Verify a credential status after suspension:
tests/e2e/sequential/accreditation/suspension-flow.spec.ts#L71
2) [Logged In User Tests] › sequential/accreditation/suspension-flow.spec.ts:58:1 › Verify a credential status after suspension
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
69 | expect(response).toBeOK();
70 | expect(response.status()).toBe(StatusCodes.OK);
> 71 | expect(result.suspended).toBe(true);
| ^
72 | expect(result.published).toBe(true);
73 |
74 | const verificationResponse = await request.post(`/trust-registry/accreditation/verify?verifyStatus=true`, {
at /home/runner/work/studio/studio/tests/e2e/sequential/accreditation/suspension-flow.spec.ts:71:27
|
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#L119
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#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/
|
Sensitive data should not be used in the ARG or ENV commands:
docker/Dockerfile#L67
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "LOGTO_M2M_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#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#L116
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#L143
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#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#L91
SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "STRIPE_WEBHOOK_SECRET")
More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
|
Slow Test:
[Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts#L1
[Logged In User Tests] › sequential/accreditation/revocation-flow.spec.ts took 1.4m
|
Slow Test:
[Logged In User Tests] › sequential/credential/suspension-flow.spec.ts#L1
[Logged In User Tests] › sequential/credential/suspension-flow.spec.ts took 1.2m
|
Slow Test:
[Logged In User Tests] › sequential/credential/revocation-flow.spec.ts#L1
[Logged In User Tests] › sequential/credential/revocation-flow.spec.ts took 40.2s
|
🎭 Playwright Run Summary
4 skipped
61 passed (2.3m)
|
🎭 Playwright Run Summary
2 flaky
[Logged In User Tests] › sequential/accreditation/issue-verify-flow.spec.ts:141:1 › Issue and verify a attest accreditation
[Logged In User Tests] › sequential/accreditation/suspension-flow.spec.ts:58:1 › Verify a credential status after suspension
18 passed (8.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
cheqd~studio~4G97M5.dockerbuild
Expired
|
59.4 KB |
|
playwright-report
Expired
|
6.69 KB |
|
studio-staging
Expired
|
707 MB |
|