Closed Bug 1906179 Opened 1 year ago Closed 1 year ago

Intermittent /trusted-types/trusted-types-reporting.html | single tracking bug

Categories

(Core :: DOM: Security, defect, P5)

defect

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox128 --- unaffected
firefox129 --- wontfix
firefox130 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: mbrodesser)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [domsecurity-intermittent])

Attachments

(1 file)

Filed by: tszentpeteri [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=465052471&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LVGx4XAWQWmXg-lwBHhPLg/runs/0/artifacts/public/logs/live_backing.log


[task 2024-07-03T18:46:00.499Z] 18:46:00     INFO - TEST-START | /trusted-types/trusted-types-reporting.html
[task 2024-07-03T18:46:00.506Z] 18:46:00     INFO - Closing window 3a0a34d3-5f7c-4377-98e0-e9d16f0a5ee0
[task 2024-07-03T18:46:00.756Z] 18:46:00     INFO - PID 2296 | JavaScript error: http://web-platform.test:8000/trusted-types/trusted-types-reporting.html, line 1: SyntaxError: expected expression, got '<'
[task 2024-07-03T18:48:15.502Z] 18:48:15     INFO - Got timeout in harness
[task 2024-07-03T18:48:15.506Z] 18:48:15     INFO - TEST-UNEXPECTED-TIMEOUT | /trusted-types/trusted-types-reporting.html | TestRunner hit external timeout (this may indicate a hang)
[task 2024-07-03T18:48:15.506Z] 18:48:15     INFO - TEST-INFO expected ERROR | took 135007ms
[task 2024-07-03T18:49:26.843Z] 18:49:26     INFO - Browser exited with return code 572
[task 2024-07-03T18:49:26.917Z] 18:49:26     INFO - IOError on command, setting status to CRASH
[task 2024-07-03T18:49:26.918Z] 18:49:26     INFO - Browser not responding, setting status to CRASH
[task 2024-07-03T18:49:26.919Z] 18:49:26  WARNING - Command left in command_queue during cleanup: 'test_ended', (<wptrunner.wpttest.TestharnessTest /trusted-types/trusted-types-reporting.html>, (<wptrunner.wpttest.TestharnessResult CRASH>, []))
[task 2024-07-03T18:49:26.919Z] 18:49:26     INFO - Closing logging queue
[task 2024-07-03T18:49:26.920Z] 18:49:26     INFO - queue closed
[task 2024-07-03T18:49:27.001Z] 18:49:27     INFO - Application command: D:\task_172002881346100\build\application\firefox\firefox.exe -marionette about:blank --wait-for-browser -profile C:\Users\task_172002881346100\AppData\Local\Temp\tmpv4x6cq6v
[task 2024-07-03T18:49:27.011Z] 18:49:27     INFO - PID 10980 | 1720032314742	Marionette	INFO	Marionette enabled
[task 2024-07-03T18:49:27.012Z] 18:49:27     INFO - PID 10980 | 1720032314927	Marionette	INFO	Listening on port 63573
[task 2024-07-03T18:49:27.013Z] 18:49:27     INFO - PID 10980 | [ERROR error_support::handling] suggest-unexpected: Error from Remote Settings: Error parsing URL: relative URL with a cannot-be-a-base base
[task 2024-07-03T18:49:27.014Z] 18:49:27     INFO - PID 10980 | console.error: URLBar - QuickSuggest.SuggestBackendRust: "Ingest error: Error from Remote Settings: Error parsing URL: relative URL with a cannot-be-a-base base"
[task 2024-07-03T18:49:27.014Z] 18:49:27     INFO - Starting runner
[task 2024-07-03T18:49:28.635Z] 18:49:28     INFO - TEST-START | /trusted-types/trusted-types-source-file-path.html
Keywords: regression
Regressed by: 1901510

:mbrodesser-Igalia, since you are the author of the regressor, bug 1901510, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(mbrodesser)

See also https://bugzilla.mozilla.org/show_bug.cgi?id=1906164#c2.

Couldn't reproduce the failure locally, not in chaos mode (./mach wpt --chaos --debug-test testing/web-platform/tests/trusted-types/trusted-types-reporting.html) either.

When the priority of this issue increases, on could add further logging to the test and run "verify" jobs on Try and hope it reproduces there.

Flags: needinfo?(mbrodesser)
[task 2024-07-03T18:46:00.756Z] 18:46:00     INFO - PID 2296 | JavaScript error: http://web-platform.test:8000/trusted-types/trusted-types-reporting.html, line 1: SyntaxError: expected expression, got '<'

Looks like something is trying to load the HTML file as JavaScript? Odd.

(In reply to Frederik Braun [:freddy] from comment #5)

[task 2024-07-03T18:46:00.756Z] 18:46:00     INFO - PID 2296 | JavaScript error: http://web-platform.test:8000/trusted-types/trusted-types-reporting.html, line 1: SyntaxError: expected expression, got '<'

Looks like something is trying to load the HTML file as JavaScript? Odd.

Yeah. That also happens in the passing cases.

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

This has started to fail on tier 1 as it can be seen here

Summary: Intermittent [tier 2] /trusted-types/trusted-types-reporting.html | single tracking bug → Intermittent /trusted-types/trusted-types-reporting.html | single tracking bug

As the timeout (only the error) is not locally reproducible.
Perhaps both expectations, the error and the timeout, can be removed
once the trusted types implementation is complete.

Assignee: nobody → mbrodesser
Status: NEW → ASSIGNED

Looks like most of these are shutdown hangs. Thanks for annotating, Mirko.

Pushed by mbrodesser@igalia.com: https://hg.mozilla.org/integration/autoland/rev/5c98f806c6f3 annotate <trusted-types-reporting.html> as intermittently timeouting. r=freddyb
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch

The patch landed in nightly and beta is affected.
:mbrodesser-Igalia, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox129 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(mbrodesser)

The test only affects a feature which is gated behind a pref ("dom.security.trusted_types.enabled") which is "false" by default. Therefore it seems unnecessary to uplift the patch.

Flags: needinfo?(mbrodesser)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: