android wpt-reftest spamming "IndexError: list index out of range" to failure logs, even for passing runs
Categories
(Testing :: web-platform-tests, defect)
Tracking
(firefox68 fixed)
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: KWierso, Assigned: KWierso)
References
(Regression)
Details
Attachments
(1 file)
If you look at https://treeherder.mozilla.org/logviewer.html#?job_id=237448124&repo=mozilla-central there are a lot of errors logged saying "IndexError: list index out of range" that seem to happen after tests finish.
They happen even for passing wpt-reftest runs like https://treeherder.mozilla.org/logviewer.html#?job_id=237448118&repo=mozilla-central
This only seems to be affecting android test runs, and they appear to have started in the merge to m-c that included bug 1531909: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&tochange=e8b3c73b4e328be88aa90f31e1fa9772b537507d&searchStr=android%2C%28wr&fromchange=5a85cf971fef1404d6ed2893263f609c5a0de2d9&selectedJob=237455770
Android wpt is only enabled on m-c and try, and is tier-2 so it's not surprising this wasn't caught prior to the merge.
I'd guess this is because Android handles windows differently?
Assignee | ||
Comment 1•5 years ago
|
||
I added some logging around executormarionette.py line 908 to see what handles
was, and it's an empty list on android. Linux has a list with at least one window id.
Assignee | ||
Comment 2•5 years ago
|
||
On android wpt reftests, the window handles list is empty, so we can't use it to switch to a window. Not doing this in that case doesn't seem to break anything, and not doing it in that case prevents the IndexError from being logged to the error log.
Pushed by wkocher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/df13d5a937b5 Only switch_to_window() if we have a handle to it. r=jgraham
Comment 4•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Updated•5 years ago
|
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/16511 for changes under testing/web-platform/tests
Upstream PR merged
Updated•2 years ago
|
Description
•