Closed Bug 1493090 Opened 6 years ago Closed 6 years ago

Perma bc Linux x64 JSDCov browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | A promise chain failed to handle a rejection: Cannot attach ID to a destroyed tab. - stack: setId@chrome://browser/content/parent/ext-browser

Categories

(WebExtensions :: Untriaged, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

Filed by: ebalazs [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=200673202&repo=mozilla-central https://queue.taskcluster.net/v1/task/fRYiSPMYToOfWLGnlQzHwg/runs/0/artifacts/public/logs/live_backing.log Entering test bound test_multiple_contexts_init [task 2018-09-21T07:06:00.051Z] 07:06:00 INFO - Console message: [JavaScript Warning: "Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen." {file: "http://mochi.test:8888/browser/browser/components/extensions/test/browser/context.html" line: 0 column: 0 source: "0"}] [task 2018-09-21T07:06:00.051Z] 07:06:00 INFO - Buffered messages logged at 07:05:59 [task 2018-09-21T07:06:00.052Z] 07:06:00 INFO - Extension loaded [task 2018-09-21T07:06:00.052Z] 07:06:00 INFO - Console message: Warning: attempting to write 12277 bytes to preference extensions.webextensions.uuids. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. This preference will not be sent to any content processes. [task 2018-09-21T07:06:00.053Z] 07:06:00 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | Found parent menu item - [task 2018-09-21T07:06:00.053Z] 07:06:00 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | And it has children - [task 2018-09-21T07:06:00.054Z] 07:06:00 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | Correct child menu item - [task 2018-09-21T07:06:00.054Z] 07:06:00 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | onClicked the correct item - [task 2018-09-21T07:06:00.055Z] 07:06:00 INFO - Console message: Ignoring response to aborted listener for 770 [task 2018-09-21T07:06:00.055Z] 07:06:00 INFO - Console message: [JavaScript Error: "Error: Cannot attach ID to a destroyed tab." {file: "chrome://browser/content/parent/ext-browser.js" line: 331}] [task 2018-09-21T07:06:00.056Z] 07:06:00 INFO - Buffered messages finished [task 2018-09-21T07:06:00.056Z] 07:06:00 INFO - TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | A promise chain failed to handle a rejection: Cannot attach ID to a destroyed tab. - stack: setId@chrome://browser/content/parent/ext-browser.js:331:13 [task 2018-09-21T07:06:00.057Z] 07:06:00 INFO - getId@chrome://browser/content/parent/ext-browser.js:310:5 [task 2018-09-21T07:06:00.057Z] 07:06:00 INFO - emitActivated@chrome://browser/content/parent/ext-browser.js:559:14 [task 2018-09-21T07:06:00.058Z] 07:06:00 INFO - handleEvent/<@chrome://browser/content/parent/ext-browser.js:472:11 [task 2018-09-21T07:06:00.058Z] 07:06:00 INFO - promise callback*handleEvent@chrome://browser/content/parent/ext-browser.js:471:27 [task 2018-09-21T07:06:00.059Z] 07:06:00 INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1019:7 [task 2018-09-21T07:06:00.059Z] 07:06:00 INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:4398:9 [task 2018-09-21T07:06:00.059Z] 07:06:00 INFO - set_selectedIndex@chrome://global/content/bindings/tabbox.xml:411:13 [task 2018-09-21T07:06:00.060Z] 07:06:00 INFO - set_selectedPanel@chrome://global/content/bindings/tabbox.xml:430:13 [task 2018-09-21T07:06:00.060Z] 07:06:00 INFO - set_selectedIndex@chrome://global/content/bindings/tabbox.xml:172:15 [task 2018-09-21T07:06:00.061Z] 07:06:00 INFO - set_selectedItem@chrome://global/content/bindings/tabbox.xml:197:34 [task 2018-09-21T07:06:00.061Z] 07:06:00 INFO - set selectedTab@chrome://global/content/elements/tabbox.js:78:9 [task 2018-09-21T07:06:00.061Z] 07:06:00 INFO - set selectedTab@chrome://browser/content/tabbrowser.js:273:5 [task 2018-09-21T07:06:00.062Z] 07:06:00 INFO - _blurTab@chrome://browser/content/tabbrowser.js:3117:24 [task 2018-09-21T07:06:00.062Z] 07:06:00 INFO - _beginRemoveTab@chrome://browser/content/tabbrowser.js:2829:5 [task 2018-09-21T07:06:00.063Z] 07:06:00 INFO - removeTab@chrome://browser/content/tabbrowser.js:2746:10 [task 2018-09-21T07:06:00.063Z] 07:06:00 INFO - removeTab@resource://testing-common/BrowserTestUtils.jsm:1208:5 [task 2018-09-21T07:06:00.064Z] 07:06:00 INFO - test_multiple_contexts_init@chrome://mochitests/content/browser/browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js:355:3 [task 2018-09-21T07:06:00.064Z] 07:06:00 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1102:34 [task 2018-09-21T07:06:00.064Z] 07:06:00 INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1093:16 [task 2018-09-21T07:06:00.065Z] 07:06:00 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:995:9 [task 2018-09-21T07:06:00.065Z] 07:06:00 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:795:59 [task 2018-09-21T07:06:00.066Z] 07:06:00 INFO - Rejection date: Fri Sep 21 2018 07:05:59 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 257 [task 2018-09-21T07:06:00.066Z] 07:06:00 INFO - Stack trace: [task 2018-09-21T07:06:00.066Z] 07:06:00 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:257 [task 2018-09-21T07:06:00.067Z] 07:06:00 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1127 [task 2018-09-21T07:06:00.067Z] 07:06:00 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1093 [task 2018-09-21T07:06:00.067Z] 07:06:00 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995 [task 2018-09-21T07:06:00.068Z] 07:06:00 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:795 [task 2018-09-21T07:06:00.068Z] 07:06:00 INFO - Leaving test bound test_multiple_contexts_init [task 2018-09-21T07:06:00.069Z] 07:06:00 INFO - Entering test bound test_tools_menu [task 2018-09-21T07:06:00.069Z] 07:06:00 INFO - Extension loaded [task 2018-09-21T07:06:00.070Z] 07:06:00 INFO - Extension loaded [task 2018-09-21T07:06:00.070Z] 07:06:00 INFO - Console message: Warning: attempting to write 12357 bytes to preference extensions.webextensions.uuids. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. This preference will not be sent to any content processes. [task 2018-09-21T07:06:00.071Z] 07:06:00 INFO - Console message: Warning: attempting to write 12437 bytes to preference extensions.webextensions.uuids. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file. This preference will not be sent to any content processes. [task 2018-09-21T07:06:00.172Z] 07:06:00 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | Separator before first extension item - [task 2018-09-21T07:06:00.173Z] 07:06:00 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | Correct submenu type - [task 2018-09-21T07:06:00.173Z] 07:06:00 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | Correct submenu title - [task 2018-09-21T07:06:00.174Z] 07:06:00 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | Correct number of submenu items - [task 2018-09-21T07:06:00.175Z] 07:06:00 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | Third menu item type is correct - [task 2018-09-21T07:06:00.177Z] 07:06:00 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | Third menu item label is correct - [task 2018-09-21T07:06:00.193Z] 07:06:00 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | Click info pageUrl is correct - [task 2018-09-21T07:06:00.194Z] 07:06:00 INFO - TEST-PASS | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | Click event tab ID is correct - [task 2018-09-21T07:06:00.251Z] 07:06:00 INFO - Leaving test bound test_tools_menu [task 2018-09-21T07:06:00.251Z] 07:06:00 INFO - GECKO(2323) | Collecting coverage for: chrome://mochitests/content/browser/browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js [task 2018-09-21T07:06:02.028Z] 07:06:02 INFO - GECKO(2323) | Writing coverage to: /builds/worker/workspace/build/blobber_upload_dir/jscov_1537513562025.json [task 2018-09-21T07:06:02.036Z] 07:06:02 INFO - GECKO(2323) | MEMORY STAT | vsize 2485MB | residentFast 543MB | heapAllocated 226MB [task 2018-09-21T07:06:02.037Z] 07:06:02 INFO - TEST-OK | browser/components/extensions/test/browser/test-oop-extensions/browser_ext_menus.js | took 6026ms [task 2018-09-21T07:06:02.053Z] 07:06:02 INFO - checking window state
This is a tier2 perma bc failure from https://bugzilla.mozilla.org/show_bug.cgi?id=1492990 :kmag, Can you have a look at this? Thanks.
Flags: needinfo?(kmaglione+bmo)
Component: Mochitest → Untriaged
Product: Testing → WebExtensions
Version: Version 3 → unspecified
The linux64-jsdcov build has been disabled, and no longer runs in taskcluster, see bug 1496791.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Flags: needinfo?(kmaglione+bmo)
You need to log in before you can comment on or make changes to this bug.