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)
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. :(
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8609539 -
Flags: review?(rwood)
Comment 2•9 years ago
|
||
(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.
Comment 3•9 years ago
|
||
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 4•9 years ago
|
||
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+
Comment 5•9 years ago
|
||
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8609608 [details] [review]
https://github.com/mozilla-b2g/gaia-node-modules/pull/141
Carrying over r+ for package bump.
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+
Assignee | ||
Updated•9 years ago
|
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 7•9 years ago
|
||
Assignee | ||
Comment 8•9 years ago
|
||
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+
Assignee | ||
Updated•9 years ago
|
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
Assignee | ||
Comment 9•9 years ago
|
||
In master: https://github.com/mozilla-b2g/gaia/commit/cbaaa1aa1c4521041ab37c28aef7c4648b8d6ae7
In npm: gaia-raptor@1.6.1
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Whiteboard: [systemsfe]
Target Milestone: --- → 2.2 S13 (29may)
You need to log in
before you can comment on or make changes to this bug.
Description
•