[mozlog] AssertionError: assert not self._closed at File "/usr/lib64/python2.7/multiprocessing/queues.py", line 100, in put
Categories
(Testing :: web-platform-tests, defect, P2)
Tracking
(firefox73 fixed)
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: sg, Assigned: jgraham)
Details
Attachments
(1 file)
When running MOZ_ACCELERATED=1 MOZ_WEBRENDER=1 ./mach test wpt --headless testing/web-platform/tests/IndexedDB/key_valid.html
, I get the following error output just before the "Overall Summary":
2:24.87 INFO STDERR: Traceback (most recent call last):
2:24.87 INFO STDERR: File "/usr/lib64/python2.7/logging/__init__.py", line 889, in emit
2:24.87 INFO STDERR: stream.write(fs % msg)
2:24.87 INFO STDERR: File "/home/simon/work/mozilla-unified/testing/mozbase/mozlog/mozlog/capture.py", line 52, in write
2:24.87 INFO STDERR: self.queue.put(data)
2:24.87 INFO STDERR: File "/usr/lib64/python2.7/multiprocessing/queues.py", line 100, in put
2:24.87 INFO STDERR: assert not self._closed
2:24.87 INFO STDERR: AssertionError
2:24.87 INFO STDERR: Logged from file font.py, line 49
2:24.87 INFO STDERR: Traceback (most recent call last):
2:24.87 INFO STDERR: File "/usr/lib64/python2.7/logging/__init__.py", line 889, in emit
2:24.87 INFO STDERR: stream.write(fs % msg)
2:24.87 INFO STDERR: File "/home/simon/work/mozilla-unified/testing/mozbase/mozlog/mozlog/capture.py", line 52, in write
2:24.87 INFO STDERR: self.queue.put(data)
2:24.87 INFO STDERR: File "/usr/lib64/python2.7/multiprocessing/queues.py", line 100, in put
2:24.87 INFO STDERR: assert not self._closed
2:24.87 INFO STDERR: AssertionError
2:24.87 INFO STDERR: Logged from file font.py, line 49
2:24.87 INFO STDERR: Traceback (most recent call last):
2:24.87 INFO STDERR: File "/usr/lib64/python2.7/logging/__init__.py", line 889, in emit
2:24.87 INFO STDERR: stream.write(fs % msg)
2:24.87 INFO STDERR: File "/home/simon/work/mozilla-unified/testing/mozbase/mozlog/mozlog/capture.py", line 52, in write
2:24.87 INFO STDERR: self.queue.put(data)
2:24.87 INFO STDERR: File "/usr/lib64/python2.7/multiprocessing/queues.py", line 100, in put
2:24.87 INFO STDERR: assert not self._closed
2:24.87 INFO STDERR: AssertionError
2:24.87 INFO STDERR: Logged from file font.py, line 49
2:24.87 INFO STDERR: Traceback (most recent call last):
2:24.87 INFO STDERR: File "/usr/lib64/python2.7/logging/__init__.py", line 889, in emit
2:24.87 INFO STDERR: stream.write(fs % msg)
2:24.87 INFO STDERR: File "/home/simon/work/mozilla-unified/testing/mozbase/mozlog/mozlog/capture.py", line 52, in write
2:24.87 INFO STDERR: self.queue.put(data)
2:24.87 INFO STDERR: File "/usr/lib64/python2.7/multiprocessing/queues.py", line 100, in put
2:24.87 INFO STDERR: assert not self._closed
2:24.87 INFO STDERR: AssertionError
2:24.87 INFO STDERR: Logged from file font.py, line 49
2:24.87 INFO STDERR: INFO:root:Removed font: Ahem.ttf
2:24.87 INFO STDERR: INFO:root:Removed font: Ahem.ttf
Updated•5 years ago
|
Comment 1•5 years ago
|
||
I'm not sure, but I suspect the issue is not that mozlog asserts, but that the caller is logging after
Comment 2•5 years ago
|
||
(Oops.)
I'm not sure, but I suspect the issue is not that mozlog asserts, but that the caller is logging after the log is closed.
"Logged from file font.py, line 49" looks like:
Comment 3•5 years ago
|
||
The priority flag is not set for this bug.
:jgraham, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 4•5 years ago
|
||
This is the right thing to do, and prevents a race where we try to log
after the stdout capture queue is closed
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:jgraham, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•5 years ago
|
Comment 10•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
bugherder |
Description
•