Description of problem: When running a test suite for cached-property project, I noticed a test for multi-threaded environment fails randomly. For the reference see the issue I filed against the project: https://github.com/pydanny/cached-property/issues/24 Version-Release number of selected component (if applicable): python-2.7.9-6.fc22.x86_64 How reproducible: Always, if the test runs are repeated long enough. Steps to Reproduce: 1. Clone & install deps from https://github.com/pydanny/cached-property 2. fail=0; pass=0; while [ $fail -lt 5 ]; do py.test && pass=$(( $pass + 1 )) || fail=$(( $fail + 1 )); done; echo "Fail: $fail, Passed: $pass" Actual results: 1st run: Fail: 5, Passed: 9 2nd run: Fail: 5, Passed: 105 Expected results: All passed Additional info:
I ran it also on Ubuntu userspace (in a Docker container, so with the Fedora Kernel) and the results are basically the same: Fail: 7, Passed: 200
This boils down to Python not being able to start 5 threads in 1 second. A quicker reproducer is to run several copies of the testsuite in parallel, e.g. seq 500 | parallel --bar --halt 2 -j20 "echo {}; py.test"
Petr, I tried the original reproducer with a modified test implementation that waits for an event to be signaled, so it's only timing the threads waking up, rather than starting them in the first place: https://github.com/pydanny/cached-property/issues/24#issuecomment-138815633 That modified version still failed. Audrey also just posted to the upstream issue noting that they're now seeing the failure when using Travis CI's containerised builders: https://github.com/pydanny/cached-property/issues/24#issuecomment-159461592
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.