Bug: Intermittent browser/components/migration/tests/browser/browser_safari_permissions.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-11-16 22:25:38+00:00
Resolved: 2024-08-02 12:03:04+00:00

**Filed by:** ctuns [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=436542020&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Fn3eBT4oTyenGJxlP6a86g/runs/1/artifacts/public/logs/live_backing.log

---
```
[task 2023-11-16T21:54:14.251Z] 21:54:14     INFO - TEST-PASS | browser/components/migration/tests/browser/browser_safari_permissions.js | Got migrator, even though we don't yet have permission to read its resources. - {"_resourcesByProfile":{"":null}} == true - 
[task 2023-11-16T21:54:14.252Z] 21:54:14     INFO - Buffered messages logged at 21:54:14
[task 2023-11-16T21:54:14.252Z] 21:54:14     INFO - Done waiting - migration subdialog loaded and ready.
[task 2023-11-16T21:54:14.253Z] 21:54:14     INFO - Choosing Safari
[task 2023-11-16T21:54:14.253Z] 21:54:14     INFO - Buffered messages finished
[task 2023-11-16T21:54:14.254Z] 21:54:14     INFO - TEST-UNEXPECTED-FAIL | browser/components/migration/tests/browser/browser_safari_permissions.js | Uncaught exception in test bound test_safari_permissions - at chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_safari_permissions.js:88 - TypeError: can't access property "click", panelItem is null
[task 2023-11-16T21:54:14.255Z] 21:54:14     INFO - Stack trace:
[task 2023-11-16T21:54:14.255Z] 21:54:14     INFO - test_safari_permissions/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_safari_permissions.js:88:5
[task 2023-11-16T21:54:14.255Z] 21:54:14     INFO - withMigrationWizardDialog@chrome://mochitests/content/browser/browser/components/migration/tests/browser/head.js:72:11
[task 2023-11-16T21:54:14.255Z] 21:54:14     INFO - async*test_safari_permissions@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_safari_permissions.js:74:9
[task 2023-11-16T21:54:14.255Z] 21:54:14     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1134:26
[task 2023-11-16T21:54:14.255Z] 21:54:14     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18
[task 2023-11-16T21:54:14.255Z] 21:54:14     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14
[task 2023-11-16T21:54:14.255Z] 21:54:14     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1123:14
[task 2023-11-16T21:54:14.255Z] 21:54:14     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-11-16T21:54:14.255Z] 21:54:14     INFO - Leaving test bound test_safari_permissions
[task 2023-11-16T21:54:14.256Z] 21:54:14     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-11-16T21:54:14.259Z] 21:54:14     INFO - TEST-UNEXPECTED-FAIL | browser/components/migration/tests/browser/browser_safari_permissions.js | A promise chain failed to handle a rejection: MigrationWizard:DoneMigration listener not removed before the end of test - stack: waitForEvent/</<@resource://testing-common/BrowserTestUtils.sys.mjs:1318:15
[task 2023-11-16T21:54:14.259Z] 21:54:14     INFO - ensureDOMPromiseRejectionsProcessed@resource://testing-common/PromiseTestUtils.sys.mjs:115:17
[task 2023-11-16T21:54:14.259Z] 21:54:14     INFO - nextTest@chrome://mochikit/content/browser-test.js:768:29
[task 2023-11-16T21:54:14.259Z] 21:54:14     INFO - async*testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1797:25
[task 2023-11-16T21:54:14.259Z] 21:54:14     INFO - run@chrome://mochikit/content/browser-test.js:1717:9
[task 2023-11-16T21:54:14.259Z] 21:54:14     INFO - Rejection date: Thu Nov 16 2023 21:54:14 GMT+0000 (Greenwich Mean Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":592,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":555,"lineNumber":769,"columnNumber":29,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"testScope/test_finish/<","sourceId":555,"lineNumber":1797,"columnNumber":25,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"run","sourceId":555,"lineNumber":1717,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"run@chrome://mochikit/content/browser-test.js:1717:9\n","nativeSavedFrame":{}},"formattedStack":"async*testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1797:25\nrun@chrome://mochikit/content/browser-test.js:1717:9\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"nextTest@chrome://mochikit/content/browser-test.js:769:29\nasync*testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1797:25\nrun@chrome://mochikit/content/browser-test.js:1717:9\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nnextTest@chrome://mochikit/content/browser-test.js:769:29\nasync*testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1797:25\nrun@chrome://mochikit/content/browser-test.js:1717:9\n","nativeSavedFrame":{}}
[task 2023-11-16T21:54:14.259Z] 21:54:14     INFO - Stack trace:
[task 2023-11-16T21:54:14.259Z] 21:54:14     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2023-11-16T21:54:14.259Z] 21:54:14     INFO - chrome://mochikit/content/browser-test.js:nextTest:769
[task 2023-11-16T21:54:14.259Z] 21:54:14     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1797
[task 2023-11-16T21:54:14.259Z] 21:54:14     INFO - chrome://mochikit/content/browser-test.js:run:1717
[task 2023-11-16T21:54:14.259Z] 21:54:14     INFO - GECKO(3183) | JavaScript error: resource://testing-common/BrowserTestUtils.sys.mjs, line 1318: uncaught exception: MigrationWizard:DoneMigration listener not removed before the end of test
[task 2023-11-16T21:54:14.260Z] 21:54:14     INFO - Console message: [JavaScript Error: "uncaught exception: MigrationWizard:DoneMigration listener not removed before the end of test" {file: "resource://testing-common/BrowserTestUtils.sys.mjs" line: 1318}]
[task 2023-11-16T21:54:14.603Z] 21:54:14     INFO - GECKO(3183) | MEMORY STAT | vsize 16641MB | residentFast 654MB | heapAllocated 352MB
[task 2023-11-16T21:54:14.603Z] 21:54:14     INFO - TEST-OK | browser/components/migration/tests/browser/browser_safari_permissions.js | took 672ms
```