Closed
Bug 917576
Opened 11 years ago
Closed 11 years ago
Regression: Ru tests not in fact running un-accelerated
Categories
(Testing :: Reftest, defect)
Testing
Reftest
Tracking
(firefox25 unaffected, firefox26+ fixed, firefox27+ fixed)
RESOLVED
FIXED
mozilla27
Tracking | Status | |
---|---|---|
firefox25 | --- | unaffected |
firefox26 | + | fixed |
firefox27 | + | fixed |
People
(Reporter: nrc, Assigned: nrc)
References
Details
Attachments
(2 files, 2 obsolete files)
791 bytes,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
1.18 KB,
patch
|
ahal
:
review+
|
Details | Diff | Splinter Review |
Because reftest is not parsing non-string prefs.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #806302 -
Flags: review?(ahalberstadt)
Assignee | ||
Comment 2•11 years ago
|
||
We need to check this kind of thing in the automation too, so we notice these bugs in future. I think it took four weeks for anyone to notice this.
Assignee | ||
Comment 3•11 years ago
|
||
I bet we have not been running multi-process tests as multi-process either, for the same reason.
Assignee | ||
Comment 4•11 years ago
|
||
Try push: https://tbpl.mozilla.org/?tree=Try&rev=7e1feb223053 Could be interesting...
Assignee | ||
Updated•11 years ago
|
Summary: Ru tests not in fact running un-accelerated → Regression: Ru tests not in fact running un-accelerated
Assignee | ||
Comment 5•11 years ago
|
||
I think bug 899171 regressed this, but I have not confirmed.
Blocks: 899171
Assignee | ||
Comment 6•11 years ago
|
||
Bug 914521 causes bustage on Cipc.
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #806393 -
Flags: review?(bobbyholley+bmo)
Comment 8•11 years ago
|
||
Comment on attachment 806302 [details] [diff] [review] parse non-string pref values Review of attachment 806302 [details] [diff] [review]: ----------------------------------------------------------------- Sorry about the regression, and thanks for catching this! There's a method in mozprofile that already has this logic though. ::: layout/tools/reftest/runreftest.py @@ +85,5 @@ > + else: > + try: > + prefs[thispref[0]] = int(prefValue) > + except ValueError: > + prefs[thispref[0]] = prefValue This whole chunk can just be: prefValue = mozprofile.Preferences.cast(thispref[1].strip()) http://mxr.mozilla.org/mozilla-central/source/testing/mozbase/mozprofile/mozprofile/prefs.py#57
Attachment #806302 -
Flags: review?(ahalberstadt) → review-
Comment 9•11 years ago
|
||
Er, I meant 'prefs[thispref[0]] = ...'
Updated•11 years ago
|
Attachment #806393 -
Flags: review?(bobbyholley+bmo) → review+
Comment 10•11 years ago
|
||
This was regressed by bug 899171 which is in mozilla26.
Assignee | ||
Comment 11•11 years ago
|
||
much easier :-)
Attachment #806302 -
Attachment is obsolete: true
Attachment #806822 -
Flags: review?(ahalberstadt)
Comment 12•11 years ago
|
||
Comment on attachment 806822 [details] [diff] [review] parse non-string pref values using cast Review of attachment 806822 [details] [diff] [review]: ----------------------------------------------------------------- You forgot to do 'prefs[thispref[0]]' but consider this an r+ with that fixed :) ::: layout/tools/reftest/runreftest.py @@ +78,5 @@ > thispref = v.split('=') > if len(thispref) < 2: > print "Error: syntax error in --setpref=" + v > sys.exit(1) > + thispref[0] = mozprofile.Preferences.cast(thispref[1].strip()) This needs to be 'prefs[thispref[0]]'
Attachment #806822 -
Flags: review?(ahalberstadt) → review-
Assignee | ||
Comment 13•11 years ago
|
||
whoops, that what I get for writing patches before my morning coffee
Attachment #806822 -
Attachment is obsolete: true
Attachment #806825 -
Flags: review?(ahalberstadt)
Comment 14•11 years ago
|
||
Comment on attachment 806825 [details] [diff] [review] parse non-string pref values using cast Review of attachment 806825 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #806825 -
Flags: review?(ahalberstadt) → review+
Assignee | ||
Comment 15•11 years ago
|
||
Comment on attachment 806825 [details] [diff] [review] parse non-string pref values using cast [Approval Request Comment] Bug caused by (feature/regressing bug #): 899171 User impact if declined: No functioning Ru/Cipc/Ripc tests Testing completed (on m-c, etc.): Try (only affects tests) Risk to taking this patch (and alternatives if risky): Low (no alternatives) String or IDL/UUID changes made by this patch: none
Attachment #806825 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 16•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/5f8518a7584d https://hg.mozilla.org/integration/mozilla-inbound/rev/4a5e5dfa5e2f
Updated•11 years ago
|
Comment 17•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5f8518a7584d https://hg.mozilla.org/mozilla-central/rev/4a5e5dfa5e2f
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Comment 18•11 years ago
|
||
Comment on attachment 806825 [details] [diff] [review] parse non-string pref values using cast This is NPOTB. I can land without approval. I will get it in my next round of uplifts to Aurora.
Attachment #806825 -
Flags: approval-mozilla-aurora?
Comment 19•11 years ago
|
||
(In reply to Nick Cameron [:nrc] from comment #2) > We need to check this kind of thing in the automation too, so we notice > these bugs in future. I think it took four weeks for anyone to notice this. Agreed! But I don't see that this ever happened? https://hg.mozilla.org/releases/mozilla-aurora/rev/ded6ef58e8a3 https://hg.mozilla.org/releases/mozilla-aurora/rev/c3cd681e553d
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•