Closed Bug 1790329 Opened 5 months ago Closed 4 months ago

Intermittent Android Wd TEST-UNEXPECTED-TIMEOUT | expected OK (hang in "POST /session/%id/window")

Categories

(Testing :: geckodriver, defect)

Firefox 106
All
Android
defect

Tracking

(firefox-esr102 unaffected, firefox105 unaffected, firefox106 wontfix, firefox107 fixed)

RESOLVED FIXED
107 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox105 --- unaffected
firefox106 --- wontfix
firefox107 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell unknown])

Since bug 1506782 has been fixed the following hang can be seen once in a while for newly run WebDriver tests in CI:

https://treeherder.mozilla.org/logviewer?job_id=390148248&repo=mozilla-central&lineNumber=136979

[task 2022-09-11T12:18:31.173Z] 12:18:31     INFO - PID 4865 | 1662898711170	webdriver::server	DEBUG	-> POST /session/13956497-0af9-4693-b8bf-2e587ddf88ce/window {"handle": "13d55cd3-0d2d-4968-96ca-84798599348b"}
[task 2022-09-11T12:20:04.202Z] 12:20:04     INFO - TEST-UNEXPECTED-TIMEOUT | /_mozilla/webdriver/bidi/browsing_context/navigate/error.py | expected OK

This new failure might actually help us to get bug 1770689 fixed, and this one depends on it.

Depends on: 1506782
No longer depends on: 1790327
Blocks: 1762386
See Also: → 1791102
See Also: → 1791111
Whiteboard: [stockwell needswork:owner]

This problem spiked late last week and especially all around debug builds. I assume the move for the Android test jobs from AWS to GCP is the factor here. And it's most likely also related to the other bugs as filed over the weekend and linked under see also.

I'll have to investigate but will start with bug 1790325 which is the #14 top frequent failure.

See Also: → 1780219

Most of the failures on this bug are actually coming from bug 1791111.

Depends on: 1791111

I re-classified all the failures that were inappropriately marked for this bug against bug 1791111. Nevertheless the failures seem to be still present and don't seem to be connected to that other bug. Here a most recent test failure:

https://treeherder.mozilla.org/logviewer?job_id=391035442&repo=autoland&lineNumber=8597

I'll dig into this shortly to figure out what exactly is broken here.

This is actually a problem with bug 1789659 and the tab / window that we want to switch to gets closed.

Depends on: 1789659
No longer depends on: 1789659
Depends on: 1789659

(In reply to Henrik Skupin (:whimboo) [⌚️UTC+2] from comment #9)

This is actually a problem with bug 1789659 and the tab / window that we want to switch to gets closed.

That bug got fixed now. I'll check back tomorrow for possible failures and if none are visible we can close this bug as fixed as well.

Failures are gone. Marking as fixed.

Assignee: nobody → hskupin
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch

This seems to have started failing again: https://treeherder.mozilla.org/logviewer?job_id=395255502&repo=autoland&lineNumber=75918

Hi Henrik! Can you please take a look at this? Should we reopen this bug?
Thank you!

Flags: needinfo?(hskupin)

(In reply to Iulian Moraru from comment #16)

This seems to have started failing again: https://treeherder.mozilla.org/logviewer?job_id=395255502&repo=autoland&lineNumber=75918

Hi Henrik! Can you please take a look at this? Should we reopen this bug?

No, this is bug 1790325:

[task 2022-11-02T14:52:56.886Z] 14:52:56     INFO - PID 4280 | 1667400776885	webdriver::server	DEBUG	-> POST /session/d6eeb38c-70ae-46b2-a02b-27a15d4fce60/window/new {"type": null}
[task 2022-11-02T15:01:40.931Z] 15:01:40     INFO - TEST-UNEXPECTED-TIMEOUT | /webdriver/tests/new_window/user_prompts.py | expected OK
Flags: needinfo?(hskupin)
You need to log in before you can comment on or make changes to this bug.