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 davin, miss-islington, ned.deily, pitrou, vstinner
Date 2018-05-31.13:08:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527772099.06.0.682650639539.issue33532@psf.upfronthosting.co.za>
In-reply-to
Content
> Did your PR fix the issue?

The bug was that *sometimes* on Travis CI, and only on Travis CI (!?), writing 1 MiB into the multiprocessing pipe didn't block. The bug is really strange because it is only reproduced on the clang Linux job of Travis CI which runs tests in parallel. Not on the Linux gcc which runs tests sequentially in coverage. Moreover, the failure only occurs for a specific order of tests.

You can easily reproduce the issue if you reduce the size of the data written into the pipe at the end of _test_ignore(). If the write (send_bytes) doesn't block, you get the same error.

I'm confident that writing 4 MiB instead of 1 MiB will fix the issue. I saw the test passing with 4 MiB whereas it failed with 1 MiB, when I fixed the test order.
History
Date User Action Args
2018-05-31 13:08:19vstinnersetrecipients: + vstinner, pitrou, ned.deily, davin, miss-islington
2018-05-31 13:08:19vstinnersetmessageid: <1527772099.06.0.682650639539.issue33532@psf.upfronthosting.co.za>
2018-05-31 13:08:19vstinnerlinkissue33532 messages
2018-05-31 13:08:18vstinnercreate