Closed Bug 1761674 Opened 2 years ago Closed 2 years ago

Intermittent toolkit/components/pictureinpicture/tests/browser_closePip_pageNavigationChanges.js | Found an unexpected Toolkit:PictureInPicture at the end of test run -

Categories

(Toolkit :: Picture-in-Picture, defect, P5)

defect
Points:
3

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [fidefe-MR1-2022])

Attachments

(1 file)

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


[task 2022-03-27T10:38:14.728Z] 10:38:14     INFO - TEST-START | toolkit/components/pictureinpicture/tests/browser_closePip_pageNavigationChanges.js
[task 2022-03-27T10:38:15.139Z] 10:38:15     INFO - GECKO(16136) | must wait for focus
[task 2022-03-27T10:38:16.595Z] 10:38:16     INFO - GECKO(16136) | must wait for focus
[task 2022-03-27T10:38:17.117Z] 10:38:17     INFO - GECKO(16136) | must wait for focus
[task 2022-03-27T10:38:17.249Z] 10:38:17     INFO - GECKO(16136) | MEMORY STAT | vsize 11821MB | residentFast 366MB | heapAllocated 245MB
[task 2022-03-27T10:38:17.250Z] 10:38:17     INFO - TEST-OK | toolkit/components/pictureinpicture/tests/browser_closePip_pageNavigationChanges.js | took 2522ms
[task 2022-03-27T10:38:17.286Z] 10:38:17     INFO - checking window state
[task 2022-03-27T10:38:17.289Z] 10:38:17     INFO - TEST-INFO | started process screentopng
[task 2022-03-27T10:38:18.023Z] 10:38:18     INFO - TEST-INFO | screentopng: exit 0
[task 2022-03-27T10:38:18.026Z] 10:38:18     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pictureinpicture/tests/browser_closePip_pageNavigationChanges.js | Found an unexpected Toolkit:PictureInPicture at the end of test run - 
[task 2022-03-27T10:38:18.026Z] 10:38:18     INFO - GECKO(16136) | must wait for focus
[task 2022-03-27T10:38:18.026Z] 10:38:18     INFO - TEST-START | toolkit/components/pictureinpicture/tests/browser_closePlayer.js
Summary: Intermittent [tier 2] toolkit/components/pictureinpicture/tests/browser_closePip_pageNavigationChanges.js | Found an unexpected Toolkit:PictureInPicture at the end of test run - → Intermittent toolkit/components/pictureinpicture/tests/browser_closePip_pageNavigationChanges.js | Found an unexpected Toolkit:PictureInPicture at the end of test run -

Hi Katherine! Can you please take a look at this? Could this be caused by your changes on Bug 1757927?

Flags: needinfo?(kpatenio)

I can take a look. And yes, this test was created for Bug 1757927

Assignee: nobody → kpatenio
Status: NEW → ASSIGNED
Flags: needinfo?(kpatenio)
Whiteboard: [fidefe-MR1-2022]
Points: --- → 3

It wasn't clear right away what causes the failure since there are no additional logs displayed. However, after observing screenshots in this timeline, I'm convinced the failure is coming from the last test case test_open_pip_window_history_nav(). This test case ensures that the pip window stays open while navigating using the history API (ex. history.go(), history.pushState(), etc.).

The pip window is probably not closing properly, which would explain the error message Found an unexpected Toolkit:PictureInPicture at the end of test run, despite a previous message stating that the same test passes.

Pushed by kpatenio@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/82c01e7a7aeb
close pip window in test case to reduce intermittence of browser_closePip_pageNavigationChanges.js. r=pip-reviewers,mhowell
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: