Closed
Bug 1112609
Opened 10 years ago
Closed 10 years ago
Bisect Chunk does not run.
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla37
People
(Reporter: kaustabh93, Assigned: kaustabh93)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 3 obsolete files)
1.24 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0
Build ID: 20141127111021
Steps to reproduce:
Running : ./mach mochitest-plain --bisect-chunk testing/mochitest
Actual results:
Runing mochitest with --biseckunk generated the following error :
global name 'log' is not defined
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Updated•10 years ago
|
Comment 3•10 years ago
|
||
Comment on attachment 8537864 [details] [diff] [review]
bisect.patch
Review of attachment 8537864 [details] [diff] [review]:
-----------------------------------------------------------------
This should make your patch a one line change. In addition please add a commit message, it is usually the bug and title or subject of the patch, something like this:
Bug 1112609 - Bisect Chunk does not run. r=jmaher
you can do that with 'hg qref -e', then edit the message.
::: testing/mochitest/runtests.py
@@ +1697,5 @@
> if options.bisectChunk:
> testsToRun = bisect.pre_test(options, testsToRun, status)
> # To inform that we are in the process of bisection, and to look for bleedthrough
> if options.bisectChunk != "default" and not bisection_log:
> + logging.info("TEST-UNEXPECTED-FAIL | Bisection | Please ignore repeats and look for 'Bleedthrough' (if any) at the end of the failure list")
we should be able to use:
self.log.info(...)
Attachment #8537864 -
Flags: review-
Assignee | ||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
this looks to be requiring your first patch. If you could:
hg qpop -a
hg pull -u (this rebases your repository)
hg qnew bisect.patch
<make your changes>
hg qref -e ...
submit new patch!
Assignee | ||
Comment 6•10 years ago
|
||
Assignee | ||
Comment 7•10 years ago
|
||
Comment 8•10 years ago
|
||
Comment 9•10 years ago
|
||
Comment on attachment 8538643 [details] [diff] [review]
bisect.patch
Review of attachment 8538643 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for the patch, it looks good on try server:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=8c08650edae7
Attachment #8538643 -
Flags: review+
Updated•10 years ago
|
Keywords: checkin-needed
Comment 10•10 years ago
|
||
Comment on attachment 8537864 [details] [diff] [review]
bisect.patch
In the future, please mark patches obsolete when attaching updated ones.
Attachment #8537864 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8538583 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8538638 -
Attachment is obsolete: true
Comment 11•10 years ago
|
||
Assignee: nobody → kaustabh93
Keywords: checkin-needed
Comment 12•10 years ago
|
||
Kaustabh, thanks for fixing this up!
I have pushed to try to check if bisect-chunk works now: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=897ad2bbd2dd
Assignee | ||
Comment 13•10 years ago
|
||
Thank you.
As of now I am trying to understand my way around mochitest.
Comment 14•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in
before you can comment on or make changes to this bug.
Description
•