Closed Bug 1910555 Opened 2 months ago Closed 2 months ago

[wdspec] Resume blocked requests from the setup_blocked_request fixture on teardown

Categories

(Remote Protocol :: WebDriver BiDi, task, P2)

task
Points:
2

Tracking

(firefox130 fixed)

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [webdriver:m12], [wptsync upstream])

Attachments

(1 file)

Our setup_blocked_request fixture will create a blocked request and it's up to the tests to handle them. However for invalid tests (and maybe others), we never actually unblock/resume the request, and it seems to lead to issues on macos debug, with too many open files.

Hanging blocked requests lead to intermittent failures on mac os debug CI due to too many open files.
Updates the setup_blocked_request to fail requests (or cancel the auth for auth requests).

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Blocks: 1910572
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6e0305e8f094 [wdspec] Resume blocked requests from the setup_blocked_request fixture on teardown r=webdriver-reviewers,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/47358 for changes under testing/web-platform/tests

Comment on attachment 9416746 [details]
Bug 1910555 - [wdspec] Resume blocked requests from the setup_blocked_request fixture on teardown

Beta/Release Uplift Approval Request

  • User impact if declined: This only addresses relatively frequent failures on macos debug CI for late beta.
    It can either be uplifted or ride the trains.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Test only change for wdspec tests.
  • String changes made/needed:
  • Is Android affected?: No
Attachment #9416746 - Flags: approval-mozilla-beta?
Points: --- → 2
Priority: -- → P2
Whiteboard: [webdriver:m12]

:jdescottes beta is closed this week since Fx129 is now in RC.
This will ride the train to beta with Fx130.

Are the tests you were looking at also failing in release?
If so then I can change the uplift request for release.

Flags: needinfo?(jdescottes)

(In reply to Donal Meehan [:dmeehan] from comment #5)

:jdescottes beta is closed this week since Fx129 is now in RC.
This will ride the train to beta with Fx130.

Are the tests you were looking at also failing in release?
If so then I can change the uplift request for release.

Not yet. I imagine it will be the case once 129 becomes the release channel, but it's not clear why we didn't have the issue for 128 or earlier. Those tests haven't really changed since 124. Do we have any beta as release simulations where I could retrigger the impacted jobs?

Flags: needinfo?(jdescottes) → needinfo?(dmeehan)

129 is already merged to release.
302 to :aryx about the simulations question

Flags: needinfo?(dmeehan) → needinfo?(aryx.bugmail)

If I'm checking the right page https://treeherder.mozilla.org/jobs?repo=mozilla-release&searchStr=wd%2Cdebug&fromchange=34f042a77009bc036fb31cc5bdbfa591177dff18, then we never run wdspec tests in debug mode on the release channel, so I guess we won't have the issue. We don't seem to run much debug tests in general for release?

Comment on attachment 9416746 [details]
Bug 1910555 - [wdspec] Resume blocked requests from the setup_blocked_request fixture on teardown

This will ride the train to beta with Fx130

Attachment #9416746 - Flags: approval-mozilla-beta? → approval-mozilla-beta-
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Upstream PR merged by moz-wptsync-bot
Whiteboard: [webdriver:m12] → [webdriver:m12], [wptsync upstream]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: