Skip to content

feat: add LND containers for testing #326

feat: add LND containers for testing

feat: add LND containers for testing #326

Triggered via pull request August 16, 2024 10:57
Status Failure
Total duration 25m 19s
Artifacts

tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
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:484: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":"f71f25f8c92afe412a60bbf20c14334143f0d15a1a45d5a97c0e64f71fd263cc","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:700: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":"90570c8d3688ad5012aa5ff982606971ae46b3f9df0a100cb15f05f61718f223","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/