New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_queue fails occasionally #40773
Comments
I guess this is some kind of race condition. I see It's always this failure: test test_queue failed -- blocking function '<bound and then, at least sometimes, you get this traceback: Exception in thread Thread-3408:
Traceback (most recent call last):
File
"/home/mwh/src/python/dist/src/Lib/threading.py", line
442, in __bootstrap
self.run()
File
"/home/mwh/src/python/dist/src/Lib/test/test_queue.py",
line 23, in run
self.fn(*self.args)
File "/home/mwh/src/python/dist/src/Lib/Queue.py",
line 129, in get
item = self._get()
File
"/home/mwh/src/python/dist/src/Lib/test/test_queue.py",
line 58, in _get
return Queue.Queue._get(self)
AttributeError: 'NoneType' object has no attribute 'Queue' somewhat later, usually while a subsequent test is running. This is a debug build from CVS as of an hour or so back |
Logged In: YES FYI, Guido and I first noticed that test_queue sometimes fails
I'll leave this assigned to me for a few more days, but it's |
Logged In: YES OK, it looks like your particular primary failure mode is The difficulty appears to be one of test design. But as Freud said, insight does not imply a cure <wink>. |
Logged In: YES Michael, please give current CVS a try. I believe I truly fixed |
Logged In: YES That seems to have done the trick! At least, I've run After reading the checkin comments: I suspect you guessed as Closing. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: