Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1880

qa-tests-unstable no_primary_error_code.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.1, 3.6.1
    • Affects Version/s: None
    • Component/s: None
    • None

      https://logkeeper.mongodb.org/build/a2ba9665a63eba49f726a53bb578e30c/test/5a0dd690f84ae874b30aa608/

      https://evergreen.mongodb.com/task/mongo_tools_ubuntu_qa_tests_unstable_97aa9f120224b9c4c3572a5a9d3a5fad25d05a62_17_11_16_17_23_12

      [js_test:no_primary_error_code] 2017-11-16T18:19:51.054+0000 sh9214| 2017-11-16T18:19:51.054+0000	num failures: 35
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.055+0000 sh9214| 2017-11-16T18:19:51.054+0000	error inserting documents: Could not find host matching read preference { mode: "primary", tags: [ {} ] } for set no_primary_error_code-rs0
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.055+0000 sh9214| 2017-11-16T18:19:51.054+0000	[########################] test.noPrimaryErrorCode	578B/578B (100.0%)
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.055+0000 sh9214| 2017-11-16T18:19:51.054+0000	imported 0 documents
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.055+0000 s20514| 2017-11-16T18:19:51.055+0000 I NETWORK  [conn3] end connection 10.63.152.28:60578 (2 connections now open)
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.055+0000 s20514| 2017-11-16T18:19:51.055+0000 I NETWORK  [conn4] end connection 10.63.152.28:60634 (1 connection now open)
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.056+0000 assert: [0] != [1] are not equal : mongoimport should fail with no primary
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.056+0000 doassert@src/mongo/shell/assert.js:18:14
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.056+0000 assert.eq@src/mongo/shell/assert.js:54:5
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.056+0000 @jstests/import/no_primary_error_code.js:62:3
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.056+0000 @jstests/import/no_primary_error_code.js:9:2
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.056+0000 
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.056+0000 2017-11-16T18:19:51.055+0000 E QUERY    [thread1] Error: [0] != [1] are not equal : mongoimport should fail with no primary :
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.056+0000 doassert@src/mongo/shell/assert.js:18:14
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.056+0000 assert.eq@src/mongo/shell/assert.js:54:5
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.057+0000 @jstests/import/no_primary_error_code.js:62:3
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.057+0000 @jstests/import/no_primary_error_code.js:9:2
      [js_test:no_primary_error_code] 2017-11-16T18:19:51.057+0000 failed to load: jstests/import/no_primary_error_code.js
      

            Assignee:
            william.banfield William Banfield
            Reporter:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: