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

Robustify deprecated_wire_ops_mongos.js

    • Fully Compatible
    • ALL
    • Query Execution 2021-07-12, Query Execution 2021-07-26
    • 28

      Given that C++ integration test is merged, porting the C++ integration test would be an alternative. I don't think this issue happens on master any longer.

      This ticket should be scheduled after v5.0 branch is open.

      noPassthrough failed on * Windows DEBUG

      Host: N/A
      Project: MongoDB (master)
      Commit: diff: SERVER-44316 Remove incorrect log message in initial_syncer.cpp | 08 Jun 21 17:30 UTC
      Evergreen Subscription: 5b855c712a60ed197cf990ee; Evergreen Event: 60bff3d061837d355b943e59
      deprecated_wire_ops_mongos.js - Logs | History

      Task Logs (deprecated_wire_ops_mongos.js)

      Did not find a definite cause of failure for System Log Assertion Extractor

      Did not find a definite cause of failure for Agent Log Assertion Extractor

      Did not find a definite cause of failure for Task Log Assertion Extractor

      Here are some events that may help with triaging the failure

      2021-06-08T22:39:51.549000: Python Stacktrace

      Logs:

      Traceback (most recent call last):
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\testcases\jstest.py", line 187, in _run_single_copy
          test_case.run_test()
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\testcases\interface.py", line 120, in run_test
          self._execute(shell)
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\testcases\interface.py", line 141, in _execute
          raise self.failureException("%s failed" % (self.short_description()))
      AssertionError: JSTest jstests\noPassthrough\deprecated_wire_ops_mongos.js failed
      Traceback (most recent call last):
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\job.py", line 85, in __call__
          self._run(queue, interrupt_flag)
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\job.py", line 132, in _run
          self._execute_test(test)
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\job.py", line 179, in _execute_test
          raise test.propagate_error
        File "C:\python\python37\lib\unittest\case.py", line 59, in testPartExecutor
          yield
        File "C:\python\python37\lib\unittest\case.py", line 628, in run
          testMethod()
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\testcases\jstest.py", line 234, in run_test
          self._run_single_copy()
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\testcases\jstest.py", line 191, in _run_single_copy
          self._raise_if_unsafe_exit(self.return_code)
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\testcases\jstest.py", line 246, in _raise_if_unsafe_exit
          raise self.propagate_error  # pylint: disable=raising-bad-type
      buildscripts.resmokelib.errors.UnsafeExitError: Mongo shell exited with code 4294967293 while running jstest deprecated_wire_ops_mongos.js. Further test execution may be unsafe.
      Traceback (most recent call last):
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\run\__init__.py", line 264, in _execute_suite
          executor.run()
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\executor.py", line 153, in run
          test_results_num, self.num_tests))
      buildscripts.resmokelib.errors.ResmokeError: 278 reported tests is less than 387 expected tests
      

      logs

      : Test execution error

      Logs:

      23:39:51.532Z Encountered an error during test execution.
      Traceback (most recent call last):
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\testcases\jstest.py", line 187, in _run_single_copy
          test_case.run_test()
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\testcases\interface.py", line 120, in run_test
          self._execute(shell)
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\testcases\interface.py", line 141, in _execute
          raise self.failureException("%s failed" % (self.short_description()))
      AssertionError: JSTest jstests\noPassthrough\deprecated_wire_ops_mongos.js failed
      During handling of the above exception, another exception occurred:
      Traceback (most recent call last):
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\job.py", line 85, in __call__
          self._run(queue, interrupt_flag)
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\job.py", line 132, in _run
          self._execute_test(test)
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\job.py", line 179, in _execute_test
          raise test.propagate_error
        File "C:\python\python37\lib\unittest\case.py", line 59, in testPartExecutor
          yield
        File "C:\python\python37\lib\unittest\case.py", line 628, in run
          testMethod()
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\testcases\jstest.py", line 234, in run_test
          self._run_single_copy()
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\testcases\jstest.py", line 191, in _run_single_copy
          self._raise_if_unsafe_exit(self.return_code)
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\testcases\jstest.py", line 246, in _raise_if_unsafe_exit
          raise self.propagate_error  # pylint: disable=raising-bad-type
      buildscripts.resmokelib.errors.UnsafeExitError: Mongo shell exited with code 4294967293 while running jstest deprecated_wire_ops_mongos.js. Further test execution may be unsafe.
      

      logs

      : Unexpected Python Stacktrace

      Logs:

      23:46:58.681Z Encountered an error when running js_tests of suite generated_resmoke_config/no_passthrough_misc_windows-debug-suggested.yml (run once and not resource intensive).
      Traceback (most recent call last):
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\run\__init__.py", line 264, in _execute_suite
          executor.run()
        File "C:\data\mci\cd45b91683718ecac8802a1a980d03b0\src\buildscripts\resmokelib\testing\executor.py", line 153, in run
          test_results_num, self.num_tests))
      buildscripts.resmokelib.errors.ResmokeError: 278 reported tests is less than 387 expected tests
      

      logs

      Found a definite cause of failure for jstests\noPassthrough\deprecated_wire_ops_mongos.js

      : Mongo Shell Failed to Load

      Logs:

      Error: [3] != [2] are not equal :
      doassert@src/mongo/shell/assert.js:20:14
      assert.eq@src/mongo/shell/assert.js:179:9
      assertLegacyOpWarningMsgCountOn@jstests/noPassthrough/deprecated_wire_ops_lib.js:68:9
      assertLegacyOpWarningMsgCount@jstests/noPassthrough/deprecated_wire_ops_lib.js:393:13
      DeprecatedWireOpsTest/this.runDeprecatedWireOpPeriodTest/<@jstests/noPassthrough/deprecated_wire_ops_lib.js:413:19
      runPeriodTestCase@jstests/noPassthrough/deprecated_wire_ops_lib.js:139:9
      DeprecatedWireOpsTest/this.runDeprecatedWireOpPeriodTest@jstests/noPassthrough/deprecated_wire_ops_lib.js:399:9
      @jstests\noPassthrough\deprecated_wire_ops_mongos.js:52:1
      @jstests\noPassthrough\deprecated_wire_ops_mongos.js:17:2
      failed to load: jstests\noPassthrough\deprecated_wire_ops_mongos.js
      exiting with code -3
      

      logs
      Extracted Features
      If this failure has an identifiable signature but the extracted symptom is missing, wrong, incomplete, or too verbose, please create a DAG Jira Ticket and in the description include a link to BFG in question and a description of what is missing or leave a message in the #server-testing Slack channel.

            Assignee:
            yoonsoo.kim@mongodb.com Yoon Soo Kim
            Reporter:
            yoonsoo.kim@mongodb.com Yoon Soo Kim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: