Intermittent toolkit/components/passwordmgr/test/browser/browser_private_window.js | notification should not be dismissed -

RESOLVED FIXED

Status

()

defect
P2
normal
RESOLVED FIXED
5 months ago
Last month

People

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

Tracking

({intermittent-failure})

unspecified
Points:
---

Firefox Tracking Flags

(firefox67 fixed)

Details

(Whiteboard: [stockwell disabled])

Attachments

(2 attachments)

Reporter

Description

5 months ago
treeherder

#[markdown(off)]
Filed by: shindli [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=227342319&repo=autoland

https://queue.taskcluster.net/v1/task/c3W5g69uQruQtMky5bkrNA/runs/0/artifacts/public/logs/live_backing.log

[task 2019-02-09T03:57:14.377Z] 03:57:14 INFO - Buffered messages logged at 03:57:10
[task 2019-02-09T03:57:14.378Z] 03:57:14 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | Checking submitted username -
[task 2019-02-09T03:57:14.379Z] 03:57:14 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | Checking submitted password -
[task 2019-02-09T03:57:14.380Z] 03:57:14 INFO - Leaving test bound test_normal_autofilled_10
[task 2019-02-09T03:57:14.381Z] 03:57:14 INFO - Entering test bound test_normal_http_basic_auth
[task 2019-02-09T03:57:14.382Z] 03:57:14 INFO - test normal/basic-auth: verify that we get a doorhanger after basic-auth login
[task 2019-02-09T03:57:14.387Z] 03:57:14 INFO - Buffered messages logged at 03:57:12
[task 2019-02-09T03:57:14.388Z] 03:57:14 INFO - Got prompt: [object XULDocument]
[task 2019-02-09T03:57:14.389Z] 03:57:14 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | Got expected HTTP auth dialog Dialog.ui -
[task 2019-02-09T03:57:14.390Z] 03:57:14 INFO - Buffered messages logged at 03:57:13
[task 2019-02-09T03:57:14.391Z] 03:57:14 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | Auth-required page loaded -
[task 2019-02-09T03:57:14.400Z] 03:57:14 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | Checking authorization passed -
[task 2019-02-09T03:57:14.403Z] 03:57:14 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | Checking authorized username -
[task 2019-02-09T03:57:14.404Z] 03:57:14 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | Checking authorized password -
[task 2019-02-09T03:57:14.405Z] 03:57:14 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | Looking for password-save popup notification -
[task 2019-02-09T03:57:14.408Z] 03:57:14 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | Notification type matches. -
[task 2019-02-09T03:57:14.410Z] 03:57:14 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | Main action label matches save doorhanger. -
[task 2019-02-09T03:57:14.411Z] 03:57:14 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | got notification popup -
[task 2019-02-09T03:57:14.413Z] 03:57:14 INFO - Buffered messages finished
[task 2019-02-09T03:57:14.414Z] 03:57:14 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/passwordmgr/test/browser/browser_private_window.js | notification should not be dismissed -
[task 2019-02-09T03:57:14.416Z] 03:57:14 INFO - Stack trace:
[task 2019-02-09T03:57:14.420Z] 03:57:14 INFO - chrome://mochikit/content/browser-test.js:test_ok:1304
[task 2019-02-09T03:57:14.421Z] 03:57:14 INFO - chrome://mochitests/content/browser/toolkit/components/passwordmgr/test/browser/browser_private_window.js:test_normal_http_basic_auth/<:498
[task 2019-02-09T03:57:14.422Z] 03:57:14 INFO - resource://testing-common/BrowserTestUtils.jsm:withNewTab:111
[task 2019-02-09T03:57:14.424Z] 03:57:14 INFO - chrome://mochitests/content/browser/toolkit/components/passwordmgr/test/browser/browser_private_window.js:test_normal_http_basic_auth:473
[task 2019-02-09T03:57:14.427Z] 03:57:14 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1106
[task 2019-02-09T03:57:14.429Z] 03:57:14 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
[task 2019-02-09T03:57:14.429Z] 03:57:14 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
[task 2019-02-09T03:57:14.430Z] 03:57:14 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
[task 2019-02-09T03:57:14.432Z] 03:57:14 INFO - GECKO(6367) | --DOCSHELL 0xe7215400 == 5 [pid = 6603] [id = {739453be-d2f7-4885-8fc9-58119a97de10}]
[task 2019-02-09T03:57:14.433Z] 03:57:14 INFO - GECKO(6367) | --DOCSHELL 0xe7217800 == 4 [pid = 6603] [id = {143dfca2-328e-48d5-ae19-9e34bd783a96}]
[task 2019-02-09T03:57:14.434Z] 03:57:14 INFO - GECKO(6367) | --DOMWINDOW == 20 (0xf706ec60) [pid = 6603] [serial = 20] [outer = (nil)] [url = https://example.com//browser/toolkit/components/passwordmgr/test/browser/formsubmit.sjs?user=notifyu1&pass=notifyp1]
[task 2019-02-09T03:57:14.437Z] 03:57:14 INFO - GECKO(6367) | --DOMWINDOW == 19 (0xf706ff60) [pid = 6603] [serial = 24] [outer = (nil)] [url = https://example.com//browser/toolkit/components/passwordmgr/test/browser/formsubmit.sjs?user=notifyu1&pass=notifyp1]
[task 2019-02-09T03:57:14.440Z] 03:57:14 INFO - GECKO(6367) | --DOMWINDOW == 18 (0xf706eff0) [pid = 6603] [serial = 32] [outer = (nil)] [url = https://example.com//browser/toolkit/components/passwordmgr/test/browser/formsubmit.sjs?pass=notifyp1&newpass=notifyp2]
[task 2019-02-09T03:57:14.442Z] 03:57:14 INFO - GECKO(6367) | --DOMWINDOW == 17 (0xf706ed90) [pid = 6603] [serial = 28] [outer = (nil)] [url = https://example.com//browser/toolkit/components/passwordmgr/test/browser/formsubmit.sjs?pass=notifyp1&newpass=notifyp2]
[task 2019-02-09T03:57:14.443Z] 03:57:14 INFO - GECKO(6367) | --DOMWINDOW == 16 (0xf7070c70) [pid = 6603] [serial = 36] [outer = (nil)] [url = https://example.com//browser/toolkit/components/passwordmgr/test/browser/formsubmit.sjs?user=&pass=]
[task 2019-02-09T03:57:14.445Z] 03:57:14 INFO - GECKO(6367) | --DOCSHELL 0xe7212400 == 3 [pid = 6603] [id = {9a3cef00-c32b-432d-a01e-6dcf1a4ce941}]
[task 2019-02-09T03:57:14.446Z] 03:57:14 INFO - GECKO(6367) | --DOCSHELL 0xe721a800 == 2 [pid = 6603] [id = {90ee13b8-5130-43d8-8936-06319f53eeab}]
[task 2019-02-09T03:57:14.449Z] 03:57:14 INFO - GECKO(6367) | --DOCSHELL 0xe7217000 == 1 [pid = 6603] [id = {c8922443-9ddc-45f9-ac21-ee319f8d0fb1}]
[task 2019-02-09T03:57:14.450Z] 03:57:14 INFO - Leaving test bound test_normal_http_basic_auth
[task 2019-02-09T03:57:14.455Z] 03:57:14 INFO - Entering test bound test_private_http_basic_auth
[task 2019-02-09T03:57:14.461Z] 03:57:14 INFO - test private/basic-auth: verify that we don't get a doorhanger after basic-auth login

Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)

There are 53 failures in the last 3 days.
All failures are on Linux:

  • linux64 -> 36 failures
  • linux32 -> 14 failures
  • linux64-ccov -> 3 failures

Started from https://treeherder.mozilla.org/#/jobs?repo=autoland&selectedJob=227453636&revision=5656f8b5c547fdcaf09a274b12d1aa0ab07631fa

:sfoster , could you please take a look?

Flags: needinfo?(sfoster)

Sam can take this

Flags: needinfo?(MattN+bmo)
Priority: P5 → P2
Comment hidden (Intermittent Failures Robot)
Assignee

Updated

4 months ago
Assignee: nobody → sfoster
Status: NEW → ASSIGNED

Comment 9

4 months ago
Pushed by sfoster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/651aa8d03082
Wait when testing if notification is dismissed. r=MattN
Comment hidden (Intermittent Failures Robot)
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67

Comment 12

4 months ago
Backout by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dede03809a93
Backed out changeset 651aa8d03082 for permafailing on browser_private_window.js

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&searchStr=linux%2Cx64%2Casan%2Cmochitests%2Cwith%2Ce10s%2Ctest-linux64-asan%2Fopt-mochitest-browser-chrome-e10s-9%2Cm-e10s%28bc9%29&revision=651aa8d03082e7cc31ea809c4755a2b0500e8cbe&selectedJob=228176355

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=228176355&repo=autoland&lineNumber=4538

Backout link: https://hg.mozilla.org/integration/autoland/rev/dede03809a93

[task 2019-02-13T14:12:08.999Z] 14:12:08 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | Main action label matches save doorhanger. -
[task 2019-02-13T14:12:09.001Z] 14:12:09 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | got notification popup -
[task 2019-02-13T14:12:09.003Z] 14:12:09 INFO - Buffered messages finished
[task 2019-02-13T14:12:09.006Z] 14:12:09 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/passwordmgr/test/browser/browser_private_window.js | Uncaught exception - notification should not be dismissed - timed out after 50 tries.
[task 2019-02-13T14:12:09.008Z] 14:12:09 INFO - Leaving test bound test_normal_http_basic_auth
[task 2019-02-13T14:12:09.009Z] 14:12:09 INFO - Entering test bound test_private_http_basic_auth
[task 2019-02-13T14:12:09.011Z] 14:12:09 INFO - test private/basic-auth: verify that we don't get a doorhanger after basic-auth login
[task 2019-02-13T14:12:09.013Z] 14:12:09 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | Expect signon.privateBrowsingCapture.enabled to default to true -
[task 2019-02-13T14:12:09.402Z] 14:12:09 INFO - Got prompt: [object XULDocument]
[task 2019-02-13T14:12:09.404Z] 14:12:09 INFO - TEST-PASS | toolkit/components/passwordmgr/test/browser/browser_private_window.js | Got expected HTTP auth dialog Dialog.ui -

Status: RESOLVED → REOPENED
Flags: needinfo?(sfoster)
Resolution: FIXED → ---
Target Milestone: mozilla67 → ---
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
Assignee

Comment 16

4 months ago

I've tried just skipping asan and debug builds on Linux, but I'm seeing the same failures now on linux-x64-opt:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e960d3861abff6afc32bf33d806269d951d20190&selectedJob=228766013

I'm no closer to knowing why the notification has been dismissed. I had thought maybe some other notification was popping up which would dismiss the save password one, but that would presumably be caught in the screenshot if it was the case.

Disabling the test on linux entirely wold be a short-term fix if we need one. I'm going to continue to investigate meantime.

Flags: needinfo?(sfoster)
Comment hidden (Intermittent Failures Robot)
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]
Comment hidden (Intermittent Failures Robot)
Comment hidden (Intermittent Failures Robot)
Assignee

Comment 22

4 months ago

The latest try push looks better but still one failure (so far, I re-triggered some more times) on linux-opt so its not fully fixed:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=4d536c5ba4c134def07df9af9384575bfb10c21f&selectedJob=229463275

Attachment #9043368 - Attachment description: Bug 1526614 - Wait when testing if notification is dismissed. r?MattN → Bug 1526614 - Focus window and wait when testing if notification is dismissed, re-enable test on Linux r?MattN

Comment 24

4 months ago
Pushed by sfoster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c062f6742b11
Focus window and wait when testing if notification is dismissed, re-enable test on Linux r=MattN
Status: REOPENED → RESOLVED
Closed: 4 months ago4 months ago
Resolution: --- → FIXED
Comment hidden (Intermittent Failures Robot)
You need to log in before you can comment on or make changes to this bug.