Closed Bug 1275013 Opened 8 years ago Closed 7 years ago

Improve failure message in case of early start-up crashes of the application

Categories

(Remote Protocol :: Marionette, defect, P3)

49 Branch
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1290372

People

(Reporter: whimboo, Unassigned)

Details

(Keywords: pi-marionette-runner)

If the application crashes during start-up we currently raise an exception of the following type:

https://treeherder.mozilla.org/logviewer.html#?job_id=3917570&repo=mozilla-central#L720

> IOError: Timed out waiting for port!

That message is not helpful at all to at least announce a start-up crash via a message. It would help in those cases when mozcrash is not able to detect such a crash if it's happening before we actually enable breakpad.

I would suggest that we check for the exit code of the application and if it is not around anymore we can also early abort wait_for_port and throw an exception similar to:

raise IOError("process died with returncode %s" % returncode)
[mass update] Setting Harness bugs to all P3
Priority: -- → P3
Well, that has already been done via bug 1290372.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.