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

resmoke symbolizer service raises Python error when stacktrace file isn't found

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 6.3.0-rc0
    • Affects Version/s: 6.2.0-rc6
    • Component/s: Testing Infrastructure
    • None
    • Decision Automation Group
    • Fully Compatible
    • ALL
    • DAG 2023-02-06
    • 1

      [2023/01/15 04:10:59.378] [executor:fsm_workload_test:job16] 04:10:59.268Z Encountered an error during test execution.
      [2023/01/15 04:10:59.378] Traceback (most recent call last):
      [2023/01/15 04:10:59.378]   File "/data/mci/ba0aa3721b36a52ba02e20a2b82cc724/src/buildscripts/resmokelib/testing/job.py", line 83, in __call__
      [2023/01/15 04:10:59.378]     self._run(queue, interrupt_flag, teardown_flag, hook_failure_flag)
      [2023/01/15 04:10:59.378]   File "/data/mci/ba0aa3721b36a52ba02e20a2b82cc724/src/buildscripts/resmokelib/testing/job.py", line 129, in _run
      [2023/01/15 04:10:59.378]     self._execute_test(test, hook_failure_flag)
      [2023/01/15 04:10:59.378]   File "/data/mci/ba0aa3721b36a52ba02e20a2b82cc724/src/buildscripts/resmokelib/testing/job.py", line 172, in _execute_test
      [2023/01/15 04:10:59.378]     test(self.report)
      [2023/01/15 04:10:59.378]   File "/opt/mongodbtoolchain/revisions/ecdb6f23a2cc2e822b8dc2eeb3f04c31f25c66ce/stow/python3-v4.sGn/lib/python3.10/unittest/case.py", line 650, in __call__
      [2023/01/15 04:10:59.378]     return self.run(*args, **kwds)
      [2023/01/15 04:10:59.378]   File "/opt/mongodbtoolchain/revisions/ecdb6f23a2cc2e822b8dc2eeb3f04c31f25c66ce/stow/python3-v4.sGn/lib/python3.10/unittest/case.py", line 620, in run
      [2023/01/15 04:10:59.378]     result.stopTest(self)
      [2023/01/15 04:10:59.378]   File "/data/mci/ba0aa3721b36a52ba02e20a2b82cc724/src/buildscripts/resmokelib/testing/report.py", line 149, in stopTest
      [2023/01/15 04:10:59.378]     symbolizer.symbolize_test_logs(test)
      [2023/01/15 04:10:59.378]   File "/data/mci/ba0aa3721b36a52ba02e20a2b82cc724/src/buildscripts/resmokelib/testing/symbolizer_service.py", line 93, in symbolize_test_logs
      [2023/01/15 04:10:59.378]     files = self.collect_stacktrace_files(dbpath)
      [2023/01/15 04:10:59.378]   File "/data/mci/ba0aa3721b36a52ba02e20a2b82cc724/src/buildscripts/resmokelib/testing/symbolizer_service.py", line 168, in collect_stacktrace_files
      [2023/01/15 04:10:59.378]     files = self.file_service.filter_out_empty_files(files)
      [2023/01/15 04:10:59.378]   File "/data/mci/ba0aa3721b36a52ba02e20a2b82cc724/src/buildscripts/resmokelib/testing/symbolizer_service.py", line 274, in filter_out_empty_files
      [2023/01/15 04:10:59.378]     return [f for f in files if not os.stat(f).st_size == 0]
      [2023/01/15 04:10:59.378]   File "/data/mci/ba0aa3721b36a52ba02e20a2b82cc724/src/buildscripts/resmokelib/testing/symbolizer_service.py", line 274, in <listcomp>
      [2023/01/15 04:10:59.378]     return [f for f in files if not os.stat(f).st_size == 0]
      [2023/01/15 04:10:59.378] FileNotFoundError: [Errno 2] No such file or directory: '/data/db/job16/resmoke/node0/simulateCrashes/0/8ea6d6b4ccd44df2a02e87bbed143cf9.stacktrace'
      

      https://parsley.mongodb.com/evergreen/mongodb_mongo_master_enterprise_rhel_80_64_bit_dynamic_all_feature_flags_required_query_patch_only_config_fuzzer_simulate_crash_concurrency_replication_a21e26ea38cfcc3ef90a32a8ab9db2e391af51de_23_01_14_15_35_49/0/task?bookmarks=0,1588,1610,1998&selectedLine=1588

            Assignee:
            jasur.nurboev@mongodb.com Jasur Nurboev (Inactive)
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: