Closed Bug 1112609 Opened 10 years ago Closed 10 years ago

Bisect Chunk does not run.

Categories

(Testing :: Mochitest, defect)

36 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla37

People

(Reporter: kaustabh93, Assigned: kaustabh93)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 3 obsolete files)

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
Attached patch bisect.patch (obsolete) — Splinter Review
Blocks: 1060439
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
QA Contact: kaustabh93
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-
Attached patch bisection.patch (obsolete) — Splinter Review
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!
Attached patch bisect.patch (obsolete) — Splinter Review
Attached patch bisect.patchSplinter Review
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+
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
Attachment #8538583 - Attachment is obsolete: true
Attachment #8538638 - Attachment is obsolete: true
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
Thank you. As of now I am trying to understand my way around mochitest.
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.

Attachment

General

Created:
Updated:
Size: