Closed Bug 1836616 Opened 3 years ago Closed 3 years ago

Intermittent browser/extensions/webcompat/tests/browser/browser_aboutcompat.js | single tracking bug

Categories

(Web Compatibility :: Tooling & Investigations, defect, P5)

Tracking

(firefox116 fixed)

RESOLVED FIXED
Tracking Status
firefox116 --- fixed

People

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

Details

(Keywords: intermittent-failure, intermittent-testcase)

Attachments

(1 file)

Filed by: sstanca [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=417999849&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/S7M4nUMdRk6qKd-mNG-wqg/runs/0/artifacts/public/logs/live_backing.log


[task 2023-06-03T12:54:57.063Z] 12:54:57     INFO - TEST-START | browser/extensions/webcompat/tests/browser/browser_aboutcompat.js
[task 2023-06-03T12:54:57.455Z] 12:54:57     INFO - GECKO(8092) | Extension error: TypeError: table is null moz-extension://62dce1f5-5bd1-4db4-8f1b-2f46e5648eb4/about-compat/aboutCompat.js 225
[task 2023-06-03T12:54:57.471Z] 12:54:57     INFO - GECKO(8092) | [[Exception stack
[task 2023-06-03T12:54:57.472Z] 12:54:57     INFO - GECKO(8092) | redrawTable@moz-extension://62dce1f5-5bd1-4db4-8f1b-2f46e5648eb4/about-compat/aboutCompat.js:225:3
[task 2023-06-03T12:54:57.473Z] 12:54:57     INFO - GECKO(8092) | onMessageFromAddon@moz-extension://62dce1f5-5bd1-4db4-8f1b-2f46e5648eb4/about-compat/aboutCompat.js:86:16
[task 2023-06-03T12:54:57.474Z] 12:54:57     INFO - GECKO(8092) | Async*broadcast@moz-extension://62dce1f5-5bd1-4db4-8f1b-2f46e5648eb4/lib/about_compat_broker.js:37:14
[task 2023-06-03T12:54:57.475Z] 12:54:57     INFO - GECKO(8092) | onOverrideConfigChanged@moz-extension://62dce1f5-5bd1-4db4-8f1b-2f46e5648eb4/lib/ua_overrides.js:137:54
[task 2023-06-03T12:54:57.476Z] 12:54:57     INFO - GECKO(8092) | registerUAOverrides@moz-extension://62dce1f5-5bd1-4db4-8f1b-2f46e5648eb4/lib/ua_overrides.js:173:14
<...>
[task 2023-06-03T12:55:06.976Z] 12:55:06     INFO - callAsyncFunction@resource://gre/modules/ExtensionChild.sys.mjs:630:33
[task 2023-06-03T12:55:06.976Z] 12:55:06     INFO - stub@resource://gre/modules/Schemas.sys.mjs:2897:30
[task 2023-06-03T12:55:06.976Z] 12:55:06     INFO - checkOverridePref@moz-extension://62dce1f5-5bd1-4db4-8f1b-2f46e5648eb4/lib/ua_overrides.js:31:30
[task 2023-06-03T12:55:06.976Z] 12:55:06     INFO - bootup/<@moz-extension://62dce1f5-5bd1-4db4-8f1b-2f46e5648eb4/lib/ua_overrides.js:25:12
[task 2023-06-03T12:55:06.976Z] 12:55:06     INFO - 
[task 2023-06-03T12:55:06.977Z] 12:55:06     INFO - Buffered messages logged at 12:55:00
[task 2023-06-03T12:55:06.977Z] 12:55:06     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.sys.mjs" line: 60}]
[task 2023-06-03T12:55:06.977Z] 12:55:06     INFO - load@resource://gre/modules/XULStore.sys.mjs:60:15
[task 2023-06-03T12:55:06.978Z] 12:55:06     INFO - XULStore@resource://gre/modules/XULStore.sys.mjs:17:10
[task 2023-06-03T12:55:06.978Z] 12:55:06     INFO - 
[task 2023-06-03T12:55:06.978Z] 12:55:06     INFO - Buffered messages finished
[task 2023-06-03T12:55:06.978Z] 12:55:06     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/webcompat/tests/browser/browser_aboutcompat.js | Uncaught exception in test bound test_about_compat_loads_properly - UA overrides are listed - timed out after 50 tries.
[task 2023-06-03T12:55:06.979Z] 12:55:06     INFO - Leaving test bound test_about_compat_loads_properly
[task 2023-06-03T12:55:06.979Z] 12:55:06     INFO - GECKO(8092) | MEMORY STAT | vsize 2112408MB | vsizeMaxContiguous 65739352MB | residentFast 236MB | heapAllocated 92MB
[task 2023-06-03T12:55:06.980Z] 12:55:06     INFO - TEST-OK | browser/extensions/webcompat/tests/browser/browser_aboutcompat.js | took 8684ms
[task 2023-06-03T12:55:06.980Z] 12:55:06     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-06-03T12:55:06.981Z] 12:55:06     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/webcompat/tests/browser/browser_aboutcompat.js | Found an unexpected tab at the end of test run: about:compat - 
[task 2023-06-03T12:55:06.981Z] 12:55:06     INFO - checking window state
[task 2023-06-03T12:55:06.982Z] 12:55:06     INFO - TEST-START | browser/extensions/webcompat/tests/browser/browser_shims.js

This looks like a race condition while the addon loads, where it gets a message from the addon before DOMContentLoaded, but assumes the DOM is ready. It's an easy fix, I'll upload a patch soon.

Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Pushed by smolnar@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/de421130cb5a Prevent a UI-rendering race condition while about:compat loads; r=ksenia,webcompat-reviewers
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: