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

checkReplicatedDataHashes() throws a TypeError when replSetTest uses mongobridge

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.12
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • Hide
      repro_29641.js
      (function() {
          'use strict';
      
          var testName = "bridge_failure";
          var dbName = "test";
      
          var replTest = new ReplSetTest({name: testName, nodes: 3, useBridge: true});
          var nodes = replTest.nodeList();
          var conns = replTest.startSet();
          replTest.initiate({
              "_id": testName,
              "members": [
                  {"_id": 0, "host": nodes[0]},
                  {"_id": 1, "host": nodes[1]},
                  {"_id": 2, "host": nodes[2]}
              ]
          });
      
          replTest.checkReplicatedDataHashes(testName);
      
      }());
      

      Run with following:

      buildscripts/resmoke.py --suites=replica_sets repro_29641.js --storageEngine=wiredTiger

      Show
      repro_29641.js ( function () { 'use strict' ; var testName = "bridge_failure" ; var dbName = "test" ; var replTest = new ReplSetTest({name: testName, nodes: 3, useBridge: true }); var nodes = replTest.nodeList(); var conns = replTest.startSet(); replTest.initiate({ "_id" : testName, "members" : [ { "_id" : 0, "host" : nodes[0]}, { "_id" : 1, "host" : nodes[1]}, { "_id" : 2, "host" : nodes[2]} ] }); replTest.checkReplicatedDataHashes(testName); }()); Run with following: buildscripts/resmoke.py --suites=replica_sets repro_29641.js --storageEngine=wiredTiger
    • TIG 2017-07-31, TIG 2017-08-21

      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.400-0400 2017-06-14T17:37:29.399-0400 E QUERY    [thread1] TypeError: can't redefine non-configurable property "_mongo" :
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.401-0400 ReplSetTest/this.getHashes@src/mongo/shell/replsettest.js:1083:1
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.401-0400 checkDBHashesForReplSet@src/mongo/shell/replsettest.js:1278:32
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.401-0400 ReplSetTest/this.checkReplicaSet@src/mongo/shell/replsettest.js:1158:13
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.401-0400 ReplSetTest/this.checkReplicatedDataHashes@src/mongo/shell/replsettest.js:1406:9
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.401-0400 @jstests/replsets/rollback_rename_collection.js:70:5
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.401-0400 @jstests/replsets/rollback_rename_collection.js:25:2
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.402-0400 failed to load: jstests/replsets/rollback_rename_collection.js
      [js_test:rollback_rename_collection] 2017-06-14T17:37:29.402-0400 d20015| 2017-06-14T17:37:29.399-0400 I CONTROL  [signalProcessingThread] got signal 15 (Terminated: 15), will terminate after current cmd ends
      

            Assignee:
            eddie.louie Eddie Louie
            Reporter:
            allison.chang Allison Chang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: