Bug: Intermittent browser/components/migration/tests/browser/browser_file_migration.js | single tracking bug
Status: NEW
Priority: P5
Created: 2023-04-14 13:23:50+00:00
Resolved: 2024-10-28 07:34:51+00:00

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

---
```
task 2023-04-14T12:34:28.670Z] 12:34:28     INFO - TEST-START | browser/components/migration/tests/browser/browser_file_migration.js
[task 2023-04-14T12:35:58.703Z] 12:35:58     INFO - TEST-INFO | started process screenshot
[task 2023-04-14T12:35:58.844Z] 12:35:58     INFO - TEST-INFO | screenshot: exit 0
[task 2023-04-14T12:35:58.853Z] 12:35:58     INFO - Buffered messages logged at 12:34:28
[task 2023-04-14T12:35:58.853Z] 12:35:58     INFO - Entering test bound test_file_migration
[task 2023-04-14T12:35:58.854Z] 12:35:58     INFO - Buffered messages logged at 12:34:29
[task 2023-04-14T12:35:58.854Z] 12:35:58     INFO - Done waiting - migration subdialog loaded and ready.
[task 2023-04-14T12:35:58.855Z] 12:35:58     INFO - Waiting for panel-list shown
[task 2023-04-14T12:35:58.855Z] 12:35:58     INFO - Buffered messages finished
[task 2023-04-14T12:35:58.855Z] 12:35:58     INFO - TEST-UNEXPECTED-FAIL | browser/components/migration/tests/browser/browser_file_migration.js | Test timed out - 
[task 2023-04-14T12:35:58.856Z] 12:35:58     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-04-14T12:35:58.867Z] 12:35:58     INFO - TEST-UNEXPECTED-FAIL | browser/components/migration/tests/browser/browser_file_migration.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:1310:15
[task 2023-04-14T12:35:58.867Z] 12:35:58     INFO - ensureDOMPromiseRejectionsProcessed@resource://testing-common/PromiseTestUtils.sys.mjs:115:17
[task 2023-04-14T12:35:58.867Z] 12:35:58     INFO - nextTest@chrome://mochikit/content/browser-test.js:678:29
[task 2023-04-14T12:35:58.873Z] 12:35:58     INFO - async*timeoutFn@chrome://mochikit/content/browser-test.js:1350:18
[task 2023-04-14T12:35:58.873Z] 12:35:58     INFO - setTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1290:80
[task 2023-04-14T12:35:58.873Z] 12:35:58     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1032:14
[task 2023-04-14T12:35:58.873Z] 12:35:58     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-04-14T12:35:58.873Z] 12:35:58     INFO - spinResolve@resource:///modules/MigrationUtils.sys.mjs:352:17
[task 2023-04-14T12:35:58.873Z] 12:35:58     INFO - spinResolve@chrome://browser/content/migration/migration.js:200:33
[task 2023-04-14T12:35:58.873Z] 12:35:58     INFO - onImportSourcePageShow@chrome://browser/content/migration/migration.js:234:29
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - init@chrome://browser/content/migration/migration.js:163:10
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - onload@chrome://browser/content/migration/migration.xhtml:1:17
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - showMigrationWizard@resource:///modules/MigrationUtils.sys.mjs:652:17
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - showThenCloseMigrationWizardViaEntrypoint/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:19:20
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - run@chrome://mochikit/content/browser-test.js:1628:9
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - Rejection date: Fri Apr 14 2023 12:35:58 GMT+0000 (Greenwich Mean Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":565,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":528,"lineNumber":679,"columnNumber":29,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"timeoutFn","sourceId":528,"lineNumber":1350,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":528,"lineNumber":1290,"columnNumber":80,"sourceLine":"","asyncCause":"setTimeout handler","asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":528,"lineNumber":1032,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":556,"lineNumber":1056,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"resource:///modules/MigrationUtils.sys.mjs","name":"spinResolve","sourceId":590,"lineNumber":352,"columnNumber":17,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://browser/content/migration/migration.js","name":"spinResolve","sourceId":1159,"lineNumber":200,"columnNumber":33,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://browser/content/migration/migration.js","name":"onImportSourcePageShow","sourceId":1159,"lineNumber":234,"columnNumber":29,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://browser/content/migration/migration.js","name":"init","sourceId":1159,"lineNumber":163,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://browser/content/migration/migration.xhtml","name":"onload","sourceId":1155,"lineNumber":1,"columnNumber":17,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"resource:///modules/MigrationUtils.sys.mjs","name":"showMigrationWizard","sourceId":590,"lineNumber":652,"columnNumber":17,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js","name":"showThenCloseMigrationWizardViaEntrypoint/<","sourceId":1052,"lineNumber":19,"columnNumber":20,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"run","sourceId":528,"lineNumber":1628,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"run@chrome://mochikit/content/browser-test.js:1628:9\n","nativeSavedFrame":{}},"formattedStack":"showThenCloseMigrationWizardViaEntrypoint/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:19:20\nrun@chrome://mochikit/content/browser-test.js:1628:9\n","nativeSavedFrame":{}},"formattedStack":"showMigrationWizard@resource:///modules/MigrationUtils.sys.mjs:652:17\nshowThenCloseMigrationWizardViaEntrypoint/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:19:20\nrun@chrome://mochikit/content/browser-test.js:1628:9\n","nativeSavedFrame":{}},"formattedStack":"onload@chrome://browser/content/migration/migration.xhtml:1:17\nshowMigrationWizard@resource:///modules/MigrationUtils.sys.mjs:652:17\nshowThenCloseMigrationWizardViaEntrypoint/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:19:20\nrun@chrome://mochikit/content/browser-test.js:1628:9\n","nativeSavedFrame":{}},"formattedStack":"init@chrome://browser/content/migration/migration.js:163:10\nonload@chrome://browser/content/migration/migration.xhtml:1:17\nshowMigrationWizard@resource:///modules/MigrationUtils.sys.mjs:652:17\nshowThenCloseMigrationWizardViaEntrypoint/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:19:20\nrun@chrome://mochikit/content/browser-test.js:1628:9\n","nativeSavedFrame":{}},"formattedStack":"onImportSourcePageShow@chrome://browser/content/migration/migration.js:234:29\ninit@chrome://browser/content/migration/migration.js:163:10\nonload@chrome://browser/content/migration/migration.xhtml:1:17\nshowMigrationWizard@resource:///modules/MigrationUtils.sys.mjs:652:17\nshowThenCloseMigrationWizardViaEntrypoint/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:19:20\nrun@chrome://mochikit/content/browser-test.js:1628:9\n","nativeSavedFrame":{}},"formattedStack":"spinResolve@chrome://browser/content/migration/migration.js:200:33\nonImportSourcePageShow@chrome://browser/content/migration/migration.js:234:29\ninit@chrome://browser/content/migration/migration.js:163:10\nonload@chrome://browser/content/migration/migration.xhtml:1:17\nshowMigrationWizard@resource:///modules/MigrationUtils.sys.mjs:652:17\nshowThenCloseMigrationWizardViaEntrypoint/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:19:20\nrun@chrome://mochikit/content/browser-test.js:1628:9\n","nativeSavedFrame":{}},"formattedStack":"spinResolve@resource:///modules/MigrationUtils.sys.mjs:352:17\nspinResolve@chrome://browser/content/migration/migration.js:200:33\nonImportSourcePageShow@chrome://browser/content/migration/migration.js:234:29\ninit@chrome://browser/content/migration/migration.js:163:10\nonload@chrome://browser/content/migration/migration.xhtml:1:17\nshowMigrationWizard@resource:///modules/MigrationUtils.sys.mjs:652:17\nshowThenCloseMigrationWizardViaEntrypoint/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:19:20\nrun@chrome://mochikit/content/browser-test.js:1628:9\n","nativeSavedFrame":{}},"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\nspinResolve@resource:///modules/MigrationUtils.sys.mjs:352:17\nspinResolve@chrome://browser/content/migration/migration.js:200:33\nonImportSourcePageShow@chrome://browser/content/migration/migration.js:234:29\ninit@chrome://browser/content/migration/migration.js:163:10\nonload@chrome://browser/content/migration/migration.xhtml:1:17\nshowMigrationWizard@resource:///modules/MigrationUtils.sys.mjs:652:17\nshowThenCloseMigrationWizardViaEntrypoint/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:19:20\nrun@chrome://mochikit/content/browser-test.js:1628:9\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1032:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\nspinResolve@resource:///modules/MigrationUtils.sys.mjs:352:17\nspinResolve@chrome://browser/content/migration/migration.js:200:33\nonImportSourcePageShow@chrome://browser/content/migration/migration.js:234:29\ninit@chrome://browser/content/migration/migration.js:163:10\nonload@chrome://browser/content/migration/migration.xhtml:1:17\nshowMigrationWizard@resource:///modules/MigrationUtils.sys.mjs:652:17\nshowThenCloseMigrationWizardViaEntrypoint/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:19:20\nrun@chrome://mochikit/content/browser-test.js:1628:9\n","nativeSavedFrame":{}},"formattedStack":"setTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1290:80\nnextTest/<@chrome://mochikit/content/browser-test.js:1032:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\nspinResolve@resource:///modules/MigrationUtils.sys.mjs:352:17\nspinResolve@chrome://browser/content/migration/migration.js:200:33\nonImportSourcePageShow@chrome://browser/content/migration/migration.js:234:29\ninit@chrome://browser/content/migration/migration.js:163:10\nonload@chrome://browser/content/migration/migration.xhtml:1:17\nshowMigrationWizard@resource:///modules/MigrationUtils.sys.mjs:652:17\nshowThenCloseMigrationWizardViaEntrypoint/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:19:20\nrun@chrome://mochikit/content/browser-test.js:1628:9\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*timeoutFn@chrome://mochikit/content/browser-test.js:1350:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1290:80\nnextTest/<@chrome://mochikit/content/browser-test.js:1032:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\nspinResolve@resource:///modules/MigrationUtils.sys.mjs:352:17\nspinResolve@chrome://browser/content/migration/migration.js:200:33\nonImportSourcePageShow@chrome://browser/content/migration/migration.js:234:29\ninit@chrome://browser/content/migration/migration.js:163:10\nonload@chrome://browser/content/migration/migration.xhtml:1:17\nshowMigrationWizard@resource:///modules/MigrationUtils.sys.mjs:652:17\nshowThenCloseMigrationWizardViaEntrypoint/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:19:20\nrun@chrome://mochikit/content/browser-test.js:1628:9\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"nextTest@chrome://mochikit/content/browser-test.js:679:29\nasync*timeoutFn@chrome://mochikit/content/browser-test.js:1350:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1290:80\nnextTest/<@chrome://mochikit/content/browser-test.js:1032:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\nspinResolve@resource:///modules/MigrationUtils.sys.mjs:352:17\nspinResolve@chrome://browser/content/migration/migration.js:200:33\nonImportSourcePageShow@chrome://browser/content/migration/migration.js:234:29\ninit@chrome://browser/content/migration/migration.js:163:10\nonload@chrome://browser/content/migration/migration.xhtml:1:17\nshowMigrationWizard@resource:///modules/MigrationUtils.sys.mjs:652:17\nshowThenCloseMigrationWizardViaEntrypoint/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:19:20\nrun@chrome://mochikit/content/browser-test.js:1628:9\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nnextTest@chrome://mochikit/content/browser-test.js:679:29\nasync*timeoutFn@chrome://mochikit/content/browser-test.js:1350:18\nsetTimeout handler*Tester_execTest@chrome://mochikit/content/browser-test.js:1290:80\nnextTest/<@chrome://mochikit/content/browser-test.js:1032:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\nspinResolve@resource:///modules/MigrationUtils.sys.mjs:352:17\nspinResolve@chrome://browser/content/migration/migration.js:200:33\nonImportSourcePageShow@chrome://browser/content/migration/migration.js:234:29\ninit@chrome://browser/content/migration/migration.js:163:10\nonload@chrome://browser/content/migration/migration.xhtml:1:17\nshowMigrationWizard@resource:///modules/MigrationUtils.sys.mjs:652:17\nshowThenCloseMigrationWizardViaEntrypoint/<@chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:19:20\nrun@chrome://mochikit/content/browser-test.js:1628:9\n","nativeSavedFrame":{}}
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - Stack trace:
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - chrome://mochikit/content/browser-test.js:nextTest:679
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - chrome://mochikit/content/browser-test.js:timeoutFn:1350
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - setTimeout handler*chrome://mochikit/content/browser-test.js:Tester_execTest:1290
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1032
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - resource:///modules/MigrationUtils.sys.mjs:spinResolve:352
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - chrome://browser/content/migration/migration.js:spinResolve:200
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - chrome://browser/content/migration/migration.js:onImportSourcePageShow:234
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - chrome://browser/content/migration/migration.js:init:163
[task 2023-04-14T12:35:58.874Z] 12:35:58     INFO - chrome://browser/content/migration/migration.xhtml:onload:1
[task 2023-04-14T12:35:58.875Z] 12:35:58     INFO - resource:///modules/MigrationUtils.sys.mjs:showMigrationWizard:652
[task 2023-04-14T12:35:58.875Z] 12:35:58     INFO - chrome://mochitests/content/browser/browser/components/migration/tests/browser/browser_entrypoint_telemetry.js:showThenCloseMigrationWizardViaEntrypoint/<:19
[task 2023-04-14T12:35:58.875Z] 12:35:58     INFO - chrome://mochikit/content/browser-test.js:run:1628
[task 2023-04-14T12:35:58.875Z] 12:35:58     INFO - GECKO(7440) | JavaScript error: resource://testing-common/BrowserTestUtils.sys.mjs, line 1310: uncaught exception: MigrationWizard:DoneMigration listener not removed before the end of test
[task 2023-04-14T12:35:58.876Z] 12:35:58     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: 1310}]
[task 2023-04-14T12:35:58.876Z] 12:35:58     INFO - GECKO(7440) | MEMORY STAT | vsize 19406374MB | vsizeMaxContiguous 65389646MB | residentFast 1302MB
[task 2023-04-14T12:35:58.877Z] 12:35:58     INFO - TEST-OK | browser/components/migration/tests/browser/browser_file_migration.js | took 90090ms
[task 2023-04-14T12:35:58.878Z] 12:35:58     INFO - checking window state
[task 2023-04-14T12:35:58.938Z] 12:35:58     INFO - TEST-START | browser/components/migration/tests/browser/browser_ie_edge_bookmarks_success_strings.js
```