This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients stevezh, vstinner
Date 2018-01-20.21:20:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516483210.46.0.467229070634.issue31687@psf.upfronthosting.co.za>
In-reply-to
Content
To reproduce the issue, someone should increase the system load to make the system slower and make timeouts more likely, and change the order in which processes are run. I'm using the "stress" utility on Linux for that. But sometimes, the best stress tool... is the Python test suite, since running the full test suite in multiple processes in parallel (./python -m test -j0 -r) runs various workloads, and so sometimes trigger bugs which would be very hard to trigger othewise.

Terminal 1: run "./python -m test -j0 -r", stress or anything else to make the system slower

Terminal 2: run "./python -m test test_multiprocessing_fork -m test_semaphore_tracker -F -v" which runs the test in a loop until it fails.
History
Date User Action Args
2018-01-20 21:20:10vstinnersetrecipients: + vstinner, stevezh
2018-01-20 21:20:10vstinnersetmessageid: <1516483210.46.0.467229070634.issue31687@psf.upfronthosting.co.za>
2018-01-20 21:20:10vstinnerlinkissue31687 messages
2018-01-20 21:20:10vstinnercreate