docker-library / mongo

Docker Official Image packaging for MongoDB
https://www.mongodb.org/
Apache License 2.0
1.03k stars 620 forks source link

mongo:5.0.0 - container dies with 139 on executing aggregate #489

Closed yoursmanish closed 3 years ago

yoursmanish commented 3 years ago

mongo:5.0.0 - container dies with 139 on executing aggregate on RHEL 7.6 dockerfile

version: "3"
services:
  mongo-db:
    image: mongo:5.0.0
    ports:
      - 27017:27017
    volumes:
      - mongo-db:/data/db
  mongo-express:
      image: mongo-express:1.0.0-alpha.4
      environment:
        ME_CONFIG_MONGODB_PORT: 27017
        ME_CONFIG_MONGODB_SERVER: mongo-db
        ME_CONFIG_BASICAUTH_USERNAME: ''
        ME_CONFIG_BASICAUTH_PASSWORD: ''
        ME_CONFIG_MONGODB_ENABLE_ADMIN: "true"
        ME_CONFIG_MONGODB_ADMINUSERNAME: ''
        ME_CONFIG_MONGODB_ADMINPASSWORD: ''
      ports:
        - "8081:8081"
      depends_on:
        - "mongo-db"
volumes:
  mongo-db:
    external:
      name: mongo-db

docker events

[root@dockerhost ~]# docker events
2021-07-28T06:20:27.442371850+03:00 container die 16c877c960568014c19056c618dc0b6ef14b40e7a588993cdcb69312f49f347a (com.docker.compose.config-hash=5963c435b3532c23a78f7d0ce2e6ce2b12fc88697e7b6d3498eb72b8d7393ff1, com.docker.compose.container-number=1, com.docker.compose.oneoff=False, com.docker.compose.project=mongodb, com.docker.compose.service=mongo-db, com.docker.compose.version=1.23.2, exitCode=139, image=mongo:5.0.0, name=mongodb_mongo-db_1)
2021-07-28T06:20:27.648992801+03:00 network disconnect 30f3bde82bd084c1ce1b537de395f84b17661452de15012acc7bbb74b300e4e0 (container=16c877c960568014c19056c618dc0b6ef14b40e7a588993cdcb69312f49f347a, name=mongodb_default, type=bridge)
2021-07-28T06:20:27.665205578+03:00 volume unmount 7e12c1d05de11879da2886560868087cc15272b9299cbc47c6ce0e835d022905 (container=16c877c960568014c19056c618dc0b6ef14b40e7a588993cdcb69312f49f347a, driver=local)
2021-07-28T06:20:27.665293860+03:00 volume unmount mongo-db (container=16c877c960568014c19056c618dc0b6ef14b40e7a588993cdcb69312f49f347a, driver=local)

MongoDB Compass image

pymongo code

client = MongoClient('mongodb://mongodbhost:27017/?ssl=false')
disk_use = { 'allowDiskUse': True }
aggregate_days_pipeline = [...]
result = client['abc']['xyz'].aggregate(aggregate_days_pipeline, **disk_use)
pprint(result.next())

pymongo version $ pip list | grep pymongo pymongo 3.12.0

pymongo exception

$ python aggregate.py
Traceback (most recent call last):
  File "C:\Python37\lib\site-packages\pymongo\mongo_client.py", line 1515, in _retryable_read
    read_pref, session, address=address)
  File "C:\Python37\lib\site-packages\pymongo\mongo_client.py", line 1346, in _select_server
    server = topology.select_server(server_selector)
  File "C:\Python37\lib\site-packages\pymongo\topology.py", line 246, in select_server
    address))
  File "C:\Python37\lib\site-packages\pymongo\topology.py", line 203, in select_servers
    selector, server_timeout, address)
  File "C:\Python37\lib\site-packages\pymongo\topology.py", line 220, in _select_servers_loop
    (self._error_message(selector), timeout, self.description))
pymongo.errors.ServerSelectionTimeoutError: ilcedto227:27017: [WinError 10061] No connection could be made because the target machine actively refused it, Timeout: 30s, Topology Description: <TopologyDescription id: 6100d686e58f6f012b324373, topology_type: Single, servers: [<ServerDescription ('ilcedto227', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('ilcedto227:27017: [WinError 10061] No connection could be made because the target machine actively refused it')>]>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "report_lib/aggregate.py", line 335, in <module>
    result = client['aws']['globe-51297197'].aggregate(aggregate_days_pipeline, **disk_use)
  File "C:\Python37\lib\site-packages\pymongo\collection.py", line 2501, in aggregate
    **kwargs)
  File "C:\Python37\lib\site-packages\pymongo\collection.py", line 2420, in _aggregate
    retryable=not cmd._performs_write)
  File "C:\Python37\lib\site-packages\pymongo\mongo_client.py", line 1531, in _retryable_read
    raise last_error
  File "C:\Python37\lib\site-packages\pymongo\mongo_client.py", line 1525, in _retryable_read
    return func(session, server, sock_info, secondary_ok)
  File "C:\Python37\lib\site-packages\pymongo\aggregation.py", line 149, in get_cursor
    user_fields=self._user_fields)
  File "C:\Python37\lib\site-packages\pymongo\pool.py", line 726, in command
    self._raise_connection_failure(error)
  File "C:\Python37\lib\site-packages\pymongo\pool.py", line 721, in command
    exhaust_allowed=exhaust_allowed)
  File "C:\Python37\lib\site-packages\pymongo\network.py", line 149, in command
    reply = receive_message(sock_info, request_id)
  File "C:\Python37\lib\site-packages\pymongo\network.py", line 196, in receive_message
    _receive_data_on_socket(sock_info, 16, deadline))
  File "C:\Python37\lib\site-packages\pymongo\network.py", line 293, in _receive_data_on_socket
    raise AutoReconnect("connection closed")
pymongo.errors.AutoReconnect: connection closed

docker logs mongodb_mongo-db_1 -f

