Closed Bug 1167683 Opened 9 years ago Closed 9 years ago

[Raptor] Failing tests cause the process to exit before reporting can finish

Categories

(Firefox OS Graveyard :: Gaia::PerformanceTest, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.2 S13 (29may)

People

(Reporter: Eli, Assigned: Eli)

Details

(Whiteboard: [systemsfe])

Attachments

(3 files)

Raptor does a process.exit(1) if there are any errors in the test. This is done on the current turn of the event loop, before the reporting of any events can be completed. :(
(In reply to :Eli Perelman from comment #1) > Created attachment 8609539 [details] [review] > Link to Github pull-request: https://github.com/mozilla-b2g/raptor/pull/40 Hmmm... it just hangs after all the tests are done (and after the results table is displayed), and never exits. Tried launch test on flame-kk.
Thanks for the update. Ok, so if I deliberately cause the launch test to fail (i.e. I manually open a different app before app priming, so priming will fail), this is the result: https://gist.github.com/rwood-moz/7c50a43d0cc38e3130b8
Comment on attachment 8609539 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/raptor/pull/40 Latest update works. Tested with launch test on flame-kk. - ran passing launch test - ran launch test but manually launched an app so priming failed, raptor failed gracefully i.e. "suite aborted due to error"... then the error summary - ran launch test and let the first run pass, then failed the 2nd by manually launching an app; raptor failed gracefully but wrote the raptor.log first with the values from the successfully completed run - same test and verified raptor reported the first run to the DB/visualization
Attachment #8609539 - Flags: review?(rwood) → review+
Attachment #8609608 - Attachment description: [gaia-node-modules] eliperelman:bug-1167683 > mozilla-b2g:master → Link to Github pull-request: https://github.com/mozilla-b2g/raptor/pull/40
Attachment #8609608 - Flags: review+
Attachment #8609608 - Attachment description: Link to Github pull-request: https://github.com/mozilla-b2g/raptor/pull/40 → https://github.com/mozilla-b2g/gaia-node-modules/pull/141
Comment on attachment 8609609 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/30206 Carrying over r+ for package bump.
Attachment #8609609 - Attachment description: [gaia] eliperelman:bug-1167683 > mozilla-b2g:master → Link to Github pull-request: https://github.com/mozilla-b2g/raptor/pull/40
Attachment #8609609 - Flags: review+
Attachment #8609609 - Attachment description: Link to Github pull-request: https://github.com/mozilla-b2g/raptor/pull/40 → Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/30206
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [systemsfe]
Target Milestone: --- → 2.2 S13 (29may)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: