Closed Bug 1777501 Opened 3 years ago Closed 3 years ago

Perma wpt different partitioned related tests failing with expected FAIL/Test timed out - e.g. web-locks/partitioned-web-locks.tentative.https.html | WebLocks of an iframe under a 3rd-party site are partitioned when Gecko 104 merges to Beta on 2022-07-25

Categories

(Core :: Privacy: Anti-Tracking, defect)

Firefox 104
defect

Tracking

()

VERIFIED FIXED
104 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 103+ fixed
firefox102 --- unaffected
firefox103 + fixed
firefox104 + verified

People

(Reporter: imoraru, Assigned: aryx)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

[Tracking Requested - why for this release]:

Central-as-beta simulation:
How to run these simulations:

Failure log for when it fails on partitioned-web-locks.tentative.https.html:

[task 2022-06-30T13:36:06.398Z] 13:36:06     INFO - TEST-START | /web-locks/partitioned-web-locks.tentative.https.html
[task 2022-06-30T13:36:06.404Z] 13:36:06     INFO - Closing window e24e4b06-8b7f-4b79-a73c-dab3ab22420d
[task 2022-06-30T13:36:06.420Z] 13:36:06     INFO - PID 21606 | [Child 22460, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-06-30T13:36:06.494Z] 13:36:06     INFO - PID 21606 | [Child 22460, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-06-30T13:36:06.592Z] 13:36:06     INFO - PID 21606 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp18h3twhk/runtests_leaks_1195_tab_pid22567.log
[task 2022-06-30T13:36:06.592Z] 13:36:06     INFO - PID 21606 | [22567, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:340
[task 2022-06-30T13:36:06.642Z] 13:36:06     INFO - PID 21606 | [Child 22567, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:707
[task 2022-06-30T13:36:06.694Z] 13:36:06     INFO - PID 21606 | [Child 21828, Main Thread] WARNING: IPC message 'PSessionStore::Msg_SessionStoreUpdate' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2022-06-30T13:36:07.004Z] 13:36:07     INFO - PID 21606 | [Child 22460, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-06-30T13:36:07.151Z] 13:36:07     INFO - PID 21606 | [Child 22460, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-06-30T13:36:07.245Z] 13:36:07     INFO - PID 21606 | [Child 21828, Main Thread] WARNING: IPC message 'PSessionStore::Msg_SessionStoreUpdate' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2022-06-30T13:36:07.376Z] 13:36:07     INFO - PID 21606 | [Parent 21606, Main Thread] WARNING: WebProgress Ignored: no longer current window global: file /builds/worker/checkouts/gecko/dom/ipc/BrowserParent.cpp:3127
[task 2022-06-30T13:36:07.429Z] 13:36:07     INFO - PID 21606 | JavaScript error: https://web-platform.test:8443/web-locks/resources/iframe.html, line 18: SecurityError: LockManager.request: request() is not allowed in this context
[task 2022-06-30T13:36:07.917Z] 13:36:07     INFO - PID 21606 | [Child 21828, Main Thread] WARNING: IPC message 'PSessionStore::Msg_SessionStoreUpdate' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:509
[task 2022-06-30T13:36:08.180Z] 13:36:08     INFO - PID 21606 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp18h3twhk/runtests_leaks_1195_tab_pid22598.log
[task 2022-06-30T13:36:08.181Z] 13:36:08     INFO - PID 21606 | [22598, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:340
[task 2022-06-30T13:36:08.202Z] 13:36:08     INFO - PID 21606 | [Child 22598, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:707
<...>
[task 2022-06-30T13:36:31.925Z] 13:36:31     INFO - PID 21606 | [Child 22379, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4595
[task 2022-06-30T13:36:37.020Z] 13:36:37     INFO - 
[task 2022-06-30T13:36:37.021Z] 13:36:37     INFO - TEST-UNEXPECTED-TIMEOUT | /web-locks/partitioned-web-locks.tentative.https.html | WebLocks of an iframe under a 3rd-party site are partitioned - Test timed out
[task 2022-06-30T13:36:37.021Z] 13:36:37     INFO - TEST-INFO | expected FAIL
[task 2022-06-30T13:36:37.021Z] 13:36:37     INFO - TEST-UNEXPECTED-TIMEOUT | /web-locks/partitioned-web-locks.tentative.https.html | expected ERROR
[task 2022-06-30T13:36:37.021Z] 13:36:37     INFO - TEST-INFO expected ERROR | took 30623ms
[task 2022-06-30T13:36:37.023Z] 13:36:37     INFO - PID 21606 | 1656596197022	Marionette	INFO	Stopped listening on port 55388
[task 2022-06-30T13:36:37.076Z] 13:36:37     INFO - PID 21606 | [Child 21727, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
<...>
[task 2022-06-30T13:36:38.773Z] 13:36:38     INFO - PID 21900 | [Child 22033, Main Thread] WARNING: '!CanSend() || !mManager || !mManager->CanSend()', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorChild.cpp:44
[task 2022-06-30T13:36:38.776Z] 13:36:38     INFO - PID 21900 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpmw6gs0r3/runtests_leaks_1195_tab_pid22159.log
[task 2022-06-30T13:36:38.776Z] 13:36:38     INFO - PID 21900 | [22159, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:340
[task 2022-06-30T13:36:38.777Z] 13:36:38     INFO - PID 21900 | [Child 22159, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:707
[task 2022-06-30T13:36:38.777Z] 13:36:38     INFO - PID 21900 | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2022-06-30T13:36:38.777Z] 13:36:38     INFO - PID 21900 | [Child 22159, Main Thread] WARNING: Could not get the program name for a cubeb stream.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:427
[task 2022-06-30T13:36:38.777Z] 13:36:38     INFO - PID 21900 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpmw6gs0r3/runtests_leaks_1195_tab_pid22171.log
[task 2022-06-30T13:36:38.777Z] 13:36:38     INFO - PID 21900 | [22171, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:340
[task 2022-06-30T13:36:38.778Z] 13:36:38     INFO - PID 21900 | [Child 22171, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:707
[task 2022-06-30T13:36:38.778Z] 13:36:38     INFO - PID 21900 | [Parent 21900, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/dom/base/ThirdPartyUtil.cpp:421
[task 2022-06-30T13:36:38.778Z] 13:36:38     INFO - PID 21900 | [Parent 21900, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1234
[task 2022-06-30T13:36:38.779Z] 13:36:38     INFO - PID 21900 | [2022-06-30T13:35:42Z WARN  glean_core::error_recording] search.engine.private.submission_url: "" does not start with a valid URL scheme.
[task 2022-06-30T13:36:38.779Z] 13:36:38     INFO - PID 21900 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpmw6gs0r3/runtests_leaks_1195_tab_pid22208.log
[task 2022-06-30T13:36:38.781Z] 13:36:38     INFO - PID 21900 | [22208, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:340
[task 2022-06-30T13:36:38.781Z] 13:36:38     INFO - PID 21900 | [Child 22208, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:707
[task 2022-06-30T13:36:38.782Z] 13:36:38     INFO - Starting runner
[task 2022-06-30T13:36:39.735Z] 13:36:39     INFO - TEST-START | /web-locks/query-empty.tentative.https.any.sharedworker.html

Hi James! Can you please take a look at this?
Thank you!

Flags: needinfo?(james)

Set release status flags based on info from the regressing bug 1775507

Assignee: nobody → aryx.bugmail
Status: NEW → ASSIGNED
Component: web-platform-tests → Privacy: Anti-Tracking
Flags: needinfo?(james)
Product: Testing → Core
Regressed by: 1776760
No longer regressed by: 1775507

I believe with bug 1776760, these tests should have beta and release expected behaviors matching that of nightly? We'll want to uplift the fixes here to beta 103 and esr 102 when uplifting the default on pref change.

Should dFPI also have been enabled for service workers? This is still only enabled in Nightly.

Flags: needinfo?(edilee)
Flags: needinfo?(edilee) → needinfo?(pbz)
Regressions: 1777698
Regressions: 1777700

Patch works in today's beta simulation, and the following bugs have been created: Bug 1777698 | Bug 1777700.

[Tracking Requested - why for this release]:
We need to uplift a fix for this along with Bug 1776760, see https://bugzilla.mozilla.org/show_bug.cgi?id=1776760#c1

Ben or Tim, since you worked on getting WPT to work with dFPI, could you take a look at the patch here: https://phabricator.services.mozilla.com/D150826 and see if this is sufficient or if there is more work required.

Flags: needinfo?(tihuang)
Flags: needinfo?(pbz)
Flags: needinfo?(bvandersloot)

(In reply to Sebastian Hengst [:aryx] (needinfo me if it's about an intermittent or backout) from comment #6)

Should dFPI also have been enabled for service workers? This is still only enabled in Nightly.

No, we decided to ship dFPI by default first and service worker partitioning later to reduce risk.

Attachment #9283758 - Attachment description: WIP: Bug 1777501 - drop wpt rules which assume dFPI is disabled outside Nightly → Bug 1777501 - drop wpt rules which assume dFPI is disabled outside Nightly. r=bvandersloot

I left some comments regarding the service worker tests. In general, we don't have third-party service worker support when TCP is on in beta and release channel. So, service worker partitioning tests should expect a timeout in this case.

Flags: needinfo?(tihuang)
Summary: Perma wpt different partitioned related tests failing with expected FAIL/Test timed out - e.g. web-locks/partitioned-web-locks.tentative.https.html | WebLocks of an iframe under a 3rd-party site are partitioned when Gecko 103 merges to Beta on 2022-07-25 → Perma wpt different partitioned related tests failing with expected FAIL/Test timed out - e.g. web-locks/partitioned-web-locks.tentative.https.html | WebLocks of an iframe under a 3rd-party site are partitioned when Gecko 104 merges to Beta on 2022-07-25
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/1906e72c3cdd drop wpt rules which assume dFPI is disabled outside Nightly. r=timhuang
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
Flags: needinfo?(bvandersloot)

The patch was verified in today's' beta-sim

Status: RESOLVED → VERIFIED
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: