Skip to content

Initial commit

Initial commit #1

Triggered via push April 10, 2025 11:35
Status Failure
Total duration 47s
Artifacts

test.yml

on: push
setup-and-test
42s
setup-and-test
Fit to window
Zoom out
Zoom in

Annotations

6 errors
setup-and-test
Process completed with exit code 1.
src/server.test.js > Integration tests for the WASI HTTP server endpoints > POST /upload with a valid file returns the file content: src/server.test.js#L81
TypeError: fetch failed ❯ src/server.test.js:81:17 { stack: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1139:18)\n' + ' at afterConnectMultiple (node:net:1714:7)', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8080\n' + ' at createConnectionError (node:net:1677:14)\n' + ' at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED ::1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8080\n' + ' at createConnectionError (node:net:1677:14)\n' + ' at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED 127.0.0.1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', stackStr: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1139:18)\n' + ' at afterConnectMultiple (node:net:1714:7)', nameStr: 'AggregateError', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<AggregateError>', name: 'Caused by: Caused by: AggregateError', toString: 'Function<toString>', stacks: [] } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8080\n at createConnectionError (node:net:1677:14)\n at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED ::1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8080\n at createConnectionError (node:net:1677:14)\n at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED 127.0.0.1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
src/server.test.js > Integration tests for the WASI HTTP server endpoints > GET /sleep/:ms should delay the response by at least the specified milliseconds: src/server.test.js#L67
TypeError: fetch failed ❯ src/server.test.js:67:17 { stack: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1139:18)\n' + ' at afterConnectMultiple (node:net:1714:7)', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8080\n' + ' at createConnectionError (node:net:1677:14)\n' + ' at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED ::1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8080\n' + ' at createConnectionError (node:net:1677:14)\n' + ' at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED 127.0.0.1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', stackStr: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1139:18)\n' + ' at afterConnectMultiple (node:net:1714:7)', nameStr: 'AggregateError', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<AggregateError>', name: 'Caused by: Caused by: AggregateError', toString: 'Function<toString>', stacks: [] } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8080\n at createConnectionError (node:net:1677:14)\n at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED ::1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8080\n at createConnectionError (node:net:1677:14)\n at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED 127.0.0.1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
src/server.test.js > Integration tests for the WASI HTTP server endpoints > GET /echo-headers should return the request headers in JSON: src/server.test.js#L51
TypeError: fetch failed ❯ src/server.test.js:51:17 { stack: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1139:18)\n' + ' at afterConnectMultiple (node:net:1714:7)', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8080\n' + ' at createConnectionError (node:net:1677:14)\n' + ' at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED ::1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8080\n' + ' at createConnectionError (node:net:1677:14)\n' + ' at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED 127.0.0.1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', stackStr: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1139:18)\n' + ' at afterConnectMultiple (node:net:1714:7)', nameStr: 'AggregateError', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<AggregateError>', name: 'Caused by: Caused by: AggregateError', toString: 'Function<toString>', stacks: [] } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8080\n at createConnectionError (node:net:1677:14)\n at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED ::1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8080\n at createConnectionError (node:net:1677:14)\n at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED 127.0.0.1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
src/server.test.js > Integration tests for the WASI HTTP server endpoints > POST /echo with body should echo the provided text: src/server.test.js#L43
TypeError: fetch failed ❯ src/server.test.js:43:17 { stack: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1139:18)\n' + ' at afterConnectMultiple (node:net:1714:7)', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8080\n' + ' at createConnectionError (node:net:1677:14)\n' + ' at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED ::1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8080\n' + ' at createConnectionError (node:net:1677:14)\n' + ' at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED 127.0.0.1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', stackStr: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1139:18)\n' + ' at afterConnectMultiple (node:net:1714:7)', nameStr: 'AggregateError', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<AggregateError>', name: 'Caused by: Caused by: AggregateError', toString: 'Function<toString>', stacks: [] } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8080\n at createConnectionError (node:net:1677:14)\n at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED ::1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8080\n at createConnectionError (node:net:1677:14)\n at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED 127.0.0.1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
src/server.test.js > Integration tests for the WASI HTTP server endpoints > GET / should return "Hello, World!": src/server.test.js#L28
TypeError: fetch failed ❯ src/server.test.js:28:17 { stack: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1139:18)\n' + ' at afterConnectMultiple (node:net:1714:7)', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8080\n' + ' at createConnectionError (node:net:1677:14)\n' + ' at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED ::1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8080\n' + ' at createConnectionError (node:net:1677:14)\n' + ' at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED 127.0.0.1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', stackStr: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1139:18)\n' + ' at afterConnectMultiple (node:net:1714:7)', nameStr: 'AggregateError', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<AggregateError>', name: 'Caused by: Caused by: AggregateError', toString: 'Function<toString>', stacks: [] } ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8080\n at createConnectionError (node:net:1677:14)\n at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED ::1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8080\n at createConnectionError (node:net:1677:14)\n at afterConnectMultiple (node:net:1707:16)', message: 'connect ECONNREFUSED 127.0.0.1:8080', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8080, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }