Closed Bug 1654937 Opened 6 months ago Closed 6 months ago

Perma Windows10 mozlinz tools/lint/test/test_flake8.py::test_lint_excluded_file[flake8] TEST-UNEXPECTED-FAIL

Categories

(Firefox Build System :: Lint and Formatting, defect, P1)

defect

Tracking

(firefox-esr68 unaffected, firefox-esr78 unaffected, firefox79 unaffected, firefox80 wontfix, firefox81 fixed)

RESOLVED FIXED
81 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox79 --- unaffected
firefox80 --- wontfix
firefox81 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: ahal)

References

(Regression)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

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


[task 2020-07-23T17:19:29.195Z]  1:10.25 tools/lint/test/test_black.py::test_lint_black[black] PASSED
[task 2020-07-23T17:19:29.195Z]  1:10.25 
[task 2020-07-23T17:19:29.195Z]  1:10.25 ========================== 1 passed in 8.27 seconds ===========================
[task 2020-07-23T17:19:29.497Z] ERROR: jsonschema 3.2.0 requires pyrsistent>=0.14.0, which is not installed.
[task 2020-07-23T17:19:29.497Z] ERROR: jsonschema 3.2.0 requires six>=1.11.0, which is not installed.
[task 2020-07-23T17:19:30.909Z]  1:11.97 Z:\task_1595523575\build\src\tools\lint\test\test_lintpref.py
[task 2020-07-23T17:19:30.909Z]  1:11.97 ============================= test session starts =============================
[task 2020-07-23T17:19:30.910Z]  1:11.97 platform win32 -- Python 3.6.5, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- Z:\task_1595523575\build\src\obj-x86_64-pc-mingw32\_virtualenvs\src-dXRY18kn-3\Scripts\python.exe
[task 2020-07-23T17:19:30.910Z]  1:11.97 rootdir: Z:\task_1595523575\build\src, inifile: Z:\task_1595523575\build\src\config\mozunit\mozunit\pytest.ini
[task 2020-07-23T17:19:30.910Z]  1:11.97 collecting ... collected 1 item
[task 2020-07-23T17:19:30.911Z]  1:11.97 
[task 2020-07-23T17:19:30.911Z]  1:11.97 tools/lint/test/test_lintpref.py::test_lintpref[lintpref] PASSED
[task 2020-07-23T17:19:30.911Z]  1:11.97 
[task 2020-07-23T17:19:30.911Z]  1:11.97 ========================== 1 passed in 3.22 seconds ===========================
[task 2020-07-23T17:19:31.757Z]  1:12.82 Z:\task_1595523575\build\src\tools\lint\test\test_shellcheck.py
[task 2020-07-23T17:19:31.757Z]  1:12.82 ============================= test session starts =============================
[task 2020-07-23T17:19:31.758Z]  1:12.82 platform win32 -- Python 3.6.5, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- Z:\task_1595523575\build\src\obj-x86_64-pc-mingw32\_virtualenvs\src-dXRY18kn-3\Scripts\python.exe
[task 2020-07-23T17:19:31.758Z]  1:12.82 rootdir: Z:\task_1595523575\build\src, inifile: Z:\task_1595523575\build\src\config\mozunit\mozunit\pytest.ini
[task 2020-07-23T17:19:31.758Z]  1:12.82 collecting ... collected 1 item
[task 2020-07-23T17:19:31.758Z]  1:12.82 
[task 2020-07-23T17:19:31.758Z]  1:12.82 tools/lint/test/test_shellcheck.py::test_basic[shellcheck] SKIPPED
[task 2020-07-23T17:19:31.758Z]  1:12.82 =========================== short test summary info ===========================
[task 2020-07-23T17:19:31.758Z]  1:12.82 SKIP [1] tools\lint\test\test_shellcheck.py:11: shellcheck is not installed
[task 2020-07-23T17:19:31.758Z]  1:12.82 
[task 2020-07-23T17:19:31.759Z]  1:12.82 ========================== 1 skipped in 0.09 seconds ==========================
[task 2020-07-23T17:19:36.871Z]  1:17.93 Z:\task_1595523575\build\src\tools\lint\test\test_yaml.py
[task 2020-07-23T17:19:36.871Z]  1:17.93 ============================= test session starts =============================
[task 2020-07-23T17:19:36.871Z]  1:17.93 platform win32 -- Python 3.6.5, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- Z:\task_1595523575\build\src\obj-x86_64-pc-mingw32\_virtualenvs\src-dXRY18kn-3\Scripts\python.exe
[task 2020-07-23T17:19:36.871Z]  1:17.93 rootdir: Z:\task_1595523575\build\src, inifile: Z:\task_1595523575\build\src\config\mozunit\mozunit\pytest.ini
[task 2020-07-23T17:19:36.871Z]  1:17.93 collecting ... collected 1 item
[task 2020-07-23T17:19:36.871Z]  1:17.93 
[task 2020-07-23T17:19:36.872Z]  1:17.93 tools/lint/test/test_yaml.py::test_basic[yamllint] PASSED
[task 2020-07-23T17:19:36.872Z]  1:17.93 
[task 2020-07-23T17:19:36.872Z]  1:17.93 ========================== 1 passed in 3.70 seconds ===========================
[task 2020-07-23T17:19:37.098Z]  1:18.16 Z:\task_1595523575\build\src\python\mozlint\test\test_result.py
[task 2020-07-23T17:19:37.098Z]  1:18.16 ============================= test session starts =============================
[task 2020-07-23T17:19:37.098Z]  1:18.16 platform win32 -- Python 3.6.5, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- Z:\task_1595523575\build\src\obj-x86_64-pc-mingw32\_virtualenvs\src-dXRY18kn-3\Scripts\python.exe
[task 2020-07-23T17:19:37.098Z]  1:18.16 rootdir: Z:\task_1595523575\build\src, inifile: Z:\task_1595523575\build\src\config\mozunit\mozunit\pytest.ini
[task 2020-07-23T17:19:37.098Z]  1:18.16 collecting ... collected 1 item
[task 2020-07-23T17:19:37.098Z]  1:18.16 
[task 2020-07-23T17:19:37.099Z]  1:18.16 python/mozlint/test/test_result.py::test_issue_defaults PASSED
[task 2020-07-23T17:19:37.099Z]  1:18.16 
[task 2020-07-23T17:19:37.099Z]  1:18.16 ========================== 1 passed in 0.04 seconds ===========================
[task 2020-07-23T17:19:37.110Z]  1:18.17 Z:\task_1595523575\build\src\python\mozlint\test\test_roller.py
[task 2020-07-23T17:19:37.110Z]  1:18.17 ============================= test session starts =============================
[task 2020-07-23T17:19:37.110Z]  1:18.17 platform win32 -- Python 3.6.5, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- Z:\task_1595523575\build\src\obj-x86_64-pc-mingw32\_virtualenvs\src-dXRY18kn-3\Scripts\python.exe
[task 2020-07-23T17:19:37.110Z]  1:18.17 rootdir: Z:\task_1595523575\build\src, inifile: Z:\task_1595523575\build\src\config\mozunit\mozunit\pytest.ini
[task 2020-07-23T17:19:37.111Z]  1:18.17 collecting ... collected 27 items
[task 2020-07-23T17:19:37.111Z]  1:18.17 
[task 2020-07-23T17:19:37.111Z]  1:18.17 python/mozlint/test/test_roller.py::test_roll_no_linters_configured PASSED
[task 2020-07-23T17:19:37.111Z]  1:18.17 python/mozlint/test/test_roller.py::test_roll_successful PASSED
[task 2020-07-23T17:19:37.111Z]  1:18.17 python/mozlint/test/test_roller.py::test_roll_from_subdir PASSED
[task 2020-07-23T17:19:37.111Z]  1:18.17 python/mozlint/test/test_roller.py::test_roll_catch_exception PASSED
[task 2020-07-23T17:19:37.111Z]  1:18.17 python/mozlint/test/test_roller.py::test_roll_with_global_excluded_path PASSED
[task 2020-07-23T17:19:37.111Z]  1:18.17 python/mozlint/test/test_roller.py::test_roll_with_local_excluded_path PASSED
[task 2020-07-23T17:19:37.111Z]  1:18.17 python/mozlint/test/test_roller.py::test_roll_with_no_files_to_lint PASSED
[task 2020-07-23T17:19:37.111Z]  1:18.17 python/mozlint/test/test_roller.py::test_roll_with_invalid_extension PASSED
[task 2020-07-23T17:19:37.111Z]  1:18.17 python/mozlint/test/test_roller.py::test_roll_with_failure_code PASSED
[task 2020-07-23T17:19:37.111Z]  1:18.17 python/mozlint/test/test_roller.py::test_roll_warnings PASSED
[task 2020-07-23T17:19:37.111Z]  1:18.17 python/mozlint/test/test_roller.py::test_number_of_jobs[1] SKIPPED
[task 2020-07-23T17:19:37.112Z]  1:18.17 python/mozlint/test/test_roller.py::test_number_of_jobs[4] SKIPPED
[task 2020-07-23T17:19:37.112Z]  1:18.17 python/mozlint/test/test_roller.py::test_number_of_jobs[8] SKIPPED
[task 2020-07-23T17:19:37.112Z]  1:18.17 python/mozlint/test/test_roller.py::test_number_of_jobs[16] SKIPPED
[task 2020-07-23T17:19:37.112Z]  1:18.17 python/mozlint/test/test_roller.py::test_max_paths_per_job[1-12] SKIPPED
[task 2020-07-23T17:19:37.112Z]  1:18.17 python/mozlint/test/test_roller.py::test_max_paths_per_job[4-6] SKIPPED
[task 2020-07-23T17:19:37.112Z]  1:18.17 python/mozlint/test/test_roller.py::test_max_paths_per_job[16-6] SKIPPED
[task 2020-07-23T17:19:37.112Z]  1:18.17 python/mozlint/test/test_roller.py::test_number_of_jobs_global[1] SKIPPED
[task 2020-07-23T17:19:37.112Z]  1:18.17 python/mozlint/test/test_roller.py::test_number_of_jobs_global[4] SKIPPED
[task 2020-07-23T17:19:37.112Z]  1:18.17 python/mozlint/test/test_roller.py::test_number_of_jobs_global[8] SKIPPED
[task 2020-07-23T17:19:37.112Z]  1:18.17 python/mozlint/test/test_roller.py::test_number_of_jobs_global[16] SKIPPED
[task 2020-07-23T17:19:37.112Z]  1:18.17 python/mozlint/test/test_roller.py::test_max_paths_per_job_global[1] SKIPPED
[task 2020-07-23T17:19:37.112Z]  1:18.17 python/mozlint/test/test_roller.py::test_max_paths_per_job_global[4] SKIPPED
[task 2020-07-23T17:19:37.112Z]  1:18.17 python/mozlint/test/test_roller.py::test_max_paths_per_job_global[16] SKIPPED
[task 2020-07-23T17:19:37.112Z]  1:18.17 python/mozlint/test/test_roller.py::test_keyboard_interrupt SKIPPED
[task 2020-07-23T17:19:37.113Z]  1:18.17 python/mozlint/test/test_roller.py::test_support_files PASSED
[task 2020-07-23T17:19:37.113Z]  1:18.17 python/mozlint/test/test_roller.py::test_setup PASSED
[task 2020-07-23T17:19:37.113Z]  1:18.17 =========================== short test summary info ===========================
[task 2020-07-23T17:19:37.113Z]  1:18.17 SKIP [4] python\mozlint\test\test_roller.py:160: monkeypatch issues with multiprocessing on Windows
[task 2020-07-23T17:19:37.113Z]  1:18.17 SKIP [3] python\mozlint\test\test_roller.py:176: monkeypatch issues with multiprocessing on Windows
[task 2020-07-23T17:19:37.113Z]  1:18.17 SKIP [4] python\mozlint\test\test_roller.py:194: monkeypatch issues with multiprocessing on Windows
[task 2020-07-23T17:19:37.113Z]  1:18.17 SKIP [3] python\mozlint\test\test_roller.py:207: monkeypatch issues with multiprocessing on Windows
[task 2020-07-23T17:19:37.113Z]  1:18.17 SKIP [1] python\mozlint\test\test_roller.py:225: signal.CTRL_C_EVENT isn't causing a KeyboardInterrupt on Windows
[task 2020-07-23T17:19:37.113Z]  1:18.17 
[task 2020-07-23T17:19:37.114Z]  1:18.17 =================== 12 passed, 15 skipped in 23.86 seconds ====================
[task 2020-07-23T17:19:39.090Z]  1:20.15 Z:\task_1595523575\build\src\tools\lint\test\test_rst.py
[task 2020-07-23T17:19:39.090Z]  1:20.15 ============================= test session starts =============================
[task 2020-07-23T17:19:39.090Z]  1:20.15 platform win32 -- Python 3.6.5, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- Z:\task_1595523575\build\src\obj-x86_64-pc-mingw32\_virtualenvs\src-dXRY18kn-3\Scripts\python.exe
[task 2020-07-23T17:19:39.090Z]  1:20.15 rootdir: Z:\task_1595523575\build\src, inifile: Z:\task_1595523575\build\src\config\mozunit\mozunit\pytest.ini
[task 2020-07-23T17:19:39.090Z]  1:20.15 collecting ... collected 1 item
[task 2020-07-23T17:19:39.090Z]  1:20.15 
[task 2020-07-23T17:19:39.090Z]  1:20.15 tools/lint/test/test_rst.py::test_basic[rst] PASSED
[task 2020-07-23T17:19:39.090Z]  1:20.15 
[task 2020-07-23T17:19:39.090Z]  1:20.15 ========================== 1 passed in 4.22 seconds ===========================
[task 2020-07-23T17:19:39.474Z]  1:20.53 Z:\task_1595523575\build\src\python\mozlint\test\test_types.py
[task 2020-07-23T17:19:39.474Z]  1:20.53 ============================= test session starts =============================
[task 2020-07-23T17:19:39.474Z]  1:20.53 platform win32 -- Python 3.6.5, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- Z:\task_1595523575\build\src\obj-x86_64-pc-mingw32\_virtualenvs\src-dXRY18kn-3\Scripts\python.exe
[task 2020-07-23T17:19:39.474Z]  1:20.53 rootdir: Z:\task_1595523575\build\src, inifile: Z:\task_1595523575\build\src\config\mozunit\mozunit\pytest.ini
[task 2020-07-23T17:19:39.474Z]  1:20.53 collecting ... collected 12 items
[task 2020-07-23T17:19:39.475Z]  1:20.53 
[task 2020-07-23T17:19:39.475Z]  1:20.53 python/mozlint/test/test_types.py::test_linter_types[external.yml] PASSED
[task 2020-07-23T17:19:39.475Z]  1:20.53 python/mozlint/test/test_types.py::test_linter_types[global.yml] PASSED
[task 2020-07-23T17:19:39.475Z]  1:20.53 python/mozlint/test/test_types.py::test_linter_types[regex.yml] PASSED
[task 2020-07-23T17:19:39.475Z]  1:20.53 python/mozlint/test/test_types.py::test_linter_types[string.yml] PASSED
[task 2020-07-23T17:19:39.475Z]  1:20.53 python/mozlint/test/test_types.py::test_linter_types[structured.yml] PASSED
[task 2020-07-23T17:19:39.475Z]  1:20.53 python/mozlint/test/test_types.py::test_linter_missing_files[external.yml] PASSED
[task 2020-07-23T17:19:39.475Z]  1:20.53 python/mozlint/test/test_types.py::test_linter_missing_files[global.yml] PASSED
[task 2020-07-23T17:19:39.475Z]  1:20.53 python/mozlint/test/test_types.py::test_linter_missing_files[regex.yml] PASSED
[task 2020-07-23T17:19:39.475Z]  1:20.53 python/mozlint/test/test_types.py::test_linter_missing_files[string.yml] PASSED
[task 2020-07-23T17:19:39.475Z]  1:20.53 python/mozlint/test/test_types.py::test_linter_missing_files[structured.yml] PASSED
[task 2020-07-23T17:19:39.476Z]  1:20.53 python/mozlint/test/test_types.py::test_no_filter PASSED
[task 2020-07-23T17:19:39.476Z]  1:20.53 python/mozlint/test/test_types.py::test_global_skipped PASSED
[task 2020-07-23T17:19:39.476Z]  1:20.53 
[task 2020-07-23T17:19:39.476Z]  1:20.54 ========================= 12 passed in 26.22 seconds ==========================
[task 2020-07-23T17:19:51.160Z]  1:32.22 Z:\task_1595523575\build\src\tools\lint\test\test_flake8.py
[task 2020-07-23T17:19:51.160Z]  1:32.22 ============================= test session starts =============================
[task 2020-07-23T17:19:51.160Z]  1:32.22 platform win32 -- Python 3.6.5, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- Z:\task_1595523575\build\src\obj-x86_64-pc-mingw32\_virtualenvs\src-dXRY18kn-3\Scripts\python.exe
[task 2020-07-23T17:19:51.160Z]  1:32.22 rootdir: Z:\task_1595523575\build\src, inifile: Z:\task_1595523575\build\src\config\mozunit\mozunit\pytest.ini
[task 2020-07-23T17:19:51.160Z]  1:32.22 collecting ... collected 8 items
[task 2020-07-23T17:19:51.161Z]  1:32.22 
[task 2020-07-23T17:19:51.161Z]  1:32.22 tools/lint/test/test_flake8.py::test_lint_single_file[flake8] PASSED
[task 2020-07-23T17:19:51.161Z]  1:32.22 tools/lint/test/test_flake8.py::test_lint_custom_config_ignored[flake8] PASSED
[task 2020-07-23T17:19:51.161Z]  1:32.22 tools/lint/test/test_flake8.py::test_lint_fix[flake8] PASSED
[task 2020-07-23T17:19:51.161Z]  1:32.22 tools/lint/test/test_flake8.py::test_lint_fix_uses_config[flake8] PASSED
[task 2020-07-23T17:19:51.161Z]  1:32.22 tools/lint/test/test_flake8.py::test_lint_excluded_file[flake8] TEST-UNEXPECTED-FAIL
[task 2020-07-23T17:19:51.161Z]  1:32.22 tools/lint/test/test_flake8.py::test_lint_excluded_file_with_glob[flake8] PASSED
[task 2020-07-23T17:19:51.161Z]  1:32.22 tools/lint/test/test_flake8.py::test_lint_excluded_file_with_no_filter[flake8] PASSED
[task 2020-07-23T17:19:51.161Z]  1:32.22 tools/lint/test/test_flake8.py::test_lint_uses_custom_extensions[flake8] PASSED
[task 2020-07-23T17:19:51.161Z]  1:32.22 
[task 2020-07-23T17:19:51.162Z]  1:32.22 ================================== FAILURES ===================================
[task 2020-07-23T17:19:51.162Z]  1:32.22 _______________________ test_lint_excluded_file[flake8] _______________________
[task 2020-07-23T17:19:51.162Z]  1:32.22 
[task 2020-07-23T17:19:51.162Z]  1:32.22 lint = <function lint.<locals>.wrapper at 0x000001FE66E2B9D8>
[task 2020-07-23T17:19:51.162Z]  1:32.22 paths = <function paths.<locals>._inner at 0x000001FE66BE1EA0>
[task 2020-07-23T17:19:51.162Z]  1:32.22 config = {'description': 'Python linter', 'exclude': ['Z:/task_1595523575/build/src/tools/lint/test/files/flake8/bad.py', 'Z:\\...ld\\src\\tools\\lint\\test\\files\\flake8\\subdir\\exclude'], 'extensions': ['configure', 'py'], 'include': ['.'], ...}
[task 2020-07-23T17:19:51.162Z]  1:32.22 
[task 2020-07-23T17:19:51.162Z]  1:32.22     def test_lint_excluded_file(lint, paths, config):
[task 2020-07-23T17:19:51.162Z]  1:32.22         # First file is globally excluded, second one is from .flake8 config.
[task 2020-07-23T17:19:51.162Z]  1:32.22         files = paths("bad.py", "subdir/exclude/bad.py", "subdir/exclude/exclude_subdir")
[task 2020-07-23T17:19:51.162Z]  1:32.22         config["exclude"] = paths("bad.py")
[task 2020-07-23T17:19:51.162Z]  1:32.22         results = lint(files, config)
[task 2020-07-23T17:19:51.162Z]  1:32.22         print(results)
[task 2020-07-23T17:19:51.162Z]  1:32.22 >       assert len(results) == 0
[task 2020-07-23T17:19:51.163Z]  1:32.22 E       AssertionError: assert 2 == 0
[task 2020-07-23T17:19:51.163Z]  1:32.22 E        +  where 2 = len([Issue(linter='flake8', path='Z:/task_1595523575/build/src/tools/lint/test/files/flake8/subdir/exclude/exclude_subdir/..., source=None, level='error', rule='E501', lineoffset=None, diff=None, relpath='subdir/exclude/exclude_subdir/bad.py')])
[task 2020-07-23T17:19:51.163Z]  1:32.22 
[task 2020-07-23T17:19:51.163Z]  1:32.22 tools\lint\test\test_flake8.py:72: AssertionError
[task 2020-07-23T17:19:51.163Z]  1:32.22 ---------------------------- Captured stdout call -----------------------------
[task 2020-07-23T17:19:51.163Z]  1:32.22 [Issue(linter='flake8', path='Z:/task_1595523575/build/src/tools/lint/test/files/flake8/subdir/exclude/exclude_subdir/bad.py', lineno=2, column=1, message="'distutils' imported but unused", hint=None, source=None, level='error', rule='F401', lineoffset=None, diff=None, relpath='subdir/exclude/exclude_subdir/bad.py'), Issue(linter='flake8', path='Z:/task_1595523575/build/src/tools/lint/test/files/flake8/subdir/exclude/exclude_subdir/bad.py', lineno=5, column=101, message='line too long (111 > 100 characters)', hint=None, source=None, level='error', rule='E501', lineoffset=None, diff=None, relpath='subdir/exclude/exclude_subdir/bad.py')]
[task 2020-07-23T17:19:51.163Z]  1:32.22 ---------------------------- Captured stderr call -----------------------------
[task 2020-07-23T17:19:51.163Z]  1:32.22 17:19:45.434 flake8 (5492) | flake8 version=3.8.3
[task 2020-07-23T17:19:51.163Z]  1:32.22 17:19:45.435 flake8 (5492) | Command: --config Z:/task_1595523575/build/src/tools/lint/test/files/flake8\.flake8 --output-file C:\Users\task_1595523575\AppData\Local\Temp\tmpeuf29p1n --format {"path":"%(path)s","lineno":%(row)s,"column":%(col)s,"rule":"%(code)s","message":"%(text)s"} --filename *.configure,*.py
[task 2020-07-23T17:19:51.163Z]  1:32.22 ------------------------------ Captured log call ------------------------------
[task 2020-07-23T17:19:51.163Z]  1:32.22 flake8.py                  104 DEBUG    flake8 version=3.8.3
[task 2020-07-23T17:19:51.163Z]  1:32.22 flake8.py                  118 DEBUG    Command: --config Z:/task_1595523575/build/src/tools/lint/test/files/flake8\.flake8 --output-file C:\Users\task_1595523575\AppData\Local\Temp\tmpeuf29p1n --format {"path":"%(path)s","lineno":%(row)s,"column":%(col)s,"rule":"%(code)s","message":"%(text)s"} --filename *.configure,*.py
[task 2020-07-23T17:19:51.163Z]  1:32.22 manager.py                 211 WARNING  option --max-complexity: please update from optparse string `type=` to argparse callable `type=` -- this will be an error in the future
[task 2020-07-23T17:19:51.163Z]  1:32.22 application.py             208 WARNING  "{"path":"%(path)s","lineno":%(row)s,"column":%(col)s,"rule":"%(code)s","message":"%(text)s"}" is an unknown formatter. Falling back to default.
[task 2020-07-23T17:19:51.163Z]  1:32.22 checker.py                 120 WARNING  The multiprocessing module is not available. Ignoring --jobs arguments.
[task 2020-07-23T17:19:51.163Z]  1:32.22 ===================== 1 failed, 7 passed in 17.01 seconds =====================
[task 2020-07-23T17:19:51.163Z]  1:32.22 Setting retcode to 1 from Z:\task_1595523575\build\src\tools\lint\test\test_flake8.py
[task 2020-07-23T17:19:54.089Z]  1:35.15 Z:\task_1595523575\build\src\tools\lint\test\test_eslint.py
[task 2020-07-23T17:19:54.089Z]  1:35.15 ============================= test session starts =============================
[task 2020-07-23T17:19:54.089Z]  1:35.15 platform win32 -- Python 3.6.5, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- Z:\task_1595523575\build\src\obj-x86_64-pc-mingw32\_virtualenvs\src-dXRY18kn-3\Scripts\python.exe
[task 2020-07-23T17:19:54.089Z]  1:35.15 rootdir: Z:\task_1595523575\build\src, inifile: Z:\task_1595523575\build\src\config\mozunit\mozunit\pytest.ini
[task 2020-07-23T17:19:54.090Z]  1:35.15 collecting ... collected 3 items
[task 2020-07-23T17:19:54.090Z]  1:35.15 
[task 2020-07-23T17:19:54.090Z]  1:35.15 tools/lint/test/test_eslint.py::test_lint_with_global_exclude[eslint] PASSED
[task 2020-07-23T17:19:54.090Z]  1:35.15 tools/lint/test/test_eslint.py::test_no_files_to_lint[eslint] PASSED
[task 2020-07-23T17:19:54.090Z]  1:35.15 tools/lint/test/test_eslint.py::test_bad_import[eslint] PASSED
[task 2020-07-23T17:19:54.090Z]  1:35.15 
[task 2020-07-23T17:19:54.090Z]  1:35.15 ========================== 3 passed in 38.80 seconds ==========================
[task 2020-07-23T17:19:54.092Z]  1:35.15 Return code from mach python-test: 1
[fetches 2020-07-23T17:19:54.217Z] removing Z:/task_1595523575/fetches
[fetches 2020-07-23T17:19:55.282Z] finished
[taskcluster 2020-07-23T17:19:55.304Z]    Exit Code: 1
[taskcluster 2020-07-23T17:19:55.304Z]    User Time: 0s
[taskcluster 2020-07-23T17:19:55.304Z]  Kernel Time: 15.625ms
[taskcluster 2020-07-23T17:19:55.304Z]    Wall Time: 8m40.1061638s
[taskcluster 2020-07-23T17:19:55.304Z]       Result: FAILED
[taskcluster 2020-07-23T17:19:55.304Z] === Task Finished ===
[taskcluster 2020-07-23T17:19:55.304Z] Task Duration: 8m40.1081166s
[taskcluster 2020-07-23T17:19:55.304Z] [mounts] Preserving cache: Moving "Z:\\task_1595523575\\build" to "Z:\\caches\\HhhQf8EqQGStgM6sE70Wmg"
[taskcluster 2020-07-23T17:19:55.519Z] [mounts] Denying task_1595523575 access to 'Z:\caches\HhhQf8EqQGStgM6sE70Wmg'
[taskcluster 2020-07-23T17:20:12.329Z] Uploading redirect artifact public/logs/live.log to URL https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/K4sRosN7T8SP8V7NSm99MQ/runs/0/artifacts/public/logs/live_backing.log with mime type "text/plain; charset=utf-8" and expiry 2021-07-23T17:10:45.740Z
[taskcluster:error] exit status 1
Duplicate of this bug: 1655198
Regressed by: 1650834
Duplicate of this bug: 1655707
Flags: needinfo?(ahal)
Summary: Intermittent [tier 2] 1:32.22 tools/lint/test/test_flake8.py::test_lint_excluded_file[flake8] TEST-UNEXPECTED-FAIL → Perma Windows10 mozlinz tools/lint/test/test_flake8.py::test_lint_excluded_file[flake8] TEST-UNEXPECTED-FAIL

I'm not sure how this could have been regressed by bug 1650834. I'll take a look.

The first flake8 failures seems to be this but the task is perma failing for at least a month with a few different error messages which could have hidden the issue.

Still unsure of the regression, but have a fix for this test failure. The task may still be orange for other reasons, but maybe we can solve those in other bugs.

(aside: I feel like tier-2 permafails should be P1 by default rather than P5 :))

Assignee: nobody → ahal
Status: NEW → ASSIGNED
Flags: needinfo?(ahal)
Priority: P5 → P1
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9578a046a532
[lint] Fix test_flake8.py::test_lint_excluded_file on Windows, r=linter-reviewers,sylvestre
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch

The patch landed in nightly and beta is affected.
:ahal, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(ahal)
You need to log in before you can comment on or make changes to this bug.