Look into properly killing process in browsertime extra profiler run tasks when error occurs
Categories
(Testing :: Raptor, defect, P3)
Tracking
(Not tracked)
People
(Reporter: kshampur, Unassigned)
References
Details
(Whiteboard: [fxp])
I noticed this proc.kill() references a proc that is not associated with the process for when extra profiler run happens
I can't recall if I've seen any NameError's due to this but this would be a cause for that
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
•
|
||
to amend my previous statement, NameError would not occur because the proc that's being killed is what was initially started
this one is a bit odd due to the scoping here with the nested function I think?
anyway doesn't seem like this has caused us any issues so far, but this would be good to fix for proper error handling?
Comment 2•2 years ago
|
||
I think it's not causing a failure because we catch all exceptions here to prevent any profiler failures from causing a task failure: https://searchfox.org/mozilla-central/rev/f9beb753a84aa297713d1565dcd0c5e3c66e4174/testing/raptor/raptor/browsertime/base.py#677-678
Reporter | ||
Comment 3•2 years ago
|
||
Makes sense. I realize I created my own edge case because I'm playing around with the exposed geckoprofiler start/stop that I currently skip the non profiler run iteration and go directly to the extra profiler run.
I think I will close this as wontfix for now
Description
•