Bug: Perma early beta browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | single tracking bug when Gecko 105 merges to Beta on 2022-08-22
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2022-08-20 15:14:29+00:00
Resolved: 2022-08-29 06:10:18+00:00

[Central-as-beta simulation](https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&selectedTaskRun=L3l-oJUPSG-lTOLaBilZAg.0&resultStatus=testfailed%2Cbusted%2Cexception&fromchange=118b9eece81ec02330f49a485a7b9ae492d6c709&tochange=118b9eece81ec02330f49a485a7b9ae492d6c709&searchStr=x)

[How to run these simulations](https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations#TRUNK_AS_EARLY_BETA)

[Failure log:](https://treeherder.mozilla.org/logviewer?job_id=387958866&repo=try&lineNumber=4102)

```
[task 2022-08-20T14:04:55.739Z] 14:04:55     INFO -  TEST-START | browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js
[task 2022-08-20T14:04:56.190Z] 14:04:56  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | xpcshell return code: 0
[task 2022-08-20T14:04:56.190Z] 14:04:56     INFO -  TEST-INFO took 450ms
[task 2022-08-20T14:04:56.190Z] 14:04:56     INFO -  >>>>>>>
[task 2022-08-20T14:04:56.191Z] 14:04:56     INFO -  PID 25592 | [Parent 25592, Main Thread] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:2914
[task 2022-08-20T14:04:56.192Z] 14:04:56     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2022-08-20T14:04:56.192Z] 14:04:56     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2022-08-20T14:04:56.192Z] 14:04:56     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2022-08-20T14:04:56.192Z] 14:04:56     INFO -  running event loop
[task 2022-08-20T14:04:56.200Z] 14:04:56     INFO -  browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | Starting test_OnboardingMessageProvider_getUpgradeMessage_no_pin
[task 2022-08-20T14:04:56.201Z] 14:04:56     INFO -  (xpcshell/head.js) | test test_OnboardingMessageProvider_getUpgradeMessage_no_pin pending (2)
[task 2022-08-20T14:04:56.201Z] 14:04:56     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2022-08-20T14:04:56.201Z] 14:04:56     INFO -  TEST-PASS | browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | test_OnboardingMessageProvider_getUpgradeMessage_no_pin - [test_OnboardingMessageProvider_getUpgradeMessage_no_pin : 15] Screen has pin screen id - "UPGRADE_PIN_FIREFOX" == "UPGRADE_PIN_FIREFOX"
[task 2022-08-20T14:04:56.201Z] 14:04:56     INFO -  TEST-PASS | browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | test_OnboardingMessageProvider_getUpgradeMessage_no_pin - [test_OnboardingMessageProvider_getUpgradeMessage_no_pin : 20] Primary button has pin action type - "PIN_FIREFOX_TO_TASKBAR" == "PIN_FIREFOX_TO_TASKBAR"
[task 2022-08-20T14:04:56.201Z] 14:04:56     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2022-08-20T14:04:56.201Z] 14:04:56     INFO -  (xpcshell/head.js) | test test_OnboardingMessageProvider_getUpgradeMessage_no_pin finished (2)
[task 2022-08-20T14:04:56.201Z] 14:04:56     INFO -  browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | Starting test_OnboardingMessageProvider_getUpgradeMessage_pin_no_default
[task 2022-08-20T14:04:56.201Z] 14:04:56     INFO -  (xpcshell/head.js) | test test_OnboardingMessageProvider_getUpgradeMessage_pin_no_default pending (2)
[task 2022-08-20T14:04:56.201Z] 14:04:56     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2022-08-20T14:04:56.201Z] 14:04:56     INFO -  TEST-PASS | browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | test_OnboardingMessageProvider_getUpgradeMessage_pin_no_default - [test_OnboardingMessageProvider_getUpgradeMessage_pin_no_default : 38] Screen has make default screen id - "UPGRADE_ONLY_DEFAULT" == "UPGRADE_ONLY_DEFAULT"
[task 2022-08-20T14:04:56.201Z] 14:04:56     INFO -  TEST-PASS | browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | test_OnboardingMessageProvider_getUpgradeMessage_pin_no_default - [test_OnboardingMessageProvider_getUpgradeMessage_pin_no_default : 43] Primary button has make default action - "SET_DEFAULT_BROWSER" == "SET_DEFAULT_BROWSER"
[task 2022-08-20T14:04:56.202Z] 14:04:56     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
[task 2022-08-20T14:04:56.202Z] 14:04:56     INFO -  (xpcshell/head.js) | test test_OnboardingMessageProvider_getUpgradeMessage_pin_no_default finished (2)
[task 2022-08-20T14:04:56.202Z] 14:04:56     INFO -  browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | Starting test_OnboardingMessageProvider_getUpgradeMessage_pin_and_default
[task 2022-08-20T14:04:56.202Z] 14:04:56     INFO -  (xpcshell/head.js) | test test_OnboardingMessageProvider_getUpgradeMessage_pin_and_default pending (2)
[task 2022-08-20T14:04:56.202Z] 14:04:56     INFO -  (xpcshell/head.js) | test run_next_test 2 finished (2)
[task 2022-08-20T14:04:56.202Z] 14:04:56     INFO -  TEST-PASS | browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | test_OnboardingMessageProvider_getUpgradeMessage_pin_and_default - [test_OnboardingMessageProvider_getUpgradeMessage_pin_and_default : 61] Screen has get started screen id - "UPGRADE_GET_STARTED" == "UPGRADE_GET_STARTED"
[task 2022-08-20T14:04:56.202Z] 14:04:56     INFO -  TEST-PASS | browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | test_OnboardingMessageProvider_getUpgradeMessage_pin_and_default - [test_OnboardingMessageProvider_getUpgradeMessage_pin_and_default : 66] Primary button has no action type - true == true
[task 2022-08-20T14:04:56.202Z] 14:04:56     INFO -  (xpcshell/head.js) | test run_next_test 3 pending (2)
[task 2022-08-20T14:04:56.202Z] 14:04:56     INFO -  (xpcshell/head.js) | test test_OnboardingMessageProvider_getUpgradeMessage_pin_and_default finished (2)
[task 2022-08-20T14:04:56.202Z] 14:04:56     INFO -  browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | Starting test_OnboardingMessageProvider_getNoImport_default
[task 2022-08-20T14:04:56.202Z] 14:04:56     INFO -  (xpcshell/head.js) | test test_OnboardingMessageProvider_getNoImport_default pending (2)
[task 2022-08-20T14:04:56.202Z] 14:04:56     INFO -  (xpcshell/head.js) | test run_next_test 3 finished (2)
[task 2022-08-20T14:04:56.202Z] 14:04:56     INFO -  TEST-PASS | browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | test_OnboardingMessageProvider_getNoImport_default - [test_OnboardingMessageProvider_getNoImport_default : 82] Screen has no import screen id - "UPGRADE_MOBILE_DOWNLOAD" != "UPGRADE_IMPORT_SETTINGS"
[task 2022-08-20T14:04:56.202Z] 14:04:56     INFO -  (xpcshell/head.js) | test run_next_test 4 pending (2)
[task 2022-08-20T14:04:56.203Z] 14:04:56     INFO -  (xpcshell/head.js) | test test_OnboardingMessageProvider_getNoImport_default finished (2)
[task 2022-08-20T14:04:56.203Z] 14:04:56     INFO -  browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | Starting test_OnboardingMessageProvider_getImport_nodefault
[task 2022-08-20T14:04:56.203Z] 14:04:56     INFO -  (xpcshell/head.js) | test test_OnboardingMessageProvider_getImport_nodefault pending (2)
[task 2022-08-20T14:04:56.203Z] 14:04:56     INFO -  (xpcshell/head.js) | test run_next_test 4 finished (2)
[task 2022-08-20T14:04:56.203Z] 14:04:56     INFO -  TEST-PASS | browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | test_OnboardingMessageProvider_getImport_nodefault - [test_OnboardingMessageProvider_getImport_nodefault : 102] Screen has import screen id - "UPGRADE_IMPORT_SETTINGS" == "UPGRADE_IMPORT_SETTINGS"
[task 2022-08-20T14:04:56.203Z] 14:04:56     INFO -  (xpcshell/head.js) | test run_next_test 5 pending (2)
[task 2022-08-20T14:04:56.203Z] 14:04:56     INFO -  (xpcshell/head.js) | test test_OnboardingMessageProvider_getImport_nodefault finished (2)
[task 2022-08-20T14:04:56.203Z] 14:04:56     INFO -  browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | Starting test_OnboardingMessageProvider_getPinPrivateWindow_noPrivatePin
[task 2022-08-20T14:04:56.203Z] 14:04:56     INFO -  (xpcshell/head.js) | test test_OnboardingMessageProvider_getPinPrivateWindow_noPrivatePin pending (2)
[task 2022-08-20T14:04:56.203Z] 14:04:56     INFO -  (xpcshell/head.js) | test run_next_test 5 finished (2)
[task 2022-08-20T14:04:56.203Z] 14:04:56  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js | test_OnboardingMessageProvider_getPinPrivateWindow_noPrivatePin - [test_OnboardingMessageProvider_getPinPrivateWindow_noPrivatePin : 128] Screen has pin private window screen id - "UPGRADE_GRATITUDE" == "UPGRADE_PIN_PRIVATE_WINDOW"
[task 2022-08-20T14:04:56.203Z] 14:04:56     INFO -  /builds/worker/workspace/build/tests/xpcshell/tests/browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js:test_OnboardingMessageProvider_getPinPrivateWindow_noPrivatePin:128
[task 2022-08-20T14:04:56.203Z] 14:04:56     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:_do_main:238
[task 2022-08-20T14:04:56.203Z] 14:04:56     INFO -  /builds/worker/workspace/build/tests/xpcshell/head.js:_execute_test:595
[task 2022-08-20T14:04:56.204Z] 14:04:56     INFO -  -e:null:1
[task 2022-08-20T14:04:56.204Z] 14:04:56     INFO -  exiting test
[task 2022-08-20T14:04:56.204Z] 14:04:56     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2022-08-20T14:04:56.204Z] 14:04:56     INFO -  _abort_failed_test@/builds/worker/workspace/build/tests/xpcshell/head.js:866:20
[task 2022-08-20T14:04:56.204Z] 14:04:56     INFO -  do_report_result@/builds/worker/workspace/build/tests/xpcshell/head.js:967:5
[task 2022-08-20T14:04:56.204Z] 14:04:56     INFO -  Assert<@/builds/worker/workspace/build/tests/xpcshell/head.js:73:21
[task 2022-08-20T14:04:56.204Z] 14:04:56     INFO -  proto.report@resource://testing-common/Assert.jsm:228:10
[task 2022-08-20T14:04:56.204Z] 14:04:56     INFO -  equal@resource://testing-common/Assert.jsm:270:8
[task 2022-08-20T14:04:56.204Z] 14:04:56     INFO -  test_OnboardingMessageProvider_getPinPrivateWindow_noPrivatePin@/builds/worker/workspace/build/tests/xpcshell/tests/browser/components/newtab/test/xpcshell/test_OnboardingMessageProvider.js:128:12
[task 2022-08-20T14:04:56.204Z] 14:04:56     INFO -  _do_main@/builds/worker/workspace/build/tests/xpcshell/head.js:238:6
[task 2022-08-20T14:04:56.205Z] 14:04:56     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:595:5
[task 2022-08-20T14:04:56.205Z] 14:04:56     INFO -  @-e:1:1
[task 2022-08-20T14:04:56.206Z] 14:04:56     INFO -  exiting test
[task 2022-08-20T14:04:56.207Z] 14:04:56     INFO -  PID 25592 | [Parent 25592, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2022-08-20T14:04:56.207Z] 14:04:56     INFO -  PID 25592 | [Parent 25592, Main Thread] WARNING: OOPDeinit() without successful OOPInit(): file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:3371
[task 2022-08-20T14:04:56.208Z] 14:04:56     INFO -  PID 25592 | [Parent 25592, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4604
[task 2022-08-20T14:04:56.209Z] 14:04:56     INFO -  PID 25592 | [Parent 25592, Main Thread] WARNING: XPCOM object PerThreadData destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:206
[task 2022-08-20T14:04:56.212Z] 14:04:56     INFO -  PID 25592 | [Parent 25592, Main Thread] WARNING: XPCOM object SourceList destroyed from static ctor/dtor: file /builds/worker/checkouts/gecko/xpcom/base/nsTraceRefcnt.cpp:206
[task 2022-08-20T14:04:56.212Z] 14:04:56     INFO -  <<<<<<<
[task 2022-08-20T14:04:56.212Z] 14:04:56     INFO -  TEST-START | toolkit/crashreporter/test/unit_ipc/test_content_memory_list.js
```
Hello Punam, could you take a look at this failure? It seems to be regressed by Bug 1783751.