Message298037
The warning is a race condition which can be reproduced easily on Linux using attached test_handle_called_with_mp_queue-bug.patch, run:
haypo@selma$ ./python -m test --fail-env-changed -m test_handle_called_with_mp_queue test_logging
Run tests sequentially
0:00:00 load avg: 0.22 [1/1] test_logging
Warning -- threading_cleanup() failed to cleanup 20 threads after 0 sec (count: 20, dangling: 21)
Warning -- threading._dangling was modified by test_logging
Before: <_weakrefset.WeakSet object at 0x7fe1df5302c8>
After: <_weakrefset.WeakSet object at 0x7fe1df5338e0>
test_logging failed (env changed)
1 test altered the execution environment:
test_logging
Total duration: 718 ms
Tests result: ENV CHANGED |
|
| Date |
User |
Action |
Args |
| 2017-07-10 09:17:50 | vstinner | set | recipients:
+ vstinner |
| 2017-07-10 09:17:50 | vstinner | set | messageid: <[email protected]> |
| 2017-07-10 09:17:50 | vstinner | link | issue30886 messages |
| 2017-07-10 09:17:50 | vstinner | create | |
|