Author vstinner
Recipients louielu, serhiy.storchaka, vstinner
Date 2017-06-15.15:40:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497541251.17.0.211524453955.issue30675@psf.upfronthosting.co.za>
In-reply-to
Content
I succeeded to reproduce the bug, but only when running the -jN option, like:

./python -m test -j2 -R 3:3 test_zipfile

I reduced the test to:

./python -m test -j2 -R 3:3 test_zipfile -m test_random_open

This test heavily use random.randint().

In fact, the bug doesn't come from test_zipfile, but it's an issue Python singleton objects. There is a bug in regrtest which doesn't call warmup_caches() in worker processes when using the -jN option (multiprocessing mode).

My PR https://github.com/python/cpython/pull/2220 should fix the bug.

Sadly, I didn't backport test_regrtest functional tests from master to 3.5 yet: see bpo-30383.
History
Date User Action Args
2017-06-15 15:40:51vstinnersetrecipients: + vstinner, serhiy.storchaka, louielu
2017-06-15 15:40:51vstinnersetmessageid: <1497541251.17.0.211524453955.issue30675@psf.upfronthosting.co.za>
2017-06-15 15:40:51vstinnerlinkissue30675 messages
2017-06-15 15:40:51vstinnercreate