Closed Bug 1618959 Opened 5 years ago Closed 5 years ago

Intermittent devtools/client/accessibility/test/browser/browser_accessibility_reload.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -

Categories

(DevTools :: Accessibility Tools, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: cbrindusan [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=291009339&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/b87AwEpDR-COeTafO7XcpA/runs/0/artifacts/public/logs/live_backing.log


[task 2020-02-28T17:38:27.517Z] 17:38:27 INFO - TEST-PASS | devtools/client/accessibility/test/browser/browser_accessibility_reload.js | Sidebar state is correct. -
[task 2020-02-28T17:38:27.520Z] 17:38:27 INFO - Found state predicate "({ details }) => {
[task 2020-02-28T17:38:27.521Z] 17:38:27 INFO - for (const key of ORDERED_PROPS) {
[task 2020-02-28T17:38:27.521Z] 17:38:27 INFO - const expected = expectedState[key];
[task 2020-02-28T17:38:27.521Z] 17:38:27 INFO - if (expected === undefined) {
[task 2020-02-28T17:38:27.521Z] 17:38:27 INFO - continue;
[task 2020-02-28T17:38:27.521Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.521Z] 17:38:27 INFO -
[task 2020-02-28T17:38:27.521Z] 17:38:27 INFO - if (key === "relations") {
[task 2020-02-28T17:38:27.521Z] 17:38:27 INFO - if (!relationsMatch(details.relations, expected)) {
[task 2020-02-28T17:38:27.522Z] 17:38:27 INFO - return false;
[task 2020-02-28T17:38:27.522Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.522Z] 17:38:27 INFO - } else if (EXPANDABLE_PROPS.includes(key)) {
[task 2020-02-28T17:38:27.522Z] 17:38:27 INFO - if (
[task 2020-02-28T17:38:27.522Z] 17:38:27 INFO - JSON.stringify(details.accessible[key]) !== JSON.stringify(expected)
[task 2020-02-28T17:38:27.522Z] 17:38:27 INFO - ) {
[task 2020-02-28T17:38:27.522Z] 17:38:27 INFO - return false;
[task 2020-02-28T17:38:27.523Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.523Z] 17:38:27 INFO - } else if (details.accessible && details.accessible[key] !== expected) {
[task 2020-02-28T17:38:27.523Z] 17:38:27 INFO - return false;
[task 2020-02-28T17:38:27.523Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.523Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.523Z] 17:38:27 INFO -
[task 2020-02-28T17:38:27.523Z] 17:38:27 INFO - ok(true, "Sidebar state is correct.");
[task 2020-02-28T17:38:27.523Z] 17:38:27 INFO - return true;
[task 2020-02-28T17:38:27.524Z] 17:38:27 INFO - }"
[task 2020-02-28T17:38:27.524Z] 17:38:27 INFO - Navigate to a new page.
[task 2020-02-28T17:38:27.524Z] 17:38:27 INFO - Load document "data:text/html;charset=UTF-8,%3Chtml%3E%0A%20%20%3Chead%3E%0A%20%20%20%20%3Cmeta%20charset%3D%22utf-8%22%2F%3E%0A%20%20%20%20%3Ctitle%3ENavigation%20Accessibility%20Panel%3C%2Ftitle%3E%0A%20%20%3C%2Fhead%3E%0A%20%20%3Cbody%3E%3C%2Fbody%3E%0A%3C%2Fhtml%3E"
[task 2020-02-28T17:38:27.524Z] 17:38:27 INFO - Waiting for page to be loaded…
[task 2020-02-28T17:38:27.525Z] 17:38:27 INFO - Buffered messages logged at 17:38:10
[task 2020-02-28T17:38:27.525Z] 17:38:27 INFO - → page loaded[task 2020-02-28T17:38:27.525Z] 17:38:27 INFO - Waiting for target 'navigate' event…
[task 2020-02-28T17:38:27.526Z] 17:38:27 INFO - Buffered messages logged at 17:38:11
[task 2020-02-28T17:38:27.527Z] 17:38:27 INFO - → 'navigate' emitted
[task 2020-02-28T17:38:27.527Z] 17:38:27 INFO - Checking tree state.
[task 2020-02-28T17:38:27.528Z] 17:38:27 INFO - TEST-PASS | devtools/client/accessibility/test/browser/browser_accessibility_reload.js | Tree structure is correct. -
[task 2020-02-28T17:38:27.528Z] 17:38:27 INFO - Checking sidebar state.
[task 2020-02-28T17:38:27.528Z] 17:38:27 INFO - Waiting for state predicate "({ details }) => {
[task 2020-02-28T17:38:27.529Z] 17:38:27 INFO - for (const key of ORDERED_PROPS) {
[task 2020-02-28T17:38:27.529Z] 17:38:27 INFO - const expected = expectedState[key];
[task 2020-02-28T17:38:27.529Z] 17:38:27 INFO - if (expected === undefined) {
[task 2020-02-28T17:38:27.529Z] 17:38:27 INFO - continue;
[task 2020-02-28T17:38:27.529Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.529Z] 17:38:27 INFO -
[task 2020-02-28T17:38:27.529Z] 17:38:27 INFO - if (key === "relations") {
[task 2020-02-28T17:38:27.530Z] 17:38:27 INFO - if (!relationsMatch(details.relations, expected)) {
[task 2020-02-28T17:38:27.530Z] 17:38:27 INFO - return false;
[task 2020-02-28T17:38:27.530Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.530Z] 17:38:27 INFO - } else if (EXPANDABLE_PROPS.includes(key)) {
[task 2020-02-28T17:38:27.530Z] 17:38:27 INFO - if (
[task 2020-02-28T17:38:27.530Z] 17:38:27 INFO - JSON.stringify(details.accessible[key]) !== JSON.stringify(expected)
[task 2020-02-28T17:38:27.530Z] 17:38:27 INFO - ) {
[task 2020-02-28T17:38:27.530Z] 17:38:27 INFO - return false;
[task 2020-02-28T17:38:27.530Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.531Z] 17:38:27 INFO - } else if (details.accessible && details.accessible[key] !== expected) {
[task 2020-02-28T17:38:27.531Z] 17:38:27 INFO - return false;
[task 2020-02-28T17:38:27.531Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.531Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.531Z] 17:38:27 INFO -
[task 2020-02-28T17:38:27.531Z] 17:38:27 INFO - ok(true, "Sidebar state is correct.");
[task 2020-02-28T17:38:27.531Z] 17:38:27 INFO - return true;
[task 2020-02-28T17:38:27.531Z] 17:38:27 INFO - }"
[task 2020-02-28T17:38:27.532Z] 17:38:27 INFO - TEST-PASS | devtools/client/accessibility/test/browser/browser_accessibility_reload.js | Sidebar state is correct. -
[task 2020-02-28T17:38:27.532Z] 17:38:27 INFO - Found state predicate "({ details }) => {
[task 2020-02-28T17:38:27.532Z] 17:38:27 INFO - for (const key of ORDERED_PROPS) {
[task 2020-02-28T17:38:27.532Z] 17:38:27 INFO - const expected = expectedState[key];
[task 2020-02-28T17:38:27.532Z] 17:38:27 INFO - if (expected === undefined) {[task 2020-02-28T17:38:27.533Z] 17:38:27 INFO - continue;
[task 2020-02-28T17:38:27.533Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.533Z] 17:38:27 INFO -
[task 2020-02-28T17:38:27.533Z] 17:38:27 INFO - if (key === "relations") {
[task 2020-02-28T17:38:27.533Z] 17:38:27 INFO - if (!relationsMatch(details.relations, expected)) {
[task 2020-02-28T17:38:27.533Z] 17:38:27 INFO - return false;
[task 2020-02-28T17:38:27.533Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.533Z] 17:38:27 INFO - } else if (EXPANDABLE_PROPS.includes(key)) {
[task 2020-02-28T17:38:27.534Z] 17:38:27 INFO - if (
[task 2020-02-28T17:38:27.534Z] 17:38:27 INFO - JSON.stringify(details.accessible[key]) !== JSON.stringify(expected)
[task 2020-02-28T17:38:27.534Z] 17:38:27 INFO - ) {
[task 2020-02-28T17:38:27.534Z] 17:38:27 INFO - return false;
[task 2020-02-28T17:38:27.534Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.534Z] 17:38:27 INFO - } else if (details.accessible && details.accessible[key] !== expected) {
[task 2020-02-28T17:38:27.534Z] 17:38:27 INFO - return false;
[task 2020-02-28T17:38:27.534Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.534Z] 17:38:27 INFO - }
[task 2020-02-28T17:38:27.535Z] 17:38:27 INFO -
[task 2020-02-28T17:38:27.535Z] 17:38:27 INFO - ok(true, "Sidebar state is correct.");
[task 2020-02-28T17:38:27.535Z] 17:38:27 INFO - return true;
[task 2020-02-28T17:38:27.535Z] 17:38:27 INFO - }"
[task 2020-02-28T17:38:27.535Z] 17:38:27 INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2020-02-28T17:38:27.536Z] 17:38:27 INFO - Leaving test bound a11YPanelTask
[task 2020-02-28T17:38:27.536Z] 17:38:27 INFO - Buffered messages logged at 17:38:13
[task 2020-02-28T17:38:27.536Z] 17:38:27 INFO - Removing tab.
[task 2020-02-28T17:38:27.538Z] 17:38:27 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2020-02-28T17:38:27.538Z] 17:38:27 INFO - Got event: 'TabClose' on [object XULElement].
[task 2020-02-28T17:38:27.538Z] 17:38:27 INFO - Tab removed and finished closing
[task 2020-02-28T17:38:27.539Z] 17:38:27 INFO - TEST-PASS | devtools/client/accessibility/test/browser/browser_accessibility_reload.js | The main process DevToolsServer has no pending connection when the test ends -
[task 2020-02-28T17:38:27.539Z] 17:38:27 INFO - Cleaning up...[task 2020-02-28T17:38:27.539Z] 17:38:27 INFO - Buffered messages finished
[task 2020-02-28T17:38:27.540Z] 17:38:27 INFO - TEST-UNEXPECTED-FAIL | devtools/client/accessibility/test/browser/browser_accessibility_reload.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.