Unexpected WPT results are not printed correctly due to `Parameters must be integers or bytes, not str` error in formatters.py
Categories
(Testing :: web-platform-tests, defect)
Tracking
(firefox-esr102 unaffected, firefox107 unaffected, firefox108 wontfix, firefox109 fixed)
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox107 | --- | unaffected |
firefox108 | --- | wontfix |
firefox109 | --- | fixed |
People
(Reporter: masayuki, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Probably starting from middle of last week, unexpected WPT results are not printed correctly due to the following error:
0:36.03 INFO Got 7 unexpected results, with 0 unexpected passes
mozlog.structuredlog: Failure calling log handler:
Traceback (most recent call last):
File "m:\src\third_party\python\blessed\blessed\formatters.py", line 95, in __call__
attr = curses.tparm(self.encode('latin1'), *args).decode('latin1')
File "m:\src\third_party\python\jinxed\jinxed\_tparm.py", line 85, in __call__
return self.child(*params).parse(string)
File "m:\src\third_party\python\jinxed\jinxed\_tparm.py", line 287, in child
return self.__class__(*params, static=self.static, dynamic=self.dynamic)
File "m:\src\third_party\python\jinxed\jinxed\_tparm.py", line 75, in __init__
raise TypeError('Parameters must be integers or bytes, not %s' %
TypeError: Parameters must be integers or bytes, not str
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "m:\src\testing\mozbase\mozlog\mozlog\structuredlog.py", line 294, in _handle_log
handler(data)
File "m:\src\testing\mozbase\mozlog\mozlog\handlers\base.py", line 74, in __call__
formatted = self.formatter(data)
File "m:\src\testing\mozbase\mozlog\mozlog\handlers\base.py", line 42, in __call__
return self.inner(item)
File "m:\src\testing\mozbase\mozlog\mozlog\formatters\machformatter.py", line 100, in __call__
s = super(MachFormatter, self).__call__(data)
File "m:\src\testing\mozbase\mozlog\mozlog\reader.py", line 74, in __call__
return handler(data)
File "m:\src\testing\mozbase\mozlog\mozlog\formatters\machformatter.py", line 147, in suite_end
self._format_suite_summary(
File "m:\src\testing\mozbase\mozlog\mozlog\formatters\machformatter.py", line 295, in _format_suite_summary
rv.append(" %s" % self._format_status(test, data).rstrip())
File "m:\src\testing\mozbase\mozlog\mozlog\formatters\machformatter.py", line 182, in _format_status
rv += self._format_stack(data["stack"])
File "m:\src\testing\mozbase\mozlog\mozlog\formatters\machformatter.py", line 186, in _format_stack
return "\n%s\n" % self.color_formatter.dim(stack.strip("\n"))
File "m:\src\third_party\python\blessed\blessed\formatters.py", line 101, in __call__
raise TypeError(
TypeError: Unknown terminal capability, 'dim', or, TypeError for arguments ('runConformanceTest/<@http://web-platform.test:8000/editing/include/tests.js:5679:24\nTest.prototype.step@http://web-platform.test:8000/resources/testharness.js:2590:25\ntest@http://web-platform.test:8000/resources/testharness.js:628:30\nsubsetTest@http://web-platform.test:8000/common/subset-tests.js:54:14\nrunConformanceTest@http://web-platform.test:8000/editing/include/tests.js:5667:15\n@http://web-platform.test:8000/editing/run/underline.html?1-1000:45:18\n@http://web-platform.test:8000/editing/run/underline.html?1-1000:55:3',): Parameters must be integers or bytes, not str
I updated MozillaBuild to 4.0.2, but IIRC, this happened before that.
Comment 1•2 years ago
|
||
Looks like we updating blessings/blessed recently, so probably a regression from that.
Comment 2•2 years ago
|
||
This doesn't only affect Windows but also Marionette tests on Mac OS, so it's not directly Mozilla build only.
Comment 3•2 years ago
|
||
I suspect this is a dupe of 1800494, but I'm not marking as such in case there turns out to be something testsuite specific that needs to happen.
Comment 4•2 years ago
|
||
This doesn't only affect Windows but also Marionette tests on Mac OS, so it's not directly Mozilla build only.
Comment 5•2 years ago
|
||
:ahochheiden, since you are the author of the regressor, bug 1744340, could you take a look? Also, could you set the severity field?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Description
•