Closed Bug 1995881 Opened 1 year ago Closed 10 days ago

Intermittent TV toolkit/components/passwordmgr/test/browser/browser_relay_signup_flow.js | Relay item SHOULD NOT be present in the autocomplete popup when the browser IS NOT signed in. - false == true -

Categories

(Toolkit :: Password Manager, defect, P5)

defect

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox-esr153 --- wontfix
firefox144 --- unaffected
firefox145 --- unaffected
firefox146 --- wontfix
firefox147 --- wontfix
firefox160 --- wontfix
firefox161 --- wontfix
firefox162 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression, test-verify-fail)

Attachments

(2 external files)

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


[task 2025-10-22T21:07:30.515+00:00] 21:07:30     INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_relay_signup_flow.js | autocomplete popup shown - {"isTrusted":true} == true - 
[task 2025-10-22T21:07:30.515+00:00] 21:07:30     INFO - Buffered messages finished
[task 2025-10-22T21:07:30.515+00:00] 21:07:30     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/passwordmgr/test/browser/browser_relay_signup_flow.js | Relay item SHOULD NOT be present in the autocomplete popup when the browser IS NOT signed in. - false == true - 
[task 2025-10-22T21:07:30.515+00:00] 21:07:30     INFO - Stack trace:
[task 2025-10-22T21:07:30.515+00:00] 21:07:30     INFO - chrome://mochitests/content/browser/toolkit/components/passwordmgr/test/browser/browser_relay_signup_flow.js:test_default_does_not_display_Relay_to_unauthenticated_browser/<:20
[task 2025-10-22T21:07:30.515+00:00] 21:07:30     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:121
[task 2025-10-22T21:07:30.515+00:00] 21:07:30     INFO - chrome://mochitests/content/browser/toolkit/components/passwordmgr/test/browser/browser_relay_signup_flow.js:test_default_does_not_display_Relay_to_unauthenticated_browser:10
[task 2025-10-22T21:07:30.515+00:00] 21:07:30     INFO - chrome://mochikit/content/browser-test.js:handleTask:1253
[task 2025-10-22T21:07:30.515+00:00] 21:07:30     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1342
[task 2025-10-22T21:07:30.516+00:00] 21:07:30     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1489
[task 2025-10-22T21:07:30.516+00:00] 21:07:30     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1229
[task 2025-10-22T21:07:30.516+00:00] 21:07:30     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-10-22T21:07:30.516+00:00] 21:07:30     INFO - Leaving test bound test_default_does_not_display_Relay_to_unauthenticated_browser
[task 2025-10-22T21:07:30.516+00:00] 21:07:30     INFO - Entering test bound test_default_displays_Relay_to_signed_in_browser
[task 2025-10-22T21:07:30.516+00:00] 21:07:30     INFO - GECKO(39736) | must wait for focus in content
[task 2025-10-22T21:07:30.516+00:00] 21:07:30     INFO - content window focused
[task 2025-10-22T21:07:30.517+00:00] 21:07:30     INFO - GECKO(39736) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpza_4gvwa.mozrunner/runtests_leaks_tab_pid40348.log
[task 2025-10-22T21:07:30.518+00:00] 21:07:30     INFO - GECKO(39736) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpza_4gvwa.mozrunner/runtests_leaks_tab_pid40355.log
[task 2025-10-22T21:07:30.519+00:00] 21:07:30     INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_relay_signup_flow.js | autocomplete popup shown - {"isTrusted":true} == true - 

:groovecoder, since you are the author of the regressor, bug 1993540, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(lcrouch)

Set release status flags based on info from the regressing bug 1993540

The condition now properly checks:

  • Authenticated users (hasFxA) see Relay on allowlist sites
  • Unauthenticated users only see Relay when showToAllBrowsersPref is
    enabled AND site is on allowlist
  • Users with Relay enabled see Relay everywhere except denylist sites
Assignee: nobody → lcrouch
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1993540

Otherwise the stale stubbed allow-list makes the signed-out subtest of browser_relay_signup_flow.js see Relay offered on its second run (--repeat, test-verify).

Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/697951254bb9 https://hg.mozilla.org/integration/autoland/rev/82176e156380 Reset FirefoxRelay's cached Remote Settings lists when the relay browser tests finish, r=credential-management-reviewers,mtigley.
Status: ASSIGNED → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: