Closed Bug 1812475 Opened 3 years ago Closed 3 years ago

Intermittent [tier 2] tools/lint/test/test_isort.py::test_lint_uses_all_configs[isort] TEST-UNEXPECTED-FAIL

Categories

(Developer Infrastructure :: Lint and Formatting, defect, P5)

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2023-01-25T22:06:31.649Z] tools/lint/test/test_isort.py::test_lint_fix[isort] PASSED
[task 2023-01-25T22:06:31.649Z] tools/lint/test/test_isort.py::test_lint_excluded_file[isort] ERROR
[task 2023-01-25T22:06:31.649Z] tools/lint/test/test_isort.py::test_lint_uses_all_configs[isort] TEST-UNEXPECTED-FAIL
[task 2023-01-25T22:06:31.649Z] 
[task 2023-01-25T22:06:31.649Z] =================================== ERRORS ====================================
[task 2023-01-25T22:06:31.649Z] ______________ ERROR at setup of test_lint_excluded_file[isort] _______________
[task 2023-01-25T22:06:31.649Z] tools\lint\test\conftest.py:104: in run_setup
[task 2023-01-25T22:06:31.649Z]     func(
[task 2023-01-25T22:06:31.649Z] tools\lint\python\isort.py:89: in setup
[task 2023-01-25T22:06:31.649Z]     virtualenv_manager.install_pip_requirements(ISORT_REQUIREMENTS_PATH, quiet=True)
[task 2023-01-25T22:06:31.649Z] python\mach\mach\site.py:654: in install_pip_requirements
[task 2023-01-25T22:06:31.649Z]     raise InstallPipRequirementsException(
[task 2023-01-25T22:06:31.649Z] E   mach.site.InstallPipRequirementsException: Failed to install "Z:\task_167468220027491\build\src\tools\lint\python\isort_requirements.txt" into the "python-test" site.
[task 2023-01-25T22:06:31.649Z] ---------------------------- Captured stdout setup ----------------------------
[task 2023-01-25T22:06:31.649Z] Requirement already satisfied: isort==5.10.1 in z:\task_167468220027491\build\src\obj-x86_64-pc-mingw32\_virtualenvs\python-test\lib\site-packages (from -r Z:\task_167468220027491\build\src\tools\lint\python\isort_requirements.txt (line 7)) (5.10.1)
[task 2023-01-25T22:06:31.649Z] ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'z:\\task_167468220027491\\build\\src\\obj-x86_64-pc-mingw32\\_virtualenvs\\python-test\\lib\\site-packages\\isort-5.10.1.dist-info\\METADATA'
[task 2023-01-25T22:06:31.650Z] 
[task 2023-01-25T22:06:31.650Z] 
[task 2023-01-25T22:06:31.650Z] ================================== FAILURES ===================================
[task 2023-01-25T22:06:31.650Z] ______________________ test_lint_uses_all_configs[isort] ______________________
[task 2023-01-25T22:06:31.650Z] tools\lint\test\test_isort.py:82: in test_lint_uses_all_configs
[task 2023-01-25T22:06:31.650Z]     assert len(results) == 0
[task 2023-01-25T22:06:31.650Z] E   assert 1 == 0
[task 2023-01-25T22:06:31.650Z] E     +1
[task 2023-01-25T22:06:31.650Z] E     -0
[task 2023-01-25T22:06:31.650Z] ---------------------------- Captured stderr call -----------------------------
[task 2023-01-25T22:06:31.650Z] 22:05:31.910 isort (8376) | isort version 5.10.1
[task 2023-01-25T22:06:31.650Z] 22:05:31.910 isort (8376) | Command: Z:\task_167468220027491\build\src\obj-x86_64-pc-mingw32\_virtualenvs\python-test\Scripts\isort --resolve-all-configs --config-root Z:/task_167468220027491/build/src/tools/lint/test/files/isort --check-only C:/Users/task_167468220027491/AppData/Local/Temp/pytest-of-task_167468220027491/pytest-4/test_lint_uses_all_configs_iso0/myself/good.py
[task 2023-01-25T22:06:31.650Z] ------------------------------ Captured log call ------------------------------
[task 2023-01-25T22:06:31.650Z] DEBUG    mozlint:isort.py:105 isort version 5.10.1
[task 2023-01-25T22:06:31.650Z] DEBUG    mozlint:isort.py:130 Command: Z:\task_167468220027491\build\src\obj-x86_64-pc-mingw32\_virtualenvs\python-test\Scripts\isort --resolve-all-configs --config-root Z:/task_167468220027491/build/src/tools/lint/test/files/isort --check-only C:/Users/task_167468220027491/AppData/Local/Temp/pytest-of-task_167468220027491/pytest-4/test_lint_uses_all_configs_iso0/myself/good.py
[task 2023-01-25T22:06:31.650Z] ==================== 1 failed, 1 passed, 1 error in 15.04s ====================
[task 2023-01-25T22:06:31.650Z] 
[task 2023-01-25T22:06:31.650Z] 
[task 2023-01-25T22:06:31.650Z] Tests Completed: 100%|##########| 29/29 [01:26<00:00,  3.00s/Test]
[task 2023-01-25T22:06:31.650Z] Return code from mach python-test: 1
[taskcluster 2023-01-25T22:06:31.789Z]    Exit Code: 1
[taskcluster 2023-01-25T22:06:31.789Z]    User Time: 0s
[taskcluster 2023-01-25T22:06:31.789Z]  Kernel Time: 15.625ms
[taskcluster 2023-01-25T22:06:31.789Z]    Wall Time: 2m57.7934952s
[taskcluster 2023-01-25T22:06:31.789Z]       Result: FAILED
[taskcluster 2023-01-25T22:06:31.789Z] === Task Finished ===
[taskcluster 2023-01-25T22:06:31.789Z] Task Duration: 2m57.797797s
[taskcluster 2023-01-25T22:06:31.789Z] [mounts] Preserving cache: Moving "Z:\\task_167468220027491\\build" to "Z:\\caches\\WGxdcWrCRUaYAP8wcPriUA"
[taskcluster 2023-01-25T22:06:31.832Z] [mounts] Denying task_167468220027491 access to 'Z:\caches\WGxdcWrCRUaYAP8wcPriUA'
[taskcluster 2023-01-25T22:07:42.468Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2023-04-25T21:55:05.524Z
[taskcluster:error] exit status 1
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.