Skip to content

feat: add LND containers for testing #314

feat: add LND containers for testing

feat: add LND containers for testing #314

Triggered via pull request August 15, 2024 09:32
Status Failure
Total duration 22m 43s
Artifacts

tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
test/tb04-simple-lightning-latch.test.js > TB04 - Statecoin sender can recover (resend their coin) after batch timeout without completion > expected flow: clients/tests/web/test/tb04-simple-lightning-latch.test.js#L316
AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ test/tb04-simple-lightning-latch.test.js:316:52
test/tb04-simple-lightning-latch.test.js > TB04 - Statecoin sender can recover (resend their coin) after batch timeout without completion > expected flow: clients/tests/web/test/tb04-simple-lightning-latch.test.js#L316
AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ test/tb04-simple-lightning-latch.test.js:316:52
test/tb04-simple-lightning-latch.test.js > TB04 - Receiver tries to transfer invoice amount to another invoice before preimage retrieval should fail > expected flow: clients/tests/web/test-utils.js#L53
AxiosError: Request failed with status code 500 ❯ settle ../../../../../../../../node_modules/.vite/deps/axios.js:1205:12 ❯ XMLHttpRequest.onloadend ../../../../../../../../node_modules/.vite/deps/axios.js:1551:7 ❯ Axios.request ../../../../../../../../node_modules/.vite/deps/axios.js:2067:41 ❯ generateInvoice test-utils.js:53:20 ❯ test/tb04-simple-lightning-latch.test.js:488:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json' }, method: 'post', url: 'http://0.0.0.0:3000/generate_invoice', data: '{"paymentHash":"4f67f0a4bc4a8a6a8ecb944e9b748ed7c27655fbdb4c4d3f045d7f18c1e4de64","amountInSats":1000}' }, code: 'ERR_BAD_RESPONSE', status: 500 }
test/tb04-simple-lightning-latch.test.js > Coin receiver creates a non hold invoice, and sends to sender (i.e. an invoice with the a different payment hash). Sender should be able to determine this. > expected flow: clients/tests/web/test-utils.js#L53
AxiosError: Request failed with status code 500 ❯ settle ../../../../../../../../node_modules/.vite/deps/axios.js:1205:12 ❯ XMLHttpRequest.onloadend ../../../../../../../../node_modules/.vite/deps/axios.js:1551:7 ❯ Axios.request ../../../../../../../../node_modules/.vite/deps/axios.js:2067:41 ❯ generateInvoice test-utils.js:53:20 ❯ test/tb04-simple-lightning-latch.test.js:706:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json' }, method: 'post', url: 'http://0.0.0.0:3000/generate_invoice', data: '{"paymentHash":"b4eab5e663aebe5fc645865b27b33c04c4e057e7c844fa61519df6de1398cdb3","amountInSats":1000}' }, code: 'ERR_BAD_RESPONSE', status: 500 }
test
Process completed with exit code 1.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/