Closed Bug 1810860 Opened 1 year ago Closed 1 year ago

Intermittent TV /tests/toolkit/components/alerts/test/test_principal.html logged result after SimpleTest.finish(): Alerts should not be present at the start of the test.

Categories

(Toolkit Graveyard :: Notifications and Alerts, defect, P5)

Tracking

(firefox-esr102 unaffected, firefox109 unaffected, firefox110 unaffected, firefox111 unaffected)

RESOLVED INCOMPLETE
Tracking Status
firefox-esr102 --- unaffected
firefox109 --- unaffected
firefox110 --- unaffected
firefox111 --- unaffected

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [fidedi-notifications])

Attachments

(4 files, 3 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

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


[task 2023-01-17T19:31:33.356Z] 19:31:33     INFO - TEST-START | toolkit/components/alerts/test/test_principal.html
[task 2023-01-17T19:31:33.414Z] 19:31:33     INFO - GECKO(1609) | MEMORY STAT | vsize 2490MB | residentFast 108MB | heapAllocated 7MB
[task 2023-01-17T19:31:33.472Z] 19:31:33     INFO - TEST-OK | toolkit/components/alerts/test/test_principal.html | took 115ms
[task 2023-01-17T19:31:33.539Z] 19:31:33    ERROR - TEST-UNEXPECTED-FAIL | /tests/toolkit/components/alerts/test/test_principal.html logged result after SimpleTest.finish(): Alerts should not be present at the start of the test.
[task 2023-01-17T19:31:33.587Z] 19:31:33     INFO - TEST-START | Shutdown

nrishel: huh, a Linux failure. Dig in?

Flags: needinfo?(nrishel)
Regressed by: 1809464
Assignee: nobody → nrishel
Status: NEW → ASSIGNED
Attachment #9312763 - Attachment description: Bug 1810860 - Fix test fail on consecutive tests by confirming XUL notification windows are closed before concluding the test. r=nalexander → Bug 1810860 - Fix `test_principal` fail on test verification runs by confirming XUL alert windows are closed before concluding the test. r=nalexander
Flags: needinfo?(nrishel)
Attachment #9313401 - Attachment description: Bug 1810860 - Pre: Generalize test verifying no prior XUL alerts to all `toolkit/components/alerts/test` mochitests. r=nalexander → Bug 1810860 - Pre 1: Generalize test verifying no prior XUL alerts to all `toolkit/components/alerts/test` mochitests. r=nalexander

Replaces async via callbacks and SimpleTest.waitForExplicitFinish()/SimpleTest.finish() pairs.

Whiteboard: [fidedi-notifications]
Pushed by nrishel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/30c8a14356de
Pre 1: Generalize test verifying no prior XUL alerts to all `toolkit/components/alerts/test` mochitests. r=nalexander
https://hg.mozilla.org/integration/autoland/rev/1c54878a5727
Pre 2: Modify `toolkit/components/alerts/test` tests to handle async tests with `async_task` and Promises. r=nalexander
https://hg.mozilla.org/integration/autoland/rev/72d1653cafc0
Fix `test_principal` fail on test verification runs by confirming XUL alert windows are closed before concluding the test. r=nalexander
https://hg.mozilla.org/integration/autoland/rev/87cdb2169287
Post: Add no XUL alert window pre-test and cleanup for all `toolkit/components/alerts/test` tests. r=nalexander

Backed out 5 changesets (Bug 1809464, Bug 1810860) for causing multiple mochitest exeption failures.
Backout link
Push with failures <--> 7
Failure Log
Also Failure Log
Also Failure Log
Also Failure Log

Flags: needinfo?(nrishel)
Attachment #9313402 - Attachment description: Bug 1810860 - Post: Add no XUL alert window pre-test and cleanup for all `toolkit/components/alerts/test` tests. r=nalexander → Bug 1810860 - Post 1: Add no XUL alert window pre-test and cleanup for all `toolkit/components/alerts/test` tests. r=nalexander
Attachment #9315299 - Attachment is obsolete: true
Attachment #9312764 - Attachment is obsolete: true
Flags: needinfo?(nrishel)

Comment on attachment 9315294 [details]
Bug 1810860 - Post 2: skip-if was accidentally removed in revision 5cff19bd3c53. As no intermittent test failures have re-emerged for two years we can assume Bug 1407296 has since been resolved. r=nalexander

Revision D168503 was moved to bug 1809464. Setting attachment 9315294 [details] to obsolete.

Attachment #9315294 - Attachment is obsolete: true

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

Bug was "fixed" as part of changes from Bug 1809464. Leaving bug open as a tracking issue for the more general problem of not being able to run test-verify for test_principal.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED

There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:nrishel, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.

Flags: needinfo?(nrishel)
Flags: needinfo?(nalexander)
Flags: needinfo?(nrishel)
Flags: needinfo?(nalexander)
Status: ASSIGNED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → INCOMPLETE
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: