Closed Bug 1632958 Opened 4 years ago Closed 4 years ago

Intermittent TV accessible/tests/browser/mac/browser_link.js | A promise chain failed to handle a rejection: Ensure history has been updated and is visible to read-only connections - timed out after 50 tries. - stack: PlacesTestUtils.jsm

Categories

(Core :: Disability Access APIs, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: malexandru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=299289245&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/HnH7e7KjRM-SUQOltAgOEg/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/HnH7e7KjRM-SUQOltAgOEg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2020-04-24T17:25:21.123Z] 17:25:21     INFO - TEST-START | accessible/tests/browser/mac/browser_link.js
[task 2020-04-24T17:25:21.247Z] 17:25:21     INFO - GECKO(1786) | JavaScript error: , line 0: uncaught exception: Ensure history has been updated and is visible to read-only connections - timed out after 50 tries.
[task 2020-04-24T17:25:21.547Z] 17:25:21     INFO - TEST-INFO | started process screencapture
[task 2020-04-24T17:25:21.728Z] 17:25:21     INFO - TEST-INFO | screencapture: exit 0
[task 2020-04-24T17:25:21.729Z] 17:25:21     INFO - Buffered messages logged at 17:25:21
[task 2020-04-24T17:25:21.729Z] 17:25:21     INFO - Entering test bound 
[task 2020-04-24T17:25:21.730Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Recieved document load complete event - 
[task 2020-04-24T17:25:21.731Z] 17:25:21     INFO - Console message: [JavaScript Error: "uncaught exception: Ensure history has been updated and is visible to read-only connections - timed out after 50 tries."]
[task 2020-04-24T17:25:21.734Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | e10s enabled - 
[task 2020-04-24T17:25:21.734Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Actually remote browser - 
[task 2020-04-24T17:25:21.734Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has not been visited - 
[task 2020-04-24T17:25:21.734Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Recieved state change event - 
[task 2020-04-24T17:25:21.735Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has been visited - 
[task 2020-04-24T17:25:21.735Z] 17:25:21     INFO - Buffered messages finished
[task 2020-04-24T17:25:21.735Z] 17:25:21     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/mac/browser_link.js | A promise chain failed to handle a rejection: Ensure history has been updated and is visible to read-only connections - timed out after 50 tries. - stack: addVisits@resource://testing-common/PlacesTestUtils.jsm:110:23
[task 2020-04-24T17:25:21.735Z] 17:25:21     INFO - async*@chrome://mochitests/content/browser/accessible/tests/browser/mac/browser_link.js:33:21
[task 2020-04-24T17:25:21.735Z] 17:25:21     INFO - accessibleTask/</<@chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:494:15
[task 2020-04-24T17:25:21.735Z] 17:25:21     INFO - async*withNewTab@resource://testing-common/BrowserTestUtils.jsm:146:24
[task 2020-04-24T17:25:21.735Z] 17:25:21     INFO - async*accessibleTask/<@chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:461:28
[task 2020-04-24T17:25:21.735Z] 17:25:21     INFO - Tester_execTest/<@chrome://mochikit/content/browser-test.js:1039:34
[task 2020-04-24T17:25:21.735Z] 17:25:21     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1074:11
[task 2020-04-24T17:25:21.735Z] 17:25:21     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:898:14
[task 2020-04-24T17:25:21.735Z] 17:25:21     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23
[task 2020-04-24T17:25:21.735Z] 17:25:21     INFO - Rejection date: Fri Apr 24 2020 17:25:21 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
[task 2020-04-24T17:25:21.735Z] 17:25:21     INFO - Stack trace:
[task 2020-04-24T17:25:21.736Z] 17:25:21     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
[task 2020-04-24T17:25:21.736Z] 17:25:21     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1070
[task 2020-04-24T17:25:21.736Z] 17:25:21     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1074
[task 2020-04-24T17:25:21.736Z] 17:25:21     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:898
[task 2020-04-24T17:25:21.736Z] 17:25:21     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:918
[task 2020-04-24T17:25:21.736Z] 17:25:21     INFO - Leaving test bound 
[task 2020-04-24T17:25:21.736Z] 17:25:21     INFO - Entering test bound 
[task 2020-04-24T17:25:21.736Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Recieved document load complete event - 
[task 2020-04-24T17:25:21.932Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | e10s enabled - 
[task 2020-04-24T17:25:21.932Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Actually remote browser - 
[task 2020-04-24T17:25:21.932Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | a[href] gets correct link role - 
[task 2020-04-24T17:25:21.932Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has visited attribute - 
[task 2020-04-24T17:25:21.932Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has URL attribute - 
[task 2020-04-24T17:25:21.933Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | a[onclick] gets correct link role - 
[task 2020-04-24T17:25:21.933Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has visited attribute - 
[task 2020-04-24T17:25:21.933Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has URL attribute - 
[task 2020-04-24T17:25:21.933Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | bare <a> gets correct group role - 
[task 2020-04-24T17:25:21.933Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Non-link should not have visited attribute - 
[task 2020-04-24T17:25:21.933Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Non-link should not have URL attribute - 
[task 2020-04-24T17:25:21.938Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Recieved state change event - 
[task 2020-04-24T17:25:21.938Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | <a> stripped from href gets group role - 
[task 2020-04-24T17:25:21.938Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Non-link should not have visited attribute - 
[task 2020-04-24T17:25:21.939Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Non-link should not have URL attribute - 
[task 2020-04-24T17:25:21.986Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Recieved state change event - 
[task 2020-04-24T17:25:21.986Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | <a> stripped from onclick gets group role - 
[task 2020-04-24T17:25:21.986Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Non-link should not have visited attribute - 
[task 2020-04-24T17:25:21.987Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Non-link should not have URL attribute - 
[task 2020-04-24T17:25:21.987Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Recieved state change event - 
[task 2020-04-24T17:25:21.987Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | href added to bare a gets link role - 
[task 2020-04-24T17:25:21.987Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has visited attribute - 
[task 2020-04-24T17:25:21.987Z] 17:25:21     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has URL attribute - 
[task 2020-04-24T17:25:21.987Z] 17:25:21     INFO - Leaving test bound 
[task 2020-04-24T17:25:22.016Z] 17:25:22     INFO - GECKO(1786) | MEMORY STAT | vsize 7639MB | residentFast 321MB | heapAllocated 130MB
[task 2020-04-24T17:25:22.017Z] 17:25:22     INFO - TEST-OK | accessible/tests/browser/mac/browser_link.js | took 916ms
[task 2020-04-24T17:25:22.060Z] 17:25:22     INFO - checking window state
[task 2020-04-24T17:25:22.081Z] 17:25:22     INFO - TEST-START | accessible/tests/browser/mac/browser_link.js
[task 2020-04-24T17:25:22.747Z] 17:25:22     INFO - GECKO(1786) | JavaScript error: , line 0: uncaught exception: Ensure history has been updated and is visible to read-only connections - timed out after 50 tries.
[task 2020-04-24T17:25:22.909Z] 17:25:22     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-04-24T17:25:22.909Z] 17:25:22     INFO - Buffered messages logged at 17:25:22
[task 2020-04-24T17:25:22.909Z] 17:25:22     INFO - Entering test bound 
[task 2020-04-24T17:25:22.909Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Recieved document load complete event - 
[task 2020-04-24T17:25:22.909Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | e10s enabled - 
[task 2020-04-24T17:25:22.912Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Actually remote browser - 
[task 2020-04-24T17:25:22.912Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has not been visited - 
[task 2020-04-24T17:25:22.912Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Recieved state change event - 
[task 2020-04-24T17:25:22.913Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has been visited - 
[task 2020-04-24T17:25:22.913Z] 17:25:22     INFO - Leaving test bound 
[task 2020-04-24T17:25:22.913Z] 17:25:22     INFO - Entering test bound 
[task 2020-04-24T17:25:22.913Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Recieved document load complete event - 
[task 2020-04-24T17:25:22.913Z] 17:25:22     INFO - Console message: [JavaScript Error: "uncaught exception: Ensure history has been updated and is visible to read-only connections - timed out after 50 tries."]
[task 2020-04-24T17:25:22.918Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | e10s enabled - 
[task 2020-04-24T17:25:22.918Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Actually remote browser - 
[task 2020-04-24T17:25:22.918Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | a[href] gets correct link role - 
[task 2020-04-24T17:25:22.918Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has visited attribute - 
[task 2020-04-24T17:25:22.921Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has URL attribute - 
[task 2020-04-24T17:25:22.922Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | a[onclick] gets correct link role - 
[task 2020-04-24T17:25:22.922Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has visited attribute - 
[task 2020-04-24T17:25:22.922Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has URL attribute - 
[task 2020-04-24T17:25:22.923Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | bare <a> gets correct group role - 
[task 2020-04-24T17:25:22.923Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Non-link should not have visited attribute - 
[task 2020-04-24T17:25:22.923Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Non-link should not have URL attribute - 
[task 2020-04-24T17:25:22.923Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Recieved state change event - 
[task 2020-04-24T17:25:22.927Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | <a> stripped from href gets group role - 
[task 2020-04-24T17:25:22.927Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Non-link should not have visited attribute - 
[task 2020-04-24T17:25:22.927Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Non-link should not have URL attribute - 
[task 2020-04-24T17:25:22.927Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Recieved state change event - 
[task 2020-04-24T17:25:22.928Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | <a> stripped from onclick gets group role - 
[task 2020-04-24T17:25:22.928Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Non-link should not have visited attribute - 
[task 2020-04-24T17:25:22.928Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Non-link should not have URL attribute - 
[task 2020-04-24T17:25:22.929Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Recieved state change event - 
[task 2020-04-24T17:25:22.929Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | href added to bare a gets link role - 
[task 2020-04-24T17:25:22.929Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has visited attribute - 
[task 2020-04-24T17:25:22.929Z] 17:25:22     INFO - TEST-PASS | accessible/tests/browser/mac/browser_link.js | Link has URL attribute - 
[task 2020-04-24T17:25:22.930Z] 17:25:22     INFO - Buffered messages finished
[task 2020-04-24T17:25:22.931Z] 17:25:22     INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/mac/browser_link.js | A promise chain failed to handle a rejection: Ensure history has been updated and is visible to read-only connections - timed out after 50 tries. - stack: addVisits@resource://testing-common/PlacesTestUtils.jsm:110:23
[task 2020-04-24T17:25:22.931Z] 17:25:22     INFO - async*@chrome://mochitests/content/browser/accessible/tests/browser/mac/browser_link.js:33:21
[task 2020-04-24T17:25:22.931Z] 17:25:22     INFO - accessibleTask/</<@chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:494:15
[task 2020-04-24T17:25:22.931Z] 17:25:22     INFO - async*withNewTab@resource://testing-common/BrowserTestUtils.jsm:146:24
[task 2020-04-24T17:25:22.931Z] 17:25:22     INFO - async*accessibleTask/<@chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:461:28
[task 2020-04-24T17:25:22.931Z] 17:25:22     INFO - Tester_execTest/<@chrome://mochikit/content/browser-test.js:1039:34
[task 2020-04-24T17:25:22.931Z] 17:25:22     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1074:11
[task 2020-04-24T17:25:22.931Z] 17:25:22     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:898:14
[task 2020-04-24T17:25:22.931Z] 17:25:22     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23
[task 2020-04-24T17:25:22.932Z] 17:25:22     INFO - Rejection date: Fri Apr 24 2020 17:25:22 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
[task 2020-04-24T17:25:22.932Z] 17:25:22     INFO - Stack trace:
[task 2020-04-24T17:25:22.932Z] 17:25:22     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
[task 2020-04-24T17:25:22.932Z] 17:25:22     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1070
[task 2020-04-24T17:25:22.932Z] 17:25:22     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1074
[task 2020-04-24T17:25:22.932Z] 17:25:22     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:898
[task 2020-04-24T17:25:22.932Z] 17:25:22     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:918
[task 2020-04-24T17:25:22.932Z] 17:25:22     INFO - Leaving test bound 
[task 2020-04-24T17:25:22.975Z] 17:25:22     INFO - GECKO(1786) | MEMORY STAT | vsize 7634MB | residentFast 321MB | heapAllocated 130MB
[task 2020-04-24T17:25:22.975Z] 17:25:22     INFO - TEST-OK | accessible/tests/browser/mac/browser_link.js | took 872ms
[task 2020-04-24T17:25:22.976Z] 17:25:22     INFO - checking window state
[task 2020-04-24T17:25:22.976Z] 17:25:22     INFO - TEST-START | accessible/tests/browser/mac/browser_link.js
[task 2020-04-24T17:25:23.862Z] 17:25:23     INFO - GECKO(1786) | MEMORY STAT | vsize 7634MB | residentFast 321MB | heapAllocated 132MB
[task 2020-04-24T17:25:23.862Z] 17:25:23     INFO - TEST-OK | accessible/tests/browser/mac/browser_link.js | took 885ms
[task 2020-04-24T17:25:23.897Z] 17:25:23     INFO - checking window state
[task 2020-04-24T17:25:24.980Z] 17:25:24     INFO - GECKO(1786) | JavaScript error: , line 0: uncaught exception: Ensure history has been updated and is visible to read-only connections - timed out after 50 tries.
[task 2020-04-24T17:25:24.982Z] 17:25:24     INFO - Console message: [JavaScript Error: "uncaught exception: Ensure history has been updated and is visible to read-only connections - timed out after 50 tries."]
[task 2020-04-24T17:25:25.360Z] 17:25:25     INFO - GECKO(1786) | Completed ShutdownLeaks collections in process 1793
[task 2020-04-24T17:25:25.366Z] 17:25:25     INFO - GECKO(1786) | Completed ShutdownLeaks collections in process 1799
[task 2020-04-24T17:25:25.390Z] 17:25:25     INFO - GECKO(1786) | Completed ShutdownLeaks collections in process 1803
[task 2020-04-24T17:25:25.391Z] 17:25:25     INFO - GECKO(1786) | Completed ShutdownLeaks collections in process 1804
[task 2020-04-24T17:25:25.413Z] 17:25:25     INFO - GECKO(1786) | Completed ShutdownLeaks collections in process 1798
[task 2020-04-24T17:25:25.418Z] 17:25:25     INFO - GECKO(1786) | Completed ShutdownLeaks collections in process 1790
[task 2020-04-24T17:25:25.424Z] 17:25:25     INFO - GECKO(1786) | Completed ShutdownLeaks collections in process 1792
[task 2020-04-24T17:25:25.460Z] 17:25:25     INFO - GECKO(1786) | Completed ShutdownLeaks collections in process 1788
[task 2020-04-24T17:25:25.471Z] 17:25:25     INFO - GECKO(1786) | Completed ShutdownLeaks collections in process 1787
[task 2020-04-24T17:25:25.512Z] 17:25:25     INFO - GECKO(1786) | Completed ShutdownLeaks collections in process 1791
[task 2020-04-24T17:25:25.882Z] 17:25:25     INFO - GECKO(1786) | Completed ShutdownLeaks collections in process 1786
[task 2020-04-24T17:25:25.882Z] 17:25:25     INFO - TEST-START | Shutdown

Eitan, is that your test from bug 1625864?

Flags: needinfo?(eitan)

Not sure if its a coincidence or what. Looks like the PlaceUtils function is async, so it needs an await.

Flags: needinfo?(eitan)
Assignee: nobody → eitan
Status: NEW → ASSIGNED
Pushed by mzehe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ff798ac49f6b
Add await for addVisits async function call. r=MarcoZ
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: