Closed Bug 1090733 Opened 10 years ago Closed 10 years ago

[mozlog] "AttributeError: 'NoneType' object has no attribute 'green'" running xpcshell tests

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla36

People

(Reporter: markh, Assigned: markh)

References

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

Attached file out
All attempts to run xpcshell tests locally are failing with following exception:

...
  File "o:\src\mozilla-git\gecko-dev\testing/mozbase/mozlog\mozlog\structured\formatters\machformatter.py", line 245, in test_status
    color = self.terminal.red if unexpected else self.terminal.green
AttributeError: 'NoneType' object has no attribute 'green'

blame tells me this was caused by bug 1079635

Full mach output attached
oops - got a bit trigger-happy there :)
Attachment #8513230 - Attachment is obsolete: true
Attachment #8513230 - Flags: review?(cmanchester)
Attachment #8513231 - Flags: review?(cmanchester)
Assignee: nobody → mhammond
Keywords: regression
OS: Windows 7 → All
Hardware: x86_64 → All
Summary: "AttributeError: 'NoneType' object has no attribute 'green'" running xpcshell tests → [mozlog] "AttributeError: 'NoneType' object has no attribute 'green'" running xpcshell tests
Comment on attachment 8513231 [details] [diff] [review]
0003-Bug-1090733-xpcshell-tests-fail-if-no-terminal-confi.patch

Review of attachment 8513231 [details] [diff] [review]:
-----------------------------------------------------------------

This looks good, thank you.
Attachment #8513231 - Flags: review?(cmanchester) → review+
https://hg.mozilla.org/mozilla-central/rev/e1e7603c2455
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: