typegoose / mongodb-memory-server

Manage & spin up mongodb server binaries with zero(or slight) configuration for tests.
https://typegoose.github.io/mongodb-memory-server/
MIT License
2.6k stars 187 forks source link

Wrongfully downloading binaries on CircleCi even tho they are cached #682

Closed goldylucks closed 2 years ago

goldylucks commented 2 years ago

Versions

package: mongo-memory-server

What is the Problem?

Locally everything passes, but on circle ci it tries to download the binary even tho it's already there.

By running node node_modules/mongodb-memory-server/postinstall.js on CircleCi I see this output:

image

However then down the line when I run my tests:

image

in addition, the SYSTEM_BINARY env variable is set to the path where the binary is.

Code Example

// .circleci.config.yml
version: 2.1

orbs:
  node: circleci/node@5.0.2

jobs:
  main:
    docker:
      - image: cimg/node:lts-browsers
    steps:
      - checkout
      - node/install-packages:
          pkg-manager: yarn
      - run: echo $SYSTEM_BINARY
      - run: node node_modules/mongodb-memory-server/postinstall.js
      - run: yarn test:api

workflows:
  build:
    jobs:
      - main

// mock-db-test-util.js
import { MongoMemoryServer } from "mongodb-memory-server"
import mockMongoose from "mongoose"

const mockMongoMemoryServer = MongoMemoryServer.create()

// @ts-ignore
jest.mock("../../src/db", () => ({
  // @ts-ignore
  ...(jest.requireActual("../../src/db").default as any),
  // @ts-ignore
  connect: jest.fn().mockImplementation(async () => {
    const mongo = await mockMongoMemoryServer
    const uri = mongo.getUri()
    await mockMongoose.connect(uri)
  }),
}))

Do you know why it happenes?

no

hasezoey commented 2 years ago

Please provide the full debug output from both the postinstall and the actually running of the tests.

PS: also if possible, dont censor the paths used in the debug output

PPS: the postinstall expects to be run in a package-manager environment where INIT_CWD is set, so this may affect some things

goldylucks commented 2 years ago

@hasezoey thanks for looking into this ❤️

Debug output

Post install script ```txt #!/bin/bash -eo pipefail node node_modules/mongodb-memory-server/postinstall.js MongoMS:ResolveConfig Debug Mode Enabled, through package.json +0ms MongoMS:ResolveConfig findPackageJson: Found package.json at "/home/circleci/project/package.json" +34ms MongoMS:ResolveConfig findPackageJson: Found package with non-empty config field at "/home/circleci/project/package.json" +0ms MongoMS:ResolveConfig processConfigOption { debug: '1' } /home/circleci/project +0ms Mongodb-Memory-Server* checking MongoDB binaries MongoMS:MongoBinary getPath +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" +2ms MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } +0ms MongoMS:DryMongoBinary getBinaryName +1ms MongoMS:DryMongoBinary combineBinaryName +0ms MongoMS:DryMongoBinary combineBinaryName +0ms MongoMS:DryMongoBinary combineBinaryName +1ms MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '' } +0ms MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found +0ms MongoMS:DryMongoBinary generateDownloadPath: using global (preferGlobal) "**************************************************************" +0ms MongoMS:MongoBinary getPath: MongoBinary options: { "version": "5.0.8", "downloadDir": "/home/circleci/.cache/mongodb-binaries", "os": { "os": "linux", "dist": "ubuntu", "codename": "focal", "release": "20.04", "id_like": [ "debian" ] }, "platform": "linux", "arch": "x64", "systemBinary": "", "checkMD5": false } +5ms MongoMS:DryMongoBinary locateBinary: Trying to locate Binary for version "5.0.8" +1ms MongoMS:DryMongoBinary generateOptions +0ms MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" +0ms MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, 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 +1ms MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } +0ms MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found +0ms MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" +0ms MongoMS:DryMongoBinary locateBinary: running generateDownloadPath +0ms MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" +0ms MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, 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 +1ms MongoMS:DryMongoBinary combineBinaryName +0ms MongoMS:DryMongoBinary combineBinaryName +0ms MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } +0ms MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found +0ms MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" +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/circleci/.cache/mongodb-binaries/5.0.8.lock" +1ms MongoMS:LockFile lock: Locking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" +0ms MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" +1ms MongoMS:LockFile createLock: trying to create a lock file for "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" +0ms MongoMS:LockFile createLock: Lock File Created for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" +1ms MongoMS:MongoBinary download: Download lock acquired +2ms MongoMS:MongoBinary download: Adding version 5.0.8 to cache +0ms MongoMS:MongoBinaryDownload getMongodPath +0ms MongoMS:DryMongoBinary generateOptions +4ms MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" +0ms MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, 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: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } +0ms MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found +0ms MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" +1ms MongoMS:DryMongoBinary getBinaryName +0ms MongoMS:DryMongoBinary combineBinaryName +0ms MongoMS:MongoBinaryDownload startDownload +1ms MongoMS:MongoBinaryDownloadUrl Using "mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" as the Archive String +0ms MongoMS:MongoBinaryDownloadUrl Using "https://fastdl.mongodb.org" as the mirror +0ms MongoMS:MongoBinaryDownload download +3ms MongoMS:MongoBinaryDownload download: Downloading: "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" +0ms MongoMS:MongoBinaryDownload httpDownload +1ms MongoMS:MongoBinaryDownload httpDownload: trying to download "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" +0ms 2KDownloading MongoDB "5.0.8": 100% (82.3mb / 82.3mb)MongoMS:MongoBinaryDownload httpDownload: moved "/home/circleci/.cache/mongodb-binaries/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz.downloading" to "/home/circleci/.cache/mongodb-binaries/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" +418ms MongoMS:MongoBinaryDownload makeMD5check: Checking MD5 of downloaded binary... +0ms MongoMS:MongoBinaryDownload makeMD5check: checkMD5 is disabled +0ms MongoMS:MongoBinaryDownload extract +4ms MongoMS:DryMongoBinary generateOptions +426ms MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" +0ms MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, 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: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } +0ms MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found +1ms MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" +0ms MongoMS:DryMongoBinary getBinaryName +0ms MongoMS:DryMongoBinary combineBinaryName +0ms MongoMS:MongoBinaryDownload extract: archive: "/home/circleci/.cache/mongodb-binaries/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" final: "**************************************************************" +2ms MongoMS:MongoBinaryDownload extractTarGz +0ms MongoMS:MongoBinary download: Removing Download lock +2s MongoMS:LockFile unlock: Unlocking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" +2s MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "dd780c03-8e23-4fe7-a7cc-974359537de7" +0ms MongoMS:LockFile checkLock: Lock File Already exists, and is for *this* process, with uuid: "dd780c03-8e23-4fe7-a7cc-974359537de7" +0ms MongoMS:LockFile unlock: Lock Status was "availableInstance" for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" +0ms MongoMS:LockFile unlockCleanup: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" +0ms MongoMS:MongoBinary download: Download lock removed +1ms MongoMS:MongoBinary getPath: Mongod binary path: "**************************************************************" +0ms Mongodb-Memory-Server* found binary: "**************************************************************" CircleCI received exit code 0 ```
Running the tests ```txt #!/bin/bash -eo pipefail yarn test:api yarn run v1.22.18 $ nx run api:test > nx run api:test 2022-07-31T07:50:04.273Z MongoMS:ResolveConfig Debug Mode Enabled, through package.json 2022-07-31T07:50:04.275Z MongoMS:ResolveConfig Debug Mode Enabled, through package.json 2022-07-31T07:50:04.282Z MongoMS:ResolveConfig Debug Mode Enabled, through package.json 2022-07-31T07:50:04.367Z MongoMS:ResolveConfig Debug Mode Enabled, through package.json 2022-07-31T07:50:04.400Z MongoMS:ResolveConfig Debug Mode Enabled, through package.json 2022-07-31T07:50:04.490Z MongoMS:ResolveConfig Debug Mode Enabled, through package.json 2022-07-31T07:50:05.393Z MongoMS:MongoMemoryServer create: Called .create() method 2022-07-31T07:50:05.393Z MongoMS:MongoMemoryServer Mongo[unknown]: start: Called .start() method 2022-07-31T07:50:05.393Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Called MongoMemoryServer._startUpInstance() method 2022-07-31T07:50:05.393Z MongoMS:MongoMemoryServer Mongo[unknown]: getStartOptions: forceSamePort: false 2022-07-31T07:50:05.475Z MongoMS:MongoMemoryServer create: Called .create() method 2022-07-31T07:50:05.475Z MongoMS:MongoMemoryServer Mongo[unknown]: start: Called .start() method 2022-07-31T07:50:05.475Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Called MongoMemoryServer._startUpInstance() method 2022-07-31T07:50:05.475Z MongoMS:MongoMemoryServer Mongo[unknown]: getStartOptions: forceSamePort: false 2022-07-31T07:50:05.476Z MongoMS:MongoMemoryServer create: Called .create() method 2022-07-31T07:50:05.476Z MongoMS:MongoMemoryServer Mongo[unknown]: start: Called .start() method 2022-07-31T07:50:05.476Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Called MongoMemoryServer._startUpInstance() method 2022-07-31T07:50:05.477Z MongoMS:MongoMemoryServer Mongo[unknown]: getStartOptions: forceSamePort: false 2022-07-31T07:50:05.495Z MongoMS:MongoMemoryServer create: Called .create() method 2022-07-31T07:50:05.495Z MongoMS:MongoMemoryServer Mongo[unknown]: start: Called .start() method 2022-07-31T07:50:05.495Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Called MongoMemoryServer._startUpInstance() method 2022-07-31T07:50:05.495Z MongoMS:MongoMemoryServer Mongo[unknown]: getStartOptions: forceSamePort: false 2022-07-31T07:50:05.568Z MongoMS:MongoMemoryServer create: Called .create() method 2022-07-31T07:50:05.569Z MongoMS:MongoMemoryServer Mongo[unknown]: start: Called .start() method 2022-07-31T07:50:05.569Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Called MongoMemoryServer._startUpInstance() method 2022-07-31T07:50:05.569Z MongoMS:MongoMemoryServer Mongo[unknown]: getStartOptions: forceSamePort: false 2022-07-31T07:50:05.609Z MongoMS:MongoMemoryServer create: Called .create() method 2022-07-31T07:50:05.658Z MongoMS:MongoMemoryServer Mongo[unknown]: start: Called .start() method 2022-07-31T07:50:05.658Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Called MongoMemoryServer._startUpInstance() method 2022-07-31T07:50:05.658Z MongoMS:MongoMemoryServer Mongo[unknown]: getStartOptions: forceSamePort: false 2022-07-31T07:50:16.268Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Creating new MongoDB instance with options: { instance: { port: 40687, dbName: '', ip: '127.0.0.1', storageEngine: 'ephemeralForTest', replSet: undefined, dbPath: '/tmp/mongo-mem--1300-OmoCEwPPjN08', tmpDir: { name: '/tmp/mongo-mem--1300-OmoCEwPPjN08', removeCallback: [Function: _cleanupCallback] }, keyfileLocation: undefined, args: undefined, auth: false }, binary: undefined, spawn: undefined } 2022-07-31T07:50:16.270Z MongoMS:MongoInstance create: Called .create() method 2022-07-31T07:50:16.271Z MongoMS:MongoInstance Mongo[40687]: start 2022-07-31T07:50:16.271Z MongoMS:MongoBinary getPath 2022-07-31T07:50:16.271Z MongoMS:DryMongoBinary generateOptions PASS api apps/api/tests/utils/cookie.utils.spec.ts (18.871 s) 2022-07-31T07:50:16.273Z MongoMS:utils tryReleaseFile: "/etc/upstream-release/lsb-release" does not exist 2022-07-31T07:50:16.274Z MongoMS:getos getLinuxInformation: Using etcOsRelease 2022-07-31T07:50:16.274Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:16.275Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:16.275Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:16.276Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.276Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.276Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.276Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '' } 2022-07-31T07:50:16.277Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-07-31T07:50:16.277Z MongoMS:DryMongoBinary generateDownloadPath: using global (preferGlobal) "**************************************************************" 2022-07-31T07:50:16.277Z MongoMS:MongoBinary getPath: MongoBinary options: { "version": "5.0.8", "downloadDir": "/home/circleci/.cache/mongodb-binaries", "os": { "os": "linux", "dist": "ubuntu", "codename": "focal", "release": "20.04", "id_like": [ "debian" ] }, "platform": "linux", "arch": "x64", "systemBinary": "", "checkMD5": false } 2022-07-31T07:50:16.277Z MongoMS:DryMongoBinary locateBinary: Trying to locate Binary for version "5.0.8" 2022-07-31T07:50:16.277Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:16.278Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:16.278Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:16.278Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:16.278Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.278Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.278Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:16.278Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.278Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.278Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:16.279Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-07-31T07:50:16.279Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-07-31T07:50:16.279Z MongoMS:DryMongoBinary locateBinary: running generateDownloadPath 2022-07-31T07:50:16.279Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:16.279Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:16.279Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:16.279Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.279Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.279Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:16.279Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.279Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.279Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:16.280Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-07-31T07:50:16.280Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-07-31T07:50:16.280Z MongoMS:DryMongoBinary locateBinary: could not find a existing binary 2022-07-31T07:50:16.280Z MongoMS:MongoBinary getPath: "RUNTIME_DOWNLOAD" is "true", trying to download 2022-07-31T07:50:16.280Z MongoMS:MongoBinary download 2022-07-31T07:50:16.280Z MongoMS:MongoBinary download: Waiting to acquire Download lock for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-07-31T07:50:16.281Z MongoMS:LockFile lock: Locking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-07-31T07:50:16.281Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-07-31T07:50:16.281Z MongoMS:LockFile createLock: trying to create a lock file for "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-07-31T07:50:16.360Z MongoMS:LockFile createLock: Lock File Created for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-07-31T07:50:16.360Z MongoMS:MongoBinary download: Download lock acquired 2022-07-31T07:50:16.360Z MongoMS:MongoBinary download: Adding version 5.0.8 to cache 2022-07-31T07:50:16.360Z MongoMS:MongoBinaryDownload getMongodPath 2022-07-31T07:50:16.360Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:16.360Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:16.360Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:16.361Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:16.361Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.361Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.361Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:16.361Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.361Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.361Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:16.361Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-07-31T07:50:16.361Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-07-31T07:50:16.361Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:16.362Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:16.362Z MongoMS:MongoBinaryDownload startDownload 2022-07-31T07:50:16.365Z MongoMS:MongoBinaryDownloadUrl Using "mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" as the Archive String 2022-07-31T07:50:16.365Z MongoMS:MongoBinaryDownloadUrl Using "https://fastdl.mongodb.org" as the mirror 2022-07-31T07:50:16.366Z MongoMS:MongoBinaryDownload download 2022-07-31T07:50:16.366Z MongoMS:MongoBinaryDownload download: Downloading: "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" 2022-07-31T07:50:16.366Z MongoMS:MongoBinaryDownload httpDownload 2022-07-31T07:50:16.366Z MongoMS:MongoBinaryDownload httpDownload: trying to download "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" ● Cannot log after tests are done. Did you forget to wait for something async in your test? ".tempted to log "Downloading MongoDB "5.0.8": 0% (0mb / 82.3mb) at console.log (../../node_modules/@jest/console/build/BufferedConsole.js:199:10) at MongoBinaryDownload.printDownloadProgress (../../node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:516:15) at IncomingMessage. (../../node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:478:18) ● Cannot log after tests are done. Did you forget to wait for something async in your test? ".tempted to log "Downloading MongoDB "5.0.8": 99.2% (81.6mb / 82.3mb) at console.log (../../node_modules/@jest/console/build/BufferedConsole.js:199:10) at MongoBinaryDownload.printDownloadProgress (../../node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:516:15) at IncomingMessage. (../../node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:478:18) ● Cannot log after tests are done. Did you forget to wait for something async in your test? ".tempted to log "Downloading MongoDB "5.0.8": 100% (82.3mb / 82.3mb) at console.log (../../node_modules/@jest/console/build/BufferedConsole.js:199:10) at MongoBinaryDownload.printDownloadProgress (../../node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:516:15) at MongoBinaryDownload. (../../node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:468:18) at ../../node_modules/tslib/tslib.js:118:75 at __awaiter (../../node_modules/tslib/tslib.js:114:16) at WriteStream. (../../node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:454:46) 2022-07-31T07:50:18.475Z MongoMS:MongoBinaryDownload httpDownload: moved "/home/circleci/.cache/mongodb-binaries/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz.downloading" to "/home/circleci/.cache/mongodb-binaries/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" 2022-07-31T07:50:18.476Z MongoMS:MongoBinaryDownload makeMD5check: Checking MD5 of downloaded binary... 2022-07-31T07:50:18.476Z MongoMS:MongoBinaryDownload makeMD5check: checkMD5 is disabled 2022-07-31T07:50:18.476Z MongoMS:MongoBinaryDownload extract 2022-07-31T07:50:18.476Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:18.476Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:18.476Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:18.476Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:18.477Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:18.477Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:18.477Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:18.477Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:18.477Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:18.477Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:18.477Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-07-31T07:50:18.477Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-07-31T07:50:18.477Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:18.477Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:18.477Z MongoMS:MongoBinaryDownload extract: archive: "/home/circleci/.cache/mongodb-binaries/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" final: "**************************************************************" 2022-07-31T07:50:18.478Z MongoMS:MongoBinaryDownload extractTarGz ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. From tests/utils/cookie.utils.spec.ts. at Extract.Writable (../../node_modules/readable-stream/lib/_stream_writable.js:230:22) at new Extract (../../node_modules/tar-stream/extract.js:43:12) at Object.Extract (../../node_modules/tar-stream/extract.js:42:42) at MongoBinaryDownload. (../../node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:321:25) 2022-07-31T07:50:18.481Z MongoMS:MongoBinary download: Removing Download lock 2022-07-31T07:50:18.481Z MongoMS:LockFile unlock: Unlocking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-07-31T07:50:18.481Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "815cd7ae-2ebc-437c-9b37-ea45ca1ca255" 2022-07-31T07:50:18.559Z MongoMS:LockFile checkLock: Lock File Already exists, and is for *this* process, with uuid: "815cd7ae-2ebc-437c-9b37-ea45ca1ca255" 2022-07-31T07:50:18.559Z MongoMS:LockFile unlock: Lock Status was "availableInstance" for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-07-31T07:50:18.559Z MongoMS:LockFile unlockCleanup: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-07-31T07:50:18.559Z MongoMS:MongoBinary download: Download lock removed 2022-07-31T07:50:18.560Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance threw a Error: TypeError: Right-hand side of 'instanceof' is not callable at Extract.Writable (/home/circleci/project/node_modules/readable-stream/lib/_stream_writable.js:239:23) at new Extract (/home/circleci/project/node_modules/tar-stream/extract.js:43:12) at Object.Extract (/home/circleci/project/node_modules/tar-stream/extract.js:42:42) at MongoBinaryDownload. (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:321:25) at Generator.next () at /home/circleci/project/node_modules/tslib/tslib.js:118:75 at new Promise () at __awaiter (/home/circleci/project/node_modules/tslib/tslib.js:114:16) at MongoBinaryDownload.extractTarGz (/home/circleci/project/node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:241:38) at MongoBinaryDownload. (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:287:18) 2022-07-31T07:50:18.575Z MongoMS:MongoMemoryServer Mongo[unknown]: stop: Called .stop() method 2022-07-31T07:50:18.575Z MongoMS:MongoMemoryServer Mongo[unknown]: stop: "instanceInfo" is not defined (never ran?) node:internal/process/promises:279 triggerUncaughtException(err, true /* fromPromise */); ^ TypeError: Right-hand side of 'instanceof' is not callable at Extract.Writable (/home/circleci/project/node_modules/readable-stream/lib/_stream_writable.js:239:23) at new Extract (/home/circleci/project/node_modules/tar-stream/extract.js:43:12) at Object.Extract (/home/circleci/project/node_modules/tar-stream/extract.js:42:42) at MongoBinaryDownload. (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:321:25) at Generator.next () at /home/circleci/project/node_modules/tslib/tslib.js:118:75 at new Promise () at __awaiter (/home/circleci/project/node_modules/tslib/tslib.js:114:16) at MongoBinaryDownload.extractTarGz (/home/circleci/project/node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:241:38) at MongoBinaryDownload. (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:287:18) 2022-07-31T07:50:24.311Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Creating new MongoDB instance with options: { instance: { port: 36809, dbName: '', ip: '127.0.0.1', storageEngine: 'ephemeralForTest', replSet: undefined, dbPath: '/tmp/mongo-mem--1293-Yo7N3r34V5aO', tmpDir: { name: '/tmp/mongo-mem--1293-Yo7N3r34V5aO', removeCallback: [Function: _cleanupCallback] }, keyfileLocation: undefined, args: undefined, auth: false }, binary: undefined, spawn: undefined } 2022-07-31T07:50:24.313Z MongoMS:MongoInstance create: Called .create() method 2022-07-31T07:50:24.313Z MongoMS:MongoInstance Mongo[36809]: start 2022-07-31T07:50:24.314Z MongoMS:MongoBinary getPath 2022-07-31T07:50:24.314Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:24.360Z MongoMS:utils tryReleaseFile: "/etc/upstream-release/lsb-release" does not exist 2022-07-31T07:50:24.361Z MongoMS:getos getLinuxInformation: Using etcOsRelease 2022-07-31T07:50:24.362Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:24.362Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:24.362Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:24.363Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.363Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.363Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.363Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '' } 2022-07-31T07:50:24.364Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-07-31T07:50:24.364Z MongoMS:DryMongoBinary generateDownloadPath: using global (preferGlobal) "**************************************************************" 2022-07-31T07:50:24.364Z MongoMS:MongoBinary getPath: MongoBinary options: { "version": "5.0.8", "downloadDir": "/home/circleci/.cache/mongodb-binaries", "os": { "os": "linux", "dist": "ubuntu", "codename": "focal", "release": "20.04", "id_like": [ "debian" ] }, "platform": "linux", "arch": "x64", "systemBinary": "", "checkMD5": false } 2022-07-31T07:50:24.364Z MongoMS:DryMongoBinary locateBinary: Trying to locate Binary for version "5.0.8" 2022-07-31T07:50:24.364Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:24.364Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:24.365Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:24.365Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:24.365Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.365Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.365Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:24.365Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.365Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.365Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:24.365Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-07-31T07:50:24.365Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-07-31T07:50:24.366Z MongoMS:DryMongoBinary locateBinary: running generateDownloadPath 2022-07-31T07:50:24.366Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:24.366Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:24.366Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:24.366Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.366Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.366Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:24.366Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.366Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.366Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:24.366Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-07-31T07:50:24.366Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-07-31T07:50:24.366Z MongoMS:DryMongoBinary locateBinary: could not find a existing binary 2022-07-31T07:50:24.366Z MongoMS:MongoBinary getPath: "RUNTIME_DOWNLOAD" is "true", trying to download 2022-07-31T07:50:24.367Z MongoMS:MongoBinary download 2022-07-31T07:50:24.367Z MongoMS:MongoBinary download: Waiting to acquire Download lock for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-07-31T07:50:24.367Z MongoMS:LockFile lock: Locking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-07-31T07:50:24.367Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-07-31T07:50:24.367Z MongoMS:LockFile createLock: trying to create a lock file for "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-07-31T07:50:24.369Z MongoMS:LockFile createLock: Lock File Created for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-07-31T07:50:24.369Z MongoMS:MongoBinary download: Download lock acquired 2022-07-31T07:50:24.369Z MongoMS:MongoBinary download: Adding version 5.0.8 to cache 2022-07-31T07:50:24.369Z MongoMS:MongoBinaryDownload getMongodPath 2022-07-31T07:50:24.369Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:24.369Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:24.369Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:24.369Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:24.369Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.369Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.369Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:24.369Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.369Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.369Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:24.370Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-07-31T07:50:24.370Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-07-31T07:50:24.370Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:24.370Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.370Z MongoMS:MongoBinaryDownload startDownload 2022-07-31T07:50:24.373Z MongoMS:MongoBinaryDownloadUrl Using "mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" as the Archive String 2022-07-31T07:50:24.373Z MongoMS:MongoBinaryDownloadUrl Using "https://fastdl.mongodb.org" as the mirror 2022-07-31T07:50:24.374Z MongoMS:MongoBinaryDownload download 2022-07-31T07:50:24.374Z MongoMS:MongoBinaryDownload download: Downloading: "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" 2022-07-31T07:50:24.374Z MongoMS:MongoBinaryDownload download: Already downloaded archive found, skipping download 2022-07-31T07:50:24.374Z MongoMS:MongoBinaryDownload makeMD5check: Checking MD5 of downloaded binary... 2022-07-31T07:50:24.374Z MongoMS:MongoBinaryDownload makeMD5check: checkMD5 is disabled 2022-07-31T07:50:24.374Z MongoMS:MongoBinaryDownload extract 2022-07-31T07:50:24.374Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:24.374Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:24.374Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:24.375Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:24.375Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.375Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.375Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:24.375Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.375Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.375Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:24.375Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-07-31T07:50:24.375Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-07-31T07:50:24.375Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:24.375Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:24.375Z MongoMS:MongoBinaryDownload extract: archive: "/home/circleci/.cache/mongodb-binaries/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" final: "**************************************************************" 2022-07-31T07:50:24.376Z MongoMS:MongoBinaryDownload extractTarGz 2022-07-31T07:50:26.061Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Creating new MongoDB instance with options: { instance: { port: 33569, dbName: '', ip: '127.0.0.1', storageEngine: 'ephemeralForTest', replSet: undefined, dbPath: '/tmp/mongo-mem--1280-RPYv0AH6TpG6', tmpDir: { name: '/tmp/mongo-mem--1280-RPYv0AH6TpG6', removeCallback: [Function: _cleanupCallback] }, keyfileLocation: undefined, args: undefined, auth: false }, binary: undefined, spawn: undefined } 2022-07-31T07:50:26.063Z MongoMS:MongoInstance create: Called .create() method 2022-07-31T07:50:26.063Z MongoMS:MongoInstance Mongo[33569]: start 2022-07-31T07:50:26.063Z MongoMS:MongoBinary getPath 2022-07-31T07:50:26.063Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:26.065Z MongoMS:utils tryReleaseFile: "/etc/upstream-release/lsb-release" does not exist 2022-07-31T07:50:26.066Z MongoMS:getos getLinuxInformation: Using etcOsRelease 2022-07-31T07:50:26.067Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:26.067Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:26.067Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:26.068Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.068Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.068Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.068Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '' } 2022-07-31T07:50:26.069Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in legacyHomeCache: "**************************************************************" 2022-07-31T07:50:26.069Z MongoMS:MongoBinary getPath: MongoBinary options: { "version": "5.0.8", "downloadDir": "/home/circleci/.cache/mongodb-binaries", "os": { "os": "linux", "dist": "ubuntu", "codename": "focal", "release": "20.04", "id_like": [ "debian" ] }, "platform": "linux", "arch": "x64", "systemBinary": "", "checkMD5": false } 2022-07-31T07:50:26.069Z MongoMS:DryMongoBinary locateBinary: Trying to locate Binary for version "5.0.8" 2022-07-31T07:50:26.069Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:26.069Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:26.069Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:26.069Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in resolveConfig (DOWNLOAD_DIR): "**************************************************************" 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary locateBinary: running generateDownloadPath 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.070Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:26.071Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in resolveConfig (DOWNLOAD_DIR): "**************************************************************" 2022-07-31T07:50:26.071Z MongoMS:DryMongoBinary locateBinary: found binary at "**************************************************************" 2022-07-31T07:50:26.071Z MongoMS:MongoBinary getPath: Mongod binary path: "**************************************************************" 2022-07-31T07:50:26.071Z MongoMS:MongoInstance Mongo[33569]: start: Starting Processes 2022-07-31T07:50:26.071Z MongoMS:MongoInstance Mongo[33569]: _launchMongod: Launching Mongod Process 2022-07-31T07:50:26.071Z MongoMS:MongoInstance Mongo[33569]: prepareCommandArgs 2022-07-31T07:50:26.071Z MongoMS:MongoInstance Mongo[33569]: prepareCommandArgs: final argument array:["--port","33569","--dbpath","/tmp/mongo-mem--1280-RPYv0AH6TpG6","--storageEngine","ephemeralForTest","--bind_ip","127.0.0.1","--noauth"] 2022-07-31T07:50:26.070Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Creating new MongoDB instance with options: { instance: { port: 44137, dbName: '', ip: '127.0.0.1', storageEngine: 'ephemeralForTest', replSet: undefined, dbPath: '/tmp/mongo-mem--1274-Yf4kIHfm6O5E', tmpDir: { name: '/tmp/mongo-mem--1274-Yf4kIHfm6O5E', removeCallback: [Function: _cleanupCallback] }, keyfileLocation: undefined, args: undefined, auth: false }, binary: undefined, spawn: undefined } 2022-07-31T07:50:26.072Z MongoMS:MongoInstance create: Called .create() method 2022-07-31T07:50:26.072Z MongoMS:MongoInstance Mongo[44137]: start 2022-07-31T07:50:26.072Z MongoMS:MongoBinary getPath 2022-07-31T07:50:26.072Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:26.074Z MongoMS:utils tryReleaseFile: "/etc/upstream-release/lsb-release" does not exist 2022-07-31T07:50:26.075Z MongoMS:getos getLinuxInformation: Using etcOsRelease 2022-07-31T07:50:26.076Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:26.076Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:26.076Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:26.077Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.077Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.077Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.077Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '' } 2022-07-31T07:50:26.078Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in legacyHomeCache: "**************************************************************" 2022-07-31T07:50:26.078Z MongoMS:MongoBinary getPath: MongoBinary options: { "version": "5.0.8", "downloadDir": "/home/circleci/.cache/mongodb-binaries", "os": { "os": "linux", "dist": "ubuntu", "codename": "focal", "release": "20.04", "id_like": [ "debian" ] }, "platform": "linux", "arch": "x64", "systemBinary": "", "checkMD5": false } 2022-07-31T07:50:26.078Z MongoMS:DryMongoBinary locateBinary: Trying to locate Binary for version "5.0.8" 2022-07-31T07:50:26.078Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:26.078Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:26.078Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:26.078Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in resolveConfig (DOWNLOAD_DIR): "**************************************************************" 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary locateBinary: running generateDownloadPath 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.079Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:26.080Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in resolveConfig (DOWNLOAD_DIR): "**************************************************************" 2022-07-31T07:50:26.080Z MongoMS:DryMongoBinary locateBinary: found binary at "**************************************************************" 2022-07-31T07:50:26.080Z MongoMS:MongoBinary getPath: Mongod binary path: "**************************************************************" 2022-07-31T07:50:26.080Z MongoMS:MongoInstance Mongo[44137]: start: Starting Processes 2022-07-31T07:50:26.080Z MongoMS:MongoInstance Mongo[44137]: _launchMongod: Launching Mongod Process 2022-07-31T07:50:26.080Z MongoMS:MongoInstance Mongo[44137]: prepareCommandArgs 2022-07-31T07:50:26.080Z MongoMS:MongoInstance Mongo[44137]: prepareCommandArgs: final argument array:["--port","44137","--dbpath","/tmp/mongo-mem--1274-Yf4kIHfm6O5E","--storageEngine","ephemeralForTest","--bind_ip","127.0.0.1","--noauth"] 2022-07-31T07:50:26.165Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance threw a Error: Error: spawn ETXTBSY at ChildProcess.spawn (node:internal/child_process:413:11) at spawn (node:child_process:700:9) at MongoInstance._launchMongod (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at Generator.next () at fulfilled (/home/circleci/project/node_modules/tslib/tslib.js:115:62) { errno: -26, code: 'ETXTBSY', syscall: 'spawn' } 2022-07-31T07:50:26.179Z MongoMS:MongoMemoryServer Mongo[unknown]: stop: Called .stop() method 2022-07-31T07:50:26.179Z MongoMS:MongoMemoryServer Mongo[unknown]: stop: "instanceInfo" is not defined (never ran?) 2022-07-31T07:50:26.176Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance threw a Error: Error: spawn ETXTBSY at ChildProcess.spawn (node:internal/child_process:413:11) at spawn (node:child_process:700:9) at MongoInstance._launchMongod (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at Generator.next () at fulfilled (/home/circleci/project/node_modules/tslib/tslib.js:115:62) { errno: -26, code: 'ETXTBSY', syscall: 'spawn' } 2022-07-31T07:50:26.190Z MongoMS:MongoMemoryServer Mongo[unknown]: stop: Called .stop() method 2022-07-31T07:50:26.190Z MongoMS:MongoMemoryServer Mongo[unknown]: stop: "instanceInfo" is not defined (never ran?) 2022-07-31T07:50:26.195Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Creating new MongoDB instance with options: { instance: { port: 34799, dbName: '', ip: '127.0.0.1', storageEngine: 'ephemeralForTest', replSet: undefined, dbPath: '/tmp/mongo-mem--1287-YCiX8mH3tuHT', tmpDir: { name: '/tmp/mongo-mem--1287-YCiX8mH3tuHT', removeCallback: [Function: _cleanupCallback] }, keyfileLocation: undefined, args: undefined, auth: false }, binary: undefined, spawn: undefined } 2022-07-31T07:50:26.197Z MongoMS:MongoInstance create: Called .create() method 2022-07-31T07:50:26.197Z MongoMS:MongoInstance Mongo[34799]: start 2022-07-31T07:50:26.197Z MongoMS:MongoBinary getPath 2022-07-31T07:50:26.198Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:26.200Z MongoMS:utils tryReleaseFile: "/etc/upstream-release/lsb-release" does not exist 2022-07-31T07:50:26.262Z MongoMS:getos getLinuxInformation: Using etcOsRelease 2022-07-31T07:50:26.263Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:26.263Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:26.263Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:26.264Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.264Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.264Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.264Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '' } 2022-07-31T07:50:26.265Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in legacyHomeCache: "**************************************************************" 2022-07-31T07:50:26.265Z MongoMS:MongoBinary getPath: MongoBinary options: { "version": "5.0.8", "downloadDir": "/home/circleci/.cache/mongodb-binaries", "os": { "os": "linux", "dist": "ubuntu", "codename": "focal", "release": "20.04", "id_like": [ "debian" ] }, "platform": "linux", "arch": "x64", "systemBinary": "", "checkMD5": false } 2022-07-31T07:50:26.265Z MongoMS:DryMongoBinary locateBinary: Trying to locate Binary for version "5.0.8" 2022-07-31T07:50:26.265Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:26.265Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:26.265Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:26.265Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in resolveConfig (DOWNLOAD_DIR): "**************************************************************" 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary locateBinary: running generateDownloadPath 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.266Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.267Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:26.267Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in resolveConfig (DOWNLOAD_DIR): "**************************************************************" 2022-07-31T07:50:26.267Z MongoMS:DryMongoBinary locateBinary: found binary at "**************************************************************" 2022-07-31T07:50:26.267Z MongoMS:MongoBinary getPath: Mongod binary path: "**************************************************************" 2022-07-31T07:50:26.267Z MongoMS:MongoInstance Mongo[34799]: start: Starting Processes 2022-07-31T07:50:26.267Z MongoMS:MongoInstance Mongo[34799]: _launchMongod: Launching Mongod Process 2022-07-31T07:50:26.267Z MongoMS:MongoInstance Mongo[34799]: prepareCommandArgs 2022-07-31T07:50:26.267Z MongoMS:MongoInstance Mongo[34799]: prepareCommandArgs: final argument array:["--port","34799","--dbpath","/tmp/mongo-mem--1287-YCiX8mH3tuHT","--storageEngine","ephemeralForTest","--bind_ip","127.0.0.1","--noauth"] FAIL api apps/api/src/api/v1/tools/create/create-tool.spec.ts (28.889 s) ● Tools - Create › validates key exists spawn ETXTBSY at MongoInstance._launchMongod (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at fulfilled (../../node_modules/tslib/tslib.js:115:62) ● Tools - Create › validates key exists TypeError: Cannot read properties of undefined (reading 'close') 27 | afterEach(async () => { 28 | await new Promise((resolve) => { > 29 | resolve(server.close()) | ^ 30 | }) 31 | }) 32 | at src/api/v1/tools/create/create-tool.spec.ts:29:22 at src/api/v1/tools/create/create-tool.spec.ts:28:11 at ../../node_modules/tslib/tslib.js:118:75 at Object.__awaiter (../../node_modules/tslib/tslib.js:114:16) at Object. (src/api/v1/tools/create/create-tool.spec.ts:27:24) ● Tools - Create › validates key format spawn ETXTBSY at MongoInstance._launchMongod (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at fulfilled (../../node_modules/tslib/tslib.js:115:62) ● Tools - Create › validates key format TypeError: Cannot read properties of undefined (reading 'close') 27 | afterEach(async () => { 28 | await new Promise((resolve) => { > 29 | resolve(server.close()) | ^ 30 | }) 31 | }) 32 | at src/api/v1/tools/create/create-tool.spec.ts:29:22 at src/api/v1/tools/create/create-tool.spec.ts:28:11 at ../../node_modules/tslib/tslib.js:118:75 at Object.__awaiter (../../node_modules/tslib/tslib.js:114:16) at Object. (src/api/v1/tools/create/create-tool.spec.ts:27:24) ● Tools - Create › creates tool spawn ETXTBSY at MongoInstance._launchMongod (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at fulfilled (../../node_modules/tslib/tslib.js:115:62) ● Tools - Create › creates tool TypeError: Cannot read properties of undefined (reading 'close') 27 | afterEach(async () => { 28 | await new Promise((resolve) => { > 29 | resolve(server.close()) | ^ 30 | }) 31 | }) 32 | at src/api/v1/tools/create/create-tool.spec.ts:29:22 at src/api/v1/tools/create/create-tool.spec.ts:28:11 at ../../node_modules/tslib/tslib.js:118:75 at Object.__awaiter (../../node_modules/tslib/tslib.js:114:16) at Object. (src/api/v1/tools/create/create-tool.spec.ts:27:24) FAIL api apps/api/src/api/v1/tools/get/get-tool.spec.ts (28.891 s) ● Tools - Get › validates key format spawn ETXTBSY at MongoInstance._launchMongod (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at fulfilled (../../node_modules/tslib/tslib.js:115:62) ● Tools - Get › validates key format TypeError: Cannot read properties of undefined (reading 'close') 28 | afterEach(async () => { 29 | await new Promise((resolve) => { > 30 | resolve(server.close()) | ^ 31 | }) 32 | }) 33 | at src/api/v1/tools/get/get-tool.spec.ts:30:22 at src/api/v1/tools/get/get-tool.spec.ts:29:11 at ../../node_modules/tslib/tslib.js:118:75 at Object.__awaiter (../../node_modules/tslib/tslib.js:114:16) at Object. (src/api/v1/tools/get/get-tool.spec.ts:28:24) ● Tools - Get › fails for non-existing tool spawn ETXTBSY at MongoInstance._launchMongod (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at fulfilled (../../node_modules/tslib/tslib.js:115:62) ● Tools - Get › fails for non-existing tool TypeError: Cannot read properties of undefined (reading 'close') 28 | afterEach(async () => { 29 | await new Promise((resolve) => { > 30 | resolve(server.close()) | ^ 31 | }) 32 | }) 33 | at src/api/v1/tools/get/get-tool.spec.ts:30:22 at src/api/v1/tools/get/get-tool.spec.ts:29:11 at ../../node_modules/tslib/tslib.js:118:75 at Object.__awaiter (../../node_modules/tslib/tslib.js:114:16) at Object. (src/api/v1/tools/get/get-tool.spec.ts:28:24) ● Tools - Get › returns tool spawn ETXTBSY at MongoInstance._launchMongod (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at fulfilled (../../node_modules/tslib/tslib.js:115:62) ● Tools - Get › returns tool TypeError: Cannot read properties of undefined (reading 'close') 28 | afterEach(async () => { 29 | await new Promise((resolve) => { > 30 | resolve(server.close()) | ^ 31 | }) 32 | }) 33 | at src/api/v1/tools/get/get-tool.spec.ts:30:22 at src/api/v1/tools/get/get-tool.spec.ts:29:11 at ../../node_modules/tslib/tslib.js:118:75 at Object.__awaiter (../../node_modules/tslib/tslib.js:114:16) at Object. (src/api/v1/tools/get/get-tool.spec.ts:28:24) 2022-07-31T07:50:26.296Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance threw a Error: Error: spawn ETXTBSY at ChildProcess.spawn (node:internal/child_process:413:11) at spawn (node:child_process:700:9) at MongoInstance._launchMongod (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at Generator.next () at fulfilled (/home/circleci/project/node_modules/tslib/tslib.js:115:62) { errno: -26, code: 'ETXTBSY', syscall: 'spawn' } 2022-07-31T07:50:26.368Z MongoMS:MongoMemoryServer Mongo[unknown]: stop: Called .stop() method 2022-07-31T07:50:26.368Z MongoMS:MongoMemoryServer Mongo[unknown]: stop: "instanceInfo" is not defined (never ran?) FAIL api apps/api/src/api/v1/tools/list/list-tools.spec.ts (29.003 s) ● Tools - List › returns tools spawn ETXTBSY at MongoInstance._launchMongod (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at fulfilled (../../node_modules/tslib/tslib.js:115:62) ● Tools - List › returns tools TypeError: Cannot read properties of undefined (reading 'close') 24 | afterEach(async () => { 25 | await new Promise((resolve) => { > 26 | resolve(server.close()) | ^ 27 | }) 28 | }) 29 | at src/api/v1/tools/list/list-tools.spec.ts:26:22 at src/api/v1/tools/list/list-tools.spec.ts:25:11 at ../../node_modules/tslib/tslib.js:118:75 at Object.__awaiter (../../node_modules/tslib/tslib.js:114:16) at Object. (src/api/v1/tools/list/list-tools.spec.ts:24:24) 2022-07-31T07:50:26.461Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Creating new MongoDB instance with options: { instance: { port: 39921, dbName: '', ip: '127.0.0.1', storageEngine: 'ephemeralForTest', replSet: undefined, dbPath: '/tmp/mongo-mem--1268-RMx5dFYjrPpp', tmpDir: { name: '/tmp/mongo-mem--1268-RMx5dFYjrPpp', removeCallback: [Function: _cleanupCallback] }, keyfileLocation: undefined, args: undefined, auth: false }, binary: undefined, spawn: undefined } 2022-07-31T07:50:26.463Z MongoMS:MongoInstance create: Called .create() method 2022-07-31T07:50:26.463Z MongoMS:MongoInstance Mongo[39921]: start 2022-07-31T07:50:26.463Z MongoMS:MongoBinary getPath 2022-07-31T07:50:26.464Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:26.465Z MongoMS:utils tryReleaseFile: "/etc/upstream-release/lsb-release" does not exist 2022-07-31T07:50:26.466Z MongoMS:getos getLinuxInformation: Using etcOsRelease 2022-07-31T07:50:26.467Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:26.467Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:26.467Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:26.468Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.468Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.468Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.468Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '' } 2022-07-31T07:50:26.469Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in legacyHomeCache: "**************************************************************" 2022-07-31T07:50:26.469Z MongoMS:MongoBinary getPath: MongoBinary options: { "version": "5.0.8", "downloadDir": "/home/circleci/.cache/mongodb-binaries", "os": { "os": "linux", "dist": "ubuntu", "codename": "focal", "release": "20.04", "id_like": [ "debian" ] }, "platform": "linux", "arch": "x64", "systemBinary": "", "checkMD5": false } 2022-07-31T07:50:26.469Z MongoMS:DryMongoBinary locateBinary: Trying to locate Binary for version "5.0.8" 2022-07-31T07:50:26.469Z MongoMS:DryMongoBinary generateOptions 2022-07-31T07:50:26.469Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:26.469Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:26.470Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:26.470Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.470Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.470Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:26.470Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.470Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.470Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:26.470Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in resolveConfig (DOWNLOAD_DIR): "**************************************************************" 2022-07-31T07:50:26.470Z MongoMS:DryMongoBinary locateBinary: running generateDownloadPath 2022-07-31T07:50:26.470Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-07-31T07:50:26.470Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-07-31T07:50:26.470Z MongoMS:DryMongoBinary getBinaryName 2022-07-31T07:50:26.471Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.471Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.471Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-07-31T07:50:26.471Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.471Z MongoMS:DryMongoBinary combineBinaryName 2022-07-31T07:50:26.471Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-07-31T07:50:26.471Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in resolveConfig (DOWNLOAD_DIR): "**************************************************************" 2022-07-31T07:50:26.471Z MongoMS:DryMongoBinary locateBinary: found binary at "**************************************************************" 2022-07-31T07:50:26.471Z MongoMS:MongoBinary getPath: Mongod binary path: "**************************************************************" 2022-07-31T07:50:26.471Z MongoMS:MongoInstance Mongo[39921]: start: Starting Processes 2022-07-31T07:50:26.471Z MongoMS:MongoInstance Mongo[39921]: _launchMongod: Launching Mongod Process 2022-07-31T07:50:26.471Z MongoMS:MongoInstance Mongo[39921]: prepareCommandArgs 2022-07-31T07:50:26.471Z MongoMS:MongoInstance Mongo[39921]: prepareCommandArgs: final argument array:["--port","39921","--dbpath","/tmp/mongo-mem--1268-RMx5dFYjrPpp","--storageEngine","ephemeralForTest","--bind_ip","127.0.0.1","--noauth"] 2022-07-31T07:50:26.502Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance threw a Error: Error: spawn ETXTBSY at ChildProcess.spawn (node:internal/child_process:413:11) at spawn (node:child_process:700:9) at MongoInstance._launchMongod (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at Generator.next () at fulfilled (/home/circleci/project/node_modules/tslib/tslib.js:115:62) { errno: -26, code: 'ETXTBSY', syscall: 'spawn' } 2022-07-31T07:50:26.563Z MongoMS:MongoMemoryServer Mongo[unknown]: stop: Called .stop() method 2022-07-31T07:50:26.563Z MongoMS:MongoMemoryServer Mongo[unknown]: stop: "instanceInfo" is not defined (never ran?) FAIL api apps/api/src/api/v1/tools/update/update-tool.spec.ts (29.271 s) ● Tools - Update › validates key exists spawn ETXTBSY at MongoInstance._launchMongod (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at fulfilled (../../node_modules/tslib/tslib.js:115:62) ● Tools - Update › validates key exists TypeError: Cannot read properties of undefined (reading 'close') 32 | afterEach(async () => { 33 | await new Promise((resolve) => { > 34 | resolve(server.close()) | ^ 35 | }) 36 | }) 37 | at src/api/v1/tools/update/update-tool.spec.ts:34:22 at src/api/v1/tools/update/update-tool.spec.ts:33:11 at ../../node_modules/tslib/tslib.js:118:75 at Object.__awaiter (../../node_modules/tslib/tslib.js:114:16) at Object. (src/api/v1/tools/update/update-tool.spec.ts:32:24) ● Tools - Update › validates key format spawn ETXTBSY at MongoInstance._launchMongod (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at fulfilled (../../node_modules/tslib/tslib.js:115:62) ● Tools - Update › validates key format TypeError: Cannot read properties of undefined (reading 'close') 32 | afterEach(async () => { 33 | await new Promise((resolve) => { > 34 | resolve(server.close()) | ^ 35 | }) 36 | }) 37 | at src/api/v1/tools/update/update-tool.spec.ts:34:22 at src/api/v1/tools/update/update-tool.spec.ts:33:11 at ../../node_modules/tslib/tslib.js:118:75 at Object.__awaiter (../../node_modules/tslib/tslib.js:114:16) at Object. (src/api/v1/tools/update/update-tool.spec.ts:32:24) ● Tools - Update › validates steps spawn ETXTBSY at MongoInstance._launchMongod (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at fulfilled (../../node_modules/tslib/tslib.js:115:62) ● Tools - Update › validates steps TypeError: Cannot read properties of undefined (reading 'close') 32 | afterEach(async () => { 33 | await new Promise((resolve) => { > 34 | resolve(server.close()) | ^ 35 | }) 36 | }) 37 | at src/api/v1/tools/update/update-tool.spec.ts:34:22 at src/api/v1/tools/update/update-tool.spec.ts:33:11 at ../../node_modules/tslib/tslib.js:118:75 at Object.__awaiter (../../node_modules/tslib/tslib.js:114:16) at Object. (src/api/v1/tools/update/update-tool.spec.ts:32:24) ● Tools - Update › fails for non-existing tool spawn ETXTBSY at MongoInstance._launchMongod (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at fulfilled (../../node_modules/tslib/tslib.js:115:62) ● Tools - Update › fails for non-existing tool TypeError: Cannot read properties of undefined (reading 'close') 32 | afterEach(async () => { 33 | await new Promise((resolve) => { > 34 | resolve(server.close()) | ^ 35 | }) 36 | }) 37 | at src/api/v1/tools/update/update-tool.spec.ts:34:22 at src/api/v1/tools/update/update-tool.spec.ts:33:11 at ../../node_modules/tslib/tslib.js:118:75 at Object.__awaiter (../../node_modules/tslib/tslib.js:114:16) at Object. (src/api/v1/tools/update/update-tool.spec.ts:32:24) ● Tools - Update › returns updated tool spawn ETXTBSY at MongoInstance._launchMongod (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at fulfilled (../../node_modules/tslib/tslib.js:115:62) ● Tools - Update › returns updated tool TypeError: Cannot read properties of undefined (reading 'close') 32 | afterEach(async () => { 33 | await new Promise((resolve) => { > 34 | resolve(server.close()) | ^ 35 | }) 36 | }) 37 | at src/api/v1/tools/update/update-tool.spec.ts:34:22 at src/api/v1/tools/update/update-tool.spec.ts:33:11 at ../../node_modules/tslib/tslib.js:118:75 at Object.__awaiter (../../node_modules/tslib/tslib.js:114:16) at Object. (src/api/v1/tools/update/update-tool.spec.ts:32:24) ● Tools - Update › updates tool spawn ETXTBSY at MongoInstance._launchMongod (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:443:31) at MongoInstance. (../../node_modules/mongodb-memory-server-core/src/util/MongoInstance.ts:345:31) at fulfilled (../../node_modules/tslib/tslib.js:115:62) ● Tools - Update › updates tool TypeError: Cannot read properties of undefined (reading 'close') 32 | afterEach(async () => { 33 | await new Promise((resolve) => { > 34 | resolve(server.close()) | ^ 35 | }) 36 | }) 37 | at src/api/v1/tools/update/update-tool.spec.ts:34:22 at src/api/v1/tools/update/update-tool.spec.ts:33:11 at ../../node_modules/tslib/tslib.js:118:75 at Object.__awaiter (../../node_modules/tslib/tslib.js:114:16) at Object. (src/api/v1/tools/update/update-tool.spec.ts:32:24) 2022-07-31T07:50:27.466Z MongoMS:MongoBinary download: Removing Download lock 2022-07-31T07:50:27.466Z MongoMS:LockFile unlock: Unlocking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-07-31T07:50:27.466Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "a481228f-0501-4125-9e2a-16dc6c503851" 2022-07-31T07:50:27.467Z MongoMS:LockFile checkLock: Lock File Already exists, and is for *this* process, with uuid: "a481228f-0501-4125-9e2a-16dc6c503851" 2022-07-31T07:50:27.467Z MongoMS:LockFile unlock: Lock Status was "availableInstance" for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-07-31T07:50:27.467Z MongoMS:LockFile unlockCleanup: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-07-31T07:50:27.468Z MongoMS:MongoBinary download: Download lock removed 2022-07-31T07:50:27.468Z MongoMS:MongoBinary getPath: Mongod binary path: "**************************************************************" 2022-07-31T07:50:27.468Z MongoMS:MongoInstance Mongo[36809]: start: Starting Processes 2022-07-31T07:50:27.468Z MongoMS:MongoInstance Mongo[36809]: _launchMongod: Launching Mongod Process 2022-07-31T07:50:27.468Z MongoMS:MongoInstance Mongo[36809]: prepareCommandArgs 2022-07-31T07:50:27.468Z MongoMS:MongoInstance Mongo[36809]: prepareCommandArgs: final argument array:["--port","36809","--dbpath","/tmp/mongo-mem--1293-Yo7N3r34V5aO","--storageEngine","ephemeralForTest","--bind_ip","127.0.0.1","--noauth"] 2022-07-31T07:50:27.492Z MongoMS:MongoInstance Mongo[36809]: _launchKiller: Launching Killer Process (parent: 1293, child: 1596) 2022-07-31T07:50:27.528Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.527Z"},"s":"I", "c":"CONTROL", "id":5324701, "ctx":"-","msg":"Test storage engine does not support enableMajorityReadConcern=true, forcibly setting to false","attr":{"storageEngine":"ephemeralForTest"}} {"t":{"$date":"2022-07-31T07:50:27.527Z"},"s":"W", "c":"CONTROL", "id":4788401, "ctx":"-","msg":"Lock-free reads is not compatible with enableMajorityReadConcern=false: disabling lock-free reads."}"" 2022-07-31T07:50:27.528Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.527+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"-","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true}}}"" 2022-07-31T07:50:27.529Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.528+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}"" 2022-07-31T07:50:27.530Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.530+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}"" 2022-07-31T07:50:27.530Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.530+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}"" 2022-07-31T07:50:27.531Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.531+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}"" 2022-07-31T07:50:27.531Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.531+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","ns":"config.tenantMigrationDonors"}}"" 2022-07-31T07:50:27.531Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.531+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","ns":"config.tenantMigrationRecipients"}} {"t":{"$date":"2022-07-31T07:50:27.531+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "ctx":"main","msg":"Multi threading initialized"}"" 2022-07-31T07:50:27.531Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.531+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1596,"port":36809,"dbPath":"/tmp/mongo-mem--1293-Yo7N3r34V5aO","architecture":"64-bit","host":"d3199b54175f"}}"" 2022-07-31T07:50:27.531Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.531+00:00"},"s":"W", "c":"CONTROL", "id":20720, "ctx":"initandlisten","msg":"Memory available to mongo process is less than total system memory","attr":{"availableMemSizeMB":8192,"systemMemSizeMB":70226}} {"t":{"$date":"2022-07-31T07:50:27.531+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"5.0.8","gitVersion":"c87e1c23421bf79614baf500fda6622bd90f674e","openSSLVersion":"OpenSSL 1.1.1f 31 Mar 2020","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2004","distarch":"x86_64","target_arch":"x86_64"}}}} {"t":{"$date":"2022-07-31T07:50:27.531+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"20.04"}}} {"t":{"$date":"2022-07-31T07:50:27.531+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"127.0.0.1","port":36809},"security":{"authorization":"disabled"},"storage":{"dbPath":"/tmp/mongo-mem--1293-Yo7N3r34V5aO","engine":"ephemeralForTest"}}}}"" 2022-07-31T07:50:27.619Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.619+00:00"},"s":"I", "c":"CONTROL", "id":22197, "ctx":"initandlisten","msg":"The ephemeralForTest storage engine is for testing only. Do not use in production","tags":["startupWarnings"]}"" 2022-07-31T07:50:27.620Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.620+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"admin.system.version","uuidDisposition":"provided","uuid":{"uuid":{"$uuid":"0ab44ae3-7a55-480e-be1b-5e76b8217cfd"}},"options":{"uuid":{"$uuid":"0ab44ae3-7a55-480e-be1b-5e76b8217cfd"}}}}"" 2022-07-31T07:50:27.620Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.620+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"admin.system.version","index":"_id_","commitTimestamp":null}}"" 2022-07-31T07:50:27.620Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.620+00:00"},"s":"I", "c":"REPL", "id":20459, "ctx":"initandlisten","msg":"Setting featureCompatibilityVersion","attr":{"newVersion":"5.0"}}"" 2022-07-31T07:50:27.620Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.620+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true}}}"" 2022-07-31T07:50:27.620Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.620+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true}}}"" 2022-07-31T07:50:27.620Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.620+00:00"},"s":"I", "c":"STORAGE", "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"}"" 2022-07-31T07:50:27.620Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.620+00:00"},"s":"I", "c":"CONTROL", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}"" 2022-07-31T07:50:27.621Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.621+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/tmp/mongo-mem--1293-Yo7N3r34V5aO/diagnostic.data"}}"" 2022-07-31T07:50:27.621Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.621+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"local.startup_log","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"e64781d8-097d-45e2-8a80-527e464a067b"}},"options":{"capped":true,"size":10485760}}}"" 2022-07-31T07:50:27.621Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.621+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"local.startup_log","index":"_id_","commitTimestamp":null}}"" 2022-07-31T07:50:27.621Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.621+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}"" 2022-07-31T07:50:27.622Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.622+00:00"},"s":"I", "c":"CONTROL", "id":20712, "ctx":"LogicalSessionCacheReap","msg":"Sessions collection is not set up; waiting until next sessions reap interval","attr":{"error":"NamespaceNotFound: config.system.sessions does not exist"}}"" 2022-07-31T07:50:27.622Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.622+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"LogicalSessionCacheRefresh","msg":"createCollection","attr":{"namespace":"config.system.sessions","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"a74a9a2a-7f6c-4002-8981-ecd4d768607d"}},"options":{}}}"" 2022-07-31T07:50:27.622Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.622+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-36809.sock"}}"" 2022-07-31T07:50:27.622Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.622+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"127.0.0.1"}} {"t":{"$date":"2022-07-31T07:50:27.622+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":36809,"ssl":"off"}}"" 2022-07-31T07:50:27.623Z MongoMS:MongoInstance Mongo[36809]: constructor: Instance is ready! 2022-07-31T07:50:27.623Z MongoMS:MongoInstance Mongo[36809]: start: Processes Started 2022-07-31T07:50:27.623Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Instance Started, createAuth: "false" 2022-07-31T07:50:27.623Z MongoMS:MongoMemoryServer Mongo[36809]: start: Instance fully Started 2022-07-31T07:50:27.623Z MongoMS:MongoMemoryServer Mongo[36809]: getUri: running undefined undefined 2022-07-31T07:50:27.636Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.623+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"config.system.sessions","index":"_id_","commitTimestamp":null}} {"t":{"$date":"2022-07-31T07:50:27.623+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"config.system.sessions","index":"lsidTTLIndex","commitTimestamp":null}}"" 2022-07-31T07:50:27.640Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.636+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:43250","uuid":"11596524-9fdc-46ab-82c1-e46f8ff0b530","connectionId":1,"connectionCount":1}}"" 2022-07-31T07:50:27.640Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.640+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1","msg":"client metadata","attr":{"remote":"127.0.0.1:43250","client":"conn1","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-07-31T07:50:27.654Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.647+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:43252","uuid":"7bda0a5a-94eb-410e-be9d-c8b22ff3d93d","connectionId":2,"connectionCount":2}} {"t":{"$date":"2022-07-31T07:50:27.647+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:43254","uuid":"9644d70d-4578-417b-9122-1ea75b140b91","connectionId":3,"connectionCount":3}}"" 2022-07-31T07:50:27.656Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.655+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2","msg":"client metadata","attr":{"remote":"127.0.0.1:43252","client":"conn2","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}} {"t":{"$date":"2022-07-31T07:50:27.655+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn3","msg":"client metadata","attr":{"remote":"127.0.0.1:43254","client":"conn3","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-07-31T07:50:27.664Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.658+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn2","msg":"createCollection","attr":{"namespace":"test.tools","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"158c551b-3ddb-4895-9afc-62f0ad6b9c14"}},"options":{}}} {"t":{"$date":"2022-07-31T07:50:27.658+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn2","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.tools","index":"_id_","commitTimestamp":null}} {"t":{"$date":"2022-07-31T07:50:27.658+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:43256","uuid":"2671fbab-8d31-418d-87c0-46e2bd184826","connectionId":4,"connectionCount":4}} {"t":{"$date":"2022-07-31T07:50:27.659+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn3","msg":"createCollection","attr":{"namespace":"test.screens","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"24d6fe20-f14b-4956-832a-41ae1c35b85e"}},"options":{}}} {"t":{"$date":"2022-07-31T07:50:27.659+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn3","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.screens","index":"_id_","commitTimestamp":null}}"" 2022-07-31T07:50:27.675Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.668+00:00"},"s":"I", "c":"INDEX", "id":20438, "ctx":"conn2","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"022052ff-b557-4fde-85f0-545c148fb646"}},"namespace":"test.tools","collectionUUID":{"uuid":{"$uuid":"158c551b-3ddb-4895-9afc-62f0ad6b9c14"}},"indexes":1,"firstIndex":{"name":"key_1"}}} {"t":{"$date":"2022-07-31T07:50:27.668+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn2","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.tools","index":"key_1","commitTimestamp":null}} {"t":{"$date":"2022-07-31T07:50:27.668+00:00"},"s":"I", "c":"INDEX", "id":20440, "ctx":"conn2","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"022052ff-b557-4fde-85f0-545c148fb646"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}} {"t":{"$date":"2022-07-31T07:50:27.668+00:00"},"s":"I", "c":"INDEX", "id":20447, "ctx":"conn2","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"022052ff-b557-4fde-85f0-545c148fb646"}}}} {"t":{"$date":"2022-07-31T07:50:27.669+00:00"},"s":"I", "c":"INDEX", "id":20438, "ctx":"conn3","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"66226cf8-341f-45bf-967d-18a3e21cd72c"}},"namespace":"test.screens","collectionUUID":{"uuid":{"$uuid":"24d6fe20-f14b-4956-832a-41ae1c35b85e"}},"indexes":1,"firstIndex":{"name":"key_1"}}} {"t":{"$date":"2022-07-31T07:50:27.669+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn3","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.screens","index":"key_1","commitTimestamp":null}} {"t":{"$date":"2022-07-31T07:50:27.669+00:00"},"s":"I", "c":"INDEX", "id":20440, "ctx":"conn3","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"66226cf8-341f-45bf-967d-18a3e21cd72c"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}} {"t":{"$date":"2022-07-31T07:50:27.669+00:00"},"s":"I", "c":"INDEX", "id":20447, "ctx":"conn3","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"66226cf8-341f-45bf-967d-18a3e21cd72c"}}}} {"t":{"$date":"2022-07-31T07:50:27.675+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:43258","uuid":"18790007-3c37-4d18-872a-ad066b6a85b1","connectionId":5,"connectionCount":5}}"" 2022-07-31T07:50:27.677Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.675+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn4","msg":"client metadata","attr":{"remote":"127.0.0.1:43256","client":"conn4","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}} {"t":{"$date":"2022-07-31T07:50:27.677+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn5","msg":"client metadata","attr":{"remote":"127.0.0.1:43258","client":"conn5","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" PASS api apps/api/src/api/v1/check/sanity/check-sanity.spec.ts (30.3 s) 2022-07-31T07:50:27.685Z MongoMS:MongoInstance Mongo[36809]: stdoutHandler: ""{"t":{"$date":"2022-07-31T07:50:27.679+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn4","msg":"createCollection","attr":{"namespace":"test.users","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"053a78eb-c8f9-4032-8b5a-d158e2e57f16"}},"options":{}}} {"t":{"$date":"2022-07-31T07:50:27.680+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.users","index":"_id_","commitTimestamp":null}}"" A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them. Test Suites: 4 failed, 2 passed, 6 total Tests: 13 failed, 2 passed, 15 total Snapshots: 0 total Time: 31.523 s Ran all test suites. > NX Command execution failed. See run details at https://nx.app/runs/cPtXQPhDR3c error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Exited with code exit status 1 CircleCI received exit code 1 ```

Let me know if there's anything else I can do to help you help me :)

hasezoey commented 2 years ago

can confirm from the log that the postinstall downloads and places the binary in the correct path and confirm that the test tries to look into the directory where the postinstall has put the binary, but cannot find it

could you maybe put a simple log like ls -al ~/.cache/mongodb-binaries before running the tests (but after the postinstall) and provide the output?

btw, how do you tests work, because i can see that MMS is somehow loaded 4 times (not 4 server instances, but actually loaded 4 times)?

PS: why are some home paths "censored" but some not even though they should be the same?

goldylucks commented 2 years ago
  1. CircleCI decides to hide some of the paths
  2. the tests work in parallel with jest, so each test is sandboxed, thus loading MMS for itself. The command is nx run api:test, which is just a wrapper around jest
  3. the log you requested:

Somehow some of the test pass now, with the only change being adding this log, but, there are still errors thrown globally in the execution of the tests

#!/bin/bash -eo pipefail
ls -al ~/.cache/mongodb-binaries
total 106908
drwxr-xr-x 2 circleci circleci        37 Aug  1 10:31 .
drwxr-xr-x 4 circleci circleci        42 Aug  1 10:31 ..
-rwxr-xr-x 1 circleci circleci 109473272 Aug  1 10:31 mongod-x64-ubuntu-5.0.8

and the logs for the tests:

Log ``` #!/bin/bash -eo pipefail yarn test:api yarn run v1.22.18 $ nx run api:test > nx run api:test 2022-08-01T10:31:23.221Z MongoMS:ResolveConfig Debug Mode Enabled, through package.json 2022-08-01T10:31:23.313Z MongoMS:ResolveConfig Debug Mode Enabled, through package.json 2022-08-01T10:31:23.328Z MongoMS:ResolveConfig Debug Mode Enabled, through package.json 2022-08-01T10:31:23.336Z MongoMS:ResolveConfig Debug Mode Enabled, through package.json 2022-08-01T10:31:23.345Z MongoMS:ResolveConfig Debug Mode Enabled, through package.json 2022-08-01T10:31:23.434Z MongoMS:ResolveConfig Debug Mode Enabled, through package.json 2022-08-01T10:31:24.330Z MongoMS:MongoMemoryServer create: Called .create() method 2022-08-01T10:31:24.330Z MongoMS:MongoMemoryServer Mongo[unknown]: start: Called .start() method 2022-08-01T10:31:24.331Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Called MongoMemoryServer._startUpInstance() method 2022-08-01T10:31:24.330Z MongoMS:MongoMemoryServer create: Called .create() method 2022-08-01T10:31:24.330Z MongoMS:MongoMemoryServer Mongo[unknown]: start: Called .start() method 2022-08-01T10:31:24.331Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Called MongoMemoryServer._startUpInstance() method 2022-08-01T10:31:24.331Z MongoMS:MongoMemoryServer Mongo[unknown]: getStartOptions: forceSamePort: false 2022-08-01T10:31:24.331Z MongoMS:MongoMemoryServer Mongo[unknown]: getStartOptions: forceSamePort: false 2022-08-01T10:31:24.333Z MongoMS:MongoMemoryServer create: Called .create() method 2022-08-01T10:31:24.333Z MongoMS:MongoMemoryServer Mongo[unknown]: start: Called .start() method 2022-08-01T10:31:24.333Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Called MongoMemoryServer._startUpInstance() method 2022-08-01T10:31:24.334Z MongoMS:MongoMemoryServer Mongo[unknown]: getStartOptions: forceSamePort: false 2022-08-01T10:31:24.357Z MongoMS:MongoMemoryServer create: Called .create() method 2022-08-01T10:31:24.358Z MongoMS:MongoMemoryServer Mongo[unknown]: start: Called .start() method 2022-08-01T10:31:24.358Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Called MongoMemoryServer._startUpInstance() method 2022-08-01T10:31:24.358Z MongoMS:MongoMemoryServer Mongo[unknown]: getStartOptions: forceSamePort: false 2022-08-01T10:31:24.411Z MongoMS:MongoMemoryServer create: Called .create() method 2022-08-01T10:31:24.411Z MongoMS:MongoMemoryServer Mongo[unknown]: start: Called .start() method 2022-08-01T10:31:24.412Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Called MongoMemoryServer._startUpInstance() method 2022-08-01T10:31:24.412Z MongoMS:MongoMemoryServer Mongo[unknown]: getStartOptions: forceSamePort: false 2022-08-01T10:31:24.460Z MongoMS:MongoMemoryServer create: Called .create() method 2022-08-01T10:31:24.460Z MongoMS:MongoMemoryServer Mongo[unknown]: start: Called .start() method 2022-08-01T10:31:24.460Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Called MongoMemoryServer._startUpInstance() method 2022-08-01T10:31:24.460Z MongoMS:MongoMemoryServer Mongo[unknown]: getStartOptions: forceSamePort: false 2022-08-01T10:31:43.134Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Creating new MongoDB instance with options: { instance: { port: 37273, dbName: '', ip: '127.0.0.1', storageEngine: 'ephemeralForTest', replSet: undefined, dbPath: '/tmp/mongo-mem--1303-WkjjFPoGFhTa', tmpDir: { name: '/tmp/mongo-mem--1303-WkjjFPoGFhTa', removeCallback: [Function: _cleanupCallback] }, keyfileLocation: undefined, args: undefined, auth: false }, binary: undefined, spawn: undefined } 2022-08-01T10:31:43.136Z MongoMS:MongoInstance create: Called .create() method 2022-08-01T10:31:43.136Z MongoMS:MongoInstance Mongo[37273]: start 2022-08-01T10:31:43.137Z MongoMS:MongoBinary getPath 2022-08-01T10:31:43.137Z MongoMS:DryMongoBinary generateOptions PASS api apps/api/tests/utils/cookie.utils.spec.ts (26.682 s) 2022-08-01T10:31:43.139Z MongoMS:utils tryReleaseFile: "/etc/upstream-release/lsb-release" does not exist 2022-08-01T10:31:43.143Z MongoMS:getos getLinuxInformation: Using etcOsRelease 2022-08-01T10:31:43.143Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:43.143Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:43.144Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:43.144Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.144Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.145Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.145Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '' } 2022-08-01T10:31:43.145Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:43.145Z MongoMS:DryMongoBinary generateDownloadPath: using global (preferGlobal) "**************************************************************" 2022-08-01T10:31:43.146Z MongoMS:MongoBinary getPath: MongoBinary options: { "version": "5.0.8", "downloadDir": "/home/circleci/.cache/mongodb-binaries", "os": { "os": "linux", "dist": "ubuntu", "codename": "focal", "release": "20.04", "id_like": [ "debian" ] }, "platform": "linux", "arch": "x64", "systemBinary": "", "checkMD5": false } 2022-08-01T10:31:43.146Z MongoMS:DryMongoBinary locateBinary: Trying to locate Binary for version "5.0.8" 2022-08-01T10:31:43.146Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:43.146Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:43.146Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:43.146Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:43.211Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.211Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.211Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:43.211Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.211Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.211Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:43.211Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:43.212Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:43.212Z MongoMS:DryMongoBinary locateBinary: running generateDownloadPath 2022-08-01T10:31:43.212Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:43.212Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:43.212Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:43.212Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.212Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.212Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:43.212Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.212Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.212Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:43.213Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:43.213Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:43.213Z MongoMS:DryMongoBinary locateBinary: could not find a existing binary 2022-08-01T10:31:43.213Z MongoMS:MongoBinary getPath: "RUNTIME_DOWNLOAD" is "true", trying to download 2022-08-01T10:31:43.213Z MongoMS:MongoBinary download 2022-08-01T10:31:43.213Z MongoMS:MongoBinary download: Waiting to acquire Download lock for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:43.213Z MongoMS:LockFile lock: Locking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:43.214Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-08-01T10:31:43.214Z MongoMS:LockFile createLock: trying to create a lock file for "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:43.215Z MongoMS:LockFile createLock: Lock File Created for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:43.215Z MongoMS:MongoBinary download: Download lock acquired 2022-08-01T10:31:43.215Z MongoMS:MongoBinary download: Adding version 5.0.8 to cache 2022-08-01T10:31:43.215Z MongoMS:MongoBinaryDownload getMongodPath 2022-08-01T10:31:43.216Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:43.216Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:43.216Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:43.216Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:43.216Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.216Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.216Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:43.216Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.216Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.216Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:43.217Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:43.217Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:43.217Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:43.217Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.217Z MongoMS:MongoBinaryDownload startDownload 2022-08-01T10:31:43.221Z MongoMS:MongoBinaryDownloadUrl Using "mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" as the Archive String 2022-08-01T10:31:43.221Z MongoMS:MongoBinaryDownloadUrl Using "https://fastdl.mongodb.org" as the mirror 2022-08-01T10:31:43.222Z MongoMS:MongoBinaryDownload download 2022-08-01T10:31:43.222Z MongoMS:MongoBinaryDownload download: Downloading: "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" 2022-08-01T10:31:43.222Z MongoMS:MongoBinaryDownload httpDownload 2022-08-01T10:31:43.222Z MongoMS:MongoBinaryDownload httpDownload: trying to download "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" ● Cannot log after tests are done. Did you forget to wait for something async in your test? ".tempted to log "Downloading MongoDB "5.0.8": 0% (0mb / 82.3mb) at console.log (../../node_modules/@jest/console/build/BufferedConsole.js:199:10) at MongoBinaryDownload.printDownloadProgress (../../node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:516:15) at IncomingMessage. (../../node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:478:18) 2022-08-01T10:31:43.716Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Creating new MongoDB instance with options: { instance: { port: 37539, dbName: '', ip: '127.0.0.1', storageEngine: 'ephemeralForTest', replSet: undefined, dbPath: '/tmp/mongo-mem--1296-n8bqj4O6xOVK', tmpDir: { name: '/tmp/mongo-mem--1296-n8bqj4O6xOVK', removeCallback: [Function: _cleanupCallback] }, keyfileLocation: undefined, args: undefined, auth: false }, binary: undefined, spawn: undefined } 2022-08-01T10:31:43.717Z MongoMS:MongoInstance create: Called .create() method 2022-08-01T10:31:43.718Z MongoMS:MongoInstance Mongo[37539]: start 2022-08-01T10:31:43.718Z MongoMS:MongoBinary getPath 2022-08-01T10:31:43.718Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:43.721Z MongoMS:utils tryReleaseFile: "/etc/upstream-release/lsb-release" does not exist 2022-08-01T10:31:43.722Z MongoMS:getos getLinuxInformation: Using etcOsRelease 2022-08-01T10:31:43.722Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:43.723Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:43.723Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:43.724Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.724Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.724Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.724Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '' } 2022-08-01T10:31:43.724Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:43.724Z MongoMS:DryMongoBinary generateDownloadPath: using global (preferGlobal) "**************************************************************" 2022-08-01T10:31:43.725Z MongoMS:MongoBinary getPath: MongoBinary options: { "version": "5.0.8", "downloadDir": "/home/circleci/.cache/mongodb-binaries", "os": { "os": "linux", "dist": "ubuntu", "codename": "focal", "release": "20.04", "id_like": [ "debian" ] }, "platform": "linux", "arch": "x64", "systemBinary": "", "checkMD5": false } 2022-08-01T10:31:43.725Z MongoMS:DryMongoBinary locateBinary: Trying to locate Binary for version "5.0.8" 2022-08-01T10:31:43.725Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:43.725Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:43.725Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:43.725Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:43.725Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.725Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.725Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:43.725Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.725Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.725Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:43.726Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:43.726Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:43.726Z MongoMS:DryMongoBinary locateBinary: running generateDownloadPath 2022-08-01T10:31:43.726Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:43.726Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:43.726Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:43.726Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.726Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.726Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:43.726Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.726Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:43.726Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:43.727Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:43.727Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:43.727Z MongoMS:DryMongoBinary locateBinary: could not find a existing binary 2022-08-01T10:31:43.727Z MongoMS:MongoBinary getPath: "RUNTIME_DOWNLOAD" is "true", trying to download 2022-08-01T10:31:43.727Z MongoMS:MongoBinary download 2022-08-01T10:31:43.727Z MongoMS:MongoBinary download: Waiting to acquire Download lock for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:43.727Z MongoMS:LockFile lock: Locking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:43.728Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-08-01T10:31:43.728Z MongoMS:LockFile checkLock: Lock File Aready exists, for a different process: "1303" 2022-08-01T10:31:43.728Z MongoMS:LockFile waitForLock: Starting to wait for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:44.014Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Creating new MongoDB instance with options: { instance: { port: 37287, dbName: '', ip: '127.0.0.1', storageEngine: 'ephemeralForTest', replSet: undefined, dbPath: '/tmp/mongo-mem--1282-vFpwOgeQNO3l', tmpDir: { name: '/tmp/mongo-mem--1282-vFpwOgeQNO3l', removeCallback: [Function: _cleanupCallback] }, keyfileLocation: undefined, args: undefined, auth: false }, binary: undefined, spawn: undefined } 2022-08-01T10:31:44.016Z MongoMS:MongoInstance create: Called .create() method 2022-08-01T10:31:44.016Z MongoMS:MongoInstance Mongo[37287]: start 2022-08-01T10:31:44.016Z MongoMS:MongoBinary getPath 2022-08-01T10:31:44.016Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:44.019Z MongoMS:utils tryReleaseFile: "/etc/upstream-release/lsb-release" does not exist 2022-08-01T10:31:44.020Z MongoMS:getos getLinuxInformation: Using etcOsRelease 2022-08-01T10:31:44.020Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:44.020Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:44.021Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:44.022Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.022Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.022Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.022Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '' } 2022-08-01T10:31:44.023Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:44.023Z MongoMS:DryMongoBinary generateDownloadPath: using global (preferGlobal) "**************************************************************" 2022-08-01T10:31:44.023Z MongoMS:MongoBinary getPath: MongoBinary options: { "version": "5.0.8", "downloadDir": "/home/circleci/.cache/mongodb-binaries", "os": { "os": "linux", "dist": "ubuntu", "codename": "focal", "release": "20.04", "id_like": [ "debian" ] }, "platform": "linux", "arch": "x64", "systemBinary": "", "checkMD5": false } 2022-08-01T10:31:44.023Z MongoMS:DryMongoBinary locateBinary: Trying to locate Binary for version "5.0.8" 2022-08-01T10:31:44.023Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:44.023Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:44.023Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:44.024Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:44.024Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.024Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.024Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:44.024Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.024Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.024Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:44.025Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:44.025Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:44.025Z MongoMS:DryMongoBinary locateBinary: running generateDownloadPath 2022-08-01T10:31:44.025Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:44.025Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:44.025Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:44.025Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.025Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.025Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:44.025Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.025Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.025Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:44.026Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:44.026Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:44.026Z MongoMS:DryMongoBinary locateBinary: could not find a existing binary 2022-08-01T10:31:44.026Z MongoMS:MongoBinary getPath: "RUNTIME_DOWNLOAD" is "true", trying to download 2022-08-01T10:31:44.026Z MongoMS:MongoBinary download 2022-08-01T10:31:44.027Z MongoMS:MongoBinary download: Waiting to acquire Download lock for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:44.027Z MongoMS:LockFile lock: Locking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:44.027Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-08-01T10:31:44.027Z MongoMS:LockFile checkLock: Lock File Aready exists, for a different process: "1303" 2022-08-01T10:31:44.028Z MongoMS:LockFile waitForLock: Starting to wait for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" ● Cannot log after tests are done. Did you forget to wait for something async in your test? ".tempted to log "Downloading MongoDB "5.0.8": 100% (82.3mb / 82.3mb) at console.log (../../node_modules/@jest/console/build/BufferedConsole.js:199:10) at MongoBinaryDownload.printDownloadProgress (../../node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:516:15) at MongoBinaryDownload. (../../node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:468:18) at ../../node_modules/tslib/tslib.js:118:75 at __awaiter (../../node_modules/tslib/tslib.js:114:16) at WriteStream. (../../node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:454:46) 2022-08-01T10:31:44.081Z MongoMS:MongoBinaryDownload httpDownload: moved "/home/circleci/.cache/mongodb-binaries/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz.downloading" to "/home/circleci/.cache/mongodb-binaries/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" 2022-08-01T10:31:44.081Z MongoMS:MongoBinaryDownload makeMD5check: Checking MD5 of downloaded binary... 2022-08-01T10:31:44.081Z MongoMS:MongoBinaryDownload makeMD5check: checkMD5 is disabled 2022-08-01T10:31:44.081Z MongoMS:MongoBinaryDownload extract 2022-08-01T10:31:44.081Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:44.081Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:44.081Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:44.081Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:44.082Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.082Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.082Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:44.082Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.082Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.082Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:44.082Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:44.082Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:44.082Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:44.082Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.082Z MongoMS:MongoBinaryDownload extract: archive: "/home/circleci/.cache/mongodb-binaries/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" final: "**************************************************************" 2022-08-01T10:31:44.082Z MongoMS:MongoBinaryDownload extractTarGz ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. From tests/utils/cookie.utils.spec.ts. at Extract.Writable (../../node_modules/readable-stream/lib/_stream_writable.js:230:22) at new Extract (../../node_modules/tar-stream/extract.js:43:12) at Object.Extract (../../node_modules/tar-stream/extract.js:42:42) at MongoBinaryDownload. (../../node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:321:25) 2022-08-01T10:31:44.086Z MongoMS:MongoBinary download: Removing Download lock 2022-08-01T10:31:44.086Z MongoMS:LockFile unlock: Unlocking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:44.086Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "52a9af2f-47e5-408a-9f2c-5ee5a3bbe100" 2022-08-01T10:31:44.111Z MongoMS:LockFile checkLock: Lock File Already exists, and is for *this* process, with uuid: "52a9af2f-47e5-408a-9f2c-5ee5a3bbe100" 2022-08-01T10:31:44.111Z MongoMS:LockFile unlock: Lock Status was "availableInstance" for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:44.111Z MongoMS:LockFile unlockCleanup: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:44.111Z MongoMS:MongoBinary download: Download lock removed 2022-08-01T10:31:44.112Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance threw a Error: TypeError: Right-hand side of 'instanceof' is not callable at Extract.Writable (/home/circleci/project/node_modules/readable-stream/lib/_stream_writable.js:239:23) at new Extract (/home/circleci/project/node_modules/tar-stream/extract.js:43:12) at Object.Extract (/home/circleci/project/node_modules/tar-stream/extract.js:42:42) at MongoBinaryDownload. (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:321:25) at Generator.next () at /home/circleci/project/node_modules/tslib/tslib.js:118:75 at new Promise () at __awaiter (/home/circleci/project/node_modules/tslib/tslib.js:114:16) at MongoBinaryDownload.extractTarGz (/home/circleci/project/node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:241:38) at MongoBinaryDownload. (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:287:18) 2022-08-01T10:31:44.126Z MongoMS:MongoMemoryServer Mongo[unknown]: stop: Called .stop() method 2022-08-01T10:31:44.126Z MongoMS:MongoMemoryServer Mongo[unknown]: stop: "instanceInfo" is not defined (never ran?) node:internal/process/promises:279 triggerUncaughtException(err, true /* fromPromise */); ^ TypeError: Right-hand side of 'instanceof' is not callable at Extract.Writable (/home/circleci/project/node_modules/readable-stream/lib/_stream_writable.js:239:23) at new Extract (/home/circleci/project/node_modules/tar-stream/extract.js:43:12) at Object.Extract (/home/circleci/project/node_modules/tar-stream/extract.js:42:42) at MongoBinaryDownload. (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:321:25) at Generator.next () at /home/circleci/project/node_modules/tslib/tslib.js:118:75 at new Promise () at __awaiter (/home/circleci/project/node_modules/tslib/tslib.js:114:16) at MongoBinaryDownload.extractTarGz (/home/circleci/project/node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownload.js:241:38) at MongoBinaryDownload. (/home/circleci/project/node_modules/mongodb-memory-server-core/src/util/MongoBinaryDownload.ts:287:18) 2022-08-01T10:31:44.917Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Creating new MongoDB instance with options: { instance: { port: 46167, dbName: '', ip: '127.0.0.1', storageEngine: 'ephemeralForTest', replSet: undefined, dbPath: '/tmp/mongo-mem--1270-36MVGP67w5Ei', tmpDir: { name: '/tmp/mongo-mem--1270-36MVGP67w5Ei', removeCallback: [Function: _cleanupCallback] }, keyfileLocation: undefined, args: undefined, auth: false }, binary: undefined, spawn: undefined } 2022-08-01T10:31:44.919Z MongoMS:MongoInstance create: Called .create() method 2022-08-01T10:31:44.919Z MongoMS:MongoInstance Mongo[46167]: start 2022-08-01T10:31:44.919Z MongoMS:MongoBinary getPath 2022-08-01T10:31:44.919Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:44.921Z MongoMS:utils tryReleaseFile: "/etc/upstream-release/lsb-release" does not exist 2022-08-01T10:31:44.922Z MongoMS:getos getLinuxInformation: Using etcOsRelease 2022-08-01T10:31:44.923Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:44.923Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:44.923Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:44.924Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.924Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.924Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.924Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '' } 2022-08-01T10:31:44.925Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:44.925Z MongoMS:DryMongoBinary generateDownloadPath: using global (preferGlobal) "**************************************************************" 2022-08-01T10:31:44.925Z MongoMS:MongoBinary getPath: MongoBinary options: { "version": "5.0.8", "downloadDir": "/home/circleci/.cache/mongodb-binaries", "os": { "os": "linux", "dist": "ubuntu", "codename": "focal", "release": "20.04", "id_like": [ "debian" ] }, "platform": "linux", "arch": "x64", "systemBinary": "", "checkMD5": false } 2022-08-01T10:31:44.925Z MongoMS:DryMongoBinary locateBinary: Trying to locate Binary for version "5.0.8" 2022-08-01T10:31:44.925Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:44.925Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:44.925Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:44.925Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:44.926Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.926Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.926Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:44.926Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.926Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.926Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:44.926Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:44.926Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:44.926Z MongoMS:DryMongoBinary locateBinary: running generateDownloadPath 2022-08-01T10:31:44.926Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:44.926Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:44.926Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:44.927Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.927Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.927Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:44.927Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.927Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.927Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:44.927Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:44.927Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:44.927Z MongoMS:DryMongoBinary locateBinary: could not find a existing binary 2022-08-01T10:31:44.927Z MongoMS:MongoBinary getPath: "RUNTIME_DOWNLOAD" is "true", trying to download 2022-08-01T10:31:44.927Z MongoMS:MongoBinary download 2022-08-01T10:31:44.928Z MongoMS:MongoBinary download: Waiting to acquire Download lock for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:44.928Z MongoMS:LockFile lock: Locking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:44.928Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-08-01T10:31:44.928Z MongoMS:LockFile createLock: trying to create a lock file for "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:44.929Z MongoMS:LockFile createLock: Lock File Created for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:44.929Z MongoMS:MongoBinary download: Download lock acquired 2022-08-01T10:31:44.929Z MongoMS:MongoBinary download: Adding version 5.0.8 to cache 2022-08-01T10:31:44.930Z MongoMS:MongoBinaryDownload getMongodPath 2022-08-01T10:31:44.930Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:44.930Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:44.930Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:44.930Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:44.930Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.930Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.930Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:44.930Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.930Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.930Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:44.931Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:44.931Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:44.931Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:44.931Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.931Z MongoMS:MongoBinaryDownload startDownload 2022-08-01T10:31:44.934Z MongoMS:MongoBinaryDownloadUrl Using "mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" as the Archive String 2022-08-01T10:31:44.934Z MongoMS:MongoBinaryDownloadUrl Using "https://fastdl.mongodb.org" as the mirror 2022-08-01T10:31:44.934Z MongoMS:MongoBinaryDownload download 2022-08-01T10:31:44.935Z MongoMS:MongoBinaryDownload download: Downloading: "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" 2022-08-01T10:31:44.935Z MongoMS:MongoBinaryDownload download: Already downloaded archive found, skipping download 2022-08-01T10:31:44.935Z MongoMS:MongoBinaryDownload makeMD5check: Checking MD5 of downloaded binary... 2022-08-01T10:31:44.935Z MongoMS:MongoBinaryDownload makeMD5check: checkMD5 is disabled 2022-08-01T10:31:44.935Z MongoMS:MongoBinaryDownload extract 2022-08-01T10:31:44.935Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:44.935Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:44.935Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:44.935Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:44.936Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.936Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.936Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:44.936Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.936Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.936Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:44.936Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:44.936Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:44.936Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:44.936Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:44.936Z MongoMS:MongoBinaryDownload extract: archive: "/home/circleci/.cache/mongodb-binaries/mongodb-linux-x86_64-ubuntu2004-5.0.8.tgz" final: "**************************************************************" 2022-08-01T10:31:44.936Z MongoMS:MongoBinaryDownload extractTarGz 2022-08-01T10:31:45.003Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Creating new MongoDB instance with options: { instance: { port: 42597, dbName: '', ip: '127.0.0.1', storageEngine: 'ephemeralForTest', replSet: undefined, dbPath: '/tmp/mongo-mem--1276-bzOLBKQLOJh0', tmpDir: { name: '/tmp/mongo-mem--1276-bzOLBKQLOJh0', removeCallback: [Function: _cleanupCallback] }, keyfileLocation: undefined, args: undefined, auth: false }, binary: undefined, spawn: undefined } 2022-08-01T10:31:45.005Z MongoMS:MongoInstance create: Called .create() method 2022-08-01T10:31:45.005Z MongoMS:MongoInstance Mongo[42597]: start 2022-08-01T10:31:45.005Z MongoMS:MongoBinary getPath 2022-08-01T10:31:45.006Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:45.008Z MongoMS:utils tryReleaseFile: "/etc/upstream-release/lsb-release" does not exist 2022-08-01T10:31:45.013Z MongoMS:getos getLinuxInformation: Using etcOsRelease 2022-08-01T10:31:45.013Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:45.013Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:45.014Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:45.014Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.015Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.015Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.015Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '' } 2022-08-01T10:31:45.015Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:45.015Z MongoMS:DryMongoBinary generateDownloadPath: using global (preferGlobal) "**************************************************************" 2022-08-01T10:31:45.016Z MongoMS:MongoBinary getPath: MongoBinary options: { "version": "5.0.8", "downloadDir": "/home/circleci/.cache/mongodb-binaries", "os": { "os": "linux", "dist": "ubuntu", "codename": "focal", "release": "20.04", "id_like": [ "debian" ] }, "platform": "linux", "arch": "x64", "systemBinary": "", "checkMD5": false } 2022-08-01T10:31:45.016Z MongoMS:DryMongoBinary locateBinary: Trying to locate Binary for version "5.0.8" 2022-08-01T10:31:45.016Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:45.016Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:45.016Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:45.016Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:45.016Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.016Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.016Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:45.016Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.016Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.016Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:45.017Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:45.017Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:45.017Z MongoMS:DryMongoBinary locateBinary: running generateDownloadPath 2022-08-01T10:31:45.017Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:45.017Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:45.017Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:45.017Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.017Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.017Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:45.017Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.017Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.017Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:45.018Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:45.018Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:45.018Z MongoMS:DryMongoBinary locateBinary: could not find a existing binary 2022-08-01T10:31:45.018Z MongoMS:MongoBinary getPath: "RUNTIME_DOWNLOAD" is "true", trying to download 2022-08-01T10:31:45.018Z MongoMS:MongoBinary download 2022-08-01T10:31:45.018Z MongoMS:MongoBinary download: Waiting to acquire Download lock for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:45.018Z MongoMS:LockFile lock: Locking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:45.018Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-08-01T10:31:45.019Z MongoMS:LockFile checkLock: Lock File Aready exists, for a different process: "1270" 2022-08-01T10:31:45.019Z MongoMS:LockFile waitForLock: Starting to wait for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:45.065Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Creating new MongoDB instance with options: { instance: { port: 43139, dbName: '', ip: '127.0.0.1', storageEngine: 'ephemeralForTest', replSet: undefined, dbPath: '/tmp/mongo-mem--1289-N3fnMTbIFaqp', tmpDir: { name: '/tmp/mongo-mem--1289-N3fnMTbIFaqp', removeCallback: [Function: _cleanupCallback] }, keyfileLocation: undefined, args: undefined, auth: false }, binary: undefined, spawn: undefined } 2022-08-01T10:31:45.067Z MongoMS:MongoInstance create: Called .create() method 2022-08-01T10:31:45.067Z MongoMS:MongoInstance Mongo[43139]: start 2022-08-01T10:31:45.068Z MongoMS:MongoBinary getPath 2022-08-01T10:31:45.068Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:45.070Z MongoMS:utils tryReleaseFile: "/etc/upstream-release/lsb-release" does not exist 2022-08-01T10:31:45.077Z MongoMS:getos getLinuxInformation: Using etcOsRelease 2022-08-01T10:31:45.077Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:45.078Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:45.078Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:45.111Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.112Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.112Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.112Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '' } 2022-08-01T10:31:45.113Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:45.113Z MongoMS:DryMongoBinary generateDownloadPath: using global (preferGlobal) "**************************************************************" 2022-08-01T10:31:45.113Z MongoMS:MongoBinary getPath: MongoBinary options: { "version": "5.0.8", "downloadDir": "/home/circleci/.cache/mongodb-binaries", "os": { "os": "linux", "dist": "ubuntu", "codename": "focal", "release": "20.04", "id_like": [ "debian" ] }, "platform": "linux", "arch": "x64", "systemBinary": "", "checkMD5": false } 2022-08-01T10:31:45.113Z MongoMS:DryMongoBinary locateBinary: Trying to locate Binary for version "5.0.8" 2022-08-01T10:31:45.113Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:45.114Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:45.114Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:45.114Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:45.114Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.114Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.114Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:45.114Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.114Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.114Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:45.115Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:45.115Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:45.115Z MongoMS:DryMongoBinary locateBinary: running generateDownloadPath 2022-08-01T10:31:45.115Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:45.115Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:45.115Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:45.116Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.116Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.116Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:45.116Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.116Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:45.116Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:45.116Z MongoMS:DryMongoBinary generateDownloadPath: no existing binary for version "5.0.8" was found 2022-08-01T10:31:45.116Z MongoMS:DryMongoBinary generateDownloadPath: using resolveConfig (DOWNLOAD_DIR) "**************************************************************" 2022-08-01T10:31:45.116Z MongoMS:DryMongoBinary locateBinary: could not find a existing binary 2022-08-01T10:31:45.116Z MongoMS:MongoBinary getPath: "RUNTIME_DOWNLOAD" is "true", trying to download 2022-08-01T10:31:45.117Z MongoMS:MongoBinary download 2022-08-01T10:31:45.117Z MongoMS:MongoBinary download: Waiting to acquire Download lock for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:45.117Z MongoMS:LockFile lock: Locking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:45.117Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-08-01T10:31:45.117Z MongoMS:LockFile checkLock: Lock File Aready exists, for a different process: "1270" 2022-08-01T10:31:45.118Z MongoMS:LockFile waitForLock: Starting to wait for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:46.346Z MongoMS:MongoBinary download: Removing Download lock 2022-08-01T10:31:46.346Z MongoMS:LockFile unlock: Unlocking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:46.346Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "b3687107-623e-4255-bf36-94c13cd8ffaf" 2022-08-01T10:31:46.347Z MongoMS:LockFile checkLock: Lock File Already exists, and is for *this* process, with uuid: "b3687107-623e-4255-bf36-94c13cd8ffaf" 2022-08-01T10:31:46.347Z MongoMS:LockFile unlock: Lock Status was "availableInstance" for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:46.347Z MongoMS:LockFile unlockCleanup: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:46.347Z MongoMS:MongoBinary download: Download lock removed 2022-08-01T10:31:46.347Z MongoMS:MongoBinary getPath: Mongod binary path: "**************************************************************" 2022-08-01T10:31:46.347Z MongoMS:MongoInstance Mongo[46167]: start: Starting Processes 2022-08-01T10:31:46.347Z MongoMS:MongoInstance Mongo[46167]: _launchMongod: Launching Mongod Process 2022-08-01T10:31:46.347Z MongoMS:MongoInstance Mongo[46167]: prepareCommandArgs 2022-08-01T10:31:46.347Z MongoMS:MongoInstance Mongo[46167]: prepareCommandArgs: final argument array:["--port","46167","--dbpath","/tmp/mongo-mem--1270-36MVGP67w5Ei","--storageEngine","ephemeralForTest","--bind_ip","127.0.0.1","--noauth"] 2022-08-01T10:31:46.372Z MongoMS:MongoInstance Mongo[46167]: _launchKiller: Launching Killer Process (parent: 1270, child: 1594) 2022-08-01T10:31:46.432Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.431Z"},"s":"I", "c":"CONTROL", "id":5324701, "ctx":"-","msg":"Test storage engine does not support enableMajorityReadConcern=true, forcibly setting to false","attr":{"storageEngine":"ephemeralForTest"}} {"t":{"$date":"2022-08-01T10:31:46.431Z"},"s":"W", "c":"CONTROL", "id":4788401, "ctx":"-","msg":"Lock-free reads is not compatible with enableMajorityReadConcern=false: disabling lock-free reads."}"" 2022-08-01T10:31:46.435Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.435+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}"" 2022-08-01T10:31:46.435Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.435+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true}}} {"t":{"$date":"2022-08-01T10:31:46.435+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"} {"t":{"$date":"2022-08-01T10:31:46.435+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}"" 2022-08-01T10:31:46.436Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.436+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}"" 2022-08-01T10:31:46.436Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.436+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","ns":"config.tenantMigrationDonors"}} {"t":{"$date":"2022-08-01T10:31:46.436+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","ns":"config.tenantMigrationRecipients"}} {"t":{"$date":"2022-08-01T10:31:46.436+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "ctx":"main","msg":"Multi threading initialized"}"" 2022-08-01T10:31:46.436Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.436+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1594,"port":46167,"dbPath":"/tmp/mongo-mem--1270-36MVGP67w5Ei","architecture":"64-bit","host":"b214e6826668"}} {"t":{"$date":"2022-08-01T10:31:46.436+00:00"},"s":"W", "c":"CONTROL", "id":20720, "ctx":"initandlisten","msg":"Memory available to mongo process is less than total system memory","attr":{"availableMemSizeMB":8192,"systemMemSizeMB":70226}}"" 2022-08-01T10:31:46.436Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.436+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"5.0.8","gitVersion":"c87e1c23421bf79614baf500fda6622bd90f674e","openSSLVersion":"OpenSSL 1.1.1f 31 Mar 2020","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2004","distarch":"x86_64","target_arch":"x86_64"}}}} {"t":{"$date":"2022-08-01T10:31:46.436+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"20.04"}}} {"t":{"$date":"2022-08-01T10:31:46.436+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"127.0.0.1","port":46167},"security":{"authorization":"disabled"},"storage":{"dbPath":"/tmp/mongo-mem--1270-36MVGP67w5Ei","engine":"ephemeralForTest"}}}}"" 2022-08-01T10:31:46.457Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.457+00:00"},"s":"I", "c":"CONTROL", "id":22197, "ctx":"initandlisten","msg":"The ephemeralForTest storage engine is for testing only. Do not use in production","tags":["startupWarnings"]}"" 2022-08-01T10:31:46.457Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.457+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"admin.system.version","uuidDisposition":"provided","uuid":{"uuid":{"$uuid":"d1ad0bb8-2f17-464f-9731-45174aff9921"}},"options":{"uuid":{"$uuid":"d1ad0bb8-2f17-464f-9731-45174aff9921"}}}}"" 2022-08-01T10:31:46.457Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.457+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"admin.system.version","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:46.457Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.457+00:00"},"s":"I", "c":"REPL", "id":20459, "ctx":"initandlisten","msg":"Setting featureCompatibilityVersion","attr":{"newVersion":"5.0"}}"" 2022-08-01T10:31:46.458Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.457+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true}}}"" 2022-08-01T10:31:46.458Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.458+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true}}} {"t":{"$date":"2022-08-01T10:31:46.458+00:00"},"s":"I", "c":"STORAGE", "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"}"" 2022-08-01T10:31:46.458Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.458+00:00"},"s":"I", "c":"CONTROL", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}"" 2022-08-01T10:31:46.458Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.458+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/tmp/mongo-mem--1270-36MVGP67w5Ei/diagnostic.data"}}"" 2022-08-01T10:31:46.458Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.458+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"local.startup_log","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"89d5e663-6103-46cd-a766-4f4b22880a73"}},"options":{"capped":true,"size":10485760}}}"" 2022-08-01T10:31:46.459Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.458+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"local.startup_log","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:46.459Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.459+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}"" 2022-08-01T10:31:46.460Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.460+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-46167.sock"}}"" 2022-08-01T10:31:46.460Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.460+00:00"},"s":"I", "c":"CONTROL", "id":20712, "ctx":"LogicalSessionCacheReap","msg":"Sessions collection is not set up; waiting until next sessions reap interval","attr":{"error":"NamespaceNotFound: config.system.sessions does not exist"}} {"t":{"$date":"2022-08-01T10:31:46.460+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"127.0.0.1"}} {"t":{"$date":"2022-08-01T10:31:46.460+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":46167,"ssl":"off"}}"" 2022-08-01T10:31:46.460Z MongoMS:MongoInstance Mongo[46167]: constructor: Instance is ready! 2022-08-01T10:31:46.460Z MongoMS:MongoInstance Mongo[46167]: start: Processes Started 2022-08-01T10:31:46.460Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Instance Started, createAuth: "false" 2022-08-01T10:31:46.460Z MongoMS:MongoMemoryServer Mongo[46167]: start: Instance fully Started 2022-08-01T10:31:46.460Z MongoMS:MongoMemoryServer Mongo[46167]: getUri: running undefined undefined 2022-08-01T10:31:46.473Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.460+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"LogicalSessionCacheRefresh","msg":"createCollection","attr":{"namespace":"config.system.sessions","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"48c422ba-8da7-44cf-86a5-fa609ff1c896"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:46.460+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"config.system.sessions","index":"_id_","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:46.460+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"config.system.sessions","index":"lsidTTLIndex","commitTimestamp":null}}"" 2022-08-01T10:31:46.477Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.473+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:33696","uuid":"07fa3114-cede-4cf4-83f7-5bcd5cf1f4cc","connectionId":1,"connectionCount":1}}"" 2022-08-01T10:31:46.477Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.477+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1","msg":"client metadata","attr":{"remote":"127.0.0.1:33696","client":"conn1","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-08-01T10:31:46.509Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.486+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:33698","uuid":"77a2dc78-8ba6-4199-9a36-39fa88ab2d12","connectionId":2,"connectionCount":2}} {"t":{"$date":"2022-08-01T10:31:46.486+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:33700","uuid":"44db9c34-1a22-48af-84a5-2d92eaf1d6a3","connectionId":3,"connectionCount":3}}"" 2022-08-01T10:31:46.511Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.510+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2","msg":"client metadata","attr":{"remote":"127.0.0.1:33698","client":"conn2","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-08-01T10:31:46.513Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.511+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn3","msg":"client metadata","attr":{"remote":"127.0.0.1:33700","client":"conn3","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}} {"t":{"$date":"2022-08-01T10:31:46.513+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn2","msg":"createCollection","attr":{"namespace":"test.tools","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"2b7b14b8-72e5-427a-80af-c0621be0f5df"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:46.513+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn2","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.tools","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:46.518Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.513+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:33702","uuid":"0d13e2cb-8be9-43e1-ae94-9d243e0dc8b1","connectionId":4,"connectionCount":4}} {"t":{"$date":"2022-08-01T10:31:46.517+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn3","msg":"createCollection","attr":{"namespace":"test.screens","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"3fbb05b4-e84b-48cb-9680-fa21aed522fd"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:46.517+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn3","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.screens","index":"_id_","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:46.517+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:33704","uuid":"1c51ba0c-6b6f-4794-b025-3e2680104434","connectionId":5,"connectionCount":5}}"" 2022-08-01T10:31:46.528Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.518+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn4","msg":"client metadata","attr":{"remote":"127.0.0.1:33702","client":"conn4","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}} {"t":{"$date":"2022-08-01T10:31:46.527+00:00"},"s":"I", "c":"INDEX", "id":20438, "ctx":"conn3","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"92a4f22b-4d6b-47d8-aa8f-807ffe2ca455"}},"namespace":"test.screens","collectionUUID":{"uuid":{"$uuid":"3fbb05b4-e84b-48cb-9680-fa21aed522fd"}},"indexes":1,"firstIndex":{"name":"key_1"}}} {"t":{"$date":"2022-08-01T10:31:46.527+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn3","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.screens","index":"key_1","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:46.527+00:00"},"s":"I", "c":"INDEX", "id":20440, "ctx":"conn3","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"92a4f22b-4d6b-47d8-aa8f-807ffe2ca455"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}} {"t":{"$date":"2022-08-01T10:31:46.527+00:00"},"s":"I", "c":"INDEX", "id":20447, "ctx":"conn3","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"92a4f22b-4d6b-47d8-aa8f-807ffe2ca455"}}}}"" 2022-08-01T10:31:46.530Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.528+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn5","msg":"client metadata","attr":{"remote":"127.0.0.1:33704","client":"conn5","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}} {"t":{"$date":"2022-08-01T10:31:46.529+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn4","msg":"createCollection","attr":{"namespace":"test.users","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"52d4c1fb-06e9-484a-90a9-e5979be4e1c9"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:46.529+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.users","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:46.557Z MongoMS:MongoInstance Mongo[46167]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.531+00:00"},"s":"I", "c":"INDEX", "id":20438, "ctx":"conn5","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"ae55a8bf-edb1-47d2-a37d-dd746bb5beac"}},"namespace":"test.tools","collectionUUID":{"uuid":{"$uuid":"2b7b14b8-72e5-427a-80af-c0621be0f5df"}},"indexes":1,"firstIndex":{"name":"key_1"}}} {"t":{"$date":"2022-08-01T10:31:46.532+00:00"},"s":"I", "c":"INDEX", "id":20384, "ctx":"IndexBuildsCoordinatorMongod-0","msg":"Index build: starting","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"2b7b14b8-72e5-427a-80af-c0621be0f5df"}},"namespace":"test.tools","properties":{"v":2,"unique":true,"key":{"key":1},"name":"key_1","background":true},"method":"Hybrid","maxTemporaryMemoryUsageMB":200}} {"t":{"$date":"2022-08-01T10:31:46.532+00:00"},"s":"I", "c":"INDEX", "id":20440, "ctx":"conn5","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"ae55a8bf-edb1-47d2-a37d-dd746bb5beac"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}} {"t":{"$date":"2022-08-01T10:31:46.532+00:00"},"s":"I", "c":"INDEX", "id":20391, "ctx":"IndexBuildsCoordinatorMongod-0","msg":"Index build: collection scan done","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"2b7b14b8-72e5-427a-80af-c0621be0f5df"}},"namespace":"test.tools","totalRecords":1,"readSource":"kNoTimestamp","durationMillis":0}} {"t":{"$date":"2022-08-01T10:31:46.532+00:00"},"s":"I", "c":"INDEX", "id":20685, "ctx":"IndexBuildsCoordinatorMongod-0","msg":"Index build: inserted keys from external sorter into index","attr":{"namespace":"test.tools","index":"key_1","keysInserted":1,"durationMillis":0}} {"t":{"$date":"2022-08-01T10:31:46.532+00:00"},"s":"I", "c":"STORAGE", "id":3856203, "ctx":"IndexBuildsCoordinatorMongod-0","msg":"Index build: waiting for next action before completing final phase","attr":{"buildUUID":{"uuid":{"$uuid":"ae55a8bf-edb1-47d2-a37d-dd746bb5beac"}}}} {"t":{"$date":"2022-08-01T10:31:46.532+00:00"},"s":"I", "c":"STORAGE", "id":3856204, "ctx":"IndexBuildsCoordinatorMongod-0","msg":"Index build: received signal","attr":{"buildUUID":{"uuid":{"$uuid":"ae55a8bf-edb1-47d2-a37d-dd746bb5beac"}},"action":"Single-phase commit"}} {"t":{"$date":"2022-08-01T10:31:46.532+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"IndexBuildsCoordinatorMongod-0","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.tools","index":"key_1","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:46.532+00:00"},"s":"I", "c":"STORAGE", "id":20663, "ctx":"IndexBuildsCoordinatorMongod-0","msg":"Index build: completed successfully","attr":{"buildUUID":{"uuid":{"$uuid":"ae55a8bf-edb1-47d2-a37d-dd746bb5beac"}},"collectionUUID":{"uuid":{"$uuid":"2b7b14b8-72e5-427a-80af-c0621be0f5df"}},"namespace":"test.tools","indexesBuilt":["key_1"],"numIndexesBefore":1,"numIndexesAfter":2}} {"t":{"$date":"2022-08-01T10:31:46.532+00:00"},"s":"I", "c":"INDEX", "id":20447, "ctx":"conn5","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"ae55a8bf-edb1-47d2-a37d-dd746bb5beac"}}}}"" 2022-08-01T10:31:46.572Z MongoMS:MongoMemoryServer Mongo[46167]: getUri: running undefined undefined 2022-08-01T10:31:46.586Z MongoMS:MongoMemoryServer Mongo[46167]: getUri: running undefined undefined 2022-08-01T10:31:46.597Z MongoMS:MongoMemoryServer Mongo[46167]: getUri: running undefined undefined 2022-08-01T10:31:46.617Z MongoMS:MongoMemoryServer Mongo[46167]: getUri: running undefined undefined 2022-08-01T10:31:46.632Z MongoMS:MongoMemoryServer Mongo[46167]: getUri: running undefined undefined PASS api apps/api/src/api/v1/tools/update/update-tool.spec.ts (30.192 s) 2022-08-01T10:31:46.731Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-08-01T10:31:46.731Z MongoMS:LockFile waitForLock: Interval for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with status "0" 2022-08-01T10:31:46.731Z MongoMS:LockFile waitForLock: File became available "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:46.731Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-08-01T10:31:46.731Z MongoMS:LockFile waitForLock: Lock File Status reassessment for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock": 0 2022-08-01T10:31:46.731Z MongoMS:LockFile createLock: trying to create a lock file for "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:46.733Z MongoMS:LockFile createLock: Lock File Created for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:46.733Z MongoMS:MongoBinary download: Download lock acquired 2022-08-01T10:31:46.733Z MongoMS:MongoBinary download: Adding version 5.0.8 to cache 2022-08-01T10:31:46.733Z MongoMS:MongoBinaryDownload getMongodPath 2022-08-01T10:31:46.733Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:46.734Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:46.734Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:46.734Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:46.734Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:46.734Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:46.734Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:46.734Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:46.734Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:46.734Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:46.734Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in resolveConfig (DOWNLOAD_DIR): "**************************************************************" 2022-08-01T10:31:46.734Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:46.734Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:46.734Z MongoMS:MongoBinaryDownload getMongodPath: mongod path "**************************************************************" already exists, using this 2022-08-01T10:31:46.734Z MongoMS:MongoBinary download: Removing Download lock 2022-08-01T10:31:46.735Z MongoMS:LockFile unlock: Unlocking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:46.735Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "9fd17755-3a34-4c96-b0a9-95ec02d3708d" 2022-08-01T10:31:46.735Z MongoMS:LockFile checkLock: Lock File Already exists, and is for *this* process, with uuid: "9fd17755-3a34-4c96-b0a9-95ec02d3708d" 2022-08-01T10:31:46.735Z MongoMS:LockFile unlock: Lock Status was "availableInstance" for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:46.735Z MongoMS:LockFile unlockCleanup: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:46.735Z MongoMS:MongoBinary download: Download lock removed 2022-08-01T10:31:46.735Z MongoMS:MongoBinary getPath: Mongod binary path: "**************************************************************" 2022-08-01T10:31:46.735Z MongoMS:MongoInstance Mongo[37539]: start: Starting Processes 2022-08-01T10:31:46.736Z MongoMS:MongoInstance Mongo[37539]: _launchMongod: Launching Mongod Process 2022-08-01T10:31:46.736Z MongoMS:MongoInstance Mongo[37539]: prepareCommandArgs 2022-08-01T10:31:46.736Z MongoMS:MongoInstance Mongo[37539]: prepareCommandArgs: final argument array:["--port","37539","--dbpath","/tmp/mongo-mem--1296-n8bqj4O6xOVK","--storageEngine","ephemeralForTest","--bind_ip","127.0.0.1","--noauth"] 2022-08-01T10:31:46.762Z MongoMS:MongoInstance Mongo[37539]: _launchKiller: Launching Killer Process (parent: 1296, child: 1630) 2022-08-01T10:31:46.801Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.800Z"},"s":"I", "c":"CONTROL", "id":5324701, "ctx":"-","msg":"Test storage engine does not support enableMajorityReadConcern=true, forcibly setting to false","attr":{"storageEngine":"ephemeralForTest"}} {"t":{"$date":"2022-08-01T10:31:46.800Z"},"s":"W", "c":"CONTROL", "id":4788401, "ctx":"-","msg":"Lock-free reads is not compatible with enableMajorityReadConcern=false: disabling lock-free reads."}"" 2022-08-01T10:31:46.802Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.800+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"-","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} {"t":{"$date":"2022-08-01T10:31:46.800+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"-","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true}}}"" 2022-08-01T10:31:46.803Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.803+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}"" 2022-08-01T10:31:46.803Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.803+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}"" 2022-08-01T10:31:46.804Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.804+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}"" 2022-08-01T10:31:46.804Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.804+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","ns":"config.tenantMigrationDonors"}} {"t":{"$date":"2022-08-01T10:31:46.804+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","ns":"config.tenantMigrationRecipients"}}"" 2022-08-01T10:31:46.804Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.804+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "ctx":"main","msg":"Multi threading initialized"}"" 2022-08-01T10:31:46.805Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.805+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1630,"port":37539,"dbPath":"/tmp/mongo-mem--1296-n8bqj4O6xOVK","architecture":"64-bit","host":"b214e6826668"}} {"t":{"$date":"2022-08-01T10:31:46.805+00:00"},"s":"W", "c":"CONTROL", "id":20720, "ctx":"initandlisten","msg":"Memory available to mongo process is less than total system memory","attr":{"availableMemSizeMB":8192,"systemMemSizeMB":70226}}"" 2022-08-01T10:31:46.805Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.805+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"5.0.8","gitVersion":"c87e1c23421bf79614baf500fda6622bd90f674e","openSSLVersion":"OpenSSL 1.1.1f 31 Mar 2020","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2004","distarch":"x86_64","target_arch":"x86_64"}}}} {"t":{"$date":"2022-08-01T10:31:46.805+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"20.04"}}} {"t":{"$date":"2022-08-01T10:31:46.805+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"127.0.0.1","port":37539},"security":{"authorization":"disabled"},"storage":{"dbPath":"/tmp/mongo-mem--1296-n8bqj4O6xOVK","engine":"ephemeralForTest"}}}}"" 2022-08-01T10:31:46.806Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.806+00:00"},"s":"I", "c":"CONTROL", "id":22197, "ctx":"initandlisten","msg":"The ephemeralForTest storage engine is for testing only. Do not use in production","tags":["startupWarnings"]}"" 2022-08-01T10:31:46.807Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.807+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"admin.system.version","uuidDisposition":"provided","uuid":{"uuid":{"$uuid":"555a4c35-054f-4a9e-a06a-efd687c8c8d8"}},"options":{"uuid":{"$uuid":"555a4c35-054f-4a9e-a06a-efd687c8c8d8"}}}}"" 2022-08-01T10:31:46.807Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.807+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"admin.system.version","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:46.807Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.807+00:00"},"s":"I", "c":"REPL", "id":20459, "ctx":"initandlisten","msg":"Setting featureCompatibilityVersion","attr":{"newVersion":"5.0"}} {"t":{"$date":"2022-08-01T10:31:46.807+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true}}}"" 2022-08-01T10:31:46.807Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.807+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true}}}"" 2022-08-01T10:31:46.807Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.807+00:00"},"s":"I", "c":"STORAGE", "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"}"" 2022-08-01T10:31:46.807Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.807+00:00"},"s":"I", "c":"CONTROL", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}"" 2022-08-01T10:31:46.808Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.808+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/tmp/mongo-mem--1296-n8bqj4O6xOVK/diagnostic.data"}}"" 2022-08-01T10:31:46.808Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.808+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"local.startup_log","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"917827bc-5409-4a62-ae8f-0711a917fb89"}},"options":{"capped":true,"size":10485760}}}"" 2022-08-01T10:31:46.808Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.808+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"local.startup_log","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:46.808Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.808+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}"" 2022-08-01T10:31:46.809Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.809+00:00"},"s":"I", "c":"CONTROL", "id":20712, "ctx":"LogicalSessionCacheReap","msg":"Sessions collection is not set up; waiting until next sessions reap interval","attr":{"error":"NamespaceNotFound: config.system.sessions does not exist"}}"" 2022-08-01T10:31:46.809Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.809+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"LogicalSessionCacheRefresh","msg":"createCollection","attr":{"namespace":"config.system.sessions","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"2a79d0c8-794a-4929-b548-fbf01cdaf10f"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:46.809+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-37539.sock"}} {"t":{"$date":"2022-08-01T10:31:46.809+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"127.0.0.1"}} {"t":{"$date":"2022-08-01T10:31:46.809+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":37539,"ssl":"off"}}"" 2022-08-01T10:31:46.809Z MongoMS:MongoInstance Mongo[37539]: constructor: Instance is ready! 2022-08-01T10:31:46.809Z MongoMS:MongoInstance Mongo[37539]: start: Processes Started 2022-08-01T10:31:46.810Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Instance Started, createAuth: "false" 2022-08-01T10:31:46.810Z MongoMS:MongoMemoryServer Mongo[37539]: start: Instance fully Started 2022-08-01T10:31:46.810Z MongoMS:MongoMemoryServer Mongo[37539]: getUri: running undefined undefined 2022-08-01T10:31:46.820Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.809+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"config.system.sessions","index":"_id_","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:46.809+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"config.system.sessions","index":"lsidTTLIndex","commitTimestamp":null}}"" 2022-08-01T10:31:46.823Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.820+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55000","uuid":"69cbc962-64b0-46ef-aef1-6e505dbee97c","connectionId":1,"connectionCount":1}}"" 2022-08-01T10:31:46.823Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.823+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1","msg":"client metadata","attr":{"remote":"127.0.0.1:55000","client":"conn1","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-08-01T10:31:46.837Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.831+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55002","uuid":"aee2fa89-1622-4e58-92a0-f0bfcf1b8472","connectionId":2,"connectionCount":2}} {"t":{"$date":"2022-08-01T10:31:46.831+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55004","uuid":"39162ab3-17fa-4ac5-9c08-0aca0a1fead6","connectionId":3,"connectionCount":3}}"" 2022-08-01T10:31:46.839Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.837+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2","msg":"client metadata","attr":{"remote":"127.0.0.1:55002","client":"conn2","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}} {"t":{"$date":"2022-08-01T10:31:46.838+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn3","msg":"client metadata","attr":{"remote":"127.0.0.1:55004","client":"conn3","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-08-01T10:31:46.847Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.840+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn2","msg":"createCollection","attr":{"namespace":"test.tools","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"08248276-0bf7-47e3-97df-d40186d42abc"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:46.841+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn2","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.tools","index":"_id_","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:46.841+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55006","uuid":"d85b0cbb-0ec0-49cb-9315-024e3cae33c0","connectionId":4,"connectionCount":4}} {"t":{"$date":"2022-08-01T10:31:46.841+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn3","msg":"createCollection","attr":{"namespace":"test.screens","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"6ec44878-e728-4614-be87-421521b1066f"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:46.841+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn3","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.screens","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:46.859Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.851+00:00"},"s":"I", "c":"INDEX", "id":20438, "ctx":"conn2","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"4187aff0-23a2-418a-bdd0-3dba04a7cb7b"}},"namespace":"test.tools","collectionUUID":{"uuid":{"$uuid":"08248276-0bf7-47e3-97df-d40186d42abc"}},"indexes":1,"firstIndex":{"name":"key_1"}}} {"t":{"$date":"2022-08-01T10:31:46.851+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn2","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.tools","index":"key_1","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:46.851+00:00"},"s":"I", "c":"INDEX", "id":20440, "ctx":"conn2","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"4187aff0-23a2-418a-bdd0-3dba04a7cb7b"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}} {"t":{"$date":"2022-08-01T10:31:46.851+00:00"},"s":"I", "c":"INDEX", "id":20447, "ctx":"conn2","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"4187aff0-23a2-418a-bdd0-3dba04a7cb7b"}}}} {"t":{"$date":"2022-08-01T10:31:46.852+00:00"},"s":"I", "c":"INDEX", "id":20438, "ctx":"conn3","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"09ef59a0-acad-48f6-9780-67636f9df2b5"}},"namespace":"test.screens","collectionUUID":{"uuid":{"$uuid":"6ec44878-e728-4614-be87-421521b1066f"}},"indexes":1,"firstIndex":{"name":"key_1"}}} {"t":{"$date":"2022-08-01T10:31:46.852+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn3","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.screens","index":"key_1","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:46.852+00:00"},"s":"I", "c":"INDEX", "id":20440, "ctx":"conn3","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"09ef59a0-acad-48f6-9780-67636f9df2b5"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}} {"t":{"$date":"2022-08-01T10:31:46.852+00:00"},"s":"I", "c":"INDEX", "id":20447, "ctx":"conn3","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"09ef59a0-acad-48f6-9780-67636f9df2b5"}}}} {"t":{"$date":"2022-08-01T10:31:46.858+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:55008","uuid":"bb5c17a7-71eb-4811-acce-d0c2447761e6","connectionId":5,"connectionCount":5}}"" 2022-08-01T10:31:46.861Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.859+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn4","msg":"client metadata","attr":{"remote":"127.0.0.1:55006","client":"conn4","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}} {"t":{"$date":"2022-08-01T10:31:46.861+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn5","msg":"client metadata","attr":{"remote":"127.0.0.1:55008","client":"conn5","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" PASS api apps/api/src/api/v1/check/sanity/check-sanity.spec.ts (30.421 s) 2022-08-01T10:31:46.869Z MongoMS:MongoInstance Mongo[37539]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:46.863+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn4","msg":"createCollection","attr":{"namespace":"test.users","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"f91c453a-850c-4fc3-b9c9-4b36e9f76929"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:46.863+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.users","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:47.031Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-08-01T10:31:47.031Z MongoMS:LockFile waitForLock: Interval for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with status "0" 2022-08-01T10:31:47.031Z MongoMS:LockFile waitForLock: File became available "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:47.031Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-08-01T10:31:47.031Z MongoMS:LockFile waitForLock: Lock File Status reassessment for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock": 0 2022-08-01T10:31:47.031Z MongoMS:LockFile createLock: trying to create a lock file for "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:47.033Z MongoMS:LockFile createLock: Lock File Created for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:47.033Z MongoMS:MongoBinary download: Download lock acquired 2022-08-01T10:31:47.033Z MongoMS:MongoBinary download: Adding version 5.0.8 to cache 2022-08-01T10:31:47.033Z MongoMS:MongoBinaryDownload getMongodPath 2022-08-01T10:31:47.033Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:47.033Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:47.033Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:47.034Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:47.034Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:47.034Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:47.034Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:47.034Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:47.034Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:47.034Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:47.034Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in resolveConfig (DOWNLOAD_DIR): "**************************************************************" 2022-08-01T10:31:47.034Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:47.034Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:47.034Z MongoMS:MongoBinaryDownload getMongodPath: mongod path "**************************************************************" already exists, using this 2022-08-01T10:31:47.034Z MongoMS:MongoBinary download: Removing Download lock 2022-08-01T10:31:47.034Z MongoMS:LockFile unlock: Unlocking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:47.034Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "24f7441b-d89f-4db0-bbec-577ad8b48c5f" 2022-08-01T10:31:47.035Z MongoMS:LockFile checkLock: Lock File Already exists, and is for *this* process, with uuid: "24f7441b-d89f-4db0-bbec-577ad8b48c5f" 2022-08-01T10:31:47.035Z MongoMS:LockFile unlock: Lock Status was "availableInstance" for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:47.035Z MongoMS:LockFile unlockCleanup: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:47.035Z MongoMS:MongoBinary download: Download lock removed 2022-08-01T10:31:47.035Z MongoMS:MongoBinary getPath: Mongod binary path: "**************************************************************" 2022-08-01T10:31:47.035Z MongoMS:MongoInstance Mongo[37287]: start: Starting Processes 2022-08-01T10:31:47.035Z MongoMS:MongoInstance Mongo[37287]: _launchMongod: Launching Mongod Process 2022-08-01T10:31:47.035Z MongoMS:MongoInstance Mongo[37287]: prepareCommandArgs 2022-08-01T10:31:47.035Z MongoMS:MongoInstance Mongo[37287]: prepareCommandArgs: final argument array:["--port","37287","--dbpath","/tmp/mongo-mem--1282-vFpwOgeQNO3l","--storageEngine","ephemeralForTest","--bind_ip","127.0.0.1","--noauth"] 2022-08-01T10:31:47.061Z MongoMS:MongoInstance Mongo[37287]: _launchKiller: Launching Killer Process (parent: 1282, child: 1665) 2022-08-01T10:31:47.119Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.119Z"},"s":"I", "c":"CONTROL", "id":5324701, "ctx":"-","msg":"Test storage engine does not support enableMajorityReadConcern=true, forcibly setting to false","attr":{"storageEngine":"ephemeralForTest"}} {"t":{"$date":"2022-08-01T10:31:47.119Z"},"s":"W", "c":"CONTROL", "id":4788401, "ctx":"-","msg":"Lock-free reads is not compatible with enableMajorityReadConcern=false: disabling lock-free reads."}"" 2022-08-01T10:31:47.120Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.120+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true}}}"" 2022-08-01T10:31:47.122Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.122+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}"" 2022-08-01T10:31:47.122Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.122+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}"" 2022-08-01T10:31:47.122Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.122+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}"" 2022-08-01T10:31:47.123Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.123+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}"" 2022-08-01T10:31:47.123Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.123+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","ns":"config.tenantMigrationDonors"}} {"t":{"$date":"2022-08-01T10:31:47.123+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","ns":"config.tenantMigrationRecipients"}}"" 2022-08-01T10:31:47.123Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.123+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "ctx":"main","msg":"Multi threading initialized"}"" 2022-08-01T10:31:47.123Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.123+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1665,"port":37287,"dbPath":"/tmp/mongo-mem--1282-vFpwOgeQNO3l","architecture":"64-bit","host":"b214e6826668"}} {"t":{"$date":"2022-08-01T10:31:47.123+00:00"},"s":"W", "c":"CONTROL", "id":20720, "ctx":"initandlisten","msg":"Memory available to mongo process is less than total system memory","attr":{"availableMemSizeMB":8192,"systemMemSizeMB":70226}}"" 2022-08-01T10:31:47.123Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.123+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"5.0.8","gitVersion":"c87e1c23421bf79614baf500fda6622bd90f674e","openSSLVersion":"OpenSSL 1.1.1f 31 Mar 2020","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2004","distarch":"x86_64","target_arch":"x86_64"}}}} {"t":{"$date":"2022-08-01T10:31:47.123+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"20.04"}}} {"t":{"$date":"2022-08-01T10:31:47.123+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"127.0.0.1","port":37287},"security":{"authorization":"disabled"},"storage":{"dbPath":"/tmp/mongo-mem--1282-vFpwOgeQNO3l","engine":"ephemeralForTest"}}}}"" 2022-08-01T10:31:47.125Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.125+00:00"},"s":"I", "c":"CONTROL", "id":22197, "ctx":"initandlisten","msg":"The ephemeralForTest storage engine is for testing only. Do not use in production","tags":["startupWarnings"]}"" 2022-08-01T10:31:47.125Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.125+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"admin.system.version","uuidDisposition":"provided","uuid":{"uuid":{"$uuid":"20bd0939-56a4-44e7-a7c9-de5b84dbc20e"}},"options":{"uuid":{"$uuid":"20bd0939-56a4-44e7-a7c9-de5b84dbc20e"}}}}"" 2022-08-01T10:31:47.125Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.125+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"admin.system.version","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:47.125Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.125+00:00"},"s":"I", "c":"REPL", "id":20459, "ctx":"initandlisten","msg":"Setting featureCompatibilityVersion","attr":{"newVersion":"5.0"}}"" 2022-08-01T10:31:47.126Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.125+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true}}}"" 2022-08-01T10:31:47.126Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.126+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true}}} {"t":{"$date":"2022-08-01T10:31:47.126+00:00"},"s":"I", "c":"STORAGE", "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"}"" 2022-08-01T10:31:47.126Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.126+00:00"},"s":"I", "c":"CONTROL", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}"" 2022-08-01T10:31:47.126Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.126+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/tmp/mongo-mem--1282-vFpwOgeQNO3l/diagnostic.data"}}"" 2022-08-01T10:31:47.126Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.126+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"local.startup_log","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"491813c7-424a-46d5-af85-ebeccb4dc444"}},"options":{"capped":true,"size":10485760}}}"" 2022-08-01T10:31:47.126Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.126+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"local.startup_log","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:47.127Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.127+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}"" 2022-08-01T10:31:47.128Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.128+00:00"},"s":"I", "c":"CONTROL", "id":20712, "ctx":"LogicalSessionCacheReap","msg":"Sessions collection is not set up; waiting until next sessions reap interval","attr":{"error":"NamespaceNotFound: config.system.sessions does not exist"}} {"t":{"$date":"2022-08-01T10:31:47.128+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-37287.sock"}}"" 2022-08-01T10:31:47.128Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.128+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"127.0.0.1"}} {"t":{"$date":"2022-08-01T10:31:47.128+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":37287,"ssl":"off"}}"" 2022-08-01T10:31:47.128Z MongoMS:MongoInstance Mongo[37287]: constructor: Instance is ready! 2022-08-01T10:31:47.128Z MongoMS:MongoInstance Mongo[37287]: start: Processes Started 2022-08-01T10:31:47.128Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Instance Started, createAuth: "false" 2022-08-01T10:31:47.128Z MongoMS:MongoMemoryServer Mongo[37287]: start: Instance fully Started 2022-08-01T10:31:47.128Z MongoMS:MongoMemoryServer Mongo[37287]: getUri: running undefined undefined 2022-08-01T10:31:47.138Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.128+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"LogicalSessionCacheRefresh","msg":"createCollection","attr":{"namespace":"config.system.sessions","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"9b731151-2abe-4136-bab9-b3416b459823"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:47.128+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"config.system.sessions","index":"_id_","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:47.128+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"config.system.sessions","index":"lsidTTLIndex","commitTimestamp":null}}"" 2022-08-01T10:31:47.142Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.138+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:33690","uuid":"ad358676-fe95-4bd2-a4e9-e5ab872632e5","connectionId":1,"connectionCount":1}}"" 2022-08-01T10:31:47.142Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.142+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1","msg":"client metadata","attr":{"remote":"127.0.0.1:33690","client":"conn1","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-08-01T10:31:47.156Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.149+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:33692","uuid":"a9ce8531-f2eb-4d2f-8f7e-14d6b5ddbcb5","connectionId":2,"connectionCount":2}} {"t":{"$date":"2022-08-01T10:31:47.150+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:33694","uuid":"3d427b1a-38ec-418b-bcd2-3a147e413557","connectionId":3,"connectionCount":3}}"" 2022-08-01T10:31:47.158Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.156+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2","msg":"client metadata","attr":{"remote":"127.0.0.1:33692","client":"conn2","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}} {"t":{"$date":"2022-08-01T10:31:47.157+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn3","msg":"client metadata","attr":{"remote":"127.0.0.1:33694","client":"conn3","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-08-01T10:31:47.180Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.159+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn2","msg":"createCollection","attr":{"namespace":"test.tools","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"44f6ff8d-44cc-476c-ad1d-d8ef4a174924"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:47.159+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn2","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.tools","index":"_id_","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:47.160+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:33696","uuid":"544dbd92-56ae-40b4-991e-9fe95a97f51d","connectionId":4,"connectionCount":4}} {"t":{"$date":"2022-08-01T10:31:47.160+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn3","msg":"createCollection","attr":{"namespace":"test.screens","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"f00a7550-e76e-4cd6-9f39-3e4808d6f421"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:47.160+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn3","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.screens","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:47.192Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.184+00:00"},"s":"I", "c":"INDEX", "id":20438, "ctx":"conn2","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"721c937e-8491-4c57-b9a2-93aa3b6c2a40"}},"namespace":"test.tools","collectionUUID":{"uuid":{"$uuid":"44f6ff8d-44cc-476c-ad1d-d8ef4a174924"}},"indexes":1,"firstIndex":{"name":"key_1"}}} {"t":{"$date":"2022-08-01T10:31:47.184+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn2","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.tools","index":"key_1","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:47.185+00:00"},"s":"I", "c":"INDEX", "id":20440, "ctx":"conn2","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"721c937e-8491-4c57-b9a2-93aa3b6c2a40"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}} {"t":{"$date":"2022-08-01T10:31:47.185+00:00"},"s":"I", "c":"INDEX", "id":20447, "ctx":"conn2","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"721c937e-8491-4c57-b9a2-93aa3b6c2a40"}}}} {"t":{"$date":"2022-08-01T10:31:47.185+00:00"},"s":"I", "c":"INDEX", "id":20438, "ctx":"conn3","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"09f659bf-0b85-40a5-8f6d-e338abf6bf8f"}},"namespace":"test.screens","collectionUUID":{"uuid":{"$uuid":"f00a7550-e76e-4cd6-9f39-3e4808d6f421"}},"indexes":1,"firstIndex":{"name":"key_1"}}} {"t":{"$date":"2022-08-01T10:31:47.185+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn3","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.screens","index":"key_1","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:47.185+00:00"},"s":"I", "c":"INDEX", "id":20440, "ctx":"conn3","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"09f659bf-0b85-40a5-8f6d-e338abf6bf8f"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}} {"t":{"$date":"2022-08-01T10:31:47.185+00:00"},"s":"I", "c":"INDEX", "id":20447, "ctx":"conn3","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"09f659bf-0b85-40a5-8f6d-e338abf6bf8f"}}}} {"t":{"$date":"2022-08-01T10:31:47.191+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:33698","uuid":"5e3046ba-00b1-4788-8742-d9a12d7922c6","connectionId":5,"connectionCount":5}} {"t":{"$date":"2022-08-01T10:31:47.191+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn4","msg":"client metadata","attr":{"remote":"127.0.0.1:33696","client":"conn4","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-08-01T10:31:47.195Z MongoMS:MongoInstance Mongo[37287]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:47.194+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn4","msg":"createCollection","attr":{"namespace":"test.users","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"28963f21-9232-41ca-8533-2ade47faabcc"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:47.194+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.users","index":"_id_","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:47.194+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn5","msg":"client metadata","attr":{"remote":"127.0.0.1:33698","client":"conn5","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-08-01T10:31:47.201Z MongoMS:MongoMemoryServer Mongo[37287]: getUri: running undefined undefined 2022-08-01T10:31:47.209Z MongoMS:MongoMemoryServer Mongo[37287]: getUri: running undefined undefined PASS api apps/api/src/api/v1/tools/create/create-tool.spec.ts (30.788 s) 2022-08-01T10:31:48.020Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-08-01T10:31:48.020Z MongoMS:LockFile waitForLock: Interval for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with status "0" 2022-08-01T10:31:48.020Z MongoMS:LockFile waitForLock: File became available "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:48.020Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-08-01T10:31:48.020Z MongoMS:LockFile waitForLock: Lock File Status reassessment for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock": 0 2022-08-01T10:31:48.021Z MongoMS:LockFile createLock: trying to create a lock file for "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:48.022Z MongoMS:LockFile createLock: Lock File Created for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:48.022Z MongoMS:MongoBinary download: Download lock acquired 2022-08-01T10:31:48.022Z MongoMS:MongoBinary download: Adding version 5.0.8 to cache 2022-08-01T10:31:48.022Z MongoMS:MongoBinaryDownload getMongodPath 2022-08-01T10:31:48.023Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:48.023Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:48.023Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:48.023Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:48.023Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:48.023Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:48.023Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:48.023Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:48.023Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:48.023Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:48.023Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in resolveConfig (DOWNLOAD_DIR): "**************************************************************" 2022-08-01T10:31:48.023Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:48.023Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:48.024Z MongoMS:MongoBinaryDownload getMongodPath: mongod path "**************************************************************" already exists, using this 2022-08-01T10:31:48.024Z MongoMS:MongoBinary download: Removing Download lock 2022-08-01T10:31:48.024Z MongoMS:LockFile unlock: Unlocking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:48.024Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "05f990e7-cb90-4a26-98a3-568794f60d9e" 2022-08-01T10:31:48.024Z MongoMS:LockFile checkLock: Lock File Already exists, and is for *this* process, with uuid: "05f990e7-cb90-4a26-98a3-568794f60d9e" 2022-08-01T10:31:48.024Z MongoMS:LockFile unlock: Lock Status was "availableInstance" for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:48.024Z MongoMS:LockFile unlockCleanup: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:48.026Z MongoMS:MongoBinary download: Download lock removed 2022-08-01T10:31:48.026Z MongoMS:MongoBinary getPath: Mongod binary path: "**************************************************************" 2022-08-01T10:31:48.027Z MongoMS:MongoInstance Mongo[42597]: start: Starting Processes 2022-08-01T10:31:48.027Z MongoMS:MongoInstance Mongo[42597]: _launchMongod: Launching Mongod Process 2022-08-01T10:31:48.027Z MongoMS:MongoInstance Mongo[42597]: prepareCommandArgs 2022-08-01T10:31:48.027Z MongoMS:MongoInstance Mongo[42597]: prepareCommandArgs: final argument array:["--port","42597","--dbpath","/tmp/mongo-mem--1276-bzOLBKQLOJh0","--storageEngine","ephemeralForTest","--bind_ip","127.0.0.1","--noauth"] 2022-08-01T10:31:48.057Z MongoMS:MongoInstance Mongo[42597]: _launchKiller: Launching Killer Process (parent: 1276, child: 1700) 2022-08-01T10:31:48.116Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.115Z"},"s":"I", "c":"CONTROL", "id":5324701, "ctx":"-","msg":"Test storage engine does not support enableMajorityReadConcern=true, forcibly setting to false","attr":{"storageEngine":"ephemeralForTest"}} {"t":{"$date":"2022-08-01T10:31:48.115Z"},"s":"W", "c":"CONTROL", "id":4788401, "ctx":"-","msg":"Lock-free reads is not compatible with enableMajorityReadConcern=false: disabling lock-free reads."}"" 2022-08-01T10:31:48.117Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.115+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"-","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}"" 2022-08-01T10:31:48.117Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.117+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true}}}"" 2022-08-01T10:31:48.118Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.118+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}"" 2022-08-01T10:31:48.118Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.118+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}"" 2022-08-01T10:31:48.119Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-08-01T10:31:48.119Z MongoMS:LockFile waitForLock: Interval for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with status "0" 2022-08-01T10:31:48.119Z MongoMS:LockFile waitForLock: File became available "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:48.119Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "undefined" 2022-08-01T10:31:48.119Z MongoMS:LockFile waitForLock: Lock File Status reassessment for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock": 0 2022-08-01T10:31:48.119Z MongoMS:LockFile createLock: trying to create a lock file for "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:48.119Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.119+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}"" 2022-08-01T10:31:48.120Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.119+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","ns":"config.tenantMigrationDonors"}} {"t":{"$date":"2022-08-01T10:31:48.119+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","ns":"config.tenantMigrationRecipients"}} {"t":{"$date":"2022-08-01T10:31:48.119+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "ctx":"main","msg":"Multi threading initialized"}"" 2022-08-01T10:31:48.120Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.120+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1700,"port":42597,"dbPath":"/tmp/mongo-mem--1276-bzOLBKQLOJh0","architecture":"64-bit","host":"b214e6826668"}} {"t":{"$date":"2022-08-01T10:31:48.120+00:00"},"s":"W", "c":"CONTROL", "id":20720, "ctx":"initandlisten","msg":"Memory available to mongo process is less than total system memory","attr":{"availableMemSizeMB":8192,"systemMemSizeMB":70226}} {"t":{"$date":"2022-08-01T10:31:48.120+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"5.0.8","gitVersion":"c87e1c23421bf79614baf500fda6622bd90f674e","openSSLVersion":"OpenSSL 1.1.1f 31 Mar 2020","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2004","distarch":"x86_64","target_arch":"x86_64"}}}} {"t":{"$date":"2022-08-01T10:31:48.120+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"20.04"}}}"" 2022-08-01T10:31:48.120Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.120+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"127.0.0.1","port":42597},"security":{"authorization":"disabled"},"storage":{"dbPath":"/tmp/mongo-mem--1276-bzOLBKQLOJh0","engine":"ephemeralForTest"}}}}"" 2022-08-01T10:31:48.121Z MongoMS:LockFile createLock: Lock File Created for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:48.121Z MongoMS:MongoBinary download: Download lock acquired 2022-08-01T10:31:48.121Z MongoMS:MongoBinary download: Adding version 5.0.8 to cache 2022-08-01T10:31:48.122Z MongoMS:MongoBinaryDownload getMongodPath 2022-08-01T10:31:48.122Z MongoMS:DryMongoBinary generateOptions 2022-08-01T10:31:48.122Z MongoMS:DryMongoBinary generateDownloadPath: Generating Download Path, preferGlobal: "true" 2022-08-01T10:31:48.122Z MongoMS:DryMongoBinary generatePaths { version: '5.0.8', downloadDir: '/home/circleci/.cache/mongodb-binaries', os: { os: 'linux', dist: 'ubuntu', codename: 'focal', release: '20.04', id_like: [ 'debian' ] }, platform: 'linux', arch: 'x64', systemBinary: '' } 2022-08-01T10:31:48.122Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:48.122Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:48.122Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:48.122Z MongoMS:DryMongoBinary generatePaths: resolveConfigValue is not empty 2022-08-01T10:31:48.122Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:48.122Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:48.122Z MongoMS:DryMongoBinary generateDownloadPath: Paths: { legacyHomeCache: '**************************************************************', modulesCache: '/home/circleci/project/node_modules/.cache/mongodb-memory-server/mongod-x64-ubuntu-5.0.8', relative: '/home/circleci/project/mongodb-binaries/mongod-x64-ubuntu-5.0.8', resolveConfig: '**************************************************************' } 2022-08-01T10:31:48.122Z MongoMS:DryMongoBinary generateDownloadPath: Found binary in resolveConfig (DOWNLOAD_DIR): "**************************************************************" 2022-08-01T10:31:48.123Z MongoMS:DryMongoBinary getBinaryName 2022-08-01T10:31:48.123Z MongoMS:DryMongoBinary combineBinaryName 2022-08-01T10:31:48.123Z MongoMS:MongoBinaryDownload getMongodPath: mongod path "**************************************************************" already exists, using this 2022-08-01T10:31:48.123Z MongoMS:MongoBinary download: Removing Download lock 2022-08-01T10:31:48.123Z MongoMS:LockFile unlock: Unlocking file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:48.123Z MongoMS:LockFile checkLock: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" with uuid: "8fb978e6-c15f-4815-a5c8-879e67d54f95" 2022-08-01T10:31:48.123Z MongoMS:LockFile checkLock: Lock File Already exists, and is for *this* process, with uuid: "8fb978e6-c15f-4815-a5c8-879e67d54f95" 2022-08-01T10:31:48.123Z MongoMS:LockFile unlock: Lock Status was "availableInstance" for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:48.123Z MongoMS:LockFile unlockCleanup: for file "/home/circleci/.cache/mongodb-binaries/5.0.8.lock" 2022-08-01T10:31:48.123Z MongoMS:MongoBinary download: Download lock removed 2022-08-01T10:31:48.124Z MongoMS:MongoBinary getPath: Mongod binary path: "**************************************************************" 2022-08-01T10:31:48.124Z MongoMS:MongoInstance Mongo[43139]: start: Starting Processes 2022-08-01T10:31:48.124Z MongoMS:MongoInstance Mongo[43139]: _launchMongod: Launching Mongod Process 2022-08-01T10:31:48.124Z MongoMS:MongoInstance Mongo[43139]: prepareCommandArgs 2022-08-01T10:31:48.124Z MongoMS:MongoInstance Mongo[43139]: prepareCommandArgs: final argument array:["--port","43139","--dbpath","/tmp/mongo-mem--1289-N3fnMTbIFaqp","--storageEngine","ephemeralForTest","--bind_ip","127.0.0.1","--noauth"] 2022-08-01T10:31:48.126Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.126+00:00"},"s":"I", "c":"CONTROL", "id":22197, "ctx":"initandlisten","msg":"The ephemeralForTest storage engine is for testing only. Do not use in production","tags":["startupWarnings"]}"" 2022-08-01T10:31:48.127Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.126+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"admin.system.version","uuidDisposition":"provided","uuid":{"uuid":{"$uuid":"f51c585d-6d95-4608-b6c4-a901e04fe1d1"}},"options":{"uuid":{"$uuid":"f51c585d-6d95-4608-b6c4-a901e04fe1d1"}}}}"" 2022-08-01T10:31:48.127Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.127+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"admin.system.version","index":"_id_","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:48.127+00:00"},"s":"I", "c":"REPL", "id":20459, "ctx":"initandlisten","msg":"Setting featureCompatibilityVersion","attr":{"newVersion":"5.0"}} {"t":{"$date":"2022-08-01T10:31:48.127+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true}}}"" 2022-08-01T10:31:48.127Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.127+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true}}} {"t":{"$date":"2022-08-01T10:31:48.127+00:00"},"s":"I", "c":"STORAGE", "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"}"" 2022-08-01T10:31:48.127Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.127+00:00"},"s":"I", "c":"CONTROL", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}"" 2022-08-01T10:31:48.128Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.128+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/tmp/mongo-mem--1276-bzOLBKQLOJh0/diagnostic.data"}}"" 2022-08-01T10:31:48.128Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.128+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"local.startup_log","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"b94a2155-d8ce-499d-adcc-342ecfa99b69"}},"options":{"capped":true,"size":10485760}}}"" 2022-08-01T10:31:48.128Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.128+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"local.startup_log","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:48.128Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.128+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}"" 2022-08-01T10:31:48.129Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.129+00:00"},"s":"I", "c":"CONTROL", "id":20712, "ctx":"LogicalSessionCacheReap","msg":"Sessions collection is not set up; waiting until next sessions reap interval","attr":{"error":"NamespaceNotFound: config.system.sessions does not exist"}}"" 2022-08-01T10:31:48.129Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.129+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-42597.sock"}} {"t":{"$date":"2022-08-01T10:31:48.129+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"127.0.0.1"}} {"t":{"$date":"2022-08-01T10:31:48.129+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":42597,"ssl":"off"}}"" 2022-08-01T10:31:48.129Z MongoMS:MongoInstance Mongo[42597]: constructor: Instance is ready! 2022-08-01T10:31:48.129Z MongoMS:MongoInstance Mongo[42597]: start: Processes Started 2022-08-01T10:31:48.130Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Instance Started, createAuth: "false" 2022-08-01T10:31:48.130Z MongoMS:MongoMemoryServer Mongo[42597]: start: Instance fully Started 2022-08-01T10:31:48.130Z MongoMS:MongoMemoryServer Mongo[42597]: getUri: running undefined undefined 2022-08-01T10:31:48.140Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.129+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"LogicalSessionCacheRefresh","msg":"createCollection","attr":{"namespace":"config.system.sessions","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"63ed8606-e014-44ae-a815-9a6ca4db7e37"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:48.129+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"config.system.sessions","index":"_id_","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:48.129+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"config.system.sessions","index":"lsidTTLIndex","commitTimestamp":null}}"" 2022-08-01T10:31:48.144Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.140+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:51140","uuid":"4e8fa2ac-7b3c-45b2-8aad-344632cc6bb1","connectionId":1,"connectionCount":1}}"" 2022-08-01T10:31:48.144Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.144+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1","msg":"client metadata","attr":{"remote":"127.0.0.1:51140","client":"conn1","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-08-01T10:31:48.153Z MongoMS:MongoInstance Mongo[43139]: _launchKiller: Launching Killer Process (parent: 1289, child: 1730) 2022-08-01T10:31:48.168Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.152+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:51142","uuid":"f8876b2d-f4c3-40c0-a8ae-378bf2d9be00","connectionId":2,"connectionCount":2}} {"t":{"$date":"2022-08-01T10:31:48.153+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:51144","uuid":"60018bb7-e3ba-4ad8-b155-38786fbd3443","connectionId":3,"connectionCount":3}}"" 2022-08-01T10:31:48.169Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.169+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2","msg":"client metadata","attr":{"remote":"127.0.0.1:51142","client":"conn2","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-08-01T10:31:48.171Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.169+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn3","msg":"client metadata","attr":{"remote":"127.0.0.1:51144","client":"conn3","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}} {"t":{"$date":"2022-08-01T10:31:48.171+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn2","msg":"createCollection","attr":{"namespace":"test.tools","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"7438039b-6bc4-425f-a0ad-d39dad71d00d"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:48.171+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn2","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.tools","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:48.173Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.171+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:51146","uuid":"5b1224e7-a948-481f-9a36-73d5523d8ef5","connectionId":4,"connectionCount":4}} {"t":{"$date":"2022-08-01T10:31:48.172+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn3","msg":"createCollection","attr":{"namespace":"test.screens","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"0fd99ddb-5246-4391-8230-b9d68b088163"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:48.172+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn3","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.screens","index":"_id_","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:48.172+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:51148","uuid":"c46facd3-a3e9-438d-bd91-614f9d0e11c7","connectionId":5,"connectionCount":5}}"" 2022-08-01T10:31:48.178Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.173+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn4","msg":"client metadata","attr":{"remote":"127.0.0.1:51146","client":"conn4","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}} {"t":{"$date":"2022-08-01T10:31:48.176+00:00"},"s":"I", "c":"INDEX", "id":20438, "ctx":"conn3","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"633420cb-0625-456f-9973-23515adf92d9"}},"namespace":"test.screens","collectionUUID":{"uuid":{"$uuid":"0fd99ddb-5246-4391-8230-b9d68b088163"}},"indexes":1,"firstIndex":{"name":"key_1"}}} {"t":{"$date":"2022-08-01T10:31:48.176+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn3","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.screens","index":"key_1","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:48.176+00:00"},"s":"I", "c":"INDEX", "id":20440, "ctx":"conn3","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"633420cb-0625-456f-9973-23515adf92d9"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}} {"t":{"$date":"2022-08-01T10:31:48.176+00:00"},"s":"I", "c":"INDEX", "id":20447, "ctx":"conn3","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"633420cb-0625-456f-9973-23515adf92d9"}}}} {"t":{"$date":"2022-08-01T10:31:48.177+00:00"},"s":"I", "c":"INDEX", "id":20438, "ctx":"conn2","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"e5366a32-2aff-418a-8172-b032aa55d506"}},"namespace":"test.tools","collectionUUID":{"uuid":{"$uuid":"7438039b-6bc4-425f-a0ad-d39dad71d00d"}},"indexes":1,"firstIndex":{"name":"key_1"}}} {"t":{"$date":"2022-08-01T10:31:48.177+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn2","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.tools","index":"key_1","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:48.177+00:00"},"s":"I", "c":"INDEX", "id":20440, "ctx":"conn2","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"e5366a32-2aff-418a-8172-b032aa55d506"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}} {"t":{"$date":"2022-08-01T10:31:48.177+00:00"},"s":"I", "c":"INDEX", "id":20447, "ctx":"conn2","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"e5366a32-2aff-418a-8172-b032aa55d506"}}}}"" 2022-08-01T10:31:48.180Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.178+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn5","msg":"client metadata","attr":{"remote":"127.0.0.1:51148","client":"conn5","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-08-01T10:31:48.182Z MongoMS:MongoInstance Mongo[42597]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.180+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn4","msg":"createCollection","attr":{"namespace":"test.users","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"674ce846-0eb4-410b-a524-38ed0eea867f"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:48.180+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.users","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:48.193Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.192Z"},"s":"I", "c":"CONTROL", "id":5324701, "ctx":"-","msg":"Test storage engine does not support enableMajorityReadConcern=true, forcibly setting to false","attr":{"storageEngine":"ephemeralForTest"}} {"t":{"$date":"2022-08-01T10:31:48.192Z"},"s":"W", "c":"CONTROL", "id":4788401, "ctx":"-","msg":"Lock-free reads is not compatible with enableMajorityReadConcern=false: disabling lock-free reads."} {"t":{"$date":"2022-08-01T10:31:48.192+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"-","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}"" 2022-08-01T10:31:48.195Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.195+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true}}}"" 2022-08-01T10:31:48.196Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.195+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"} {"t":{"$date":"2022-08-01T10:31:48.195+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}"" 2022-08-01T10:31:48.196Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.196+00:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}"" 2022-08-01T10:31:48.197Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.196+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","ns":"config.tenantMigrationDonors"}} {"t":{"$date":"2022-08-01T10:31:48.196+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","ns":"config.tenantMigrationRecipients"}}"" 2022-08-01T10:31:48.197Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.196+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "ctx":"main","msg":"Multi threading initialized"}"" 2022-08-01T10:31:48.197Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.197+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1730,"port":43139,"dbPath":"/tmp/mongo-mem--1289-N3fnMTbIFaqp","architecture":"64-bit","host":"b214e6826668"}} {"t":{"$date":"2022-08-01T10:31:48.197+00:00"},"s":"W", "c":"CONTROL", "id":20720, "ctx":"initandlisten","msg":"Memory available to mongo process is less than total system memory","attr":{"availableMemSizeMB":8192,"systemMemSizeMB":70226}}"" 2022-08-01T10:31:48.197Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.197+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"5.0.8","gitVersion":"c87e1c23421bf79614baf500fda6622bd90f674e","openSSLVersion":"OpenSSL 1.1.1f 31 Mar 2020","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2004","distarch":"x86_64","target_arch":"x86_64"}}}} {"t":{"$date":"2022-08-01T10:31:48.197+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"20.04"}}} {"t":{"$date":"2022-08-01T10:31:48.197+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"127.0.0.1","port":43139},"security":{"authorization":"disabled"},"storage":{"dbPath":"/tmp/mongo-mem--1289-N3fnMTbIFaqp","engine":"ephemeralForTest"}}}}"" 2022-08-01T10:31:48.199Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.199+00:00"},"s":"I", "c":"CONTROL", "id":22197, "ctx":"initandlisten","msg":"The ephemeralForTest storage engine is for testing only. Do not use in production","tags":["startupWarnings"]}"" 2022-08-01T10:31:48.200Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.200+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"admin.system.version","uuidDisposition":"provided","uuid":{"uuid":{"$uuid":"42cd70d2-399e-44e4-9fe7-ea25672e8f4c"}},"options":{"uuid":{"$uuid":"42cd70d2-399e-44e4-9fe7-ea25672e8f4c"}}}}"" 2022-08-01T10:31:48.200Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.200+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"admin.system.version","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:48.200Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.200+00:00"},"s":"I", "c":"REPL", "id":20459, "ctx":"initandlisten","msg":"Setting featureCompatibilityVersion","attr":{"newVersion":"5.0"}} {"t":{"$date":"2022-08-01T10:31:48.200+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":13},"outgoing":{"minWireVersion":0,"maxWireVersion":13},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true}}} {"t":{"$date":"2022-08-01T10:31:48.200+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":13},"incomingInternalClient":{"minWireVersion":13,"maxWireVersion":13},"outgoing":{"minWireVersion":13,"maxWireVersion":13},"isInternalClient":true}}} {"t":{"$date":"2022-08-01T10:31:48.200+00:00"},"s":"I", "c":"STORAGE", "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"}"" 2022-08-01T10:31:48.200Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.200+00:00"},"s":"I", "c":"CONTROL", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}"" 2022-08-01T10:31:48.201Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.201+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/tmp/mongo-mem--1289-N3fnMTbIFaqp/diagnostic.data"}}"" 2022-08-01T10:31:48.201Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.201+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"local.startup_log","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"001e0737-b37d-4b7a-86c1-8525594a1ebe"}},"options":{"capped":true,"size":10485760}}}"" 2022-08-01T10:31:48.201Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.201+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"local.startup_log","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:48.201Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.201+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}"" 2022-08-01T10:31:48.202Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.202+00:00"},"s":"I", "c":"CONTROL", "id":20712, "ctx":"LogicalSessionCacheReap","msg":"Sessions collection is not set up; waiting until next sessions reap interval","attr":{"error":"NamespaceNotFound: config.system.sessions does not exist"}}"" 2022-08-01T10:31:48.202Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.202+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-43139.sock"}} {"t":{"$date":"2022-08-01T10:31:48.202+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"127.0.0.1"}} {"t":{"$date":"2022-08-01T10:31:48.202+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"LogicalSessionCacheRefresh","msg":"createCollection","attr":{"namespace":"config.system.sessions","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"4fe9615e-422c-4058-a708-818e5006aeb6"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:48.202+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":43139,"ssl":"off"}}"" 2022-08-01T10:31:48.202Z MongoMS:MongoInstance Mongo[43139]: constructor: Instance is ready! 2022-08-01T10:31:48.203Z MongoMS:MongoInstance Mongo[43139]: start: Processes Started 2022-08-01T10:31:48.203Z MongoMS:MongoMemoryServer Mongo[unknown]: _startUpInstance: Instance Started, createAuth: "false" 2022-08-01T10:31:48.203Z MongoMS:MongoMemoryServer Mongo[43139]: start: Instance fully Started 2022-08-01T10:31:48.203Z MongoMS:MongoMemoryServer Mongo[43139]: getUri: running undefined undefined 2022-08-01T10:31:48.213Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.203+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"config.system.sessions","index":"_id_","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:48.203+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"config.system.sessions","index":"lsidTTLIndex","commitTimestamp":null}}"" 2022-08-01T10:31:48.217Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.213+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50100","uuid":"077b190d-bb28-4e43-9852-552c835fdc36","connectionId":1,"connectionCount":1}}"" 2022-08-01T10:31:48.217Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.217+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1","msg":"client metadata","attr":{"remote":"127.0.0.1:50100","client":"conn1","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-08-01T10:31:48.227Z MongoMS:MongoMemoryServer Mongo[42597]: getUri: running undefined undefined 2022-08-01T10:31:48.239Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.225+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50104","uuid":"c6b4f836-fa3c-452c-a7ef-8fc1e6401744","connectionId":2,"connectionCount":2}} {"t":{"$date":"2022-08-01T10:31:48.225+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50106","uuid":"1a55ec45-18f9-4910-aa15-af962cc803d3","connectionId":3,"connectionCount":3}}"" 2022-08-01T10:31:48.240Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.240+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2","msg":"client metadata","attr":{"remote":"127.0.0.1:50104","client":"conn2","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-08-01T10:31:48.243Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.240+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn3","msg":"client metadata","attr":{"remote":"127.0.0.1:50106","client":"conn3","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}} {"t":{"$date":"2022-08-01T10:31:48.242+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn2","msg":"createCollection","attr":{"namespace":"test.tools","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"51a1e964-6c8f-4f36-8d79-2a392b3dd06e"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:48.242+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn2","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.tools","index":"_id_","commitTimestamp":null}}"" 2022-08-01T10:31:48.244Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.243+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50108","uuid":"e049b11c-7e0a-4fda-b370-fe78b85c3775","connectionId":4,"connectionCount":4}} {"t":{"$date":"2022-08-01T10:31:48.243+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn3","msg":"createCollection","attr":{"namespace":"test.screens","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"09369a57-81fe-4361-a08c-2a964d664221"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:48.243+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn3","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.screens","index":"_id_","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:48.243+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50110","uuid":"5d6452a3-4352-4332-a40f-3c6758419a95","connectionId":5,"connectionCount":5}}"" 2022-08-01T10:31:48.248Z MongoMS:MongoMemoryServer Mongo[42597]: getUri: running undefined undefined 2022-08-01T10:31:48.249Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.244+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn4","msg":"client metadata","attr":{"remote":"127.0.0.1:50108","client":"conn4","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}} {"t":{"$date":"2022-08-01T10:31:48.247+00:00"},"s":"I", "c":"INDEX", "id":20438, "ctx":"conn3","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"9b63cde1-77b4-4da7-a551-acf9a135ba57"}},"namespace":"test.screens","collectionUUID":{"uuid":{"$uuid":"09369a57-81fe-4361-a08c-2a964d664221"}},"indexes":1,"firstIndex":{"name":"key_1"}}} {"t":{"$date":"2022-08-01T10:31:48.248+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn3","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.screens","index":"key_1","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:48.248+00:00"},"s":"I", "c":"INDEX", "id":20440, "ctx":"conn3","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"9b63cde1-77b4-4da7-a551-acf9a135ba57"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}} {"t":{"$date":"2022-08-01T10:31:48.248+00:00"},"s":"I", "c":"INDEX", "id":20447, "ctx":"conn3","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"9b63cde1-77b4-4da7-a551-acf9a135ba57"}}}} {"t":{"$date":"2022-08-01T10:31:48.248+00:00"},"s":"I", "c":"INDEX", "id":20438, "ctx":"conn2","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"c1c17d93-b643-4372-a683-c1397ca9d859"}},"namespace":"test.tools","collectionUUID":{"uuid":{"$uuid":"51a1e964-6c8f-4f36-8d79-2a392b3dd06e"}},"indexes":1,"firstIndex":{"name":"key_1"}}} {"t":{"$date":"2022-08-01T10:31:48.249+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn2","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.tools","index":"key_1","commitTimestamp":null}} {"t":{"$date":"2022-08-01T10:31:48.249+00:00"},"s":"I", "c":"INDEX", "id":20440, "ctx":"conn2","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"c1c17d93-b643-4372-a683-c1397ca9d859"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}} {"t":{"$date":"2022-08-01T10:31:48.249+00:00"},"s":"I", "c":"INDEX", "id":20447, "ctx":"conn2","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"c1c17d93-b643-4372-a683-c1397ca9d859"}}}}"" 2022-08-01T10:31:48.250Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.249+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn5","msg":"client metadata","attr":{"remote":"127.0.0.1:50110","client":"conn5","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.7.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.13.0-1023-aws"},"platform":"Node.js v16.16.0, LE (unified)","version":"4.7.0|6.4.7"}}}"" 2022-08-01T10:31:48.252Z MongoMS:MongoInstance Mongo[43139]: stdoutHandler: ""{"t":{"$date":"2022-08-01T10:31:48.250+00:00"},"s":"I", "c":"STORAGE", "id":20320, "ctx":"conn4","msg":"createCollection","attr":{"namespace":"test.users","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"57a462a7-3588-46d7-89a8-e8a8e323f6f3"}},"options":{}}} {"t":{"$date":"2022-08-01T10:31:48.251+00:00"},"s":"I", "c":"INDEX", "id":20345, "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"test.users","index":"_id_","commitTimestamp":null}}"" PASS api apps/api/src/api/v1/tools/get/get-tool.spec.ts (31.805 s) PASS api apps/api/src/api/v1/tools/list/list-tools.spec.ts (31.839 s) A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them. Test Suites: 6 passed, 6 total Tests: 15 passed, 15 total Snapshots: 0 total Time: 33.102 s Ran all test suites. > NX Successfully completed running the command. See run details at https://nx.app/runs/Eyy7HVS0V9O Done in 51.09s. CircleCI received exit code 0 ```
hasezoey commented 2 years ago

Thanks for the extra information, thanks to it, it is confirmed that the binary actually exists and has the proper permissions (and name), but somehow the test environment is unable to find / see these binaries, which i cannot quite understand on why.

as a side note, how are your tests set-up? because i see a lot of "attempted after finished / torn down" messages

goldylucks commented 2 years ago

@hasezoey thanks for confirming that.

The "after finished" messages (probably) come from the cleanup phase in which I clear the DB, which isn't connected since MMS can't find the binaries.

Maybe the problem here is the combination of CircleCi + nx?

I don't know how nx work behind the scenes, basically it's a tool to manage monorepos.

Any idea how to get around this issue?

Maybe setting an environment variable somewhere?

hasezoey commented 2 years ago

Any idea how to get around this issue?

no i dont really have a clue

Maybe setting an environment variable somewhere?

you could try to manually set the path to the downloaded binary (though if defined in the package.json, it will also disable downloading it) with MONGOMS_SYSTEM_BINARY, but if this works, then i really have no clue on why it would not work out-of-the-box

PS: if its public, you could try to share your circleci config (if any)

goldylucks commented 2 years ago

sure, here's the relevant part:

version: 2.1

orbs:
  node: circleci/node@5.0.2
  nx: nrwl/nx@1.5.1
  cypress: cypress-io/cypress@2.1.0

jobs:
  main:
    docker:
      - image: cimg/node:lts-browsers
    environment:
      NX_CLOUD_DISTRIBUTED_EXECUTION: "true"
    steps:
      - checkout
      - node/install-packages:
          pkg-manager: yarn
      - run: npx nx run-many --all --target=test --parallel=20 --ci --code-coverage

workflows:
  build:
    jobs:
      - main

And here's how I mock mongo:

import { MongoMemoryServer } from "mongodb-memory-server"
import mockMongoose from "mongoose"

const mockMongoMemoryServer = MongoMemoryServer.create()

// @ts-ignore
jest.mock("../../src/db", () => ({
  // @ts-ignore
  ...(jest.requireActual("../../src/db").default as any),
  // @ts-ignore
  connect: jest.fn().mockImplementation(async () => {
    const mongo = await mockMongoMemoryServer
    const uri = mongo.getUri()
    await mockMongoose.connect(uri)
  }),
}))

and the app calls db.connect() on init

hasezoey commented 2 years ago

thanks for providing the config, from what i can tell, it does not have any problems and from some searching it also seems like circleci does not hide files or remove them, which leads me to believe that either jest or nx have problems

are you maybe mocking some files or file paths somewhere in jest (or nx) aside from the one example provided?

also if you still can work on this issue, could you put console.log(fs.readDirSync(path.join(os.homedir(), '.cache/mongodb-binaries'))); (and import import * as fs from "fs"; import * as path from "path"; import * as os from "os";) just before you call .create for a instance and provide the output?

goldylucks commented 2 years ago

I have no idea how, but it's working fine now. Not sure exactly what I change 🤷

Thank you so much for the support!