Skip to content

Update dependencies #354

Update dependencies

Update dependencies #354

Triggered via push August 27, 2024 01:35
Status Failure
Total duration 48s
Artifacts

test.yml

on: push
Node.js Latest Full
38s
Node.js Latest Full
Matrix: short
Fit to window
Zoom out
Zoom in

Annotations

31 errors
Unhandled error: base-server/index.test.ts#L521
Error: listen EADDRINUSE: address already in use :::31337 ❯ Server.setupListenHandle [as _listen2] node:net:1904:16 ❯ listenInCluster node:net:1961:12 ❯ Server.listen node:net:2063:7 ❯ base-server/index.test.ts:521:17 ❯ base-server/index.test.ts:520:9 ❯ node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:146:14 ❯ node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:61:7 ❯ runTest node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:960:17 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 31337 } This error originated in "base-server/index.test.ts" 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 "accepts custom HTTP server". 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.
base-server/index.test.ts > uses HTTPS: base-server/index.js#L616
TypeError: this.http.close is not a function ❯ end base-server/index.js:616:21 ❯ base-server/index.js:619:11 ❯ base-server/index.js:613:14 ❯ base-server/index.js:513:45 ❯ BaseServer.destroy base-server/index.js:513:36 ❯ base-server/index.test.ts:178:23
server/index.test.ts > uses logger param: server/index.test.ts#L81
Error: Snapshot `uses logger param 1` mismatched - Expected + Received - "{"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","environment":"test","loguxServer":"0.0.0","nodeId":"server:FnXaqDxY","subprotocol":"1.0.0","supports":"1.x","listen":"ws://127.0.0.1:31337/","healthCheck":"http://127.0.0.1:31337/health","msg":"Logux server is listening"} + "{"level":60,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","err":{"type":"Object","message":"listen EADDRINUSE: address already in use 127.0.0.1:31337","stack":"","name":"Error"},"note":"Another Logux server or other app already running on this port. Probably you haven’t stopped server from other project or previous version of this server was not killed.\n\n$ su - root\n# netstat -nlp | grep 31337\nProto Local Address State PID/Program name\ntcp 0.0.0.0:31337 LISTEN `777`/node\n# sudo kill -9 `777`","msg":"Port `31337` already in use"} {"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","msg":"Shutting down Logux server"} " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > uses autoload modules: server/index.test.ts#L81
Error: Snapshot `uses autoload modules 1` mismatched - Expected + Received "Root path module: 1.0.0 Child path module: 1.0.0 - INFO Logux server is listening at 1970-01-01 00:00:00 - PID: 21384 - Environment: test - Logux server: 0.0.0 + FATAL Port 31337 already in use at 1970-01-01 00:00:00 + Another Logux server or other app already running on this port. + Probably you haven’t stopped server from other project or previous + version of this server was not killed. - Node ID: server:FnXaqDxY - Subprotocol: 1.0.0 - Supports: 1.x - Health check: http://127.0.0.1:31337/health - Listen: ws://127.0.0.1:31337/ + + $ su - root + # netstat -nlp | grep 31337 + Proto Local Address State PID/Program name + tcp 0.0.0.0:31337 LISTEN 777/node + # sudo kill -9 777 INFO Shutting down Logux server at 1970-01-01 00:00:00 " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > uses autoload wrong export: server/index.test.ts#L95
Error: Snapshot `uses autoload wrong export 1` mismatched - Expected + Received - " INFO Logux server is listening at 1970-01-01 00:00:00 - PID: 21384 - Environment: test - Logux server: 0.0.0 - Node ID: server:FnXaqDxY - Subprotocol: 1.0.0 - Supports: 1.x - Health check: http://127.0.0.1:31337/health - Listen: ws://127.0.0.1:31337/ - - FATAL Server module should has default export with function that accepts a server at 1970-01-01 00:00:00 - error-modules/wrond-export/index.js default export is string + " FATAL Port 31337 already in use at 1970-01-01 00:00:00 + Another Logux server or other app already running on this port. + Probably you haven’t stopped server from other project or previous + version of this server was not killed. + + $ su - root + # netstat -nlp | grep 31337 + Proto Local Address State PID/Program name + tcp 0.0.0.0:31337 LISTEN 777/node + # sudo kill -9 777 INFO Shutting down Logux server at 1970-01-01 00:00:00 " ❯ checkError server/index.test.ts:95:15
server/index.test.ts > uses .env from root: server/index.test.ts#L81
Error: Snapshot `uses .env from root 1` mismatched - Expected + Received - " INFO Logux server is listening at 1970-01-01 00:00:00 - PID: 21384 - Environment: test - Logux server: 0.0.0 + " FATAL Port 3334 already in use at 1970-01-01 00:00:00 + Another Logux server or other app already running on this port. + Probably you haven’t stopped server from other project or previous + version of this server was not killed. - Node ID: server:FnXaqDxY - Subprotocol: 1.0.0 - Supports: 1.x - Health check: http://127.0.0.1:3334/health - Listen: ws://127.0.0.1:3334/ + + $ su - root + # netstat -nlp | grep 3334 + Proto Local Address State PID/Program name + tcp 0.0.0.0:3334 LISTEN 777/node + # sudo kill -9 777 INFO Shutting down Logux server at 1970-01-01 00:00:00 " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > writes to pino log: server/index.test.ts#L81
Error: Snapshot `writes to pino log 1` mismatched - Expected + Received - "{"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","environment":"test","loguxServer":"0.0.0","nodeId":"server:FnXaqDxY","subprotocol":"1.0.0","supports":"1.x","listen":"ws://127.0.0.1:2000/","healthCheck":"http://127.0.0.1:2000/health","msg":"Logux server is listening"} + "{"level":60,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","err":{"type":"Object","message":"listen EADDRINUSE: address already in use 127.0.0.1:2000","stack":"","name":"Error"},"note":"Another Logux server or other app already running on this port. Probably you haven’t stopped server from other project or previous version of this server was not killed.\n\n$ su - root\n# netstat -nlp | grep 2000\nProto Local Address State PID/Program name\ntcp 0.0.0.0:2000 LISTEN `777`/node\n# sudo kill -9 `777`","msg":"Port `2000` already in use"} {"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","msg":"Shutting down Logux server"} " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > writes to custom pino log: server/index.test.ts#L81
Error: Snapshot `writes to custom pino log 1` mismatched - Expected + Received - "{"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server-custom","customProp":"42","environment":"test","loguxServer":"0.0.0","nodeId":"server:FnXaqDxY","subprotocol":"1.0.0","supports":"1.x","listen":"ws://127.0.0.1:2000/","healthCheck":"http://127.0.0.1:2000/health","msg":"Logux server is listening"} + "{"level":60,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server-custom","customProp":"42","err":{"type":"Object","message":"listen EADDRINUSE: address already in use 127.0.0.1:2000","stack":"","name":"Error"},"note":"Another Logux server or other app already running on this port. Probably you haven’t stopped server from other project or previous version of this server was not killed.\n\n$ su - root\n# netstat -nlp | grep 2000\nProto Local Address State PID/Program name\ntcp 0.0.0.0:2000 LISTEN `777`/node\n# sudo kill -9 `777`","msg":"Port `2000` already in use"} {"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server-custom","customProp":"42","msg":"Shutting down Logux server"} " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > has custom logger: server/index.test.ts#L81
Error: Snapshot `has custom logger 1` mismatched - Expected + Received " INFO Hi from custom logger at 1970-01-01 00:00:00 Field: 1 - INFO Logux server is listening at 1970-01-01 00:00:00 - PID: 21384 - Environment: test - Logux server: 0.0.0 + FATAL Port 31337 already in use at 1970-01-01 00:00:00 + Another Logux server or other app already running on this port. + Probably you haven’t stopped server from other project or previous + version of this server was not killed. - Node ID: server:FnXaqDxY - Subprotocol: 1.0.0 - Supports: 1.x - Health check: http://127.0.0.1:31337/health - Listen: ws://127.0.0.1:31337/ + + $ su - root + # netstat -nlp | grep 31337 + Proto Local Address State PID/Program name + tcp 0.0.0.0:31337 LISTEN 777/node + # sudo kill -9 777 INFO Shutting down Logux server at 1970-01-01 00:00:00 " ❯ checkOut server/index.test.ts:81:15
Node.js 20 Quick
Process completed with exit code 1.
Node.js 18 Quick
The job was canceled because "_20" failed.
Unhandled error: base-server/index.test.ts#L521
Error: listen EADDRINUSE: address already in use :::31337 ❯ Server.setupListenHandle [as _listen2] node:net:1817:16 ❯ listenInCluster node:net:1865:12 ❯ Server.listen node:net:1953:7 ❯ base-server/index.test.ts:521:17 ❯ base-server/index.test.ts:520:9 ❯ node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:146:14 ❯ node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:61:7 ❯ runTest node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:960:17 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 31337 } This error originated in "base-server/index.test.ts" 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 "accepts custom HTTP server". 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.
base-server/index.test.ts > uses HTTPS: base-server/index.js#L616
TypeError: this.http.close is not a function ❯ end base-server/index.js:616:21 ❯ base-server/index.js:619:11 ❯ base-server/index.js:613:14 ❯ base-server/index.js:513:45 ❯ BaseServer.destroy base-server/index.js:513:36 ❯ base-server/index.test.ts:178:23
server/index.test.ts > uses logger param: server/index.test.ts#L81
Error: Snapshot `uses logger param 1` mismatched - Expected + Received - "{"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","environment":"test","loguxServer":"0.0.0","nodeId":"server:FnXaqDxY","subprotocol":"1.0.0","supports":"1.x","listen":"ws://127.0.0.1:31337/","healthCheck":"http://127.0.0.1:31337/health","msg":"Logux server is listening"} + "{"level":60,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","err":{"type":"Object","message":"listen EADDRINUSE: address already in use 127.0.0.1:31337","stack":"","name":"Error"},"note":"Another Logux server or other app already running on this port. Probably you haven’t stopped server from other project or previous version of this server was not killed.\n\n$ su - root\n# netstat -nlp | grep 31337\nProto Local Address State PID/Program name\ntcp 0.0.0.0:31337 LISTEN `777`/node\n# sudo kill -9 `777`","msg":"Port `31337` already in use"} {"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","msg":"Shutting down Logux server"} " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > uses autoload modules: server/index.test.ts#L81
Error: Snapshot `uses autoload modules 1` mismatched - Expected + Received "Root path module: 1.0.0 Child path module: 1.0.0 - INFO Logux server is listening at 1970-01-01 00:00:00 - PID: 21384 - Environment: test - Logux server: 0.0.0 + FATAL Port 31337 already in use at 1970-01-01 00:00:00 + Another Logux server or other app already running on this port. + Probably you haven’t stopped server from other project or previous + version of this server was not killed. - Node ID: server:FnXaqDxY - Subprotocol: 1.0.0 - Supports: 1.x - Health check: http://127.0.0.1:31337/health - Listen: ws://127.0.0.1:31337/ + + $ su - root + # netstat -nlp | grep 31337 + Proto Local Address State PID/Program name + tcp 0.0.0.0:31337 LISTEN 777/node + # sudo kill -9 777 INFO Shutting down Logux server at 1970-01-01 00:00:00 " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > uses autoload wrong export: server/index.test.ts#L95
Error: Snapshot `uses autoload wrong export 1` mismatched - Expected + Received - " INFO Logux server is listening at 1970-01-01 00:00:00 - PID: 21384 - Environment: test - Logux server: 0.0.0 - Node ID: server:FnXaqDxY - Subprotocol: 1.0.0 - Supports: 1.x - Health check: http://127.0.0.1:31337/health - Listen: ws://127.0.0.1:31337/ - - FATAL Server module should has default export with function that accepts a server at 1970-01-01 00:00:00 - error-modules/wrond-export/index.js default export is string + " FATAL Port 31337 already in use at 1970-01-01 00:00:00 + Another Logux server or other app already running on this port. + Probably you haven’t stopped server from other project or previous + version of this server was not killed. + + $ su - root + # netstat -nlp | grep 31337 + Proto Local Address State PID/Program name + tcp 0.0.0.0:31337 LISTEN 777/node + # sudo kill -9 777 INFO Shutting down Logux server at 1970-01-01 00:00:00 " ❯ checkError server/index.test.ts:95:15
server/index.test.ts > uses .env from root: server/index.test.ts#L81
Error: Snapshot `uses .env from root 1` mismatched - Expected + Received - " INFO Logux server is listening at 1970-01-01 00:00:00 - PID: 21384 - Environment: test - Logux server: 0.0.0 + " FATAL Port 3334 already in use at 1970-01-01 00:00:00 + Another Logux server or other app already running on this port. + Probably you haven’t stopped server from other project or previous + version of this server was not killed. - Node ID: server:FnXaqDxY - Subprotocol: 1.0.0 - Supports: 1.x - Health check: http://127.0.0.1:3334/health - Listen: ws://127.0.0.1:3334/ + + $ su - root + # netstat -nlp | grep 3334 + Proto Local Address State PID/Program name + tcp 0.0.0.0:3334 LISTEN 777/node + # sudo kill -9 777 INFO Shutting down Logux server at 1970-01-01 00:00:00 " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > writes to pino log: server/index.test.ts#L81
Error: Snapshot `writes to pino log 1` mismatched - Expected + Received - "{"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","environment":"test","loguxServer":"0.0.0","nodeId":"server:FnXaqDxY","subprotocol":"1.0.0","supports":"1.x","listen":"ws://127.0.0.1:2000/","healthCheck":"http://127.0.0.1:2000/health","msg":"Logux server is listening"} + "{"level":60,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","err":{"type":"Object","message":"listen EADDRINUSE: address already in use 127.0.0.1:2000","stack":"","name":"Error"},"note":"Another Logux server or other app already running on this port. Probably you haven’t stopped server from other project or previous version of this server was not killed.\n\n$ su - root\n# netstat -nlp | grep 2000\nProto Local Address State PID/Program name\ntcp 0.0.0.0:2000 LISTEN `777`/node\n# sudo kill -9 `777`","msg":"Port `2000` already in use"} {"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","msg":"Shutting down Logux server"} " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > writes to custom pino log: server/index.test.ts#L81
Error: Snapshot `writes to custom pino log 1` mismatched - Expected + Received - "{"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server-custom","customProp":"42","environment":"test","loguxServer":"0.0.0","nodeId":"server:FnXaqDxY","subprotocol":"1.0.0","supports":"1.x","listen":"ws://127.0.0.1:2000/","healthCheck":"http://127.0.0.1:2000/health","msg":"Logux server is listening"} + "{"level":60,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server-custom","customProp":"42","err":{"type":"Object","message":"listen EADDRINUSE: address already in use 127.0.0.1:2000","stack":"","name":"Error"},"note":"Another Logux server or other app already running on this port. Probably you haven’t stopped server from other project or previous version of this server was not killed.\n\n$ su - root\n# netstat -nlp | grep 2000\nProto Local Address State PID/Program name\ntcp 0.0.0.0:2000 LISTEN `777`/node\n# sudo kill -9 `777`","msg":"Port `2000` already in use"} {"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server-custom","customProp":"42","msg":"Shutting down Logux server"} " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > has custom logger: server/index.test.ts#L81
Error: Snapshot `has custom logger 1` mismatched - Expected + Received " INFO Hi from custom logger at 1970-01-01 00:00:00 Field: 1 - INFO Logux server is listening at 1970-01-01 00:00:00 - PID: 21384 - Environment: test - Logux server: 0.0.0 + FATAL Port 31337 already in use at 1970-01-01 00:00:00 + Another Logux server or other app already running on this port. + Probably you haven’t stopped server from other project or previous + version of this server was not killed. - Node ID: server:FnXaqDxY - Subprotocol: 1.0.0 - Supports: 1.x - Health check: http://127.0.0.1:31337/health - Listen: ws://127.0.0.1:31337/ + + $ su - root + # netstat -nlp | grep 31337 + Proto Local Address State PID/Program name + tcp 0.0.0.0:31337 LISTEN 777/node + # sudo kill -9 777 INFO Shutting down Logux server at 1970-01-01 00:00:00 " ❯ checkOut server/index.test.ts:81:15
Node.js 18 Quick
The operation was canceled.
Unhandled error: base-server/index.test.ts#L521
Error: listen EADDRINUSE: address already in use :::31337 ❯ Server.setupListenHandle [as _listen2] node:net:1902:16 ❯ listenInCluster node:net:1959:12 ❯ Server.listen node:net:2061:7 ❯ base-server/index.test.ts:521:17 ❯ base-server/index.test.ts:520:9 ❯ node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:146:14 ❯ node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:61:7 ❯ runTest node_modules/.pnpm/@vitest[email protected]/node_modules/@vitest/runner/dist/index.js:960:17 ❯ processTicksAndRejections node:internal/process/task_queues:105:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 31337 } This error originated in "base-server/index.test.ts" 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 "accepts custom HTTP server". 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.
base-server/index.test.ts > uses HTTPS: base-server/index.js#L616
TypeError: this.http.close is not a function ❯ end base-server/index.js:616:21 ❯ base-server/index.js:619:11 ❯ base-server/index.js:613:14 ❯ base-server/index.js:513:45 ❯ BaseServer.destroy base-server/index.js:513:36 ❯ base-server/index.test.ts:178:23
server/index.test.ts > uses logger param: server/index.test.ts#L81
Error: Snapshot `uses logger param 1` mismatched - Expected + Received - "{"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","environment":"test","loguxServer":"0.0.0","nodeId":"server:FnXaqDxY","subprotocol":"1.0.0","supports":"1.x","listen":"ws://127.0.0.1:31337/","healthCheck":"http://127.0.0.1:31337/health","msg":"Logux server is listening"} + "{"level":60,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","err":{"type":"Object","message":"listen EADDRINUSE: address already in use 127.0.0.1:31337","stack":"","name":"Error"},"note":"Another Logux server or other app already running on this port. Probably you haven’t stopped server from other project or previous version of this server was not killed.\n\n$ su - root\n# netstat -nlp | grep 31337\nProto Local Address State PID/Program name\ntcp 0.0.0.0:31337 LISTEN `777`/node\n# sudo kill -9 `777`","msg":"Port `31337` already in use"} {"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","msg":"Shutting down Logux server"} " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > uses autoload modules: server/index.test.ts#L81
Error: Snapshot `uses autoload modules 1` mismatched - Expected + Received "Root path module: 1.0.0 Child path module: 1.0.0 - INFO Logux server is listening at 1970-01-01 00:00:00 - PID: 21384 - Environment: test - Logux server: 0.0.0 + FATAL Port 31337 already in use at 1970-01-01 00:00:00 + Another Logux server or other app already running on this port. + Probably you haven’t stopped server from other project or previous + version of this server was not killed. - Node ID: server:FnXaqDxY - Subprotocol: 1.0.0 - Supports: 1.x - Health check: http://127.0.0.1:31337/health - Listen: ws://127.0.0.1:31337/ + + $ su - root + # netstat -nlp | grep 31337 + Proto Local Address State PID/Program name + tcp 0.0.0.0:31337 LISTEN 777/node + # sudo kill -9 777 INFO Shutting down Logux server at 1970-01-01 00:00:00 " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > uses autoload wrong export: server/index.test.ts#L95
Error: Snapshot `uses autoload wrong export 1` mismatched - Expected + Received - " INFO Logux server is listening at 1970-01-01 00:00:00 - PID: 21384 - Environment: test - Logux server: 0.0.0 - Node ID: server:FnXaqDxY - Subprotocol: 1.0.0 - Supports: 1.x - Health check: http://127.0.0.1:31337/health - Listen: ws://127.0.0.1:31337/ - - FATAL Server module should has default export with function that accepts a server at 1970-01-01 00:00:00 - error-modules/wrond-export/index.js default export is string + " FATAL Port 31337 already in use at 1970-01-01 00:00:00 + Another Logux server or other app already running on this port. + Probably you haven’t stopped server from other project or previous + version of this server was not killed. + + $ su - root + # netstat -nlp | grep 31337 + Proto Local Address State PID/Program name + tcp 0.0.0.0:31337 LISTEN 777/node + # sudo kill -9 777 INFO Shutting down Logux server at 1970-01-01 00:00:00 " ❯ checkError server/index.test.ts:95:15
server/index.test.ts > uses .env from root: server/index.test.ts#L81
Error: Snapshot `uses .env from root 1` mismatched - Expected + Received - " INFO Logux server is listening at 1970-01-01 00:00:00 - PID: 21384 - Environment: test - Logux server: 0.0.0 + " FATAL Port 3334 already in use at 1970-01-01 00:00:00 + Another Logux server or other app already running on this port. + Probably you haven’t stopped server from other project or previous + version of this server was not killed. - Node ID: server:FnXaqDxY - Subprotocol: 1.0.0 - Supports: 1.x - Health check: http://127.0.0.1:3334/health - Listen: ws://127.0.0.1:3334/ + + $ su - root + # netstat -nlp | grep 3334 + Proto Local Address State PID/Program name + tcp 0.0.0.0:3334 LISTEN 777/node + # sudo kill -9 777 INFO Shutting down Logux server at 1970-01-01 00:00:00 " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > writes to pino log: server/index.test.ts#L81
Error: Snapshot `writes to pino log 1` mismatched - Expected + Received - "{"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","environment":"test","loguxServer":"0.0.0","nodeId":"server:FnXaqDxY","subprotocol":"1.0.0","supports":"1.x","listen":"ws://127.0.0.1:2000/","healthCheck":"http://127.0.0.1:2000/health","msg":"Logux server is listening"} + "{"level":60,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","err":{"type":"Object","message":"listen EADDRINUSE: address already in use 127.0.0.1:2000","stack":"","name":"Error"},"note":"Another Logux server or other app already running on this port. Probably you haven’t stopped server from other project or previous version of this server was not killed.\n\n$ su - root\n# netstat -nlp | grep 2000\nProto Local Address State PID/Program name\ntcp 0.0.0.0:2000 LISTEN `777`/node\n# sudo kill -9 `777`","msg":"Port `2000` already in use"} {"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server","msg":"Shutting down Logux server"} " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > writes to custom pino log: server/index.test.ts#L81
Error: Snapshot `writes to custom pino log 1` mismatched - Expected + Received - "{"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server-custom","customProp":"42","environment":"test","loguxServer":"0.0.0","nodeId":"server:FnXaqDxY","subprotocol":"1.0.0","supports":"1.x","listen":"ws://127.0.0.1:2000/","healthCheck":"http://127.0.0.1:2000/health","msg":"Logux server is listening"} + "{"level":60,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server-custom","customProp":"42","err":{"type":"Object","message":"listen EADDRINUSE: address already in use 127.0.0.1:2000","stack":"","name":"Error"},"note":"Another Logux server or other app already running on this port. Probably you haven’t stopped server from other project or previous version of this server was not killed.\n\n$ su - root\n# netstat -nlp | grep 2000\nProto Local Address State PID/Program name\ntcp 0.0.0.0:2000 LISTEN `777`/node\n# sudo kill -9 `777`","msg":"Port `2000` already in use"} {"level":30,"time":"1970-01-01T00:00:00.000Z","pid":21384,"hostname":"localhost","name":"logux-server-custom","customProp":"42","msg":"Shutting down Logux server"} " ❯ checkOut server/index.test.ts:81:15
server/index.test.ts > has custom logger: server/index.test.ts#L81
Error: Snapshot `has custom logger 1` mismatched - Expected + Received " INFO Hi from custom logger at 1970-01-01 00:00:00 Field: 1 - INFO Logux server is listening at 1970-01-01 00:00:00 - PID: 21384 - Environment: test - Logux server: 0.0.0 + FATAL Port 31337 already in use at 1970-01-01 00:00:00 + Another Logux server or other app already running on this port. + Probably you haven’t stopped server from other project or previous + version of this server was not killed. - Node ID: server:FnXaqDxY - Subprotocol: 1.0.0 - Supports: 1.x - Health check: http://127.0.0.1:31337/health - Listen: ws://127.0.0.1:31337/ + + $ su - root + # netstat -nlp | grep 31337 + Proto Local Address State PID/Program name + tcp 0.0.0.0:31337 LISTEN 777/node + # sudo kill -9 777 INFO Shutting down Logux server at 1970-01-01 00:00:00 " ❯ checkOut server/index.test.ts:81:15
Node.js Latest Full
Process completed with exit code 1.