Closed Bug 1534649 Opened 1 year ago Closed 1 year ago

Intermittent 1:03.28 tools/tryselect/test/test_presets.py::test_shared_presets[debugger-tests] TEST-UNEXPECTED-FAIL

Categories

(Testing :: General, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1534375

People

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

Details

(Keywords: intermittent-failure, regression)

#[markdown(off)]
Filed by: aciure [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=233367359&repo=autoland

https://queue.taskcluster.net/v1/task/HHGp36pxQDC0DHwHvYjjug/runs/0/artifacts/public/logs/live_backing.log

[task 2019-03-12T13:34:07.450Z] 1:03.28 /builds/worker/checkouts/gecko/tools/tryselect/test/test_presets.py
[task 2019-03-12T13:34:07.450Z] 1:03.28 ============================= test session starts ==============================
[task 2019-03-12T13:34:07.450Z] 1:03.28 platform linux2 -- Python 2.7.12, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- /builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/_virtualenvs/gecko-QUm8IANb-2/bin/python
[task 2019-03-12T13:34:07.451Z] 1:03.28 rootdir: /builds/worker/checkouts/gecko, inifile: /builds/worker/checkouts/gecko/config/mozunit/mozunit/pytest.ini
[task 2019-03-12T13:34:07.451Z] 1:03.28 collecting ... collected 2 items
[task 2019-03-12T13:34:07.451Z] 1:03.28
[task 2019-03-12T13:34:07.451Z] 1:03.28 tools/tryselect/test/test_presets.py::test_shared_presets[sample-suites] PASSED
[task 2019-03-12T13:34:07.451Z] 1:03.28 tools/tryselect/test/test_presets.py::test_shared_presets[debugger-tests] TEST-UNEXPECTED-FAIL
[task 2019-03-12T13:34:07.451Z] 1:03.28
[task 2019-03-12T13:34:07.451Z] 1:03.29 =================================== FAILURES ===================================
[task 2019-03-12T13:34:07.452Z] 1:03.29 _____________________ test_shared_presets[debugger-tests] ______________________
[task 2019-03-12T13:34:07.452Z] 1:03.29
[task 2019-03-12T13:34:07.452Z] 1:03.29 run_mach = <function inner at 0x7fd5119f3320>, shared_name = 'debugger-tests'
[task 2019-03-12T13:34:07.452Z] 1:03.29 shared_preset = {'description': 'Runs the tests relevant to the Firefox Devtools Debugger', 'query': ["'debugger", "'mozlint-eslint", ...roid !asan !pgo 'mochitest-chrome | 'mochitest-clipboard-e10s", "!asan !pgo 'linux64/ 'xpcshell"], 'selector': 'fuzzy'}
[task 2019-03-12T13:34:07.453Z] 1:03.29
[task 2019-03-12T13:34:07.453Z] 1:03.29 def test_shared_presets(run_mach, shared_name, shared_preset):
[task 2019-03-12T13:34:07.453Z] 1:03.29 """This test makes sure that we don't break any of the in-tree presets when
[task 2019-03-12T13:34:07.453Z] 1:03.29 renaming/removing variables in any of the selectors.
[task 2019-03-12T13:34:07.453Z] 1:03.29 """
[task 2019-03-12T13:34:07.453Z] 1:03.29 assert 'description' in shared_preset
[task 2019-03-12T13:34:07.453Z] 1:03.29 assert 'selector' in shared_preset
[task 2019-03-12T13:34:07.453Z] 1:03.29
[task 2019-03-12T13:34:07.453Z] 1:03.29 selector = shared_preset['selector']
[task 2019-03-12T13:34:07.453Z] 1:03.29 if selector == 'fuzzy':
[task 2019-03-12T13:34:07.453Z] 1:03.29 assert 'query' in shared_preset
[task 2019-03-12T13:34:07.453Z] 1:03.29 assert isinstance(shared_preset['query'], list)
[task 2019-03-12T13:34:07.453Z] 1:03.29
[task 2019-03-12T13:34:07.454Z] 1:03.29 # Run the preset and assert there were no exceptions.
[task 2019-03-12T13:34:07.454Z] 1:03.29 > assert run_mach(['try', '--no-push', '--preset', shared_name]) == 0
[task 2019-03-12T13:34:07.455Z] 1:03.29 E AssertionError: assert 1 == 0
[task 2019-03-12T13:34:07.455Z] 1:03.29 E + where 1 = <function inner at 0x7fd5119f3320>(['try', '--no-push', '--preset', 'debugger-tests'])
[task 2019-03-12T13:34:07.455Z] 1:03.29
[task 2019-03-12T13:34:07.455Z] 1:03.29 tools/tryselect/test/test_presets.py:23: AssertionError
[task 2019-03-12T13:34:07.455Z] 1:03.29 ----------------------------- Captured stdout call -----------------------------
[task 2019-03-12T13:34:07.455Z] 1:03.29 Error running mach:
[task 2019-03-12T13:34:07.455Z] 1:03.29
[task 2019-03-12T13:34:07.455Z] 1:03.29 [u'try', u'--no-push', u'--preset', 'debugger-tests']
[task 2019-03-12T13:34:07.455Z] 1:03.29
[task 2019-03-12T13:34:07.455Z] 1:03.29 The error occurred in code that was called by the mach command. This is either
[task 2019-03-12T13:34:07.455Z] 1:03.29 a bug in the called code itself or in the way that mach is calling it.
[task 2019-03-12T13:34:07.456Z] 1:03.29
[task 2019-03-12T13:34:07.456Z] 1:03.29 You should consider filing a bug for this issue.

Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1534375
You need to log in before you can comment on or make changes to this bug.