Closed Bug 1692421 Opened 4 years ago Closed 4 years ago

Permafailing tier 2 tools/tryselect/test/test_fuzzy.py::test_query TEST-UNEXPECTED-FAIL

Categories

(Developer Infrastructure :: Try, defect, P5)

Tracking

(firefox-esr78 unaffected, firefox85 unaffected, firefox86 unaffected, firefox87 fixed)

RESOLVED FIXED
87 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox85 --- unaffected
firefox86 --- unaffected
firefox87 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


[task 2021-02-12T08:55:58.671Z]  0:18.17 ==================== 35 passed, 17 xfailed in 2.35 seconds =====================
[task 2021-02-12T08:57:14.451Z]  1:33.95 /builds/worker/checkouts/gecko/tools/tryselect/test/test_fuzzy.py
[task 2021-02-12T08:57:14.451Z]  1:33.96 ============================= test session starts ==============================
[task 2021-02-12T08:57:14.451Z]  1:33.96 platform linux -- Python 3.6.9, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/python-test/bin/python
[task 2021-02-12T08:57:14.452Z]  1:33.96 rootdir: /builds/worker/checkouts/gecko, inifile: /builds/worker/checkouts/gecko/config/mozunit/mozunit/pytest.ini
[task 2021-02-12T08:57:14.452Z]  1:33.96 collecting ... collected 2 items
[task 2021-02-12T08:57:14.452Z]  1:33.96 
[task 2021-02-12T08:57:14.452Z]  1:33.96 tools/tryselect/test/test_fuzzy.py::test_query_paths PASSED
[task 2021-02-12T08:57:14.452Z]  1:33.96 tools/tryselect/test/test_fuzzy.py::test_query TEST-UNEXPECTED-FAIL
[task 2021-02-12T08:57:14.452Z]  1:33.96 
[task 2021-02-12T08:57:14.452Z]  1:33.96 =================================== FAILURES ===================================
[task 2021-02-12T08:57:14.452Z]  1:33.96 __________________________________ test_query __________________________________
[task 2021-02-12T08:57:14.453Z]  1:33.96 
[task 2021-02-12T08:57:14.453Z]  1:33.96 run_mach = <function run_mach.<locals>.inner at 0x7f75d18ed950>
[task 2021-02-12T08:57:14.453Z]  1:33.96 capfd = <_pytest.capture.CaptureFixture object at 0x7f75d125c7b8>
[task 2021-02-12T08:57:14.453Z]  1:33.96 
[task 2021-02-12T08:57:14.453Z]  1:33.96     @pytest.mark.skipif(os.name == "nt", reason="fzf not installed on host")
[task 2021-02-12T08:57:14.453Z]  1:33.96     def test_query(run_mach, capfd):
[task 2021-02-12T08:57:14.453Z]  1:33.96         cmd = ["try", "fuzzy", "--no-push", "-q", "'source-test-python-taskgraph-tests-py2"]
[task 2021-02-12T08:57:14.453Z]  1:33.96         assert run_mach(cmd) == 0
[task 2021-02-12T08:57:14.453Z]  1:33.96 
[task 2021-02-12T08:57:14.453Z]  1:33.96         output = capfd.readouterr().out
[task 2021-02-12T08:57:14.453Z]  1:33.96         print(output)
[task 2021-02-12T08:57:14.453Z]  1:33.96 
[task 2021-02-12T08:57:14.453Z]  1:33.96         # Should only ever mach one task exactly.
[task 2021-02-12T08:57:14.453Z]  1:33.96         expected = """
[task 2021-02-12T08:57:14.453Z]  1:33.96         "tasks": [
[task 2021-02-12T08:57:14.454Z]  1:33.96             "source-test-python-taskgraph-tests-py2"
[task 2021-02-12T08:57:14.454Z]  1:33.96         ]""".lstrip()
[task 2021-02-12T08:57:14.454Z]  1:33.96 
[task 2021-02-12T08:57:14.454Z]  1:33.96 >       assert expected in output
[task 2021-02-12T08:57:14.454Z]  1:33.96 E       assert '"tasks": [\n        "source-test-python-taskgraph-tests-py2"\n    ]' in 'no tasks selected\n'
[task 2021-02-12T08:57:14.454Z]  1:33.96 
[task 2021-02-12T08:57:14.454Z]  1:33.96 tools/tryselect/test/test_fuzzy.py:52: AssertionError
[task 2021-02-12T08:57:14.454Z]  1:33.96 ----------------------------- Captured stdout call -----------------------------
[task 2021-02-12T08:57:14.454Z]  1:33.96 no tasks selected
[task 2021-02-12T08:57:14.454Z]  1:33.96 
[task 2021-02-12T08:57:14.454Z]  1:33.96 ===================== 1 failed, 1 passed in 79.73 seconds ======================```
Flags: needinfo?(mcastelluccio)
Assignee: nobody → mcastelluccio
Status: NEW → ASSIGNED
Flags: needinfo?(mcastelluccio)
Pushed by mcastelluccio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5ea6c7437f66 Update fuzzy test to use the Python 3 taskgraph tests task instead of the Python 2 one. r=jmaher DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Has Regression Range: --- → yes
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: