Skip to content

Instantly share code, notes, and snippets.

@tomhudak
Created October 31, 2024 12:01
Show Gist options
  • Save tomhudak/0733cbb50c098413002aa7b2a52c9905 to your computer and use it in GitHub Desktop.
Save tomhudak/0733cbb50c098413002aa7b2a52c9905 to your computer and use it in GitHub Desktop.
mongodb mongo memory server 8.0.1 debug log
Determining test suites to run... MongoMS:ResolveConfig Debug Mode Enabled, through Environment Variable +0ms
MongoMS:ResolveConfig findPackageJson: Found package.json at "/home/user/git/project/server/package.json" +0ms
MongoMS:MongoMemoryReplSet start: stopped +0ms
MongoMS:MongoMemoryReplSet initAllServers +0ms
MongoMS:MongoMemoryReplSet initAllServers: starting extra server "1" of "1" (count: 1) +0ms
MongoMS:MongoMemoryReplSet getInstanceOpts: instance opts: {
auth: false,
args: [],
dbName: '',
ip: '127.0.0.1',
replSet: 'testset',
storageEngine: 'wiredTiger'
} +0ms
MongoMS:MongoMemoryServer opts.instance.auth was defined, but will be set automatically, ignoring +0ms
MongoMS:MongoMemoryReplSet initAllServers: waiting for all servers to finish starting +2ms
MongoMS:MongoMemoryServer Mongo[unknown]: start: Called .start() method +0ms
MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Called MongoMemoryServer._startUpInstance() method +0ms
MongoMS:MongoMemoryServer Mongo[unknown]: getStartOptions: forceSamePort: false +0ms
MongoMS:DryMongoBinary generateOptions +0ms
MongoMS:utils tryReleaseFile: "/etc/upstream-release/lsb-release" does not exist +0ms
MongoMS:getos getLinuxInformation: Using etcOsRelease +0ms
MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" +3ms
MongoMS:DryMongoBinary generatePaths {
version: '8.0.1',
downloadDir: '',
os: {
os: 'linux',
dist: 'fedora',
codename: '""',
release: '40',
id_like: undefined
},
platform: 'linux',
arch: 'x64',
systemBinary: ''
} +0ms
MongoMS:DryMongoBinary getBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary generateDownloadPath: Paths: {
homeCache: '/home/user/.cache/mongodb-binaries/mongod-x64-fedora-8.0.1',
modulesCache: '/home/user/git/project/server/node_modules/.cache/mongodb-memory-server/mongod-x64-fedora-8.0.1',
relative: '/home/user/git/project/server/mongodb-binaries/mongod-x64-fedora-8.0.1',
resolveConfig: ''
} +0ms
MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "8.0.1" was found +2ms
MongoMS:DryMongoBinary generateDownloadPath: using global (preferGlobal) "/home/user/.cache/mongodb-binaries/mongod-x64-fedora-8.0.1" +0ms
MongoMS:GetPort EXP_NET0LISTEN false +0ms
MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Creating new MongoDB instance with options: {
instance: {
port: 37040,
dbName: '',
ip: '127.0.0.1',
storageEngine: 'wiredTiger',
replSet: 'testset',
dbPath: '/tmp/mongo-mem-P8zPaT',
tmpDir: '/tmp/mongo-mem-P8zPaT',
keyfileLocation: undefined,
launchTimeout: undefined,
args: [],
auth: false
},
binary: { version: '8.0.1', skipMD5: true },
spawn: {}
} +8ms
MongoMS:MongoInstance create: Called .create() method +0ms
MongoMS:MongoInstance Mongo[37040]: start +0ms
MongoMS:MongoBinary getPath +0ms
MongoMS:DryMongoBinary generateOptions +3ms
MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" +1ms
MongoMS:DryMongoBinary generatePaths {
version: '8.0.1',
downloadDir: '',
os: {
os: 'linux',
dist: 'fedora',
codename: '""',
release: '40',
id_like: undefined
},
platform: 'linux',
arch: 'x64',
systemBinary: ''
} +0ms
MongoMS:DryMongoBinary getBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary generateDownloadPath: Paths: {
homeCache: '/home/user/.cache/mongodb-binaries/mongod-x64-fedora-8.0.1',
modulesCache: '/home/user/git/project/server/node_modules/.cache/mongodb-memory-server/mongod-x64-fedora-8.0.1',
relative: '/home/user/git/project/server/mongodb-binaries/mongod-x64-fedora-8.0.1',
resolveConfig: ''
} +0ms
MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "8.0.1" was found +0ms
MongoMS:DryMongoBinary generateDownloadPath: using global (preferGlobal) "/home/user/.cache/mongodb-binaries/mongod-x64-fedora-8.0.1" +0ms
MongoMS:MongoBinary getPath: MongoBinary options: {
"version": "8.0.1",
"downloadDir": "/home/user/.cache/mongodb-binaries",
"os": {
"os": "linux",
"dist": "fedora",
"codename": "\"\"",
"release": "40"
},
"platform": "linux",
"arch": "x64",
"systemBinary": "",
"checkMD5": true
} +1ms
MongoMS:DryMongoBinary locateBinary: Trying to locate Binary for version "8.0.1" +1ms
MongoMS:DryMongoBinary generateOptions +0ms
MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" +0ms
MongoMS:DryMongoBinary generatePaths {
version: '8.0.1',
downloadDir: '/home/user/.cache/mongodb-binaries',
os: {
os: 'linux',
dist: 'fedora',
codename: '""',
release: '40',
id_like: undefined
},
platform: 'linux',
arch: 'x64',
systemBinary: ''
} +0ms
MongoMS:DryMongoBinary getBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary generateDownloadPath: Paths: {
homeCache: '/home/user/.cache/mongodb-binaries/mongod-x64-fedora-8.0.1',
modulesCache: '/home/user/git/project/server/node_modules/.cache/mongodb-memory-server/mongod-x64-fedora-8.0.1',
relative: '/home/user/git/project/server/mongodb-binaries/mongod-x64-fedora-8.0.1',
resolveConfig: '/home/user/.cache/mongodb-binaries/mongod-x64-fedora-8.0.1'
} +0ms
MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "8.0.1" was found +0ms
MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "/home/user/.cache/mongodb-binaries/mongod-x64-fedora-8.0.1" +0ms
MongoMS:DryMongoBinary locateBinary: running generateDownloadPath +0ms
MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" +0ms
MongoMS:DryMongoBinary generatePaths {
version: '8.0.1',
downloadDir: '/home/user/.cache/mongodb-binaries',
os: {
os: 'linux',
dist: 'fedora',
codename: '""',
release: '40',
id_like: undefined
},
platform: 'linux',
arch: 'x64',
systemBinary: ''
} +0ms
MongoMS:DryMongoBinary getBinaryName +1ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary generateDownloadPath: Paths: {
homeCache: '/home/user/.cache/mongodb-binaries/mongod-x64-fedora-8.0.1',
modulesCache: '/home/user/git/project/server/node_modules/.cache/mongodb-memory-server/mongod-x64-fedora-8.0.1',
relative: '/home/user/git/project/server/mongodb-binaries/mongod-x64-fedora-8.0.1',
resolveConfig: '/home/user/.cache/mongodb-binaries/mongod-x64-fedora-8.0.1'
} +0ms
MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "8.0.1" was found +0ms
MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "/home/user/.cache/mongodb-binaries/mongod-x64-fedora-8.0.1" +0ms
MongoMS:DryMongoBinary locateBinary: could not find a existing binary +0ms
MongoMS:MongoBinary getPath: "RUNTIME_DOWNLOAD" is "true", trying to download +2ms
MongoMS:MongoBinary download +0ms
MongoMS:MongoBinary download: Waiting to acquire Download lock for file "/home/user/.cache/mongodb-binaries/8.0.1.lock" +0ms
MongoMS:LockFile lock: Locking file "/home/user/.cache/mongodb-binaries/8.0.1.lock" +0ms
MongoMS:LockFile checkLock: for file "/home/user/.cache/mongodb-binaries/8.0.1.lock" with uuid: "undefined" +0ms
MongoMS:LockFile createLock: trying to create a lock file for "/home/user/.cache/mongodb-binaries/8.0.1.lock" +0ms
MongoMS:LockFile createLock: Lock File Created for file "/home/user/.cache/mongodb-binaries/8.0.1.lock" +2ms
MongoMS:MongoBinary download: Download lock acquired +3ms
MongoMS:MongoBinary download: Adding version 8.0.1 to cache +0ms
MongoMS:MongoBinaryDownload getMongodPath +0ms
MongoMS:DryMongoBinary generateOptions +3ms
MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" +0ms
MongoMS:DryMongoBinary generatePaths {
version: '8.0.1',
downloadDir: '/home/user/.cache/mongodb-binaries',
os: {
os: 'linux',
dist: 'fedora',
codename: '""',
release: '40',
id_like: undefined
},
platform: 'linux',
arch: 'x64',
systemBinary: ''
} +0ms
MongoMS:DryMongoBinary getBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:DryMongoBinary generateDownloadPath: Paths: {
homeCache: '/home/user/.cache/mongodb-binaries/mongod-x64-fedora-8.0.1',
modulesCache: '/home/user/git/project/server/node_modules/.cache/mongodb-memory-server/mongod-x64-fedora-8.0.1',
relative: '/home/user/git/project/server/mongodb-binaries/mongod-x64-fedora-8.0.1',
resolveConfig: '/home/user/.cache/mongodb-binaries/mongod-x64-fedora-8.0.1'
} +0ms
MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "8.0.1" was found +1ms
MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "/home/user/.cache/mongodb-binaries/mongod-x64-fedora-8.0.1" +0ms
MongoMS:DryMongoBinary getBinaryName +0ms
MongoMS:DryMongoBinary combineBinaryName +0ms
MongoMS:MongoBinaryDownload startDownload +1ms
MongoMS:MongoBinaryDownloadUrl Using "mongodb-linux-x86_64-rhel80-8.0.1.tgz" as the Archive String +0ms
MongoMS:MongoBinaryDownloadUrl Using "https://fastdl.mongodb.org" as the mirror +0ms
MongoMS:MongoBinaryDownload download +1ms
MongoMS:MongoBinaryDownload download: Downloading: "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-8.0.1.tgz" +0ms
MongoMS:MongoBinaryDownload httpDownload +0ms
MongoMS:MongoBinaryDownload httpDownload: trying to download "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-8.0.1.tgz" +0ms
MongoMS:MongoBinary download: Removing Download lock +444ms
MongoMS:LockFile unlock: Unlocking file "/home/user/.cache/mongodb-binaries/8.0.1.lock" +444ms
MongoMS:LockFile checkLock: for file "/home/user/.cache/mongodb-binaries/8.0.1.lock" with uuid: "1fc28b0d-0d13-45ee-8221-4682274fe331" +1ms
MongoMS:LockFile checkLock: Lock File Already exists, and is for *this* process, with uuid: "1fc28b0d-0d13-45ee-8221-4682274fe331" +1ms
MongoMS:LockFile unlock: Lock Status was "availableInstance" for file "/home/user/.cache/mongodb-binaries/8.0.1.lock" +0ms
MongoMS:LockFile unlockCleanup: for file "/home/user/.cache/mongodb-binaries/8.0.1.lock" +1ms
MongoMS:MongoBinary download: Download lock removed +3ms
MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance threw a Error: DownloadError: Download failed for url "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-8.0.1.tgz", Details:
Status Code is 403 (MongoDB's 404)
This means that the requested version-platform combination doesn't exist
Try to use different version 'new MongoMemoryServer({ binary: { version: 'X.Y.Z' } })'
List of available versions can be found here: https://www.mongodb.com/download-center/community/releases/archive
at RedirectableRequest.<anonymous> (/home/user/git/project/server/node_modules/@shelf/jest-mongodb/node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:272:32)
at RedirectableRequest.emit (node:events:519:28)
at RedirectableRequest._processResponse (/home/user/git/project/server/node_modules/follow-redirects/index.js:409:10)
at RedirectableRequest._onNativeResponse (/home/user/git/project/server/node_modules/follow-redirects/index.js:102:12)
at Object.onceWrapper (node:events:634:26)
at ClientRequest.emit (node:events:519:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:702:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:118:17)
at TLSSocket.socketOnData (node:_http_client:544:22)
at TLSSocket.emit (node:events:519:28) {
url: 'https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-8.0.1.tgz',
msg: "Status Code is 403 (MongoDB's 404)\n" +
"This means that the requested version-platform combination doesn't exist\n" +
"Try to use different version 'new MongoMemoryServer({ binary: { version: 'X.Y.Z' } })'\n" +
'List of available versions can be found here: https://www.mongodb.com/download-center/community/releases/archive'
} +453ms
MongoMS:MongoMemoryServer Mongo[unknown]: stop: Called .stop() method +3ms
MongoMS:MongoMemoryServer Mongo[unknown]: stop: "instanceInfo" is not defined (never ran?) +0ms
MongoMS:MongoMemoryReplSet ensureAsync chain threw a Error: DownloadError: Download failed for url "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-8.0.1.tgz", Details:
Status Code is 403 (MongoDB's 404)
This means that the requested version-platform combination doesn't exist
Try to use different version 'new MongoMemoryServer({ binary: { version: 'X.Y.Z' } })'
List of available versions can be found here: https://www.mongodb.com/download-center/community/releases/archive
at RedirectableRequest.<anonymous> (/home/user/git/project/server/node_modules/@shelf/jest-mongodb/node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:272:32)
at RedirectableRequest.emit (node:events:519:28)
at RedirectableRequest._processResponse (/home/user/git/project/server/node_modules/follow-redirects/index.js:409:10)
at RedirectableRequest._onNativeResponse (/home/user/git/project/server/node_modules/follow-redirects/index.js:102:12)
at Object.onceWrapper (node:events:634:26)
at ClientRequest.emit (node:events:519:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:702:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:118:17)
at TLSSocket.socketOnData (node:_http_client:544:22)
at TLSSocket.emit (node:events:519:28) {
url: 'https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-8.0.1.tgz',
msg: "Status Code is 403 (MongoDB's 404)\n" +
"This means that the requested version-platform combination doesn't exist\n" +
"Try to use different version 'new MongoMemoryServer({ binary: { version: 'X.Y.Z' } })'\n" +
'List of available versions can be found here: https://www.mongodb.com/download-center/community/releases/archive'
} +464ms
MongoMS:MongoMemoryReplSet stop: called by manual +1ms
MongoMS:MongoMemoryServer Mongo[unknown]: stop: Called .stop() method +1ms
MongoMS:MongoMemoryServer Mongo[unknown]: stop: "instanceInfo" is not defined (never ran?) +0ms
Error: Download failed for url "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-8.0.1.tgz", Details:
Status Code is 403 (MongoDB's 404)
This means that the requested version-platform combination doesn't exist
Try to use different version 'new MongoMemoryServer({ binary: { version: 'X.Y.Z' } })'
List of available versions can be found here: https://www.mongodb.com/download-center/community/releases/archive
at RedirectableRequest.<anonymous> (/home/user/git/project/server/node_modules/@shelf/jest-mongodb/node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:272:32)
at RedirectableRequest.emit (node:events:519:28)
at RedirectableRequest._processResponse (/home/user/git/project/server/node_modules/follow-redirects/index.js:409:10)
at RedirectableRequest._onNativeResponse (/home/user/git/project/server/node_modules/follow-redirects/index.js:102:12)
at Object.onceWrapper (node:events:634:26)
at ClientRequest.emit (node:events:519:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:702:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:118:17)
at TLSSocket.socketOnData (node:_http_client:544:22)
at TLSSocket.emit (node:events:519:28)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment