Bug: Intermittent [TV] browser/components/newtab/test/browser/browser_aboutwelcome_multistage_languageSwitcher.js | Uncaught exception in test bound test_aboutwelcome_languageSwitcher_noMatch - Should render .screen.AW_IMPORT_SETTINGS in Language selection ski
Status: NEW
Priority: P5
Created: 2023-04-14 20:28:35+00:00
Resolved: 2024-01-23 01:32:51+00:00

**Filed by:** nbeleuzu [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=412485967&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/J_H15BPUTOyH8nnLdn_oXQ/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/J_H15BPUTOyH8nnLdn_oXQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-04-14T17:41:33.080Z] 17:41:33     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_aboutwelcome_multistage_languageSwitcher.js | undefined assertion name - 
[task 2023-04-14T17:41:33.081Z] 17:41:33     INFO - LangPack install finished.
[task 2023-04-14T17:41:33.081Z] 17:41:33     INFO - Leaving test bound test_aboutwelcome_fallback_locale
[task 2023-04-14T17:41:33.081Z] 17:41:33     INFO - Entering test bound test_aboutwelcome_languageSwitcher_noMatch
[task 2023-04-14T17:41:33.081Z] 17:41:33     INFO - Mocking LangPackMatcher.jsm APIs
[task 2023-04-14T17:41:33.082Z] 17:41:33     INFO - Opening about:welcome
[task 2023-04-14T17:41:33.082Z] 17:41:33     INFO - Clicking the primary button to start installing the langpack.
[task 2023-04-14T17:41:33.082Z] 17:41:33     INFO - Buffered messages logged at 17:41:24
[task 2023-04-14T17:41:33.083Z] 17:41:33     INFO - Requesting which langpacks are available for download
[task 2023-04-14T17:41:33.083Z] 17:41:33     INFO - Resolving which langpacks are available for download: ["es-MX","es-ES","fr-FR"]
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - Console message: [JavaScript Error: "Error: Expected a LangPack to install." {file: "resource://gre/modules/LangPackMatcher.sys.mjs" line: 108}]
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - ensureLangPackInstalled@resource://gre/modules/LangPackMatcher.sys.mjs:108:11
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - onContentMessage@resource:///actors/AboutWelcomeParent.jsm:239:37
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - invoke@resource://testing-common/sinon-7.2.7.js:2609:51
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - proxy@resource://testing-common/sinon-7.2.7.js:2407:30
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - receiveMessage@resource:///actors/AboutWelcomeParent.jsm:262:19
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - JSActor query*AWEnsureLangPackInstalled@resource:///actors/AboutWelcomeChild.jsm:253:12
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - ensureLangPackInstalled@resource://activity-stream/aboutwelcome/aboutwelcome.bundle.js:1503:12
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - Bh@resource://activity-stream/vendor/react-dom.js:126:456
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - Dj@resource://activity-stream/vendor/react-dom.js:162:476
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - unstable_runWithPriority@resource://activity-stream/vendor/react.js:25:260
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - Da@resource://activity-stream/vendor/react-dom.js:60:280
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - xb@resource://activity-stream/vendor/react-dom.js:162:231
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - Bj/<@resource://activity-stream/vendor/react-dom.js:162:138
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - U@resource://activity-stream/vendor/react.js:16:399
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - B.port1.onmessage@resource://activity-stream/vendor/react.js:24:130
[task 2023-04-14T17:41:33.085Z] 17:41:33     INFO - EventHandlerNonNull*@resource://activity-stream/vendor/react.js:24:65
[task 2023-04-14T17:41:33.086Z] 17:41:33     INFO - @resource://activity-stream/vendor/react.js:9:167
[task 2023-04-14T17:41:33.086Z] 17:41:33     INFO - @resource://activity-stream/vendor/react.js:9:183
[task 2023-04-14T17:41:33.086Z] 17:41:33     INFO - 
[task 2023-04-14T17:41:33.086Z] 17:41:33     INFO - Buffered messages finished
[task 2023-04-14T17:41:33.087Z] 17:41:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_aboutwelcome_multistage_languageSwitcher.js | Uncaught exception in test bound test_aboutwelcome_languageSwitcher_noMatch - Should render .screen.AW_IMPORT_SETTINGS in Language selection skipped - timed out after 50 tries.
[task 2023-04-14T17:41:33.087Z] 17:41:33     INFO - Leaving test bound test_aboutwelcome_languageSwitcher_noMatch
[task 2023-04-14T17:41:33.087Z] 17:41:33     INFO - Entering test bound test_aboutwelcome_languageSwitcher_bidiNotSupported
[task 2023-04-14T17:41:33.088Z] 17:41:33     INFO - Mocking LangPackMatcher.jsm APIs
[task 2023-04-14T17:41:33.088Z] 17:41:33     INFO - Opening about:welcome
[task 2023-04-14T17:41:33.462Z] 17:41:33     INFO - GECKO(1650) | console.debug: AboutWelcomeChild:
[task 2023-04-14T17:41:33.462Z] 17:41:33     INFO - GECKO(1650) |   Received page event DOMDocElementInserted
[task 2023-04-14T17:41:33.782Z] 17:41:33     INFO - GECKO(1650) | console.debug: AboutWelcomeParent:
[task 2023-04-14T17:41:33.783Z] 17:41:33     INFO - GECKO(1650) |   Received content event: AWPage:GET_ATTRIBUTION_DATA
[task 2023-04-14T17:41:33.783Z] 17:41:33     INFO - GECKO(1650) | console.debug: AboutWelcomeChild:
[task 2023-04-14T17:41:33.784Z] 17:41:33     INFO - GECKO(1650) |   Loading about:welcome with no experiment
[task 2023-04-14T17:41:33.856Z] 17:41:33     INFO - Clicking the primary button to start installing the langpack.
[task 2023-04-14T17:41:33.938Z] 17:41:33     INFO - GECKO(1650) | console.debug: AboutWelcomeParent:
[task 2023-04-14T17:41:33.939Z] 17:41:33     INFO - GECKO(1650) |   Received content event: AWPage:NEED_DEFAULT
[task 2023-04-14T17:41:33.964Z] 17:41:33     INFO - GECKO(1650) | console.debug: AboutWelcomeParent:
[task 2023-04-14T17:41:33.965Z] 17:41:33     INFO - GECKO(1650) |   Received content event: AWPage:DOES_APP_NEED_PIN
[task 2023-04-14T17:41:33.966Z] 17:41:33     INFO - GECKO(1650) | console.debug: AboutWelcomeParent:
[task 2023-04-14T17:41:33.966Z] 17:41:33     INFO - GECKO(1650) |   Received content event: AWPage:GET_APP_AND_SYSTEM_LOCALE_INFO
[task 2023-04-14T17:41:34.013Z] 17:41:34     INFO - GECKO(1650) | console.debug: AboutWelcomeParent:
[task 2023-04-14T17:41:34.014Z] 17:41:34     INFO - GECKO(1650) |   Received content event: AWPage:FXA_METRICS_FLOW_URI
[task 2023-04-14T17:41:34.025Z] 17:41:34     INFO - GECKO(1650) | console.debug: AboutWelcomeParent:
[task 2023-04-14T17:41:34.026Z] 17:41:34     INFO - GECKO(1650) |   Received content event: AWPage:TELEMETRY_EVENT
[task 2023-04-14T17:41:34.033Z] 17:41:34     INFO - GECKO(1650) | console.debug: AboutWelcomeParent:
[task 2023-04-14T17:41:34.033Z] 17:41:34     INFO - GECKO(1650) |   Received content event: AWPage:SET_WELCOME_MESSAGE_SEEN
[task 2023-04-14T17:41:34.035Z] 17:41:34     INFO - GECKO(1650) | console.debug: AboutWelcomeParent:
[task 2023-04-14T17:41:34.035Z] 17:41:34     INFO - GECKO(1650) |   Received content event: AWPage:EVALUATE_SCREEN_TARGETING
[task 2023-04-14T17:41:34.039Z] 17:41:34     INFO - GECKO(1650) | console.debug: AboutWelcomeParent:
[task 2023-04-14T17:41:34.039Z] 17:41:34     INFO - GECKO(1650) |   Received content event: AWPage:TELEMETRY_EVENT
[task 2023-04-14T17:41:34.040Z] 17:41:34     INFO - GECKO(1650) | console.debug: AboutWelcomeParent:
[task 2023-04-14T17:41:34.040Z] 17:41:34     INFO - GECKO(1650) |   Received content event: AWPage:GET_SELECTED_THEME
[task 2023-04-14T17:41:34.042Z] 17:41:34     INFO - GECKO(1650) | console.debug: AboutWelcomeParent:
[task 2023-04-14T17:41:34.043Z] 17:41:34     INFO - GECKO(1650) |   Received content event: AWPage:NEGOTIATE_LANGPACK
[task 2023-04-14T17:41:34.043Z] 17:41:34     INFO - Requesting which langpacks are available for download
[task 2023-04-14T17:41:34.133Z] 17:41:34     INFO - GECKO(1650) | console.debug: AboutWelcomeParent:
[task 2023-04-14T17:41:34.133Z] 17:41:34     INFO - GECKO(1650) |   Received content event: AWPage:TELEMETRY_EVENT
[task 2023-04-14T17:41:34.159Z] 17:41:34     INFO - GECKO(1650) | console.debug: AboutWelcomeParent:
[task 2023-04-14T17:41:34.159Z] 17:41:34     INFO - GECKO(1650) |   Received content event: AWPage:TELEMETRY_EVENT
```