Closed
Bug 1186844
Opened 9 years ago
Closed 9 years ago
fix KeyError: 'results_urls' when no results_url is given and make the option deprecated
Categories
(Testing :: Talos, defect)
Testing
Talos
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: parkouss, Assigned: parkouss)
References
Details
Attachments
(4 files, 1 obsolete file)
5.55 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
11.91 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
799 bytes,
patch
|
parkouss
:
review+
|
Details | Diff | Splinter Review |
1.08 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
Also fixes pep8 issues (this blocks bug 1186834).
Assignee | ||
Comment 1•9 years ago
|
||
Well I took the opportunity to slightly refactor the output: - moving the output decision logic to one place - use absolute path in develop mode (this is great because at the end it prints the absolute path to output files - good when running from mach for example) - remove the unneeded output_options dict. This run fine locally.
Attachment #8637837 -
Flags: review?(jmaher)
Assignee | ||
Comment 2•9 years ago
|
||
So once patch 1 will be landed, Talos won't use the deprecated option - so we will be able to remove it from harness also. This is what this patch does (note that we will need to update the talos.json to point to the new rev, we can do that at the time by updating this patch).
Attachment #8637854 -
Flags: review?(jmaher)
Comment 3•9 years ago
|
||
Comment on attachment 8637854 [details] [diff] [review] 1186844_harness_fix.patch Review of attachment 8637854 [details] [diff] [review]: ----------------------------------------------------------------- this is great! can we ensure that ./mach talos-test chromez still works?
Attachment #8637854 -
Flags: review?(jmaher) → review+
Comment 4•9 years ago
|
||
Comment on attachment 8637837 [details] [diff] [review] 1186844.patch Review of attachment 8637837 [details] [diff] [review]: ----------------------------------------------------------------- looks good! ::: talos/PerfConfigurator.py @@ +54,5 @@ > 'default': 5, > 'flags': ['-w', '--browserWait'] > }), > ('results_urls', { > + 'help': 'DEPRECATED, will be removed soon.', can we just remove this instead of deprecating it?
Attachment #8637837 -
Flags: review?(jmaher) → review+
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #4) > Comment on attachment 8637837 [details] [diff] [review] > 1186844.patch > > Review of attachment 8637837 [details] [diff] [review]: > ----------------------------------------------------------------- > > looks good! > > ::: talos/PerfConfigurator.py > @@ +54,5 @@ > > 'default': 5, > > 'flags': ['-w', '--browserWait'] > > }), > > ('results_urls', { > > + 'help': 'DEPRECATED, will be removed soon.', > > can we just remove this instead of deprecating it? Unfortunately, no. :( We can only remove it after the harness no more use that, but we can't remove that from the harness without hardcoding it... :) So, will be a follow up. :)
Assignee | ||
Comment 6•9 years ago
|
||
I pushed to try the talos patch: https://treeherder.mozilla.org/#/jobs?repo=try&revision=918508d59a5c
Assignee | ||
Comment 7•9 years ago
|
||
So try was pretty good, except that we found a regression (see bug 1187082). Yesterday we added a patch to this try, and it fixed the regression - so this patch is exactly that (combination of the two). Regression fix is in run_tests.py, there is a comment. jmaher, feel free to read/askfeedback/land this patch (for me it can be landed since this is what we tried with success).
Attachment #8637837 -
Attachment is obsolete: true
Comment 8•9 years ago
|
||
landed the talos patch: https://hg.mozilla.org/build/talos/rev/e47c566d1c11
Comment 9•9 years ago
|
||
Attachment #8638429 -
Flags: review?(j.parkouss)
Updated•9 years ago
|
Attachment #8638387 -
Flags: review+
Comment 10•9 years ago
|
||
I assume we need to land the mozharness patch at the same time as this?
Assignee | ||
Comment 11•9 years ago
|
||
no, the mozharness patch has not been test yet - it is about removing the option that is now obsolete for talos (harness will define it - just talos do not take it in account since it is now hardcoded).
Once Attachment #8638429 [details] [diff] is in m-c, I'll try the harness patch. Finally, once this harness patch will be in m-c, we will be able to remove the DEPRECATED option from talos !
Heh, all this will become a lot easier once Talos will be in tree. :)
---
Oh, I think I know (now!) what you mean, we could have removed totally the option and land the mozharness patch at the same time of updating the revision in talos.json. Heh, it would have been two patches instead of 4. (I feel stupid :))
Well if you have the time we still can do this - we should test the mozharness patch first. Else, just land your patch (I review it just after), and let's stick to my bad plan...
Assignee | ||
Updated•9 years ago
|
Attachment #8638429 -
Flags: review?(j.parkouss) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: leave-open
Assignee | ||
Comment 14•9 years ago
|
||
Pushed to try the mozharness patch: https://treeherder.mozilla.org/#/jobs?repo=try&revision=68a3ad4f92fe
Assignee | ||
Comment 16•9 years ago
|
||
Well, now that we can see that mozharness no longer uses the --results-url option: http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/j.parkouss@gmail.com-68a3ad4f92fe/try-linux64/try_ubuntu64_hw_test-chromez-bm104-tests1-linux-build241.txt.gz We can safely remove it.
Attachment #8638907 -
Flags: review?(jmaher)
Comment 17•9 years ago
|
||
Comment on attachment 8638907 [details] [diff] [review] 11868448_remove_option.patch Review of attachment 8638907 [details] [diff] [review]: ----------------------------------------------------------------- simple!
Attachment #8638907 -
Flags: review?(jmaher) → review+
Assignee | ||
Comment 19•9 years ago
|
||
Merged attachment reviewed in comment 17 in my no-android talos branch (since we will put that in-tree), http://www.bytebucket.org/parkouss/talos/commits/a420b8c69d7e10f51a3e25655ce7700ac58478bd?at=no-android.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 20•6 years ago
|
||
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
You need to log in
before you can comment on or make changes to this bug.
Description
•