Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33410

Failure: jsCore on Ubuntu 14.04 (RocksDB) (mr_optim.js) [MongoDB (3.6) @ 34757b5d]

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • ALL
    • 0

      jsCore failed on Ubuntu 14.04 (RocksDB)

      Project: MongoDB (3.6)
      Commit: diff: SERVER-32600 Temporarily stop using targeted downloads on Ubuntu 16.04.

      (cherry picked from commit 3bf0c08f6da0e056a642ad82c82e4f0d092aa08a)
      mr_optim.js - Logs | History

      Found a definite cause of failure for jstests/core/mr_optim.js

      2018-02-20T18:23:18.813000: Javascript StackTrace

      Logs:

      Error: error doing query: failed: network error while attempting to run command 'mapreduce' on host 'localhost:20750'  :
      

      Stacktrace:

      DB.prototype.runCommand@src/mongo/shell/db.js:168:1
      DBCollection.prototype.mapReduce@src/mongo/shell/collection.js:1290:15
      @jstests/core/mr_optim.js:40:7
      

      Here are some events that may help with triaging the failure

      2018-02-20T18:23:18.658000: 2018-02-20T18:23:18.656+0000 I COMMAND [conn60] renameCollection: renaming collection test.tmp.mr.mr_optim_2 to test.mr_optim_out (no UUID)

      Logs:

      "400000","o":"C46898","s":"_ZN5mongo12DatabaseImpl16renameCollectionEPNS_16OperationContextENS_10StringDataES3_b"},{"b":"400000","o":"E3E06D"},{"b":"400000","o":"E404F8"},{"b":"400000","o":"E42DE3","s":"_ZN5mongo16renameCollectionEPNS_16OperationContextERKNS_15NamespaceStringES4_RKNS_23RenameCollectionOptionsE"},{"b":"400000","o":"BD8EBE"},{"b":"400000","o":"1A10CE6","s":"_ZN5mongo23ErrmsgCommandDeprecated3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE"},{"b":"400000","o":"1A11FF7","s":"_ZN5mongo12BasicCommand11enhancedRunEPNS_16OperationContextERKNS_12OpMsgRequestERNS_14BSONObjBuilderE"},{"b":"400000","o":"1A0EF9F","s":"_ZN5mongo7Command9publicRunEPNS_16OperationContextERKNS_12OpMsgRequestERNS_14BSONObjBuilderE"},{"b":"400000","o":"B5135D"},{"b":"400000","o":"B52E0F"},{"b":"400000","o":"B53C40","s":"_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE"},{"b":"400000","o":"10A7D41"},{"b":"400000","o":"10A8360","s":"_ZN5mongo14DBDirectClient4callERNS_7MessageES2_bPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE"},{"b":"400000","o":"1B165CF","s":"_ZN5mongo12DBClientBase20runCommandWithTargetENS_12OpMsgRequestE"},{"b":"400000","o":"1B0F305","s":"_ZN5mongo12DBClientBase20runCommandWithTargetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_7BSONObjERS9_i"},{"b":"400000","o":"1B0F400","s":"_ZN5mongo12DBClientBase10runCommandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_7BSONObjERS9_i"},{"b":"400000","o":"BC536B","s":"_ZN5mongo2mr5State30postProcessCollectionNonAtomicEPNS_16OperationContextEPNS_5CurOpERNS_19ProgressMeterHolderEb"},{"b":"400000","o":"BC5FE2","s":"_ZN5mongo2mr5State21postProcessCollectionEPNS_16OperationContextEPNS_5CurOpERNS_19ProgressMeterHolderE"},{"b":"400000","o":"BCD61C","s":"_ZN5mongo2mr16MapReduceCommand9errmsgRunEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERS9_RNS_14BSONObjBuilderE"},{"b":"400000","o":"1A10CE6","s":"_ZN5mongo23ErrmsgCommandDeprecated3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE"},{"b":"400000","o":"1A11FF7","s":"_ZN5mongo12BasicCommand11enhancedRunEPNS_16OperationContextERKNS_12OpMsgRequestERNS_14BSONObjBuilderE"},{"b":"400000","o":"1A0EF9F","s":"_ZN5mongo7Command9publicRunEPNS_16OperationContextERKNS_12OpMsgRequestERNS_14BSONObjBuilderE"},{"b":"400000","o":"B5135D"},{"b":"400000","o":"B52E0F"},{"b":"400000","o":"B53C40","s":"_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE"},{"b":"400000","o":"B5FC3F","s":"_ZN5mongo19ServiceStateMachine15_processMessageENS0_11ThreadGuardE"},{"b":"400000","o":"B5BAD7","s":"_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE"},{"b":"400000","o":"B5EBAA"},{"b":"400000","o":"19CFE22","s":"_ZN5mongo9transport26ServiceExecutorSynchronous8scheduleESt8functionIFvvEENS0_15ServiceExecutor13ScheduleFlagsE"},{"b":"400000","o":"B5AA35","s":"_ZN5mongo19ServiceStateMachine22_scheduleNextWithGuardENS0_11ThreadGuardENS_9transport15ServiceExecutor13ScheduleFlagsENS0_9OwnershipE"},{"b":"400000","o":"B5CE42","s":"_ZN5mongo19ServiceStateMachine15_sourceCallbackENS_6StatusE"},{"b":"400000","o":"B5D751","s":"_ZN5mongo19ServiceStateMachine14_sourceMessageENS0_11ThreadGuardE"},{"b":"400000","o":"B5BB45","s":"_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE"},{"b":"400000","o":"B5EBAA"},{"b":"400000","o":"19D03A1"},{"b":"400000","o":"1F37F94"},{"b":"7FF3F260F000","o":"8184"},{"b":"7FF3F2246000","o":"FE03D","s":"clone"}],"processInfo":{ "mongodbVersion" : "3.6.3-rc1-1-g34757b5", "gitVersion" : "34757b5dd9dd40b03b67a8420092865c76f7ca3e", "compiledModules" : [ "rocksdb" ], "uname" : { "sysname" : "Linux", "release" : "3.13.0-24-generic", "version" : "#46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000", "buildId" : "8DE0F40367DBEB13388DBC6F49D71A9706017A84" }, { "b" : "7FFFA59E6000", "elfType" : 3, "buildId" : "6755FAD2CADACDF1667E5B57FF1EDFC28DD1C976" }, { "b" : "7FF3F3580000", "path" : "/lib/x86_64-linux-gnu/libz.so.1", "elfType" : 3, "buildId" : "7EE9BC42787A0F9A793BDBFCB0671FD12C52BC2A" }, { "b" : "7FF3F3370000", "path" : "/lib/x86_64-linux-gnu/libbz2.so.1.0", "elfType" : 3, "buildId" : "E1031DDBFFE20367E874B7093EEC0C8D9F3B43F6" }, { "b" : "7FF3F3155000", "path" : "/lib/x86_64-linux-gnu/libresolv.so.2", "elfType" : 3, "buildId" : "AD304AFCE6847F7A4D66D22853E87CCBF5A66966" }, { "b" : "7FF3F2F4D000", "path" : "/lib/x86_64-linux-gnu/librt.so.1", "elfType" : 3, "buildId" : "4F930712D3609C93E380E5BE5DF73E7AD273531C" }, { "b" : "7FF3F2D49000", "path" : "/lib/x86_64-linux-gnu/libdl.so.2", "elfType" : 3, "buildId" : "034D6A4EE9DCAB4A34ABD644345CBBB42DC63088" }, { "b" : "7FF3F2A43000", "path" : "/lib/x86_64-linux-gnu/libm.so.6", "elfType" : 3, "buildId" : "300C7884CDEB5667BEA2357D2B8E7A76397562D6" }, { "b" : "7FF3F282D000", "path" : "/lib/x86_64-linux-gnu/libgcc_s.so.1", "elfType" : 3, "buildId" : "36311B4457710AE5578C4BF00791DED7359DBB92" }, { "b" : "7FF3F260F000", "path" : "/lib/x86_64-linux-gnu/libpthread.so.0", "elfType" : 3, "buildId" : "F64B8AD471FBA1B7A3A64EFB01551E694975E1F7" }, { "b" : "7FF3F2246000", "path" : "/lib/x86_64-linux-gnu/libc.so.6", "elfType" : 3, "buildId" : "D9A10B8EF90300628DD0A3A535106967714D7328" }, { "b" : "7FF3F3799000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "2CA513EDC89C7BC06EC183D1A3A03CC0F606319C" } ] }}
      mongod(_ZN5mongo15printStackTraceERSo+0x28) [0x24626c8]
      mongod(+0x2061B0D) [0x2461b0d]
      mongod(+0x2061F14) [0x2461f14]
      libpthread.so.0(+0x10330) [0x7ff3f261f330]
      libc.so.6(gsignal+0x37) [0x7ff3f227cc37]
      libc.so.6(abort+0x148) [0x7ff3f2280028]
      mongod(_ZN5mongo17invariantOKFailedEPKcRKNS_6StatusES1_j+0x0) [0xbf5d0e]
      mongod(+0xB1EEC8) [0xf1eec8]
      mongod(_ZN5mongo16RocksRecordStoreC1ENS_10StringDataES1_PN7rocksdb2DBEPNS_19RocksCounterManagerEPNS_22RocksDurabilityManagerEPNS_24RocksCompactionSchedulerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbllPNS_14CappedCallbackE+0xD05) [0xf24b85]
      mongod(_ZN5mongo11RocksEngine14getRecordStoreEPNS_16OperationContextENS_10StringDataES3_RKNS_17CollectionOptionsE+0x82A) [0xf1aa7a]
      mongod(_ZN5mongo26KVDatabaseCatalogEntryBase16renameCollectionEPNS_16OperationContextENS_10StringDataES3_b+0x5C8) [0xefecd8]
      mongod(_ZN5mongo12DatabaseImpl16renameCollectionEPNS_16OperationContextENS_10StringDataES3_b+0x328) [0x1046898]
      mongod(+0xE3E06D) [0x123e06d]
      mongod(+0xE404F8) [0x12404f8]
      mongod(_ZN5mongo16renameCollectionEPNS_16OperationContextERKNS_15NamespaceStringES4_RKNS_23RenameCollectionOptionsE+0x53) [0x1242de3]
      mongod(+0xBD8EBE) [0xfd8ebe]
      mongod(_ZN5mongo23ErrmsgCommandDeprecated3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE+0x36) [0x1e10ce6]
      mongod(_ZN5mongo12BasicCommand11enhancedRunEPNS_16OperationContextERKNS_12OpMsgRequestERNS_14BSONObjBuilderE+0x67) [0x1e11ff7]
      mongod(_ZN5mongo7Command9publicRunEPNS_16OperationContextERKNS_12OpMsgRequestERNS_14BSONObjBuilderE+0x1F) [0x1e0ef9f]
      mongod(+0xB5135D) [0xf5135d]
      mongod(+0xB52E0F) [0xf52e0f]
      mongod(_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE+0x290) [0xf53c40]
      mongod(+0x10A7D41) [0x14a7d41]
      mongod(_ZN5mongo14DBDirectClient4callERNS_7MessageES2_bPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x20) [0x14a8360]
      mongod(_ZN5mongo12DBClientBase20runCommandWithTargetENS_12OpMsgRequestE+0x1CF) [0x1f165cf]
      mongod(_ZN5mongo12DBClientBase20runCommandWithTargetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_7BSONObjERS9_i+0x65) [0x1f0f305]
      mongod(_ZN5mongo12DBClientBase10runCommandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_7BSONObjERS9_i+0x40) [0x1f0f400]
      mongod(_ZN5mongo2mr5State30postProcessCollectionNonAtomicEPNS_16OperationContextEPNS_5CurOpERNS_19ProgressMeterHolderEb+0x39B) [0xfc536b]
      mongod(_ZN5mongo2mr5State21postProcessCollectionEPNS_16OperationContextEPNS_5CurOpERNS_19ProgressMeterHolderE+0x92) [0xfc5fe2]
      mongod(_ZN5mongo2mr16MapReduceCommand9errmsgRunEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERS9_RNS_14BSONObjBuilderE+0x12EC) [0xfcd61c]
      mongod(_ZN5mongo23ErrmsgCommandDeprecated3runEPNS_16OperationContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7BSONObjERNS_14BSONObjBuilderE+0x36) [0x1e10ce6]
      mongod(_ZN5mongo12BasicCommand11enhancedRunEPNS_16OperationContextERKNS_12OpMsgRequestERNS_14BSONObjBuilderE+0x67) [0x1e11ff7]
      mongod(_ZN5mongo7Command9publicRunEPNS_16OperationContextERKNS_12OpMsgRequestERNS_14BSONObjBuilderE+0x1F) [0x1e0ef9f]
      mongod(+0xB5135D) [0xf5135d]
      mongod(+0xB52E0F) [0xf52e0f]
      mongod(_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE+0x290) [0xf53c40]
      mongod(_ZN5mongo19ServiceStateMachine15_processMessageENS0_11ThreadGuardE+0x9F) [0xf5fc3f]
      mongod(_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE+0x77) [0xf5bad7]
      mongod(+0xB5EBAA) [0xf5ebaa]
      mongod(_ZN5mongo9transport26ServiceExecutorSynchronous8scheduleESt8functionIFvvEENS0_15ServiceExecutor13ScheduleFlagsE+0x182) [0x1dcfe22]
      mongod(_ZN5mongo19ServiceStateMachine22_scheduleNextWithGuardENS0_11ThreadGuardENS_9transport15ServiceExecutor13ScheduleFlagsENS0_9OwnershipE+0x125) [0xf5aa35]
      mongod(_ZN5mongo19ServiceStateMachine15_sourceCallbackENS_6StatusE+0xAF2) [0xf5ce42]
      mongod(_ZN5mongo19ServiceStateMachine14_sourceMessageENS0_11ThreadGuardE+0x201) [0xf5d751]
      mongod(_ZN5mongo19ServiceStateMachine15_runNextInGuardENS0_11ThreadGuardE+0xE5) [0xf5bb45]
      mongod(+0xB5EBAA) [0xf5ebaa]
      mongod(+0x19D03A1) [0x1dd03a1]
      mongod(+0x1F37F94) [0x2337f94]
      libpthread.so.0(+0x8184) [0x7ff3f2617184]
      libc.so.6(clone+0x6D) [0x7ff3f234403d]
      -----  END BACKTRACE  -----
      mongod on port 20750 was expected to be running in _do_teardown(), but wasn't. Exited with code -6.
      

      JavaScript Backtrace Context

      Frame 44: jstests/core/mr_optim.js:40

      mr_optim.js
       036         });
       037         return x;
       038     }
       039     
       040 >>> res = t.mapReduce(m, r, {out: "mr_optim_out"});
       041     printjson(res);
       042     x = reformat(res);
       043     for (var key in x) {
       044         assert.eq(x[key], 13, "value is not equal to original, maybe reduce has run");
       045     }
      

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            xgen-evg-user Xgen-Evergreen-User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: