Closed Bug 1419191 Opened 8 years ago Closed 8 years ago

Windows 10 test screenshots show command prompt

Categories

(Testing :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: gbrown, Assigned: gbrown)

References

Details

In bug 1414495 (and others!) we have a collection of test hang failures. Many of those failures are on Windows 10. Some of those Windows 10 failures have screenshots showing a command prompt running (and firefox is not visible).
:grenade -- Do you know where this command prompt is coming from?
Flags: needinfo?(rthijssen)
It comes from bug 1373551 - that's the one that keeps us from getting "how do you want to open this text file?" prompts. So those "nothing but it" screenshots are the result of Firefox failing to start, or silently crashing, or getting minimized to everyone's surprise, so that only that window is left lying around to show. I'd say the more interesting ones would be the ones where that window is in front of the Firefox window, though those will probably also prove to have a meaningless explanation, something like a test thinking it is focusing another Firefox window and focusing that by mistake, or that Windows has returned to the thing it did in... XP I think, where when Firefox would OOM, it would go to the background and whatever else was running would get shoved to the foreground.
yes, the command window shown is part of the generic-worker 8.x installation it is removed in version 10.x
Flags: needinfo?(rthijssen)
I see. Thanks. In 4 of the 5 examples in comment 1 (all except https://treeherder.mozilla.org/logviewer.html#?repo=autoland&job_id=144408033&lineNumber=1575), mozcrash found a running browser (but no children -- interesting?) and generated a minidump - firefox was running. I suppose it was minimized, or hadn't displayed a UI yet...or possibly, the screenshot was taken after it was killed? In 3 of the 4 examples, the last test log output was Marionette's 'Received observer notification "profile-after-change"'; (in the 4th example, it is "started process..."). After profile-after-change, we normally see 'Received observer notification "command-line-startup"' -- if we are not getting there, I suppose firefox is hung pretty early in startup.
Assignee: nobody → gbrown
I think it's best to just follow-up on these observations in bug 1414495.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.