Skip to content

fix: swagger validation errors #832

fix: swagger validation errors

fix: swagger validation errors #832

Triggered via push December 9, 2024 10:05
Status Failure
Total duration 1m 39s
Artifacts 2

dispatch.yml

on: push
Lint  /  Broken Markdown links
12s
Lint / Broken Markdown links
Lint  /  Super Linter
1m 26s
Lint / Super Linter
Build & Test  /  Build Node.js
33s
Build & Test / Build Node.js
Build & Test  /  Build Docker image
51s
Build & Test / Build Docker image
Release  /  Release Docker image
Release / Release Docker image
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 8 warnings, and 1 notice
Build & Test / Build Node.js
Testing stopped early after 5 maximum allowed failures.
[Integration tests] › did/did-create.spec.ts:65:1 › did-create. Send the final request for DID creating: tests/did/did-create.spec.ts#L90
1) [Integration tests] › did/did-create.spec.ts:65:1 › did-create. Send the final request for DID creating Error: expect(received).toBe(expected) // Object.is equality Expected: 201 Received: 500 88 | }); 89 | > 90 | expect(didCreate.status()).toBe(201); | ^ 91 | }); 92 | at /home/runner/work/did-registrar/did-registrar/tests/did/did-create.spec.ts:90:29
[Integration tests] › did/did-create.spec.ts:65:1 › did-create. Send the final request for DID creating: tests/did/did-create.spec.ts#L66
1) [Integration tests] › did/did-create.spec.ts:65:1 › did-create. Send the final request for DID creating Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'signingRequest') 64 | 65 | test('did-create. Send the final request for DID creating', async ({ request }) => { > 66 | const serializedPayload = didState.signingRequest[0].serializedPayload; | ^ 67 | const serializedBytes = Buffer.from(serializedPayload, 'base64'); 68 | const signature = sign(privKeyBytes, serializedBytes); 69 | at /home/runner/work/did-registrar/did-registrar/tests/did/did-create.spec.ts:66:37
[Integration tests] › did/did-create.spec.ts:65:1 › did-create. Send the final request for DID creating: tests/did/did-create.spec.ts#L66
1) [Integration tests] › did/did-create.spec.ts:65:1 › did-create. Send the final request for DID creating Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'signingRequest') 64 | 65 | test('did-create. Send the final request for DID creating', async ({ request }) => { > 66 | const serializedPayload = didState.signingRequest[0].serializedPayload; | ^ 67 | const serializedBytes = Buffer.from(serializedPayload, 'base64'); 68 | const signature = sign(privKeyBytes, serializedBytes); 69 | at /home/runner/work/did-registrar/did-registrar/tests/did/did-create.spec.ts:66:37
[Integration tests] › did/did-deactivate.spec.ts:65:1 › did-deactivate. Send the final request for DID creating: tests/did/did-deactivate.spec.ts#L90
2) [Integration tests] › did/did-deactivate.spec.ts:65:1 › did-deactivate. Send the final request for DID creating Error: expect(received).toBe(expected) // Object.is equality Expected: 201 Received: 500 88 | }); 89 | > 90 | expect(didCreate.status()).toBe(201); | ^ 91 | }); 92 | 93 | test('did-deactivate. Initiate DID Deactivate procedure', async ({ request }) => { at /home/runner/work/did-registrar/did-registrar/tests/did/did-deactivate.spec.ts:90:29
[Integration tests] › did/did-deactivate.spec.ts:65:1 › did-deactivate. Send the final request for DID creating: tests/did/did-deactivate.spec.ts#L66
2) [Integration tests] › did/did-deactivate.spec.ts:65:1 › did-deactivate. Send the final request for DID creating Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'signingRequest') 64 | 65 | test('did-deactivate. Send the final request for DID creating', async ({ request }) => { > 66 | const serializedPayload = didState.signingRequest[0].serializedPayload; | ^ 67 | const serializedBytes = Buffer.from(serializedPayload, 'base64'); 68 | const signature = sign(privKeyBytes, serializedBytes); 69 | at /home/runner/work/did-registrar/did-registrar/tests/did/did-deactivate.spec.ts:66:37
[Integration tests] › did/did-deactivate.spec.ts:65:1 › did-deactivate. Send the final request for DID creating: tests/did/did-deactivate.spec.ts#L66
2) [Integration tests] › did/did-deactivate.spec.ts:65:1 › did-deactivate. Send the final request for DID creating Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'signingRequest') 64 | 65 | test('did-deactivate. Send the final request for DID creating', async ({ request }) => { > 66 | const serializedPayload = didState.signingRequest[0].serializedPayload; | ^ 67 | const serializedBytes = Buffer.from(serializedPayload, 'base64'); 68 | const signature = sign(privKeyBytes, serializedBytes); 69 | at /home/runner/work/did-registrar/did-registrar/tests/did/did-deactivate.spec.ts:66:37
[Integration tests] › did/did-deactivate.spec.ts:93:1 › did-deactivate. Initiate DID Deactivate procedure: tests/did/did-deactivate.spec.ts#L96
3) [Integration tests] › did/did-deactivate.spec.ts:93:1 › did-deactivate. Initiate DID Deactivate procedure TypeError: Cannot read properties of undefined (reading 'id') 94 | const payload = await request.post('/1.0/deactivate', { 95 | data: { > 96 | did: didPayload.id, | ^ 97 | secret: {}, 98 | options: { 99 | network: 'testnet', at /home/runner/work/did-registrar/did-registrar/tests/did/did-deactivate.spec.ts:96:20
[Integration tests] › did/did-deactivate.spec.ts:93:1 › did-deactivate. Initiate DID Deactivate procedure: tests/did/did-deactivate.spec.ts#L96
3) [Integration tests] › did/did-deactivate.spec.ts:93:1 › did-deactivate. Initiate DID Deactivate procedure Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'id') 94 | const payload = await request.post('/1.0/deactivate', { 95 | data: { > 96 | did: didPayload.id, | ^ 97 | secret: {}, 98 | options: { 99 | network: 'testnet', at /home/runner/work/did-registrar/did-registrar/tests/did/did-deactivate.spec.ts:96:20
[Integration tests] › did/did-deactivate.spec.ts:93:1 › did-deactivate. Initiate DID Deactivate procedure: tests/did/did-deactivate.spec.ts#L96
3) [Integration tests] › did/did-deactivate.spec.ts:93:1 › did-deactivate. Initiate DID Deactivate procedure Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of undefined (reading 'id') 94 | const payload = await request.post('/1.0/deactivate', { 95 | data: { > 96 | did: didPayload.id, | ^ 97 | secret: {}, 98 | options: { 99 | network: 'testnet', at /home/runner/work/did-registrar/did-registrar/tests/did/did-deactivate.spec.ts:96:20
Lint / Broken Markdown links
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build & Test / Build Node.js
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build & Test / Build Docker image
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Legacy key/value format with whitespace separator should not be used: Dockerfile#L55
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: Dockerfile#L50
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: Dockerfile#L51
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: Dockerfile#L54
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/
Lint / Super Linter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
5 failed [Integration tests] › did/did-create.spec.ts:65:1 › did-create. Send the final request for DID creating [Integration tests] › did/did-deactivate.spec.ts:65:1 › did-deactivate. Send the final request for DID creating [Integration tests] › did/did-deactivate.spec.ts:93:1 › did-deactivate. Initiate DID Deactivate procedure [Integration tests] › did/did-deactivate.spec.ts:118:1 › did-deactivate. Send the final request for DID deactivating [Integration tests] › did/did-update.spec.ts:65:1 › did-update. Send the final request for DID creating 7 did not run 6 passed (17.1s)

Artifacts

Produced during runtime
Name Size
cheqd~did-registrar~PPNCAV.dockerbuild Expired
34.2 KB
did-registrar-staging Expired
89 MB