Closed Bug 1860753 Opened 9 months ago Closed 2 months ago

Intermittent browser/components/urlbar/tests/browser/browser_recentsearches.js | single tracking bug

Categories

(Firefox :: Address Bar, defect, P5)

defect

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: daleharvey)

References

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [stockwell unknown])

Attachments

(2 files)

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


[task 2023-10-24T08:25:09.081Z] 08:25:09     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_recentsearches.js
[task 2023-10-24T08:25:43.080Z] 08:25:43     INFO -  console.error: (new TypeError("connection not specified or invalid.", "resource://gre/modules/Sqlite.sys.mjs", 1522))
[task 2023-10-24T08:25:43.082Z] 08:25:43     INFO -  console.error: (new TypeError("can't access property \"executeBeforeShutdown\", db is undefined", "resource://gre/modules/PlacesUtils.sys.mjs", 1467))
[task 2023-10-24T08:25:54.097Z] 08:25:54     INFO - TEST-INFO | started process screenshot
[task 2023-10-24T08:25:54.254Z] 08:25:54     INFO - TEST-INFO | screenshot: exit 0
[task 2023-10-24T08:25:54.269Z] 08:25:54     INFO - Buffered messages logged at 08:25:09
[task 2023-10-24T08:25:54.269Z] 08:25:54     INFO - Entering setup bound 
[task 2023-10-24T08:25:54.270Z] 08:25:54     INFO - Leaving setup bound 
[task 2023-10-24T08:25:54.270Z] 08:25:54     INFO - Entering test bound 
[task 2023-10-24T08:25:54.271Z] 08:25:54     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use <!DOCTYPE html>." {file: "data:text/html," line: 0}]
[task 2023-10-24T08:25:54.271Z] 08:25:54     INFO - Perform a search that will be added to search history.
[task 2023-10-24T08:25:54.272Z] 08:25:54     INFO - Waiting for the urlbar view to open
[task 2023-10-24T08:25:54.273Z] 08:25:54     INFO - Urlbar view opened
[task 2023-10-24T08:25:54.273Z] 08:25:54     INFO - Awaiting custom close function
[task 2023-10-24T08:25:54.273Z] 08:25:54     INFO - Done awaiting custom close function
[task 2023-10-24T08:25:54.274Z] 08:25:54     INFO - Waiting for the view to close
[task 2023-10-24T08:25:54.274Z] 08:25:54     INFO - Urlbar view closed
[task 2023-10-24T08:25:54.275Z] 08:25:54     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/?search=Bob+Vylan&foo=1" line: 0}]
[task 2023-10-24T08:25:54.275Z] 08:25:54     INFO - Now check that is shown in search history.
[task 2023-10-24T08:25:54.276Z] 08:25:54     INFO - Waiting for the urlbar view to open
[task 2023-10-24T08:25:54.276Z] 08:25:54     INFO - Buffered messages finished
[task 2023-10-24T08:25:54.277Z] 08:25:54     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_recentsearches.js | Test timed out - 
[task 2023-10-24T08:25:54.277Z] 08:25:54     INFO - Closing the view directly
[task 2023-10-24T08:25:54.278Z] 08:25:54     INFO - Waiting for the view to close
[task 2023-10-24T08:25:54.278Z] 08:25:54     INFO - Urlbar view closed
[task 2023-10-24T08:25:55.337Z] 08:25:55     INFO - GECKO(5644) | MEMORY STAT | vsize 2104694MB | vsizeMaxContiguous 65390015MB | residentFast 534MB | heapAllocated 245MB
[task 2023-10-24T08:25:55.349Z] 08:25:55     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_recentsearches.js | took 46267ms
[task 2023-10-24T08:25:55.349Z] 08:25:55     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-10-24T08:25:55.350Z] 08:25:55     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_recentsearches.js | Found a tab after previous test timed out: https://example.com/?search=Bob+Vylan&foo=1 - 
[task 2023-10-24T08:25:55.368Z] 08:25:55     INFO - checking window state

Update

