Bug: Intermittent browser/components/newtab/test/xpcshell/test_TelemetryFeed.js | single tracking bug
Status: NEW
Priority: P5
Created: 2024-01-22 21:12:14+00:00
Resolved: 2025-02-24 06:47:01+00:00

**Filed by:** nfay [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=444154746&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bP_WIXkVTuedY2jiNnG1_g/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/bP_WIXkVTuedY2jiNnG1_g/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2024-01-22T17:14:23.933Z] 17:14:23     INFO -  TEST-START | browser/components/newtab/test/xpcshell/test_TelemetryFeed.js
[task 2024-01-22T17:19:23.938Z] 17:19:23  WARNING -  TEST-UNEXPECTED-TIMEOUT | browser/components/newtab/test/xpcshell/test_TelemetryFeed.js | Test timed out
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  TEST-INFO took 300001ms
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  >>>>>>>
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  running event loop
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  browser/components/newtab/test/xpcshell/test_TelemetryFeed.js | Starting setup setup
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-WARNING **: 17:14:24.821: invalid (NULL) pointer instance
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-CRITICAL **: 17:14:24.821: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-WARNING **: 17:14:24.821: invalid (NULL) pointer instance
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-CRITICAL **: 17:14:24.821: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-WARNING **: 17:14:24.821: invalid (NULL) pointer instance
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-CRITICAL **: 17:14:24.821: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-WARNING **: 17:14:24.821: invalid (NULL) pointer instance
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-CRITICAL **: 17:14:24.821: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-WARNING **: 17:14:24.821: invalid (NULL) pointer instance
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-CRITICAL **: 17:14:24.821: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-WARNING **: 17:14:24.821: invalid (NULL) pointer instance
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-CRITICAL **: 17:14:24.821: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-WARNING **: 17:14:24.821: invalid (NULL) pointer instance
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-CRITICAL **: 17:14:24.821: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-WARNING **: 17:14:24.821: invalid (NULL) pointer instance
[task 2024-01-22T17:19:23.938Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-CRITICAL **: 17:14:24.821: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2024-01-22T17:19:23.939Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-WARNING **: 17:14:24.821: invalid (NULL) pointer instance
[task 2024-01-22T17:19:23.939Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-CRITICAL **: 17:14:24.821: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2024-01-22T17:19:23.939Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-WARNING **: 17:14:24.821: invalid (NULL) pointer instance
[task 2024-01-22T17:19:23.939Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-CRITICAL **: 17:14:24.821: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2024-01-22T17:19:23.939Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-WARNING **: 17:14:24.821: invalid (NULL) pointer instance
[task 2024-01-22T17:19:23.939Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-CRITICAL **: 17:14:24.821: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2024-01-22T17:19:23.940Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-WARNING **: 17:14:24.821: invalid (NULL) pointer instance
[task 2024-01-22T17:19:23.940Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-CRITICAL **: 17:14:24.821: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2024-01-22T17:19:23.940Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-WARNING **: 17:14:24.822: invalid (NULL) pointer instance
[task 2024-01-22T17:19:23.940Z] 17:19:23     INFO -  PID 14562 | (xpcshell:14562): GLib-GObject-CRITICAL **: 17:14:24.822: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2024-01-22T17:19:23.940Z] 17:19:23     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2024-01-22T17:19:23.947Z] 17:19:23     INFO -  (xpcshell/head.js) | test setup finished (2)
[task 2024-01-22T17:19:23.947Z] 17:19:23     INFO -  browser/components/newtab/test/xpcshell/test_TelemetryFeed.js | Starting test_construction
[task 2024-01-22T17:19:23.947Z] 17:19:23     INFO -  (xpcshell/head.js) | test test_construction pending (2)
[task 2024-01-22T17:19:23.951Z] 17:19:23     INFO -  TEST-PASS | browser/components/newtab/test/xpcshell/test_TelemetryFeed.js | test_construction - [test_construction : 128] Should have been able to create an instance of TelemetryFeed. - {"sessions":{},"_prefs":{"_cachedPrefBranch":{"getPrefType":"function getPrefType() {\\n    [native code]\\n}","setStringPref":"function setStringPref() {\\n    [native code]\\n}","QueryInterface":"function QueryInterface() {\\n    [native code]\\n}","root":"browser.newtabpage.activity-stream.","getBoolPref":"function getBoolPref() {\\n    [native code]\\n}","setBoolPref":"function setBoolPref() {\\n    [native code]\\n}","getFloatPref":"function getFloatPref() {\\n    [native code]\\n}","getCharPref":"function getCharPref() {\\n    [native code]\\n}","setCharPref":"function setCharPref() {\\n    [native code]\\n}","getStringPref":"function getStringPref() {\\n    [native code]\\n}","getIntPref":"function getIntPref() {\\n    [native code]\\n}","setIntPref":"function setIntPref() {\\n    [native code]\\n}","getComplexValue":"function getComplexValue() {\\n    [native code]\\n}","setComplexValue":"function setComplexValue() {\\n    [native code]\\n}","clearUserPref":"function clearUserPref() {\\n    [native code]\\n}","lockPref":"function lockPref() {\\n    [native code]\\n}","prefHasUserValue":"function prefHasUserValue() {\\n    [native code]\\n}","prefHasDefaultValue":"function prefHasDefaultValue() {\\n    [native code]\\n}","prefIsLocked":"function prefIsLocked() {\\n    [native code]\\n}","prefIsSanitized":"function prefIsSanitized() {\\n    [native code]\\n}","unlockPref":"function unlockPref() {\\n    [native code]\\n}","deleteBranch":"function deleteBranch() {\\n    [native code]\\n}","getChildList":"function getChildList() {\\n    [native code]\\n}","addObserver":"function addObserver() {\\n    [native code]\\n}","removeObserver":"function removeObserver() {\\n    [native code]\\n}","PREF_INVALID":0,"PREF_STRING":32,"PREF_INT":64,"PREF_BOOL":128},"_branchStr":"browser.newtabpage.activity-stream.","_branchObservers":{}},"_impressionId":"{403bb3d2-cd0a-427e-9eb0-d2fc71164950}","_aboutHomeSeen":false,"_classifySite":"async function classifySite(url, RS = RemoteSettings) {\\n  let category = \\"other\\";\\n  let parsedURL;\\n\\n  // Try to parse the url.\\n  for (let _url of [url, `https://${url}`]) {\\n    try {\\n      parsedURL = new URL(_url);\\n      break;\\n    } catch (e) {}\\n  }\\n\\n  if (parsedURL) {\\n    // If we parsed successfully, find a match.\\n    const hostname = parsedURL.hostname.replace(/^www\\\\./i, \\"\\");\\n    const params = parsedURL.searchParams;\\n    // NOTE: there will be an initial/default local copy of the data in m-c.\\n    // Therefore, this should never return an empty list [].\\n    const siteTypes = await RS(\\"sites-classification\\").get();\\n    const sortedSiteTypes = siteTypes.sort(\\n      (x, y) => (y.weight || 0) - (x.weight || 0)\\n    );\\n    for (let type of sortedSiteTypes) {\\n      for (let criteria of type.criteria) {\\n        if (criteria.url && criteria.url !== url) {\\n          continue;\\n        }\\n        if (criteria.hostname && criteria.hostname !== hostname) {\\n          continue;\\n        }\\n        if (criteria.sld && criteria.sld !== hostname.split(\\".\\")[0]) {\\n          continue;\\n        }\\n        if (criteria.params && !_hasParams(criteria.params, params)) {\\n          continue;\\n        }\\n        return type.type;\\n      }\\n    }\\n  }\\n  return category;\\n}","_browserOpenNewtabStart":null} == true
```