Closed
Bug 748009
Opened 13 years ago
Closed 13 years ago
PerfConfigurator --configPath and --sampleConfig are not only redundant, theyre also b0rken
Categories
(Testing :: Talos, defect)
Testing
Talos
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: k0scist, Assigned: k0scist)
Details
Attachments
(1 file, 1 obsolete file)
|
2.48 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
http://hg.mozilla.org/build/talos/file/61d1a38b5c75/talos/PerfConfigurator.py#l355
We have both --configPath and --sampleConfig, for no apparent reason,
with the latter being given an
absolute path default. However, when you join them, any relative path
gets silently ignored (which is actually a python bug):
http://hg.mozilla.org/build/talos/file/61d1a38b5c75/talos/PerfConfigurator.py#l244
(Pdb) self.configPath
'sample.2.config'
(Pdb) self.sampleConfig
'/home/jhammel/mozilla/src/talos/src/talos/talos/sample.config'
(Pdb) path.join(self.configPath, self.sampleConfig)
'/home/jhammel/mozilla/src/talos/src/talos/talos/sample.config'
I vote for removing --configPath. We use --sampleConfig in the majority of our buildbot based automation.
| Assignee | ||
Comment 3•13 years ago
|
||
I'll probably roll this into bug 718062 for landing but would like to get a separate review and try run
Attachment #617552 -
Flags: review?(jmaher)
Comment on attachment 617552 [details] [diff] [review]
remove --configPath
Review of attachment 617552 [details] [diff] [review]:
-----------------------------------------------------------------
::: talos/PerfConfigurator.py
@@ +249,1 @@
> config = configFile.readlines()
would be nice to puse the readlines inside the try statement as well. Then we could put the close() in the except or a finally clause.
Attachment #617552 -
Flags: review?(jmaher) → review+
| Assignee | ||
Comment 5•13 years ago
|
||
Attachment #617552 -
Attachment is obsolete: true
Attachment #617568 -
Flags: review?(jmaher)
Comment on attachment 617568 [details] [diff] [review]
better exception handling
Review of attachment 617568 [details] [diff] [review]:
-----------------------------------------------------------------
thanks
Attachment #617568 -
Flags: review?(jmaher) → review+
| Assignee | ||
Comment 7•13 years ago
|
||
Planning on taking this as a ride-along to bug 718062 but if the latter gets bitrotted then might as well take this. Noting
Whiteboard: [talos-checkin-needed]
Comment 8•13 years ago
|
||
Try run for 409a3667bc7a is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=409a3667bc7a
Results (out of 80 total builds):
exception: 7
success: 72
failure: 1
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/jhammel@mozilla.com-409a3667bc7a
| Assignee | ||
Comment 9•13 years ago
|
||
These all look like infrastructure failures :(
| Assignee | ||
Comment 10•13 years ago
|
||
Fixed with the landing of bug 718062
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Whiteboard: [talos-checkin-needed]
You need to log in
before you can comment on or make changes to this bug.
Description
•