{"t":{"$date":"2021-07-28T03:52:57.854+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.77.97.254:62893","uuid":"8950832b-9693-44fe-b2c8-8ad4cc085c98","connectionId":19,"connectionCount":16}}
{"t":{"$date":"2021-07-28T03:52:57.865+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn19","msg":"client metadata","attr":{"remote":"10.77.97.254:62893","client":"conn19","doc":{"driver":{"name":"PyMongo","version":"3.12.0"},"os":{"type":"Windows","name":"Windows 10","architecture":"AMD64","version":"10.0.18362-SP0"},"platform":"CPython 3.7.9.final.0"}}}
{"t":{"$date":"2021-07-28T03:52:58.346+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.77.97.254:62894","uuid":"549f0ecb-f579-435d-9f41-00e603ea3375","connectionId":20,"connectionCount":17}}
{"t":{"$date":"2021-07-28T03:52:58.347+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.77.97.254:62895","uuid":"6cbdd05c-dd80-4d68-91fd-2caf97cf0765","connectionId":21,"connectionCount":18}}
{"t":{"$date":"2021-07-28T03:52:58.347+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn20","msg":"client metadata","attr":{"remote":"10.77.97.254:62894","client":"conn20","doc":{"driver":{"name":"PyMongo","version":"3.12.0"},"os":{"type":"Windows","name":"Windows 10","architecture":"AMD64","version":"10.0.18362-SP0"},"platform":"CPython 3.7.9.final.0"}}}
{"t":{"$date":"2021-07-28T03:52:58.348+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn21","msg":"client metadata","attr":{"remote":"10.77.97.254:62895","client":"conn21","doc":{"driver":{"name":"PyMongo","version":"3.12.0"},"os":{"type":"Windows","name":"Windows 10","architecture":"AMD64","version":"10.0.18362-SP0"},"platform":"CPython 3.7.9.final.0"}}}
{"t":{"$date":"2021-07-28T03:52:58.639+00:00"},"s":"F",  "c":"CONTROL",  "id":4757800, "ctx":"conn20","msg":"Writing fatal message","attr":{"message":"Invalid access at address: 0x10"}}
{"t":{"$date":"2021-07-28T03:52:58.639+00:00"},"s":"F",  "c":"CONTROL",  "id":4757800, "ctx":"conn20","msg":"Writing fatal message","attr":{"message":"Got signal: 11 (Segmentation fault).\n"}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"conn20","msg":"BACKTRACE","attr":{"bt":{"backtrace":[{"a":"56143F6F7215","b":"56143B955000","o":"3DA2215","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE.constprop.357","s+":"215"},{"a":"56143F6F9CA9","b":"56143B955000","o":"3DA4CA9","s":"_ZN5mongo15printStackTraceEv","s+":"29"},{"a":"56143F6F243C","b":"56143B955000","o":"3D9D43C","s":"abruptQuitWithAddrSignal","s+":"EC"},{"a":"7F4DBC5593C0","b":"7F4DBC544000","o":"153C0","s":"funlockfile","s+":"60"},{"a":"56143E378C07","b":"56143B955000","o":"2A23C07","s":"_ZN5mongo35WindowFunctionExecRemovableDocument10initializeEv","s+":"1A7"},{"a":"56143E37922D","b":"56143B955000","o":"2A2422D","s":"_ZN5mongo35WindowFunctionExecRemovableDocument6updateEv","s+":"26D"},{"a":"56143E347531","b":"56143B955000","o":"29F2531","s":"_ZN5mongo37DocumentSourceInternalSetWindowFields9doGetNextEv","s+":"191"},{"a":"56143DA9F568","b":"56143B955000","o":"214A568","s":"_ZN5mongo14DocumentSource7getNextEv","s+":"48"},{"a":"56143E367F0C","b":"56143B955000","o":"2A12F0C","s":"_ZN5mongo8Pipeline7getNextEv","s+":"3C"},{"a":"56143DE60C09","b":"56143B955000","o":"250BC09","s":"_ZN5mongo20PlanExecutorPipeline8_getNextEv","s+":"29"},{"a":"56143DE60CAC","b":"56143B955000","o":"250BCAC","s":"_ZN5mongo20PlanExecutorPipeline15getNextDocumentEPNS_8DocumentEPNS_8RecordIdE","s+":"4C"},{"a":"56143DE60E2E","b":"56143B955000","o":"250BE2E","s":"_ZN5mongo20PlanExecutorPipeline7getNextEPNS_7BSONObjEPNS_8RecordIdE","s+":"EE"},{"a":"56143D93C707","b":"56143B955000","o":"1FE7707","s":"_ZN5mongo12runAggregateEPNS_16OperationContextERKNS_15NamespaceStringERKNS_23AggregateCommandRequestERKNS_18LiteParsedPipelineERKNS_7BSONObjERKSt6vectorINS_9PrivilegeESaISF_EEPNS_3rpc21ReplyBuilderInterfaceE","s+":"33C7"},{"a":"56143D932545","b":"56143B955000","o":"1FDD545","s":"_ZN5mongo12_GLOBAL__N_115PipelineCommand10Invocation3runEPNS_16OperationContextEPNS_3rpc21ReplyBuilderInterfaceE","s+":"75"},{"a":"56143E54778F","b":"56143B955000","o":"2BF278F","s":"_ZN5mongo14CommandHelpers20runCommandInvocationEPNS_16OperationContextERKNS_12OpMsgRequestEPNS_17CommandInvocationEPNS_3rpc21ReplyBuilderInterfaceE","s+":"7F"},{"a":"56143E54C99E","b":"56143B955000","o":"2BF799E","s":"_ZN5mongo14CommandHelpers20runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEENS_9transport15ServiceExecutor14ThreadingModelE","s+":"1BE"},{"a":"56143CE74FC7","b":"56143B955000","o":"151FFC7","s":"_ZN5mongo12_GLOBAL__N_120runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEE","s+":"97"},{"a":"56143CE87556","b":"56143B955000","o":"1532556","s":"_ZN5mongo12_GLOBAL__N_114RunCommandImpl11_runCommandEv","s+":"146"},{"a":"56143CE87DB6","b":"56143B955000","o":"1532DB6","s":"_ZN5mongo12_GLOBAL__N_132RunCommandAndWaitForWriteConcern24_runCommandWithFailPointEv","s+":"86"},{"a":"56143CE8831C","b":"56143B955000","o":"153331C","s":"_ZN5mongo12_GLOBAL__N_132RunCommandAndWaitForWriteConcern8_runImplEv","s+":"3C"},{"a":"56143CE7952C","b":"56143B955000","o":"152452C","s":"_ZN5mongo12_GLOBAL__N_114RunCommandImpl3runEv","s+":"13C"},{"a":"56143CE7B5CE","b":"56143B955000","o":"15265CE","s":"_ZN5mongo12_GLOBAL__N_119ExecCommandDatabase12_commandExecEv","s+":"1CE"},{"a":"56143CE84220","b":"56143B955000","o":"152F220","s":"_ZZN5mongo12_GLOBAL__N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEEENUlvE0_clEv","s+":"450"},{"a":"56143CE86410","b":"56143B955000","o":"1531410","s":"_ZZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE8makeImplIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINSC_13HandleRequest16ExecutionContextEEEUlvE0_EEDaOT_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESN_E_EENS7_ISI_EEOT0_EUlS3_E_EEDaSJ_EN12SpecificImpl4callEOS3_","s+":"80"},{"a":"56143CE414B7","b":"56143B955000","o":"14EC4B7","s":"_ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv","s+":"147"},{"a":"56143CE8A792","b":"56143B955000","o":"1535792","s":"_ZN5mongo14future_details10FutureImplINS0_8FakeVoidEE11generalImplIZNOS3_17propagateResultToEPNS0_15SharedStateImplIS2_EEEUlOS2_E_ZNOS3_17propagateResultToES7_EUlONS_6StatusEE0_ZNOS3_17propagateResultToES7_EUlvE1_EEDaOT_OT0_OT1_","s+":"152"},{"a":"56143CE7DBDC","b":"56143B955000","o":"1528BDC","s":"_ZZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE8makeImplIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINSC_13HandleRequest16ExecutionContextEEEUlvE_EEDaOT_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESN_E_EENS7_ISI_EEOT0_EUlS3_E_EEDaSJ_EN12SpecificImpl4callEOS3_","s+":"AC"},{"a":"56143CE414B7","b":"56143B955000","o":"14EC4B7","s":"_ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv","s+":"147"},{"a":"56143CE84C0A","b":"56143B955000","o":"152FC0A","s":"_ZN5mongo12_GLOBAL__N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE","s+":"22A"},{"a":"56143CE8563E","b":"56143B955000","o":"153063E","s":"_ZN5mongo12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE","s+":"1BE"},{"a":"56143CE86356","b":"56143B955000","o":"1531356","s":"_ZN5mongo12_GLOBAL__N_115CommandOpRunner3runEv","s+":"36"},{"a":"56143CE805C7","b":"56143B955000","o":"152B5C7","s":"_ZN5mongo23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS0_5HooksESt14default_deleteIS8_EE","s+":"307"},{"a":"56143CE7060F","b":"56143B955000","o":"151B60F","s":"_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE","s+":"4F"},{"a":"56143CEC86E7","b":"56143B955000","o":"15736E7","s":"_ZN5mongo9transport19ServiceStateMachine4Impl14processMessageEv","s+":"127"},{"a":"56143CEC8A17","b":"56143B955000","o":"1573A17","s":"_ZZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE4thenIZNS_9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusEEUlvE0_EEDaOT_ENKUlOS2_E_clESE_.isra.718","s+":"27"},{"a":"56143CECB348","b":"56143B955000","o":"1576348","s":"_ZN5mongo9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusE","s+":"1A8"},{"a":"56143CECB84F","b":"56143B955000","o":"157684F","s":"_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_9transport19ServiceStateMachine4Impl15scheduleNewLoopES1_EUlS1_E_EEDaOT_EN12SpecificImpl4callEOS1_","s+":"7F"},{"a":"56143EEDD061","b":"56143B955000","o":"3588061","s":"_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_9transport26ServiceExecutorSynchronous18runOnDataAvailableERKSt10shared_ptrINS5_7SessionEES3_EUlS1_E_EEDaOT_EN12SpecificImpl4callEOS1_","s+":"41"},{"a":"56143D534A23","b":"56143B955000","o":"1BDFA23","s":"_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_9transport15ServiceExecutor8scheduleENS0_IFvNS_6StatusEEEEEUlvE_EEDaOT_EN12SpecificImpl4callEv","s+":"33"},{"a":"56143EEDD21B","b":"56143B955000","o":"358821B","s":"_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_9transport26ServiceExecutorSynchronous12scheduleTaskES2_NS4_15ServiceExecutor13ScheduleFlagsEEUlvE0_EEDaOT_EN12SpecificImpl4callEv","s+":"BB"},{"a":"56143EEE10CC","b":"56143B955000","o":"358C0CC","s":"_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_25launchServiceWorkerThreadES2_EUlvE2_EEDaOT_EN12SpecificImpl4callEv","s+":"5C"},{"a":"56143EEE113C","b":"56143B955000","o":"358C13C","s":"_ZN5mongo12_GLOBAL__N_17runFuncEPv","s+":"1C"},{"a":"7F4DBC54D609","b":"7F4DBC544000","o":"9609","s":"start_thread","s+":"D9"},{"a":"7F4DBC325293","b":"7F4DBC203000","o":"122293","s":"clone","s+":"43"}],"processInfo":{"mongodbVersion":"5.0.0","gitVersion":"1184f004a99660de6f5e745573419bda8a28c0e9","compiledModules":[],"uname":{"sysname":"Linux","release":"3.10.0-957.el7.x86_64","version":"#1 SMP Thu Oct 4 20:48:51 UTC 2018","machine":"x86_64"},"somap":[{"b":"56143B955000","elfType":3,"buildId":"EC443F39B06C1D285CA47CB5A67CFB17682AD89E"},{"b":"7F4DBC544000","path":"/lib/x86_64-linux-gnu/libpthread.so.0","elfType":3,"buildId":"E54761F7B554D0FCC1562959665D93DFFBEBDAF0"},{"b":"7F4DBC203000","path":"/lib/x86_64-linux-gnu/libc.so.6","elfType":3,"buildId":"099B9225BCB0D019D9D60884BE583EB31BB5F44E"}]}}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143F6F7215","b":"56143B955000","o":"3DA2215","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE.constprop.357","s+":"215"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143F6F9CA9","b":"56143B955000","o":"3DA4CA9","s":"_ZN5mongo15printStackTraceEv","s+":"29"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143F6F243C","b":"56143B955000","o":"3D9D43C","s":"abruptQuitWithAddrSignal","s+":"EC"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"7F4DBC5593C0","b":"7F4DBC544000","o":"153C0","s":"funlockfile","s+":"60"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143E378C07","b":"56143B955000","o":"2A23C07","s":"_ZN5mongo35WindowFunctionExecRemovableDocument10initializeEv","s+":"1A7"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143E37922D","b":"56143B955000","o":"2A2422D","s":"_ZN5mongo35WindowFunctionExecRemovableDocument6updateEv","s+":"26D"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143E347531","b":"56143B955000","o":"29F2531","s":"_ZN5mongo37DocumentSourceInternalSetWindowFields9doGetNextEv","s+":"191"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143DA9F568","b":"56143B955000","o":"214A568","s":"_ZN5mongo14DocumentSource7getNextEv","s+":"48"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143E367F0C","b":"56143B955000","o":"2A12F0C","s":"_ZN5mongo8Pipeline7getNextEv","s+":"3C"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143DE60C09","b":"56143B955000","o":"250BC09","s":"_ZN5mongo20PlanExecutorPipeline8_getNextEv","s+":"29"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143DE60CAC","b":"56143B955000","o":"250BCAC","s":"_ZN5mongo20PlanExecutorPipeline15getNextDocumentEPNS_8DocumentEPNS_8RecordIdE","s+":"4C"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143DE60E2E","b":"56143B955000","o":"250BE2E","s":"_ZN5mongo20PlanExecutorPipeline7getNextEPNS_7BSONObjEPNS_8RecordIdE","s+":"EE"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143D93C707","b":"56143B955000","o":"1FE7707","s":"_ZN5mongo12runAggregateEPNS_16OperationContextERKNS_15NamespaceStringERKNS_23AggregateCommandRequestERKNS_18LiteParsedPipelineERKNS_7BSONObjERKSt6vectorINS_9PrivilegeESaISF_EEPNS_3rpc21ReplyBuilderInterfaceE","s+":"33C7"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143D932545","b":"56143B955000","o":"1FDD545","s":"_ZN5mongo12_GLOBAL__N_115PipelineCommand10Invocation3runEPNS_16OperationContextEPNS_3rpc21ReplyBuilderInterfaceE","s+":"75"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143E54778F","b":"56143B955000","o":"2BF278F","s":"_ZN5mongo14CommandHelpers20runCommandInvocationEPNS_16OperationContextERKNS_12OpMsgRequestEPNS_17CommandInvocationEPNS_3rpc21ReplyBuilderInterfaceE","s+":"7F"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143E54C99E","b":"56143B955000","o":"2BF799E","s":"_ZN5mongo14CommandHelpers20runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEENS_9transport15ServiceExecutor14ThreadingModelE","s+":"1BE"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE74FC7","b":"56143B955000","o":"151FFC7","s":"_ZN5mongo12_GLOBAL__N_120runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEE","s+":"97"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE87556","b":"56143B955000","o":"1532556","s":"_ZN5mongo12_GLOBAL__N_114RunCommandImpl11_runCommandEv","s+":"146"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE87DB6","b":"56143B955000","o":"1532DB6","s":"_ZN5mongo12_GLOBAL__N_132RunCommandAndWaitForWriteConcern24_runCommandWithFailPointEv","s+":"86"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE8831C","b":"56143B955000","o":"153331C","s":"_ZN5mongo12_GLOBAL__N_132RunCommandAndWaitForWriteConcern8_runImplEv","s+":"3C"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE7952C","b":"56143B955000","o":"152452C","s":"_ZN5mongo12_GLOBAL__N_114RunCommandImpl3runEv","s+":"13C"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE7B5CE","b":"56143B955000","o":"15265CE","s":"_ZN5mongo12_GLOBAL__N_119ExecCommandDatabase12_commandExecEv","s+":"1CE"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE84220","b":"56143B955000","o":"152F220","s":"_ZZN5mongo12_GLOBAL__N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEEENUlvE0_clEv","s+":"450"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE86410","b":"56143B955000","o":"1531410","s":"_ZZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE8makeImplIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINSC_13HandleRequest16ExecutionContextEEEUlvE0_EEDaOT_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESN_E_EENS7_ISI_EEOT0_EUlS3_E_EEDaSJ_EN12SpecificImpl4callEOS3_","s+":"80"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE414B7","b":"56143B955000","o":"14EC4B7","s":"_ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv","s+":"147"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE8A792","b":"56143B955000","o":"1535792","s":"_ZN5mongo14future_details10FutureImplINS0_8FakeVoidEE11generalImplIZNOS3_17propagateResultToEPNS0_15SharedStateImplIS2_EEEUlOS2_E_ZNOS3_17propagateResultToES7_EUlONS_6StatusEE0_ZNOS3_17propagateResultToES7_EUlvE1_EEDaOT_OT0_OT1_","s+":"152"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE7DBDC","b":"56143B955000","o":"1528BDC","s":"_ZZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE8makeImplIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINSC_13HandleRequest16ExecutionContextEEEUlvE_EEDaOT_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESN_E_EENS7_ISI_EEOT0_EUlS3_E_EEDaSJ_EN12SpecificImpl4callEOS3_","s+":"AC"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE414B7","b":"56143B955000","o":"14EC4B7","s":"_ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv","s+":"147"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE84C0A","b":"56143B955000","o":"152FC0A","s":"_ZN5mongo12_GLOBAL__N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE","s+":"22A"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE8563E","b":"56143B955000","o":"153063E","s":"_ZN5mongo12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE","s+":"1BE"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE86356","b":"56143B955000","o":"1531356","s":"_ZN5mongo12_GLOBAL__N_115CommandOpRunner3runEv","s+":"36"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE805C7","b":"56143B955000","o":"152B5C7","s":"_ZN5mongo23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS0_5HooksESt14default_deleteIS8_EE","s+":"307"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CE7060F","b":"56143B955000","o":"151B60F","s":"_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE","s+":"4F"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CEC86E7","b":"56143B955000","o":"15736E7","s":"_ZN5mongo9transport19ServiceStateMachine4Impl14processMessageEv","s+":"127"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CEC8A17","b":"56143B955000","o":"1573A17","s":"_ZZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE4thenIZNS_9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusEEUlvE0_EEDaOT_ENKUlOS2_E_clESE_.isra.718","s+":"27"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CECB348","b":"56143B955000","o":"1576348","s":"_ZN5mongo9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusE","s+":"1A8"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143CECB84F","b":"56143B955000","o":"157684F","s":"_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_9transport19ServiceStateMachine4Impl15scheduleNewLoopES1_EUlS1_E_EEDaOT_EN12SpecificImpl4callEOS1_","s+":"7F"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143EEDD061","b":"56143B955000","o":"3588061","s":"_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_9transport26ServiceExecutorSynchronous18runOnDataAvailableERKSt10shared_ptrINS5_7SessionEES3_EUlS1_E_EEDaOT_EN12SpecificImpl4callEOS1_","s+":"41"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143D534A23","b":"56143B955000","o":"1BDFA23","s":"_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_9transport15ServiceExecutor8scheduleENS0_IFvNS_6StatusEEEEEUlvE_EEDaOT_EN12SpecificImpl4callEv","s+":"33"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143EEDD21B","b":"56143B955000","o":"358821B","s":"_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_9transport26ServiceExecutorSynchronous12scheduleTaskES2_NS4_15ServiceExecutor13ScheduleFlagsEEUlvE0_EEDaOT_EN12SpecificImpl4callEv","s+":"BB"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143EEE10CC","b":"56143B955000","o":"358C0CC","s":"_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_25launchServiceWorkerThreadES2_EUlvE2_EEDaOT_EN12SpecificImpl4callEv","s+":"5C"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"56143EEE113C","b":"56143B955000","o":"358C13C","s":"_ZN5mongo12_GLOBAL__N_17runFuncEPv","s+":"1C"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"7F4DBC54D609","b":"7F4DBC544000","o":"9609","s":"start_thread","s+":"D9"}}}
{"t":{"$date":"2021-07-28T03:52:58.947+00:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"conn20","msg":"Frame","attr":{"frame":{"a":"7F4DBC325293","b":"7F4DBC203000","o":"122293","s":"clone","s+":"43"}}}
yoursmanish commented 3 years ago

cannot rollback to previous version as using $setWindowFields in pipeline

wglambert commented 3 years ago

No connection could be made because the target machine actively refused it The mongodb logs show PyMongo causing a segmentation fault

{"remote":"10.77.97.254:62895","client":"conn21","doc":{"driver":{"name":"PyMongo","version":"3.12.0"},"os":{"type":"Windows","name":"Windows 10","architecture":"AMD64","version":"10.0.18362-SP0"},"platform":"CPython 3.7.9.final.0"}}}
{"t":{"$date":"2021-07-28T03:52:58.639+00:00"},"s":"F", "c":"CONTROL", "id":4757800, "ctx":"conn20","msg":"Writing fatal message","attr":{"message":"Invalid access at address: 0x10"}}
{"t":{"$date":"2021-07-28T03:52:58.639+00:00"},"s":"F", "c":"CONTROL", "id":4757800, "ctx":"conn20","msg":"Writing fatal message","attr":{"message":"Got signal: 11 (Segmentation fault).\n"}}

But without something reproducible showing an issue in the way Mongo is packaged in a container then I don't think there's isn't anything we could do to alleviate this. I would try asking over at a mongo-specific resource or the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum