Open Bug 1945273 Opened 16 days ago Updated 7 days ago

Intermittent testing/mozharness/test/test_base_script.py::TestScript::test_download_unpack TEST-UNEXPECTED-FAIL

Categories

(Release Engineering :: Applications: MozharnessCore, defect, P5)

Tracking

(Not tracked)

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: amarc [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=492745167&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/KGcmJa9STZKVEcecC3n0AQ/runs/0/artifacts/public/logs/live_backing.log


[task 2025-01-31T23:08:41.348Z] Tests Completed: 100%|██████████| 11/11 [00:48<00:00, 12.35s/Test]
[task 2025-01-31T23:08:41.348Z]                                                                   
[task 2025-01-31T23:08:41.348Z] /builds/worker/checkouts/gecko/testing/mozharness/test/test_base_script.py
[task 2025-01-31T23:08:41.348Z] ============================= test session starts ==============================
[task 2025-01-31T23:08:41.348Z] platform linux -- Python 3.8.10, pytest-7.0.1, pluggy-1.5.0 -- /builds/worker/.mozbuild/srcdirs/gecko-8a5b87fe5d69/_virtualenvs/python-test/bin/python
[task 2025-01-31T23:08:41.348Z] rootdir: /builds/worker/checkouts/gecko, configfile: config/mozunit/mozunit/pytest.ini
[task 2025-01-31T23:08:41.348Z] plugins: mock-3.12.0
[task 2025-01-31T23:08:41.348Z] collecting ... collected 62 items
[task 2025-01-31T23:08:41.348Z] 
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_chdir PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_download_unpack TEST-UNEXPECTED-FAIL
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_dump_config_equals_self_config PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_dump_config_hierarchy_keys_unique_and_valid PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_dump_config_hierarchy_matches_self_config PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_dump_config_hierarchy_valid_files_len PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_existing_mkdir_p PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_get_output_from_command_in_bad_dir PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_get_output_from_command_with_missing_file PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_get_output_from_command_with_missing_file2 PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_log PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_nonexistent_mkdir_p PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_run_command_in_bad_dir PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_run_nonexistent_command PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestScript::test_unpack PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_chmod PASSED
[task 2025-01-31T23:08:41.348Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_chmod_rmtree SKIPPED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_copyfile PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_env_normal PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_env_normal2 PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_env_partial PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_env_path PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_existing_rmtree PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_get_output_from_command PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_long_dir_rmtree SKIPPED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_mkdir_p PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_move1 PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_move2 PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_nonexistent_rmtree PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_query_exe PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_query_exe_string_replacement PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_read_from_file PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_read_from_nonexistent_file PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestHelperFunctions::test_run_command PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestScriptLogging::test_add_summary_info PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestScriptLogging::test_add_summary_warning PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestScriptLogging::test_critical PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestScriptLogging::test_debug PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestScriptLogging::test_error PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestScriptLogging::test_fatal PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestScriptLogging::test_ignore PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestScriptLogging::test_info PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestScriptLogging::test_info_logsize PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestScriptLogging::test_summary PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestScriptLogging::test_warning PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestRetry::testRetryArgsPassed PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestRetry::testRetryCleanupIsCalled PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestRetry::testRetryFailEnsureRaisesLastException PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestRetry::testRetryFailWithoutCatching PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestRetry::testRetryOnlyRunOnce PASSED
[task 2025-01-31T23:08:41.349Z] testing/mozharness/test/test_base_script.py::TestRetry::testRetryReturns PASSED
[task 2025-01-31T23:08:41.350Z] testing/mozharness/test/test_base_script.py::TestRetry::testRetrySelectiveExceptionFail PASSED
[task 2025-01-31T23:08:41.350Z] testing/mozharness/test/test_base_script.py::TestRetry::testRetrySelectiveExceptionSucceed PASSED
[task 2025-01-31T23:08:41.350Z] testing/mozharness/test/test_base_script.py::TestRetry::testRetrySucceed PASSED
[task 2025-01-31T23:08:41.350Z] testing/mozharness/test/test_base_script.py::TestRetry::testRetryWithSleep PASSED
[task 2025-01-31T23:08:41.350Z] testing/mozharness/test/test_base_script.py::TestScriptDecorators::test_decorators_registered PASSED
[task 2025-01-31T23:08:41.350Z] testing/mozharness/test/test_base_script.py::TestScriptDecorators::test_post_action_exception PASSED
[task 2025-01-31T23:08:41.350Z] testing/mozharness/test/test_base_script.py::TestScriptDecorators::test_post_always_fired PASSED
[task 2025-01-31T23:08:41.350Z] testing/mozharness/test/test_base_script.py::TestScriptDecorators::test_post_run_exception PASSED
[task 2025-01-31T23:08:41.350Z] testing/mozharness/test/test_base_script.py::TestScriptDecorators::test_pre_action_exception PASSED
[task 2025-01-31T23:08:41.350Z] testing/mozharness/test/test_base_script.py::TestScriptDecorators::test_pre_post_fired PASSED
[task 2025-01-31T23:08:41.350Z] testing/mozharness/test/test_base_script.py::TestScriptDecorators::test_pre_run_exception PASSED
[task 2025-01-31T23:08:41.350Z] 
[task 2025-01-31T23:08:41.350Z] =================================== FAILURES ===================================
[task 2025-01-31T23:08:41.350Z] _______________________ TestScript.test_download_unpack ________________________
[task 2025-01-31T23:08:41.350Z] testing/mozharness/test/test_base_script.py:277: in test_download_unpack
[task 2025-01-31T23:08:41.350Z]     self.s = get_debug_script_obj()
[task 2025-01-31T23:08:41.350Z] testing/mozharness/test/test_base_script.py:52: in get_debug_script_obj
[task 2025-01-31T23:08:41.350Z]     s = script.BaseScript(
[task 2025-01-31T23:08:41.350Z] testing/mozharness/mozharness/base/script.py:2100: in __init__
[task 2025-01-31T23:08:41.350Z]     self.new_log_obj(default_log_level=default_log_level)
[task 2025-01-31T23:08:41.350Z] testing/mozharness/mozharness/base/script.py:2484: in new_log_obj
[task 2025-01-31T23:08:41.350Z]     self.log_obj = MultiFileLogger(**log_config)
[task 2025-01-31T23:08:41.350Z] testing/mozharness/mozharness/base/log.py:703: in __init__
[task 2025-01-31T23:08:41.350Z]     self.new_logger()
[task 2025-01-31T23:08:41.350Z] testing/mozharness/mozharness/base/log.py:716: in new_logger
[task 2025-01-31T23:08:41.350Z]     self.add_file_handler(
[task 2025-01-31T23:08:41.350Z] testing/mozharness/mozharness/base/log.py:579: in add_file_handler
[task 2025-01-31T23:08:41.350Z]     file_handler = logging.FileHandler(log_path)
[task 2025-01-31T23:08:41.350Z] ../../fetches/python/lib/python3.8/logging/__init__.py:1147: in __init__
[task 2025-01-31T23:08:41.350Z]     StreamHandler.__init__(self, self._open())
[task 2025-01-31T23:08:41.350Z] ../../fetches/python/lib/python3.8/logging/__init__.py:1176: in _open
[task 2025-01-31T23:08:41.350Z]     return open(self.baseFilename, self.mode, encoding=self.encoding)
[task 2025-01-31T23:08:41.350Z] E   FileNotFoundError: [Errno 2] No such file or directory: '/builds/worker/checkouts/gecko/test_logs/test_debug.log'
[task 2025-01-31T23:08:41.350Z] =========================== short test summary info ============================
[task 2025-01-31T23:08:41.350Z] SKIPPED [1] testing/mozharness/test/test_base_script.py:500: PyWin32 specific
[task 2025-01-31T23:08:41.351Z] SKIPPED [1] testing/mozharness/test/test_base_script.py:485: PyWin32 specific
[task 2025-01-31T23:08:41.351Z] =================== 1 failed, 59 passed, 2 skipped in 2.34s ====================
[task 2025-01-31T23:08:41.351Z] 
[task 2025-01-31T23:08:41.351Z] 
[task 2025-01-31T23:08:41.351Z] Tests Completed: 100%|██████████| 11/11 [00:48<00:00,  4.45s/Test]Return code from mach python-test: 1
[task 2025-01-31T23:08:41.380Z] 
[taskcluster 2025-01-31 23:08:42.084Z] === Task Finished ===
[taskcluster 2025-01-31 23:08:42.085Z] Unsuccessful task run with exit code: 1 completed in 223.628 seconds

You need to log in before you can comment on or make changes to this bug.