Bug: Intermittent browser/components/urlbar/tests/quicksuggest/browser/browser_telemetry_sponsored.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-08-01 19:25:15+00:00
Resolved: 2024-09-25 12:03:11+00:00

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

---
```
[task 2024-08-01T19:14:15.071Z] 19:14:15     INFO - TEST-PASS | browser/components/urlbar/tests/quicksuggest/browser/browser_telemetry_sponsored.js | Extension ID of search provider should be set - "example@tests.mozilla.org" == true - 
[task 2024-08-01T19:14:15.071Z] 19:14:15     INFO - QuickSuggestTestUtils.ensureQuickSuggestInit Started, preparing remote settings server
[task 2024-08-01T19:14:15.072Z] 19:14:15     INFO - QuickSuggestTestUtils.ensureQuickSuggestInit Starting remote settings server
[task 2024-08-01T19:14:15.072Z] 19:14:15     INFO - QuickSuggestTestUtils.ensureQuickSuggestInit Remote settings server started
[task 2024-08-01T19:14:15.073Z] 19:14:15     INFO - QuickSuggestTestUtils.ensureQuickSuggestInit Calling QuickSuggest.init() and setting prefs
[task 2024-08-01T19:14:15.073Z] 19:14:15     INFO - QuickSuggestTestUtils.forceSync Started
[task 2024-08-01T19:14:15.073Z] 19:14:15     INFO - QuickSuggestTestUtils.forceSync Syncing Rust backend
[task 2024-08-01T19:14:15.074Z] 19:14:15     INFO - QuickSuggestTestUtils.forceSync Done syncing Rust backend
[task 2024-08-01T19:14:15.074Z] 19:14:15     INFO - QuickSuggestTestUtils.forceSync Done
[task 2024-08-01T19:14:15.075Z] 19:14:15     INFO - QuickSuggestTestUtils.ensureQuickSuggestInit Done
[task 2024-08-01T19:14:15.075Z] 19:14:15     INFO - Leaving setup bound 
[task 2024-08-01T19:14:15.076Z] 19:14:15     INFO - Entering test bound sponsored_rustDisabled
[task 2024-08-01T19:14:15.076Z] 19:14:15     INFO - add_tasks_with_rust: Setting rustEnabled: false
[task 2024-08-01T19:14:15.076Z] 19:14:15     INFO - add_tasks_with_rust: Done setting rustEnabled: false
[task 2024-08-01T19:14:15.077Z] 19:14:15     INFO - add_tasks_with_rust: Forcing sync
[task 2024-08-01T19:14:15.077Z] 19:14:15     INFO - QuickSuggestTestUtils.forceSync Started
[task 2024-08-01T19:14:15.077Z] 19:14:15     INFO - QuickSuggestTestUtils.forceSync Syncing JS backend
[task 2024-08-01T19:14:15.077Z] 19:14:15     INFO - Buffered messages finished
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/quicksuggest/browser/browser_telemetry_sponsored.js | Uncaught exception in test bound sponsored_rustDisabled - at resource://services-settings/RemoteSettingsClient.sys.mjs:107 - NetworkOfflineError: Network is offline
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - Stack trace:
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - APIError@resource://services-settings/RemoteSettingsClient.sys.mjs:107:1
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - NetworkOfflineError@resource://services-settings/RemoteSettingsClient.sys.mjs:118:5
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - maybeSync@resource://services-settings/RemoteSettingsClient.sys.mjs:672:15
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - sync@resource://services-settings/RemoteSettingsClient.sys.mjs:626:16
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - async*get/this._importingPromise<@resource://services-settings/RemoteSettingsClient.sys.mjs:446:24
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - get@resource://services-settings/RemoteSettingsClient.sys.mjs:448:13
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - ensureQuickSuggestInit/rs.get@resource://testing-common/QuickSuggestTestUtils.sys.mjs:233:26
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - #syncConfig@resource:///modules/urlbar/private/SuggestBackendJs.sys.mjs:207:32
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - #enableSettings@resource:///modules/urlbar/private/SuggestBackendJs.sys.mjs:194:29
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - enable@resource:///modules/urlbar/private/SuggestBackendJs.sys.mjs:99:27
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - update@resource:///modules/urlbar/private/BaseFeature.sys.mjs:233:12
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - #updateAll@resource:///modules/QuickSuggest.sys.mjs:528:15
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - init/<@resource:///modules/QuickSuggest.sys.mjs:211:62
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - emit@resource://gre/modules/EventEmitter.sys.mjs:148:20
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - _emitFeatureUpdate@resource://nimbus/lib/ExperimentStore.sys.mjs:382:10
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - _ExperimentFeature/</<@resource://nimbus/ExperimentAPI.sys.mjs:329:34
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - observe@resource://gre/modules/XPCOMUtils.sys.mjs:256:22
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - set@resource:///modules/UrlbarPrefs.sys.mjs:791:8
[task 2024-08-01T19:14:15.080Z] 19:14:15     INFO - newTaskFn@chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/head.js:721:19
[task 2024-08-01T19:14:15.081Z] 19:14:15     INFO - handleTask@chrome://mochikit/content/browser-test.js:1145:26
[task 2024-08-01T19:14:15.081Z] 19:14:15     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1217:18
[task 2024-08-01T19:14:15.081Z] 19:14:15     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1358:14
[task 2024-08-01T19:14:15.081Z] 19:14:15     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1134:14
[task 2024-08-01T19:14:15.081Z] 19:14:15     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-08-01T19:14:15.081Z] 19:14:15     INFO - Leaving test bound sponsored_rustDisabled
[task 2024-08-01T19:14:15.082Z] 19:14:15     INFO - Entering test bound sponsored_rustEnabled
[task 2024-08-01T19:14:15.082Z] 19:14:15     INFO - add_tasks_with_rust: Setting rustEnabled: true
[task 2024-08-01T19:14:15.082Z] 19:14:15     INFO - add_tasks_with_rust: Done setting rustEnabled: true
[task 2024-08-01T19:14:15.083Z] 19:14:15     INFO - add_tasks_with_rust: Forcing sync
[task 2024-08-01T19:14:15.083Z] 19:14:15     INFO - QuickSuggestTestUtils.forceSync Started
[task 2024-08-01T19:14:15.083Z] 19:14:15     INFO - QuickSuggestTestUtils.forceSync Syncing Rust backend
[task 2024-08-01T19:14:15.102Z] 19:14:15     INFO - QuickSuggestTestUtils.forceSync Done syncing Rust backend
[task 2024-08-01T19:14:15.103Z] 19:14:15     INFO - QuickSuggestTestUtils.forceSync Done
[task 2024-08-01T19:14:15.103Z] 19:14:15     INFO - add_tasks_with_rust: Done forcing sync
[task 2024-08-01T19:14:15.104Z] 19:14:15     INFO - add_tasks_with_rust: Calling original task function: sponsored
[task 2024-08-01T19:14:15.104Z] 19:14:15     INFO - Starting impression-only test
[task 2024-08-01T19:14:15.105Z] 19:14:15     INFO - Showing suggestion
[task 2024-08-01T19:14:15.106Z] 19:14:15     INFO - Waiting for the urlbar view to open
[task 2024-08-01T19:14:15.228Z] 19:14:15     INFO - Urlbar view opened
[task 2024-08-01T19:14:15.258Z] 19:14:15     INFO - TEST-PASS | browser/components/urlbar/tests/quicksuggest/browser/browser_telemetry_sponsored.js | Expected suggestion row index should be < row count - 1 < 2 - 
```