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

MongoDB failed to run two test suites due to received a StopExecution exception: C++ unit test build\opt\mongo\db\pipeline\db_pipeline_test.exe failed with MSVC on windows

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Environment:
      VS 2017 + Windows Server 2016 + MongoDB master branch latest revision
    • ALL
    • Hide

      Reproduce steps:
      1. git clone -c core.autocrlf=true https://github.com/mongodb/mongo D:\MongoDB\src
      2. Open a VS 2017 x64 command prompt and browse to D:\MongoDB\src
      3. pip.exe install --user -r .\etc\pip\dev-requirements.txt
      4. python.exe buildscripts/scons.py all -j4
      5. python.exe buildscripts/resmoke.py --suites=unittests --jobs=1
      6. python.exe buildscripts/resmoke.py --suites=unittests_query --jobs=1

       

      Acutal result:

      [executor:cpp_unit_test:job0] 2019-07-07T23:24:17.052-0700 db_pipeline_test.exe ran in 29890.23 seconds: failed.
      [executor:cpp_unit_test:job0] 2019-07-07T23:24:17.052-0700 C++ unit test build\opt\mongo\db\pipeline\db_pipeline_test.exe failed, so stopping...
      [executor:cpp_unit_test:job0] 2019-07-07T23:24:17.052-0700 Received a StopExecution exception: C++ unit test build\opt\mongo\db\pipeline\db_pipeline_test.exe failed.
      [executor] 2019-07-07T23:24:17.052-0700 Waiting for threads to complete
      [executor] 2019-07-07T23:24:17.052-0700 Threads are completed!
      [executor] 2019-07-07T23:24:17.052-0700 Summary: 25 test(s) ran in 30041.11 seconds (24 succeeded, 64 were skipped, 1 failed, 0 errored)
       The following tests failed (with exit code):
       build\opt\mongo\db\pipeline\db_pipeline_test.exe (3221226356 UNKNOWN)
      [resmoke] 2019-07-07T23:24:17.052-0700 ================================================================================
      [resmoke] 2019-07-07T23:24:17.052-0700 Summary of unittests suite: 25 test(s) ran in 30041.11 seconds (24 succeeded, 64 were skipped, 1 failed, 0 errored)
      The following tests failed (with exit code):
       build\opt\mongo\db\pipeline\db_pipeline_test.exe (3221226356 UNKNOWN)
      25 test(s) ran in 30041.11 seconds (24 succeeded, 64 were skipped, 1 failed, 0 errored)
       cpp_unit_tests: 25 test(s) ran in 30041.11 seconds (24 succeeded, 64 were skipped, 1 failed, 0 errored)
       The following tests failed (with exit code):
       build\opt\mongo\db\pipeline\db_pipeline_test.exe (3221226356 UNKNOWN)
      [resmoke] 2019-07-07T23:24:17.052-0700 Exiting with code: 1
      --- Logging error ---
      Traceback (most recent call last):
       File "C:\tools\python3\lib\logging\__init__.py", line 1037, in emit
       stream.write(msg + self.terminator)
       File "C:\tools\python3\lib\encodings\cp1252.py", line 19, in encode
       return codecs.charmap_encode(input,self.errors,encoding_table)[0]
      UnicodeEncodeError: 'charmap' codec can't encode character '\ufffd' in position 161: character maps to <undefined>
      Call stack:
       File "C:\tools\python3\lib\threading.py", line 885, in _bootstrap
       self._bootstrap_inner()
       File "C:\tools\python3\lib\threading.py", line 917, in _bootstrap_inner
       self.run()
       File "D:\MongoDB\src\buildscripts\resmokelib\core\pipe.py", line 63, in run
       self.__logger.log(self.__level, line.rstrip())
      Message: '2019-07-07T15:03:54.652-0700 I ACCESS [main123456789] invalid char in key file 904a-8ef2-498f-e3c1: \ufffd\x04V'
      Arguments: ()
      [command took 30042 seconds]
      

       

       

      Show
      Reproduce steps: 1. git clone -c core.autocrlf=true https://github.com/mongodb/mongo D:\MongoDB\src 2. Open a VS 2017 x64 command prompt and browse to D:\MongoDB\src 3. pip.exe install --user -r .\etc\pip\dev-requirements.txt 4. python.exe buildscripts/scons.py all -j4 5. python.exe buildscripts/resmoke.py --suites=unittests --jobs=1 6. python.exe buildscripts/resmoke.py --suites=unittests_query --jobs=1   Acutal result: [executor:cpp_unit_test:job0] 2019-07-07T23:24:17.052-0700 db_pipeline_test.exe ran in 29890.23 seconds: failed. [executor:cpp_unit_test:job0] 2019-07-07T23:24:17.052-0700 C++ unit test build\opt\mongo\db\pipeline\db_pipeline_test.exe failed, so stopping... [executor:cpp_unit_test:job0] 2019-07-07T23:24:17.052-0700 Received a StopExecution exception: C++ unit test build\opt\mongo\db\pipeline\db_pipeline_test.exe failed. [executor] 2019-07-07T23:24:17.052-0700 Waiting for threads to complete [executor] 2019-07-07T23:24:17.052-0700 Threads are completed! [executor] 2019-07-07T23:24:17.052-0700 Summary: 25 test(s) ran in 30041.11 seconds (24 succeeded, 64 were skipped, 1 failed, 0 errored) The following tests failed (with exit code): build\opt\mongo\db\pipeline\db_pipeline_test.exe (3221226356 UNKNOWN) [resmoke] 2019-07-07T23:24:17.052-0700 ================================================================================ [resmoke] 2019-07-07T23:24:17.052-0700 Summary of unittests suite: 25 test(s) ran in 30041.11 seconds (24 succeeded, 64 were skipped, 1 failed, 0 errored) The following tests failed (with exit code): build\opt\mongo\db\pipeline\db_pipeline_test.exe (3221226356 UNKNOWN) 25 test(s) ran in 30041.11 seconds (24 succeeded, 64 were skipped, 1 failed, 0 errored) cpp_unit_tests: 25 test(s) ran in 30041.11 seconds (24 succeeded, 64 were skipped, 1 failed, 0 errored) The following tests failed (with exit code): build\opt\mongo\db\pipeline\db_pipeline_test.exe (3221226356 UNKNOWN) [resmoke] 2019-07-07T23:24:17.052-0700 Exiting with code: 1 --- Logging error --- Traceback (most recent call last): File "C:\tools\python3\lib\logging\__init__.py", line 1037, in emit stream.write(msg + self.terminator) File "C:\tools\python3\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\ufffd' in position 161: character maps to <undefined> Call stack: File "C:\tools\python3\lib\threading.py", line 885, in _bootstrap self._bootstrap_inner() File "C:\tools\python3\lib\threading.py", line 917, in _bootstrap_inner self.run() File "D:\MongoDB\src\buildscripts\resmokelib\core\pipe.py", line 63, in run self.__logger.log(self.__level, line.rstrip()) Message: '2019-07-07T15:03:54.652-0700 I ACCESS [main123456789] invalid char in key file 904a-8ef2-498f-e3c1: \ufffd\x04V' Arguments: () [command took 30042 seconds]    
    • Dev Tools 2019-07-15, Dev Tools 2019-08-12, Dev Tools 2019-08-26

      MongoDB failed to run two test suites due to received a StopExecution exception: C++ unit test build\opt\mongo\db\pipeline\db_pipeline_test.exe failed with MSVC on windows. It can be reproduced on master branch latest revision. Could you please help to take a look at this issue? Thanks in advance!

        1. log_x64_test_13.log
          2.59 MB
        2. log_x64_test_15.log
          476 kB
        3. log_x64_test_16.log
          12.92 MB
        4. Manually run db_repl_coordinator_test.exe.log
          91 kB

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            spacelg LinGao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: