Remove --geckoProfile from talos-test mach command now that we have --gecko-profile
Categories
(Testing :: Talos, enhancement, P3)
Tracking
(firefox79 fixed)
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: mconley, Assigned: kshriram18, Mentored)
References
Details
(Keywords: good-first-bug)
Attachments
(2 files, 2 obsolete files)
Confusingly, it seems like profiling a Talos test can be invoked from the command line either with --gecko-profile or --geckoProfile:
and
The latter ones are suppressed from --help output. We should probably just remove them at some point.
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Comment 2•5 years ago
•
|
||
Handing this over to Alexandru, as I don't have the cycles.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 3•5 years ago
•
|
||
Shriram, please do a search after geckoProfile related code and make sure you covered all the relevant files. You missed fixing:
- talos.py
- you need to double check if the changes in test_config.py
Might be other things. Also, right before submitting the package please do a rebase if needed.
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Thank you Ionuț and Alexandru.
Alexandru, I will come up with another patch that addresses the issues in your comment.
Assignee | ||
Comment 7•5 years ago
•
|
||
The latest diff should cover all relevant talos files as per comment #3
Updated•5 years ago
|
Comment 8•5 years ago
|
||
Shriram, I didn't forget this patch, I'm looking into it as I'm investigating some consistency issues.
Comment 9•5 years ago
|
||
Ionut, there are some failed gecko profile jobs for talos, because those --geckoProfile
options are going up to taskcluster >>>
[task 2020-02-04T10:28:02.201Z] executing ['/usr/bin/python2.7', '-u', 'mozharness/scripts/talos_script.py', '--cfg', 'mozharness/configs/talos/linux_config.py', '--suite=g5', '--use-talos-json', '--setpref=media.peerconnection.mtransport_process=false', '--setpref=network.process.enabled=false', '--download-symbols', 'ondemand', '--geckoProfile']
Raptor has this camelCase to dash-case also, and I would recommend doing this replace for both raptor and talos at once. Otherwise we might get conflicts. Taskgraph is using the same cameCase form of the option for all the tasks, if I read the code correctly.
Dave, what do you say?
Comment 10•5 years ago
|
||
(In reply to Alexandru Ionescu :alexandrui (needinfo me) from comment #9)
Ionut, there are some failed gecko profile jobs for talos, because those
--geckoProfile
options are going up to taskcluster >>>
[task 2020-02-04T10:28:02.201Z] executing ['/usr/bin/python2.7', '-u', 'mozharness/scripts/talos_script.py', '--cfg', 'mozharness/configs/talos/linux_config.py', '--suite=g5', '--use-talos-json', '--setpref=media.peerconnection.mtransport_process=false', '--setpref=network.process.enabled=false', '--download-symbols', 'ondemand', '--geckoProfile']
Raptor has this camelCase to dash-case also, and I would recommend doing this replace for both raptor and talos at once. Otherwise we might get conflicts. Taskgraph is using the same cameCase form of the option for all the tasks, if I read the code correctly.
Dave, what do you say?
If Raptor supports hyphen-case then it should be safe to modify taskgraph to use this for both Talos and Raptor. I don't think we need to extend this to removing camelCase from Raptor at this time though.
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Shriram, you need to make one more update to the patch. Taskcluster is still using the camel case --geckoProfile
option to trigger the gecko profiles:
[taskcluster 2020-02-04T10:27:00.773Z] Executing command 1: './run-task' -- '/usr/bin/python2.7' -u 'mozharness/scripts/talos_script.py' --cfg 'mozharness/configs/talos/linux_config.py' --suite=g1 --use-talos-json '--setpref=media.peerconnection.mtransport_process=false' '--setpref=network.process.enabled=false' --download-symbols ondemand --geckoProfile
So in order to avoid the inconsistency, the taskcluster related code needs to be updated. This way the gecko profile jobs failing for the moment to pass. Please add to the patch the replacement of --geckoProfile
with --gecko-profile
occurrences you find in this search.
Comment 13•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
Assignee | ||
Comment 16•5 years ago
|
||
Comment 17•4 years ago
|
||
Comment 19•4 years ago
|
||
bugherder |
Assignee | ||
Comment 20•4 years ago
|
||
(In reply to Alexandru Ionescu (needinfo me) [:alexandrui] from comment #18)
Congrats Shriram, your patch just landed!
Thank you Alexandru!
Also thanks Dave and Ionut
Comment 21•4 years ago
|
||
Shriram, if you want some more tasks just stay around, I'll ni? you as soon as I find something interesting.
Assignee | ||
Comment 22•4 years ago
|
||
Sure Alexandru. I'll take them up. Thank you so much!
Description
•