Closed Bug 1731442 Opened 3 years ago Closed 2 years ago

Intermittent <random test> | A promise chain failed to handle a rejection: Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface] - stack: getFindSelection@chrome://browser/content/preferences/findInPage.js:215:8

Categories

(Firefox :: Settings UI, defect, P3)

defect

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox98 --- wontfix
firefox99 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell disabled])

Attachments

(2 files)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=351984980&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/A2wK4rtRTGq6a-VLQ0jPpw/runs/0/artifacts/public/logs/live_backing.log


[task 2021-09-18T11:59:05.820Z] 11:59:05     INFO - TEST-PASS | toolkit/components/antitracking/test/browser/browser_contentBlockingAllowListPrincipal.js | Correct origin - 
[task 2021-09-18T11:59:05.821Z] 11:59:05     INFO - Buffered messages finished
[task 2021-09-18T11:59:05.822Z] 11:59:05     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/antitracking/test/browser/browser_contentBlockingAllowListPrincipal.js | A promise chain failed to handle a rejection: Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface] - stack: getFindSelection@chrome://browser/content/preferences/findInPage.js:215:8
[task 2021-09-18T11:59:05.822Z] 11:59:05     INFO - removeAllSearchIndicators@chrome://browser/content/preferences/findInPage.js:672:10
[task 2021-09-18T11:59:05.822Z] 11:59:05     INFO - gotoPref@chrome://browser/content/preferences/preferences.js:235:24
[task 2021-09-18T11:59:05.822Z] 11:59:05     INFO - init_all@chrome://browser/content/preferences/preferences.js:168:3
[task 2021-09-18T11:59:05.822Z] 11:59:05     INFO - Rejection date: Sat Sep 18 2021 11:59:05 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-09-18T11:59:05.822Z] 11:59:05     INFO - Stack trace:
[task 2021-09-18T11:59:05.822Z] 11:59:05     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-09-18T11:59:05.822Z] 11:59:05     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1122
[task 2021-09-18T11:59:05.822Z] 11:59:05     INFO - Leaving test bound 
Summary: Intermittent [tier2] toolkit/components/antitracking/test/browser/browser_contentBlockingAllowListPrincipal.js | A promise chain failed to handle a rejection: Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface → Intermittent toolkit/components/antitracking/test/browser/browser_contentBlockingAllowListPrincipal.js | A promise chain failed to handle a rejection: Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface
Severity: S4 → --
Component: Privacy: Anti-Tracking → Preferences
Priority: P5 → --
Product: Core → Firefox
Summary: Intermittent toolkit/components/antitracking/test/browser/browser_contentBlockingAllowListPrincipal.js | A promise chain failed to handle a rejection: Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface → Intermittent <random test> | A promise chain failed to handle a rejection: Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface
Summary: Intermittent <random test> | A promise chain failed to handle a rejection: Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface → Intermittent <random test> | A promise chain failed to handle a rejection: Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface] - stack: getFindSelection@chrome://browser/content/preferences/findInPage.js:215:8
Severity: -- → N/A
Priority: -- → P3

Update:
There have been 59 failures within the last 7 days:
• 36 failures on Linux 18.04 x64 WebRender opt
• 23 failures on Linux 18.04 x64 WebRender Shippable opt
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=366861780&repo=mozilla-central&lineNumber=3846

[task 2022-02-05T23:56:41.319Z] 23:56:41     INFO - TEST-PASS | browser/components/contextualidentity/test/browser/browser_aboutURLs.js | Done loading about:loginsimportreport - 
[task 2022-02-05T23:56:41.319Z] 23:56:41     INFO - Loading about:robots
[task 2022-02-05T23:56:41.320Z] 23:56:41     INFO - Console message: [JavaScript Error: "TypeError: can't access property Symbol.iterator, logins is undefined" {file: "chrome://browser/content/aboutlogins/aboutLoginsImportReport.js" line: 27}]
[task 2022-02-05T23:56:41.320Z] 23:56:41     INFO - importReportDataHandler@chrome://browser/content/aboutlogins/aboutLoginsImportReport.js:27:28
[task 2022-02-05T23:56:41.321Z] 23:56:41     INFO - sendToContent@resource:///actors/AboutLoginsChild.jsm:338:9
[task 2022-02-05T23:56:41.321Z] 23:56:41     INFO - onImportReportData@resource:///actors/AboutLoginsChild.jsm:301:10
[task 2022-02-05T23:56:41.322Z] 23:56:41     INFO - receiveMessage@resource:///actors/AboutLoginsChild.jsm:284:14
[task 2022-02-05T23:56:41.322Z] 23:56:41     INFO - 
[task 2022-02-05T23:56:41.323Z] 23:56:41     INFO - TEST-PASS | browser/components/contextualidentity/test/browser/browser_aboutURLs.js | Done loading about:robots - 
[task 2022-02-05T23:56:41.323Z] 23:56:41     INFO - Loading about:certificate
[task 2022-02-05T23:56:41.324Z] 23:56:41     INFO - TEST-PASS | browser/components/contextualidentity/test/browser/browser_aboutURLs.js | Done loading about:certificate - 
[task 2022-02-05T23:56:41.324Z] 23:56:41     INFO - Buffered messages finished
[task 2022-02-05T23:56:41.325Z] 23:56:41     INFO - TEST-UNEXPECTED-FAIL | browser/components/contextualidentity/test/browser/browser_aboutURLs.js | A promise chain failed to handle a rejection: Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface] - stack: getFindSelection@chrome://browser/content/preferences/findInPage.js:227:8
[task 2022-02-05T23:56:41.325Z] 23:56:41     INFO - removeAllSearchIndicators@chrome://browser/content/preferences/findInPage.js:700:10
[task 2022-02-05T23:56:41.326Z] 23:56:41     INFO - gotoPref@chrome://browser/content/preferences/preferences.js:315:24
[task 2022-02-05T23:56:41.326Z] 23:56:41     INFO - init_all@chrome://browser/content/preferences/preferences.js:245:3
[task 2022-02-05T23:56:41.327Z] 23:56:41     INFO - Rejection date: Sat Feb 05 2022 23:56:33 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2022-02-05T23:56:41.327Z] 23:56:41     INFO - Stack trace:
[task 2022-02-05T23:56:41.328Z] 23:56:41     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2022-02-05T23:56:41.328Z] 23:56:41     INFO - chrome://mochikit/content/browser-test.js:handleTask:1017
[task 2022-02-05T23:56:41.328Z] 23:56:41     INFO - Leaving test bound 
[task 2022-02-05T23:56:41.328Z] 23:56:41     INFO - GECKO(5194) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2022-02-05T23:56:41.328Z] 23:56:41     INFO - GECKO(5194) | MEMORY STAT | vsize 19921MB | residentFast 496MB | heapAllocated 230MB
[task 2022-02-05T23:56:41.328Z] 23:56:41     INFO - TEST-OK | browser/components/contextualidentity/test/browser/browser_aboutURLs.js | took 7702ms
[task 2022-02-05T23:56:41.329Z] 23:56:41     INFO - checking window state
[task 2022-02-05T23:56:41.329Z] 23:56:41     INFO - TEST-START | browser/components/contextualidentity/test/browser/browser_blobUrl.js
Whiteboard: [stockwell needswork:owner]

Hi Jared! Can you please take a look at this? And maybe you could help us assign it to someone. The failure rate has increased significantly.
Thank you!

Flags: needinfo?(jaws)
Whiteboard: [stockwell disable-recommended] → [stockwell needswork:owner]
Assignee: nobody → abutkovits
Status: NEW → ASSIGNED
Pushed by abutkovits@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fd689c83d89d
disable browser_aboutURLs.js on Linux_64_opt for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Assignee: abutkovits → nobody
Status: ASSIGNED → NEW
Keywords: leave-open
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]
Flags: needinfo?(jaws)
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Attachment #9265574 - Attachment description: Bug 1731442 - Handle gracefully any failure to get the nsISelectionDisplay interface. → Bug 1731442 - Bail out of gotoPref if the window was closed prior to execution starting of the async function.
Attachment #9265574 - Attachment description: Bug 1731442 - Bail out of gotoPref if the window was closed prior to execution starting of the async function. → Bug 1731442 - Track locally if there are any ranges added to the find-in-page selection and skip the interface querying if no ranges are present to prevent intermittent test failures.
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7db1f6191571
Track locally if there are any ranges added to the find-in-page selection and skip the interface querying if no ranges are present to prevent intermittent test failures. r=Gijs,preferences-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Keywords: leave-open
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
Severity: N/A → --
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: