High freq Py3 [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)
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure)
Filed by: sstanca [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=400888383&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/N4Gw3V42R66BgTA0pvKhXw/runs/0/artifacts/public/logs/live_backing.log
[task 2022-12-28T16:03:31.121Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2022-12-28T16:03:31.121Z] ================= 27 passed, 34 warnings in 75.24s (0:01:15) ==================
[task 2022-12-28T16:03:31.121Z]
[task 2022-12-28T16:03:31.121Z]
[task 2022-12-28T16:03:31.122Z] Tests Completed: 100%|##########| 29/29 [01:30<00:00, 15.82s/Test]
[task 2022-12-28T16:03:31.122Z]
[task 2022-12-28T16:03:31.122Z] Z:\task_167223851512390\build\src\tools\lint\test\test_isort.py
[task 2022-12-28T16:03:31.122Z] ============================= test session starts =============================
[task 2022-12-28T16:03:31.122Z] platform win32 -- Python 3.9.5, pytest-7.0.1, pluggy-1.0.0 -- Z:\task_167223851512390\build\src\obj-x86_64-pc-mingw32\_virtualenvs\python-test\Scripts\python.exe
[task 2022-12-28T16:03:31.122Z] rootdir: z:\task_167223851512390\build\src, configfile: config\mozunit\mozunit\pytest.ini
[task 2022-12-28T16:03:31.122Z] collecting ... collected 3 items
[task 2022-12-28T16:03:31.122Z]
[task 2022-12-28T16:03:31.122Z] tools/lint/test/test_isort.py::test_lint_fix[isort] PASSED
[task 2022-12-28T16:03:31.122Z] tools/lint/test/test_isort.py::test_lint_excluded_file[isort] ERROR
[task 2022-12-28T16:03:31.122Z] tools/lint/test/test_isort.py::test_lint_uses_all_configs[isort] TEST-UNEXPECTED-FAIL
[task 2022-12-28T16:03:31.122Z]
[task 2022-12-28T16:03:31.122Z] =================================== ERRORS ====================================
[task 2022-12-28T16:03:31.122Z] ______________ ERROR at setup of test_lint_excluded_file[isort] _______________
[task 2022-12-28T16:03:31.122Z] tools\lint\test\conftest.py:104: in run_setup
[task 2022-12-28T16:03:31.122Z] func(
[task 2022-12-28T16:03:31.122Z] tools\lint\python\isort.py:89: in setup
[task 2022-12-28T16:03:31.122Z] virtualenv_manager.install_pip_requirements(ISORT_REQUIREMENTS_PATH, quiet=True)
[task 2022-12-28T16:03:31.122Z] python\mach\mach\site.py:707: in install_pip_requirements
[task 2022-12-28T16:03:31.122Z] _delete_ignored_egg_info_dirs()
[task 2022-12-28T16:03:31.122Z] python\mach\mach\site.py:695: in _delete_ignored_egg_info_dirs
[task 2022-12-28T16:03:31.122Z] with get_repository_from_env() as repo:
[task 2022-12-28T16:03:31.122Z] python\mozversioncontrol\mozversioncontrol\__init__.py:815: in get_repository_from_env
[task 2022-12-28T16:03:31.122Z] return get_repository_from_build_config(buildconfig)
[task 2022-12-28T16:03:31.123Z] python\mozversioncontrol\mozversioncontrol\__init__.py:789: in get_repository_from_build_config
[task 2022-12-28T16:03:31.123Z] raise MissingConfigureInfo(
[task 2022-12-28T16:03:31.123Z] E mozversioncontrol.MissingConfigureInfo: could not find VCS_CHECKOUT_TYPE in build config; check configure output and verify it could find a VCS binary
[task 2022-12-28T16:03:31.123Z] ================================== FAILURES ===================================
[task 2022-12-28T16:03:31.123Z] ______________________ test_lint_uses_all_configs[isort] ______________________
[task 2022-12-28T16:03:31.123Z] tools\lint\test\test_isort.py:82: in test_lint_uses_all_configs
[task 2022-12-28T16:03:31.123Z] assert len(results) == 0
[task 2022-12-28T16:03:31.123Z] E assert 1 == 0
[task 2022-12-28T16:03:31.123Z] E +1
[task 2022-12-28T16:03:31.123Z] E -0
[task 2022-12-28T16:03:31.123Z] ---------------------------- Captured stderr call -----------------------------
[task 2022-12-28T16:03:31.123Z] 16:02:30.64 isort (8392) | isort version 5.10.1
[task 2022-12-28T16:03:31.123Z] 16:02:30.64 isort (8392) | Command: Z:\task_167223851512390\build\src\obj-x86_64-pc-mingw32\_virtualenvs\python-test\Scripts\isort --resolve-all-configs --config-root Z:/task_167223851512390/build/src/tools/lint/test/files/isort --check-only C:/Users/task_167223851512390/AppData/Local/Temp/pytest-of-task_167223851512390/pytest-4/test_lint_uses_all_configs_iso0/myself/good.py
[task 2022-12-28T16:03:31.123Z] ------------------------------ Captured log call ------------------------------
[task 2022-12-28T16:03:31.123Z] DEBUG mozlint:isort.py:105 isort version 5.10.1
[task 2022-12-28T16:03:31.123Z] DEBUG mozlint:isort.py:130 Command: Z:\task_167223851512390\build\src\obj-x86_64-pc-mingw32\_virtualenvs\python-test\Scripts\isort --resolve-all-configs --config-root Z:/task_167223851512390/build/src/tools/lint/test/files/isort --check-only C:/Users/task_167223851512390/AppData/Local/Temp/pytest-of-task_167223851512390/pytest-4/test_lint_uses_all_configs_iso0/myself/good.py
[task 2022-12-28T16:03:31.123Z] ==================== 1 failed, 1 passed, 1 error in 17.76s ====================
[task 2022-12-28T16:03:31.124Z]
[task 2022-12-28T16:03:31.124Z]
[task 2022-12-28T16:03:31.124Z] Tests Completed: 100%|##########| 29/29 [01:30<00:00, 3.11s/Test]
[task 2022-12-28T16:03:31.124Z] Return code from mach python-test: 1
[taskcluster 2022-12-28T16:03:31.269Z] Exit Code: 1
[taskcluster 2022-12-28T16:03:31.269Z] User Time: 0s
[taskcluster 2022-12-28T16:03:31.269Z] Kernel Time: 31.25ms
[taskcluster 2022-12-28T16:03:31.269Z] Wall Time: 45m23.4586295s
[taskcluster 2022-12-28T16:03:31.269Z] Result: FAILED
[taskcluster 2022-12-28T16:03:31.269Z] === Task Finished ===
[taskcluster 2022-12-28T16:03:31.269Z] Task Duration: 45m23.464434s
[taskcluster 2022-12-28T16:03:31.274Z] [mounts] Preserving cache: Moving "Z:\\task_167223851512390\\build" to "Z:\\caches\\OJmXvr5WQT6Nx6_s9NuABQ"
[taskcluster 2022-12-28T16:03:31.801Z] [mounts] Denying task_167223851512390 access to 'Z:\caches\OJmXvr5WQT6Nx6_s9NuABQ'
[taskcluster 2022-12-28T16:04:47.212Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2023-12-28T15:16:42.589Z
[taskcluster:error] exit status 1
Comment 1•3 years ago
|
||
Marco, Alex, seems to be on your side :)
Comment 2•3 years ago
|
||
dup of bug 1806736 ?
Comment 3•3 years ago
•
|
||
Yes, it might be. I noticed it too just now.. And also bug 1806199 might be duplicate of same.
Comment 4•3 years ago
|
||
After the patch for Bug 1806199 it's intermittent: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&fromchange=ec9efc04322c8fc5b8618d3c6c9e730977a48f41&searchStr=windows%2C10%2Cx64%2Copt%2Cpython%2C3%2Cunit%2Ctests%2Csource-test-python-mozlint-windows10-64%2Fopt-py3%2Cmozlint&tochange=8cf460979ce39db2b1c4a4869b0545f210704b1b&selectedTaskRun=Jms7GdBuQ_29BILYSC3E2w.0
Updated•3 years ago
|
Description
•