Bug: Intermittent browser/components/search/test/browser/telemetry/browser_search_telemetry_new_window.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2024-06-17 12:00:09+00:00
Resolved: 2025-02-17 07:19:29+00:00

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

---
```
TEST-START | browser/components/search/test/browser/telemetry/browser_search_telemetry_new_window.js
[task 2024-06-17T11:09:17.741Z] 11:09:17     INFO - GECKO(3708) | console.debug: SearchTelemetry: "Impression:" "example:tagged:ff" "https://example.org/browser/browser/components/search/test/browser/telemetry/searchTelemetryAd.html?s=test&abc=ff"
[task 2024-06-17T11:09:17.835Z] 11:09:17     INFO - GECKO(3708) | console.debug: SearchTelemetry: "Reported Impression:" ({impressionId:"dfb0e407-4590-4452-9407-bb97a74a3a1d", provider:"example", tagged:true, partnerCode:"ff", source:"unknown", isShoppingPage:false, isPrivate:false, isSignedIn:false, shoppingTabDisplayed:false})
[task 2024-06-17T11:09:18.927Z] 11:09:18     INFO - GECKO(3708) | console.debug: SearchTelemetry: "Counting ads in page for" "example" "tagged" "unknown" "https://example.org/browser/browser/components/search/test/browser/telemetry/searchTelemetryAd.html?s=test&abc=ff"
[task 2024-06-17T11:09:18.930Z] 11:09:18     INFO - GECKO(3708) | console.debug: SearchTelemetry: "Counting ad:" ({type:"ad_link", adsLoaded:2, adsVisible:2, adsHidden:0})
[task 2024-06-17T11:09:20.099Z] 11:09:20     INFO - GECKO(3708) | 1718622560098	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2024-06-17T11:09:20.241Z] 11:09:20     INFO - GECKO(3708) | console.debug: SearchTelemetry: "Counting click:" ({impressionId:"dfb0e407-4590-4452-9407-bb97a74a3a1d", type:"ad_link", URL:"https://example.com/ad"})
[task 2024-06-17T11:09:20.242Z] 11:09:20     INFO - GECKO(3708) | console.debug: SearchTelemetry: "Counting ad click in page for:" ({source:"unknown", originURL:"https://example.org/browser/browser/components/search/test/browser/telemetry/searchTelemetryAd.html?s=test&abc=ff", URL:"https://example.com/ad"})
[task 2024-06-17T11:09:20.659Z] 11:09:20     INFO - GECKO(3708) | console.debug: SearchService: "getVisibleEngines: getting all visible engines"
[task 2024-06-17T11:10:15.675Z] 11:10:15     INFO -  console.trace: Places - FrecencyRecalculator: "Initializing Frecency Recalculator"
[task 2024-06-17T11:10:15.675Z] 11:10:15     INFO -  resource://gre/modules/PlacesFrecencyRecalculator.sys.mjs 110 PlacesFrecencyRecalculator
[task 2024-06-17T11:10:15.675Z] 11:10:15     INFO -  D:\task_171862062134880\build\tests\mochitest\server.js 178 runServer
[task 2024-06-17T11:10:15.675Z] 11:10:15     INFO -  D:\task_171862062134880\build\tests\mochitest\server.js 71
[task 2024-06-17T11:10:15.689Z] 11:10:15     INFO -  console.trace: Places - FrecencyRecalculator: "Arm frecency recalculation"
[task 2024-06-17T11:10:15.690Z] 11:10:15     INFO -  resource://gre/modules/PlacesFrecencyRecalculator.sys.mjs 366 maybeStartFrecencyRecalculation
[task 2024-06-17T11:10:15.690Z] 11:10:15     INFO -  resource://gre/modules/PlacesFrecencyRecalculator.sys.mjs 149 PlacesFrecencyRecalculator
[task 2024-06-17T11:10:15.690Z] 11:10:15     INFO -  D:\task_171862062134880\build\tests\mochitest\server.js 178 runServer
[task 2024-06-17T11:10:15.691Z] 11:10:15     INFO -  D:\task_171862062134880\build\tests\mochitest\server.js 71
[task 2024-06-17T11:10:15.695Z] 11:10:15     INFO -  console.trace: Places - FrecencyRecalculator: "Got places-init-complete topic"
[task 2024-06-17T11:10:15.695Z] 11:10:15     INFO -  resource://gre/modules/PlacesFrecencyRecalculator.sys.mjs 422 observe
[task 2024-06-17T11:10:15.695Z] 11:10:15     INFO -  D:\task_171862062134880\build\tests\mochitest\server.js 178 runServer
[task 2024-06-17T11:10:15.695Z] 11:10:15     INFO -  D:\task_171862062134880\build\tests\mochitest\server.js 71
[task 2024-06-17T11:10:15.696Z] 11:10:15     INFO -  console.error: (new TypeError("connection not specified or invalid.", "resource://gre/modules/Sqlite.sys.mjs", 1566))
[task 2024-06-17T11:10:15.696Z] 11:10:15     INFO -  console.error: (new TypeError("can't access property \"executeBeforeShutdown\", db is undefined", "resource://gre/modules/PlacesUtils.sys.mjs", 1469))
[task 2024-06-17T11:10:41.073Z] 11:10:41     INFO - GECKO(3708) | console.warn: WindowsJumpLists: "Failed to fetch favicon for " "https://example.com/ad" ({})
[task 2024-06-17T11:10:41.076Z] 11:10:41     INFO - GECKO(3708) | console.warn: WindowsJumpLists: "Failed to fetch favicon for " "https://example.org/browser/browser/components/search/test/browser/telemetry/searchTelemetryAd.html?s=test&abc=ff" ({})
[task 2024-06-17T11:10:47.560Z] 11:10:47     INFO - TEST-INFO | started process screenshot
[task 2024-06-17T11:10:47.790Z] 11:10:47     INFO - TEST-INFO | screenshot: exit 0
[task 2024-06-17T11:10:47.790Z] 11:10:47     INFO - Buffered messages logged at 11:09:17
[task 2024-06-17T11:10:47.791Z] 11:10:47     INFO - Entering setup bound 
[task 2024-06-17T11:10:47.792Z] 11:10:47     INFO - Leaving setup bound 
[task 2024-06-17T11:10:47.792Z] 11:10:47     INFO - Entering test bound load_serp_in_new_window_with_pref_and_click_ad
[task 2024-06-17T11:10:47.793Z] 11:10:47     INFO - Set browser.link.open_newwindow to open _blank in new window.
[task 2024-06-17T11:10:47.794Z] 11:10:47     INFO - Load SERP in a new tab.
[task 2024-06-17T11:10:47.795Z] 11:10:47     INFO - Wait for page impression.
[task 2024-06-17T11:10:47.795Z] 11:10:47     INFO - Buffered messages logged at 11:09:18
[task 2024-06-17T11:10:47.795Z] 11:10:47     INFO - Open ad link in a new window.
[task 2024-06-17T11:10:47.796Z] 11:10:47     INFO - Buffered messages logged at 11:09:20
[task 2024-06-17T11:10:47.797Z] 11:10:47     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "https://example.com/ad" line: 0}]
[task 2024-06-17T11:10:47.797Z] 11:10:47     INFO - Buffered messages finished
[task 2024-06-17T11:10:47.798Z] 11:10:47     INFO - TEST-UNEXPECTED-FAIL | browser/components/search/test/browser/telemetry/browser_search_telemetry_new_window.js | Test timed out - 
[task 2024-06-17T11:10:47.798Z] 11:10:47     INFO - GECKO(3708) | Completed ShutdownLeaks collections in process 4796
[task 2024-06-17T11:10:47.799Z] 11:10:47     INFO - TEST-START | Shutdown
```