Closed Bug 1600177 Opened 5 years ago Closed 5 years ago

ubuntu1804 - browser/base/content/test/general/browser_minimize.js | Uncaught exception - undefined - timed out after 50 tries.

Categories

(Firefox :: General, defect, P5)

defect

Tracking

()

RESOLVED FIXED
Firefox 74
Tracking Status
firefox74 --- fixed

People

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

References

Details

Attachments

(1 file)

Filed by: egao [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=278675861&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/F7MzfuOOTzWSKwqE8XIzDw/runs/0/artifacts/public/logs/live_backing.log


suite: mochitest-browser-chrome
chunk: 1

context:
[task 2019-11-28T21:12:08.793Z] 21:12:08 INFO - TEST-START | browser/base/content/test/general/browser_minimize.js
[task 2019-11-28T21:12:14.116Z] 21:12:14 INFO - TEST-INFO | started process screentopng
[task 2019-11-28T21:12:14.686Z] 21:12:14 INFO - TEST-INFO | screentopng: exit 0
[task 2019-11-28T21:12:14.688Z] 21:12:14 INFO - Buffered messages logged at 21:12:08
[task 2019-11-28T21:12:14.688Z] 21:12:14 INFO - Entering test bound
[task 2019-11-28T21:12:14.688Z] 21:12:14 INFO - TEST-PASS | browser/base/content/test/general/browser_minimize.js | Docshell should be active -
[task 2019-11-28T21:12:14.689Z] 21:12:14 INFO - TEST-PASS | browser/base/content/test/general/browser_minimize.js | Docshell should be Inactive -
[task 2019-11-28T21:12:14.690Z] 21:12:14 INFO - Buffered messages finished
[task 2019-11-28T21:12:14.691Z] 21:12:14 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_minimize.js | Uncaught exception - undefined - timed out after 50 tries.
[task 2019-11-28T21:12:14.692Z] 21:12:14 INFO - Leaving test bound
[task 2019-11-28T21:12:14.692Z] 21:12:14 INFO - GECKO(1705) | MEMORY STAT | vsize 3600MB | residentFast 604MB | heapAllocated 290MB
[task 2019-11-28T21:12:14.693Z] 21:12:14 INFO - TEST-OK | browser/base/content/test/general/browser_minimize.js | took 5330ms
[task 2019-11-28T21:12:14.694Z] 21:12:14 INFO - checking window state
[task 2019-11-28T21:12:14.695Z] 21:12:14 INFO - GECKO(1705) | must wait for focus
[task 2019-11-28T21:12:14.696Z] 21:12:14 INFO - GECKO(1705) | JavaScript error: resource://specialpowers/SpecialPowersParent.jsm, line 580: TypeError: this.manager.rootFrameLoader is null
[task 2019-11-28T21:12:14.696Z] 21:12:14 INFO - GECKO(1705) | JavaScript error: , line 0: NS_ERROR_UNEXPECTED:

:dolske - I wonder if this is related to bug 1600175, caused by the change in the window management system when Unity was dropped for GNOME3 in ubuntu1804. I am seeing this test fail consistently in the ubuntu1804 image. Could you please redirect the ni to someone who may be able to take a look and comment, thanks!

Flags: needinfo?(dolske)

I was able to fix this issue by installing compiz on the ubuntu1804 docker image and changing how pulseaudio was initialized in the test-linux.sh script. Putting this bug on hold, and if the changes outlined in the previous sentence do not break anything else, I will close this bug as invalid.

This test indeed passed as expected with compiz installed in the test image, but given that compiz is not installed by default on ubuntu1804 and wanting to ensure that we test in the closest possible environment for end users, this bug still needs attention.

Knowing that having only the window manager (which removes the top bar, dock, and other elements of a full desktop environment) should help with the fixing of this test. The expected migration date to ubuntu1804 is end of December.

Tracy - on searchfox I found you worked on bulk of the test. Do you have time to take a look at the failure, or pass on the ni to someone else who may know about this test? I suspect it is the presence of additional UI elements from the full desktop environment which is interfering with the test.

Flags: needinfo?(twalker)

I touched this with guidance from Jim Mathies. I really couldn't help here. You probably want the author of the test case, Kris Maglione.

Flags: needinfo?(twalker) → needinfo?(kmaglione+bmo)

Thanks for the ni redirect Tracy.

The expected migration completion to ubuntu1804 is end of December 2019. Kris, would you be able to take a look? Perhaps the test should be marked with either a fail-if or skip-if for ubuntu1804 only? This is currently a permafail on ubuntu1804 mochitest-browser-chrome.

To push to try with ubuntu1804, use ./mach try fuzzy --ubuntu-bionic and select test-linux64 jobs as normal.

Assignee: nobody → egao
Status: NEW → ASSIGNED

I do feel uneasy marking this as permafail, since there is another window-manager related failure (in that case, maximizing) so I suspect the tests should ideally be updated to reflect the changes in desktop environment from ubuntu1604 to ubuntu1804.

But alas, the migration to ubuntu1804 needs to proceed.

Pushed by egao@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8147982bf587 mark browser_minimize.js as expected failure on ubuntu1804 r=jmaher
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74
Flags: needinfo?(dolske)

I have nothing to do with this test...

Flags: needinfo?(kmaglione+bmo)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: