Page MenuHomePhabricator

[alias-server] Patch CI failures caused by Mongo Memory Server dep
ClosedPublic

Authored by bytesofman on Wed, Nov 20, 22:04.

Details

Summary

alias-server has MongoDB pegged to a version no longer supported by CI

Update the test deps for mongo and bump this version peg to fix tests in CI.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Failed tests logs:

====== alias-server alias.js: "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee".alias-server alias.js "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee" ======
Error: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
    at MongoInstance.checkErrorInLine (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:382:62)
    at MongoInstance.stderrHandler (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:304:14)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
====== alias-server alias.js: "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in".alias-server alias.js "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/alias.test.js:44:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server app.js: "before all" hook for "/prices returns aliasConstants.prices".alias-server app.js "before all" hook for "/prices returns aliasConstants.prices" ======
Error: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
    at MongoInstance.checkErrorInLine (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:382:62)
    at MongoInstance.stderrHandler (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:304:14)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
====== alias-server app.js: "after all" hook for "/address/:address returns an error on database error".alias-server app.js "after all" hook for "/address/:address returns an error on database error" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/app.test.js:29:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server chronikWsHandler.js: "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address".alias-server chronikWsHandler.js "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address" ======
Error: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
    at MongoInstance.checkErrorInLine (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:382:62)
    at MongoInstance.stderrHandler (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:304:14)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
====== alias-server chronikWsHandler.js: "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid".alias-server chronikWsHandler.js "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/chronikWsHandler.test.js:38:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server db.js: "before all" hook for "initializeDb returns a mongo db instance of the expected schema".alias-server db.js "before all" hook for "initializeDb returns a mongo db instance of the expected schema" ======
Error: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
    at MongoInstance.checkErrorInLine (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:382:62)
    at MongoInstance.stderrHandler (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:304:14)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
====== alias-server db.js: "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection".alias-server db.js "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/db.test.js:37:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server events.js: "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block".alias-server events.js "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block" ======
Error: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
    at MongoInstance.checkErrorInLine (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:382:62)
    at MongoInstance.stderrHandler (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:304:14)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
====== alias-server events.js: "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error".alias-server events.js "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/events.test.js:40:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server main.js: "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly" ======
Error: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
    at MongoInstance.checkErrorInLine (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:382:62)
    at MongoInstance.stderrHandler (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:304:14)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
====== alias-server main.js: "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/main.test.js:55:31)
    at process.processImmediate (node:internal/timers:483:21)

Each failure log is accessible here:
alias-server alias.js: "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee".alias-server alias.js "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee"
alias-server alias.js: "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in".alias-server alias.js "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in"
alias-server app.js: "before all" hook for "/prices returns aliasConstants.prices".alias-server app.js "before all" hook for "/prices returns aliasConstants.prices"
alias-server app.js: "after all" hook for "/address/:address returns an error on database error".alias-server app.js "after all" hook for "/address/:address returns an error on database error"
alias-server chronikWsHandler.js: "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address".alias-server chronikWsHandler.js "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address"
alias-server chronikWsHandler.js: "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid".alias-server chronikWsHandler.js "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid"
alias-server db.js: "before all" hook for "initializeDb returns a mongo db instance of the expected schema".alias-server db.js "before all" hook for "initializeDb returns a mongo db instance of the expected schema"
alias-server db.js: "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection".alias-server db.js "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection"
alias-server events.js: "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block".alias-server events.js "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block"
alias-server events.js: "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error".alias-server events.js "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error"
alias-server main.js: "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly"
alias-server main.js: "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly"

bytesofman edited the test plan for this revision. (Show Details)

Failed tests logs:

====== alias-server alias.js: "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee".alias-server alias.js "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee" ======
Error: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
    at MongoInstance.checkErrorInLine (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:382:62)
    at MongoInstance.stderrHandler (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:304:14)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
====== alias-server alias.js: "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in".alias-server alias.js "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/alias.test.js:44:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server app.js: "before all" hook for "/prices returns aliasConstants.prices".alias-server app.js "before all" hook for "/prices returns aliasConstants.prices" ======
Error: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
    at MongoInstance.checkErrorInLine (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:382:62)
    at MongoInstance.stderrHandler (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:304:14)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
====== alias-server app.js: "after all" hook for "/address/:address returns an error on database error".alias-server app.js "after all" hook for "/address/:address returns an error on database error" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/app.test.js:29:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server chronikWsHandler.js: "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address".alias-server chronikWsHandler.js "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address" ======
Error: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
    at MongoInstance.checkErrorInLine (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:382:62)
    at MongoInstance.stderrHandler (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:304:14)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
====== alias-server chronikWsHandler.js: "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid".alias-server chronikWsHandler.js "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/chronikWsHandler.test.js:38:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server db.js: "before all" hook for "initializeDb returns a mongo db instance of the expected schema".alias-server db.js "before all" hook for "initializeDb returns a mongo db instance of the expected schema" ======
Error: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
    at MongoInstance.checkErrorInLine (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:382:62)
    at MongoInstance.stderrHandler (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:304:14)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
====== alias-server db.js: "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection".alias-server db.js "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/db.test.js:37:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server events.js: "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block".alias-server events.js "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block" ======
Error: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
    at MongoInstance.checkErrorInLine (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:382:62)
    at MongoInstance.stderrHandler (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:304:14)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
====== alias-server events.js: "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error".alias-server events.js "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/events.test.js:40:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server main.js: "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly" ======
Error: Instance failed to start because a library is missing or cannot be opened: "libcrypto.so.1.1"
    at MongoInstance.checkErrorInLine (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:382:62)
    at MongoInstance.stderrHandler (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:304:14)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
====== alias-server main.js: "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/main.test.js:55:31)
    at process.processImmediate (node:internal/timers:483:21)

Each failure log is accessible here:
alias-server alias.js: "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee".alias-server alias.js "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee"
alias-server alias.js: "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in".alias-server alias.js "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in"
alias-server app.js: "before all" hook for "/prices returns aliasConstants.prices".alias-server app.js "before all" hook for "/prices returns aliasConstants.prices"
alias-server app.js: "after all" hook for "/address/:address returns an error on database error".alias-server app.js "after all" hook for "/address/:address returns an error on database error"
alias-server chronikWsHandler.js: "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address".alias-server chronikWsHandler.js "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address"
alias-server chronikWsHandler.js: "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid".alias-server chronikWsHandler.js "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid"
alias-server db.js: "before all" hook for "initializeDb returns a mongo db instance of the expected schema".alias-server db.js "before all" hook for "initializeDb returns a mongo db instance of the expected schema"
alias-server db.js: "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection".alias-server db.js "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection"
alias-server events.js: "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block".alias-server events.js "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block"
alias-server events.js: "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error".alias-server events.js "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error"
alias-server main.js: "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly"
alias-server main.js: "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly"

Failed tests logs:

====== alias-server alias.js: "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee".alias-server alias.js "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/alias.test.js:33:23)
====== alias-server alias.js: "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in".alias-server alias.js "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/alias.test.js:44:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server app.js: "before all" hook for "/prices returns aliasConstants.prices".alias-server app.js "before all" hook for "/prices returns aliasConstants.prices" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/app.test.js:24:23)
====== alias-server app.js: "after all" hook for "/address/:address returns an error on database error".alias-server app.js "after all" hook for "/address/:address returns an error on database error" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/app.test.js:29:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server chronikWsHandler.js: "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address".alias-server chronikWsHandler.js "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/chronikWsHandler.test.js:31:23)
====== alias-server chronikWsHandler.js: "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid".alias-server chronikWsHandler.js "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/chronikWsHandler.test.js:38:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server db.js: "before all" hook for "initializeDb returns a mongo db instance of the expected schema".alias-server db.js "before all" hook for "initializeDb returns a mongo db instance of the expected schema" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/db.test.js:30:23)
====== alias-server db.js: "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection".alias-server db.js "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/db.test.js:37:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server events.js: "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block".alias-server events.js "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/events.test.js:33:23)
====== alias-server events.js: "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error".alias-server events.js "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/events.test.js:40:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server main.js: "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/main.test.js:26:23)
====== alias-server main.js: "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/main.test.js:55:31)
    at process.processImmediate (node:internal/timers:483:21)

Each failure log is accessible here:
alias-server alias.js: "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee".alias-server alias.js "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee"
alias-server alias.js: "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in".alias-server alias.js "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in"
alias-server app.js: "before all" hook for "/prices returns aliasConstants.prices".alias-server app.js "before all" hook for "/prices returns aliasConstants.prices"
alias-server app.js: "after all" hook for "/address/:address returns an error on database error".alias-server app.js "after all" hook for "/address/:address returns an error on database error"
alias-server chronikWsHandler.js: "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address".alias-server chronikWsHandler.js "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address"
alias-server chronikWsHandler.js: "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid".alias-server chronikWsHandler.js "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid"
alias-server db.js: "before all" hook for "initializeDb returns a mongo db instance of the expected schema".alias-server db.js "before all" hook for "initializeDb returns a mongo db instance of the expected schema"
alias-server db.js: "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection".alias-server db.js "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection"
alias-server events.js: "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block".alias-server events.js "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block"
alias-server events.js: "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error".alias-server events.js "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error"
alias-server main.js: "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly"
alias-server main.js: "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly"

Failed tests logs:

====== alias-server alias.js: "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee".alias-server alias.js "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/alias.test.js:33:23)
====== alias-server alias.js: "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in".alias-server alias.js "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/alias.test.js:44:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server app.js: "before all" hook for "/prices returns aliasConstants.prices".alias-server app.js "before all" hook for "/prices returns aliasConstants.prices" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/app.test.js:24:23)
====== alias-server app.js: "after all" hook for "/address/:address returns an error on database error".alias-server app.js "after all" hook for "/address/:address returns an error on database error" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/app.test.js:29:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server chronikWsHandler.js: "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address".alias-server chronikWsHandler.js "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/chronikWsHandler.test.js:31:23)
====== alias-server chronikWsHandler.js: "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid".alias-server chronikWsHandler.js "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/chronikWsHandler.test.js:38:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server db.js: "before all" hook for "initializeDb returns a mongo db instance of the expected schema".alias-server db.js "before all" hook for "initializeDb returns a mongo db instance of the expected schema" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/db.test.js:30:23)
====== alias-server db.js: "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection".alias-server db.js "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/db.test.js:37:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server events.js: "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block".alias-server events.js "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/events.test.js:33:23)
====== alias-server events.js: "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error".alias-server events.js "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/events.test.js:40:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server main.js: "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/main.test.js:26:23)
====== alias-server main.js: "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/main.test.js:55:31)
    at process.processImmediate (node:internal/timers:483:21)

Each failure log is accessible here:
alias-server alias.js: "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee".alias-server alias.js "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee"
alias-server alias.js: "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in".alias-server alias.js "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in"
alias-server app.js: "before all" hook for "/prices returns aliasConstants.prices".alias-server app.js "before all" hook for "/prices returns aliasConstants.prices"
alias-server app.js: "after all" hook for "/address/:address returns an error on database error".alias-server app.js "after all" hook for "/address/:address returns an error on database error"
alias-server chronikWsHandler.js: "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address".alias-server chronikWsHandler.js "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address"
alias-server chronikWsHandler.js: "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid".alias-server chronikWsHandler.js "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid"
alias-server db.js: "before all" hook for "initializeDb returns a mongo db instance of the expected schema".alias-server db.js "before all" hook for "initializeDb returns a mongo db instance of the expected schema"
alias-server db.js: "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection".alias-server db.js "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection"
alias-server events.js: "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block".alias-server events.js "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block"
alias-server events.js: "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error".alias-server events.js "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error"
alias-server main.js: "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly"
alias-server main.js: "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly"

back out npm audit fix changes

Failed tests logs:

====== alias-server alias.js: "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee".alias-server alias.js "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/alias.test.js:33:23)
====== alias-server alias.js: "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in".alias-server alias.js "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/alias.test.js:44:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server app.js: "before all" hook for "/prices returns aliasConstants.prices".alias-server app.js "before all" hook for "/prices returns aliasConstants.prices" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/app.test.js:24:23)
====== alias-server app.js: "after all" hook for "/address/:address returns an error on database error".alias-server app.js "after all" hook for "/address/:address returns an error on database error" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/app.test.js:29:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server chronikWsHandler.js: "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address".alias-server chronikWsHandler.js "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/chronikWsHandler.test.js:31:23)
====== alias-server chronikWsHandler.js: "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid".alias-server chronikWsHandler.js "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/chronikWsHandler.test.js:38:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server db.js: "before all" hook for "initializeDb returns a mongo db instance of the expected schema".alias-server db.js "before all" hook for "initializeDb returns a mongo db instance of the expected schema" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/db.test.js:30:23)
====== alias-server db.js: "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection".alias-server db.js "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/db.test.js:37:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server events.js: "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block".alias-server events.js "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/events.test.js:33:23)
====== alias-server events.js: "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error".alias-server events.js "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/events.test.js:40:31)
    at process.processImmediate (node:internal/timers:483:21)
====== alias-server main.js: "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly" ======
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3" Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
Error: Requested Version "6.0.5" is not available for "Debian 12"! Available Versions: ">=7.0.3"
Mongodb does not provide binaries for versions before 7.0.3 for Debian 12+ and also cannot be mapped to a previous Debian release
    at MongoBinaryDownloadUrl.getDebianVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:256:23)
    at MongoBinaryDownloadUrl.getLinuxOSVersionString (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:183:25)
    at MongoBinaryDownloadUrl.getArchiveNameLinux (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:128:31)
    at MongoBinaryDownloadUrl.getArchiveName (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:65:29)
    at MongoBinaryDownloadUrl.getDownloadUrl (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js:36:36)
    at MongoBinaryDownload.startDownload (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:90:42)
    at async MongoBinaryDownload.getMongodPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:66:32)
    at async MongoBinary.download (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:43:74)
    at async MongoBinary.getPath (node_modules/mongodb-memory-server-core/lib/util/MongoBinary.js:104:30)
    at async MongoInstance.start (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:136:26)
    at async MongoInstance.create (node_modules/mongodb-memory-server-core/lib/util/MongoInstance.js:85:9)
    at async MongoMemoryServer._startUpInstance (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:226:26)
    at async MongoMemoryServer.start (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:85:9)
    at async MongoMemoryServer.create (node_modules/mongodb-memory-server-core/lib/MongoMemoryServer.js:64:9)
    at async Context.<anonymous> (test/main.test.js:26:23)
====== alias-server main.js: "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly" ======
TypeError: Cannot read properties of undefined (reading 'close')
    at Context.<anonymous> (test/main.test.js:55:31)
    at process.processImmediate (node:internal/timers:483:21)

Each failure log is accessible here:
alias-server alias.js: "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee".alias-server alias.js "before all" hook for "parseAliasTx returns tx info for an alias tx with an overpaid fee"
alias-server alias.js: "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in".alias-server alias.js "after all" hook for "parseTxForPendingAliases adds multiple pending alias registrations to the database if an incoming tx containing multiple alias registrations comes in"
alias-server app.js: "before all" hook for "/prices returns aliasConstants.prices".alias-server app.js "before all" hook for "/prices returns aliasConstants.prices"
alias-server app.js: "after all" hook for "/address/:address returns an error on database error".alias-server app.js "after all" hook for "/address/:address returns an error on database error"
alias-server chronikWsHandler.js: "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address".alias-server chronikWsHandler.js "before all" hook for "initializeWebsocket returns expected websocket object for a p2pkh address"
alias-server chronikWsHandler.js: "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid".alias-server chronikWsHandler.js "after all" hook for "parseWebsocketMessage removes a txid from pendingAliases if TX_REMOVED_FROM_MEMPOOL message includes that txid"
alias-server db.js: "before all" hook for "initializeDb returns a mongo db instance of the expected schema".alias-server db.js "before all" hook for "initializeDb returns a mongo db instance of the expected schema"
alias-server db.js: "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection".alias-server db.js "after all" hook for "getPendingAliases returns only pending aliases with specified address and without tipHeight, if called with { _tipHeight: 0 } projection"
alias-server events.js: "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block".alias-server events.js "before all" hook for "handleAppStartup calls handleBlockFinalized with tipHeight and completes function if block is avalanche finalized, and also removes pendingAliases that are in the avalanche confirmed block"
alias-server events.js: "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error".alias-server events.js "after all" hook for "handleAddedToMempool calls parseTxForPendingAliases if no chronik error"
alias-server main.js: "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "before all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly"
alias-server main.js: "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly".alias-server main.js "after all" hook for "main() connects to a websocket, and runs handleAppStartup() correctly"

This revision is now accepted and ready to land.Thu, Nov 21, 05:01