There have been 33 total failures within the last 7 days:

  • 5 failures on Linux 18.04 x64 WebRender asan opt
  • 10 failures on Linux 18.04 x64 WebRender debug
  • 5 failures on Linux 18.04 x64 WebRender tsan opt
  • 1 failure on OS X 10.15 WebRender debug
  • 1 failure on Windows 11 x86 22H2 WebRender opt
  • 6 failures on Windows 11 x64 22H2 asan WebRender opt
  • 1 failure on Windows 11 x64 22H2 CCov WebRender opt
  • 3 failures on Windows 11 x64 22H2 WebRender opt
  • 1 failure on Windows 11 x64 22H2 WebRender Shippable opt

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=452014619&repo=autoland&lineNumber=18894

[task 2024-03-23T15:02:44.711Z] 15:02:44     INFO - Now check that is shown in search history.
[task 2024-03-23T15:02:44.711Z] 15:02:44     INFO - Waiting for the urlbar view to open
[task 2024-03-23T15:02:44.711Z] 15:02:44     INFO - Urlbar view opened
[task 2024-03-23T15:02:44.711Z] 15:02:44     INFO - Buffered messages finished
[task 2024-03-23T15:02:44.711Z] 15:02:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_recentsearches.js | Previous search shown - 2 == 1 - {"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_recentsearches.js","name":null,"sourceId":4097,"lineNumber":123,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":557,"lineNumber":1139,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":557,"lineNumber":1211,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":557,"lineNumber":1353,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":557,"lineNumber":1128,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":585,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_recentsearches.js:123:10\nasync*handleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2024-03-23T15:02:44.711Z] 15:02:44     INFO - Stack trace:
[task 2024-03-23T15:02:44.711Z] 15:02:44     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_recentsearches.js:null:123
[task 2024-03-23T15:02:44.711Z] 15:02:44     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-03-23T15:02:44.711Z] 15:02:44     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-03-23T15:02:44.711Z] 15:02:44     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-03-23T15:02:44.711Z] 15:02:44     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-03-23T15:02:44.711Z] 15:02:44     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-03-23T15:02:44.712Z] 15:02:44     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-03-23T15:02:44.718Z] 15:02:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_recentsearches.js | "UrlbarProviderTopSites" == "RecentSearches" - {"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_recentsearches.js","name":null,"sourceId":4097,"lineNumber":129,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":557,"lineNumber":1139,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":557,"lineNumber":1211,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":557,"lineNumber":1353,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":557,"lineNumber":1128,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":585,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_recentsearches.js:129:10\nasync*handleTask@chrome://mochikit/content/browser-test.js:1139:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2024-03-23T15:02:44.718Z] 15:02:44     INFO - Stack trace:
[task 2024-03-23T15:02:44.718Z] 15:02:44     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_recentsearches.js:null:129
[task 2024-03-23T15:02:44.718Z] 15:02:44     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-03-23T15:02:44.718Z] 15:02:44     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-03-23T15:02:44.718Z] 15:02:44     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-03-23T15:02:44.718Z] 15:02:44     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-03-23T15:02:44.718Z] 15:02:44     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-03-23T15:02:44.718Z] 15:02:44     INFO - Selecting the recent search should be indicated in telemetry.
[task 2024-03-23T15:02:44.721Z] 15:02:44     INFO - Awaiting custom close function
[task 2024-03-23T15:02:44.721Z] 15:02:44     INFO - Done awaiting custom close function
[task 2024-03-23T15:02:44.721Z] 15:02:44     INFO - Waiting for the view to close
[task 2024-03-23T15:02:44.727Z] 15:02:44     INFO - Urlbar view closed

Hi Drew, can you please help us assign this to someone?
Thank you!

Flags: needinfo?(adw)
Whiteboard: [stockwell needswork:owner]

Dale, could you take a look at this please?

Flags: needinfo?(adw) → needinfo?(dharvey)

Will do

Assignee: nobody → dharvey
Flags: needinfo?(dharvey)
Pushed by dharvey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c49bbab61631
Disable topsites suggestions during recentsearches test. r=daisuke
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch

This is still failing, as it can be seen here.

Hi Dale! Could you please take a look at this?

Thank you!

Status: RESOLVED → REOPENED
Flags: needinfo?(dharvey)
Resolution: FIXED → ---
Target Milestone: 128 Branch → ---

Updated patch in review

Flags: needinfo?(dharvey)
Pushed by dharvey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1e31ba995998
Check for correct loading parameters during recent searches test. r=daisuke
Status: REOPENED → RESOLVED
Closed: 2 months ago2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Regressions: 1899758
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: