Skip to content

feat: add LND containers for testing #325

feat: add LND containers for testing

feat: add LND containers for testing #325

Triggered via pull request August 16, 2024 09:59
Status Failure
Total duration 24m 46s
Artifacts

tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
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":"b1f55a2f2eabb08ed9d6e15a053a6ac84d04d1c017de5a42caaec98b8d2ff738","amountInSats":1000}' }, code: 'ERR_BAD_RESPONSE', status: 500 }
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":"4c616c5c4b2c2342c832e50a1584d8c550fe238e08e7be7c9af636ecef9136f2","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":"b1f55a2f2eabb08ed9d6e15a053a6ac84d04d1c017de5a42caaec98b8d2ff738","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/