Implement multi-stage build in Dockerfile #106
Annotations
10 errors
Unhandled error:
tests/util/utils.js#L9
TypeError: fetch failed
❯ node:internal/deps/undici/undici:12618:11
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ Object.post tests/util/utils.js:9:17
❯ tests/doctoral.spec.js:7:19
This error originated in "tests/doctoral.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "Doctoral schools". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Caused by: Caused by: Error: connect ECONNREFUSED ::1:3000
❯ TCPConnectWrap.afterConnect [as oncomplete] node:net:1555:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000 }
|
Unhandled error:
tests/util/utils.js#L9
TypeError: fetch failed
❯ node:internal/deps/undici/undici:12618:11
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ Object.post tests/util/utils.js:9:17
❯ tests/doctoral.spec.js:7:19
This error originated in "tests/doctoral.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "Doctoral schools". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Caused by: Caused by: Error: connect ECONNREFUSED ::1:3000
❯ TCPConnectWrap.afterConnect [as oncomplete] node:net:1555:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000 }
|
tests/basic.spec.js:
tests/util/utils.js#L9
TypeError: fetch failed
❯ Object.post tests/util/utils.js:9:17
❯ Module.seed tests/util/seed.js:5:3
❯ tests/basic.spec.js:6:3
Caused by: Caused by: Error: connect ECONNREFUSED ::1:3000
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000 }
|
tests/dekaani.spec.js > Dekaani > gets READ access to faculty and each programme of faculty:
tests/util/utils.js#L9
TypeError: fetch failed
❯ Object.post tests/util/utils.js:9:17
❯ tests/dekaani.spec.js:6:17
Caused by: Caused by: SocketError: other side closed
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'UND_ERR_SOCKET', socket: { localAddress: '::1', localPort: 38408, remoteAddress: '::1', remotePort: 3000, remoteFamily: 'IPv6', timeout: undefined, bytesWritten: 285, bytesRead: +0 } }
|
tests/dekaani.spec.js > Dekaani > opetusvaradekaani gets ADMIN access to faculty and each programme of faculty:
tests/util/utils.js#L9
TypeError: fetch failed
❯ Object.post tests/util/utils.js:9:17
❯ tests/dekaani.spec.js:31:17
Caused by: Caused by: SocketError: other side closed
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'UND_ERR_SOCKET', socket: { localAddress: '::1', localPort: 38418, remoteAddress: '::1', remotePort: 3000, remoteFamily: 'IPv6', timeout: undefined, bytesWritten: 320, bytesRead: +0 } }
|
tests/doctoral.spec.js > Doctoral schools > Specific doctoral school iam gives access to the corresponding doctoral programmes:
tests/util/utils.js#L9
TypeError: fetch failed
❯ Object.post tests/util/utils.js:9:17
❯ tests/doctoral.spec.js:24:17
Caused by: Caused by: Error: connect ECONNREFUSED ::1:3000
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000 }
|
tests/jory.spec.js > Jory > Gets read access to program:
tests/util/utils.js#L9
TypeError: fetch failed
❯ Object.post tests/util/utils.js:9:17
❯ tests/jory.spec.js:9:17
Caused by: Caused by: Error: connect ECONNREFUSED ::1:3000
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000 }
|
tests/jory.spec.js > Jory > Gets jory special group:
tests/util/utils.js#L9
TypeError: fetch failed
❯ Object.post tests/util/utils.js:9:17
❯ tests/jory.spec.js:23:17
Caused by: Caused by: Error: connect ECONNREFUSED ::1:3000
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000 }
|
tests/jory.spec.js > Jory > with kojo group gets program admin access:
tests/util/utils.js#L9
TypeError: fetch failed
❯ Object.post tests/util/utils.js:9:17
❯ tests/jory.spec.js:36:17
Caused by: Caused by: Error: connect ECONNREFUSED ::1:3000
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000 }
|
tests/kosu.spec.js > Kosu > gets READ access to each faculty and programme of location:
tests/util/utils.js#L9
TypeError: fetch failed
❯ Object.post tests/util/utils.js:9:17
❯ tests/kosu.spec.js:6:17
Caused by: Caused by: SocketError: other side closed
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'UND_ERR_SOCKET', socket: { localAddress: '::1', localPort: 38426, remoteAddress: '::1', remotePort: 3000, remoteFamily: 'IPv6', timeout: undefined, bytesWritten: 283, bytesRead: +0 } }
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
UniversityOfHelsinkiCS~jami~NLO29T.dockerbuild
|
27.7 KB |
|