AttributeError: 'timeout' object has no attribute 'with_traceback'
Categories
(Testing :: Mochitest, defect, P3)
Tracking
(firefox-esr68 unaffected, firefox76 wontfix, firefox77 wontfix, firefox78 fixed)
| Tracking | Status | |
|---|---|---|
| firefox-esr68 | --- | unaffected |
| firefox76 | --- | wontfix |
| firefox77 | --- | wontfix |
| firefox78 | --- | fixed |
People
(Reporter: gbrown, Assigned: gbrown)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
In bug 1414495 and bug 1615608, some logs show this message following timeout failures.
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=294621082&repo=mozilla-central&lineNumber=7007
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=294265661&repo=autoland&lineNumber=1827
Indeed with_traceback is used in runtests.py:
https://searchfox.org/mozilla-central/rev/c80fa7258c935223fe319c5345b58eae85d4c6ae/testing/mochitest/runtests.py#2388
and runtests.py is run in python 2 in CI.
The consequence is that important diagnostic information is lost.
| Assignee | ||
Comment 1•5 years ago
|
||
Should runtests.py / runtestsremote.py be run only with Py3? Or should those scripts be compatible with Py2 and Py3?
| Assignee | ||
Comment 2•5 years ago
|
||
I suppose a Py3 venv for mozharness is needed in order to run a test harness in python 3. There is support for that at
but that's only currently used by Talos (!). And it seems to be conveniently applicable only to an entire mozharness script, not a subset of test suites.
So I think runtests.py / runtestsremote.py need to remain Py2 compatible for the time being.
| Assignee | ||
Comment 3•5 years ago
|
||
See also https://searchfox.org/mozilla-central/rev/4d9cd186767978a99dafe77eb536a9525980e118/layout/tools/reftest/runreftest.py#92 (looks good: py2/py3 compat).
Comment 4•5 years ago
|
||
The priority flag is not set for this bug.
:ahal, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Definitely looks like a bug, mochitest doesn't support Python 3 yet.. Seems worth fixing in the meantime.
| Comment hidden (Intermittent Failures Robot) |
Comment 7•5 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)
Updated•5 years ago
|
| Assignee | ||
Comment 8•5 years ago
|
||
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
| bugherder | ||
Updated•5 years ago
|
Description
•