-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_sequencer_basic failure #161
Comments
This is weird...it succeeds sometimes (seems RedHat has the same situation?). Without installing or removing any other pythonmods. Maybe there's a timing/race-condition, or relying on some non-deterministic ordering? |
Looks like it is sensitive to the ordering of the input. See Lines 285 to 286 in d0e3f49
|
So what would be the ideal solution here? |
Would something like this work?
Or are there duplicate entries?
|
>>> actual = [('upload_sdist',), ('sdist',), ('upload_bdist',), ('install',), ('install_distinfo',), ('install_data',), ('install_scripts',), ('install_lib',), ('install_headers',), ('test',), ('build',), ('build_scripts',), ('build_py',), ('build_ext',), ('build_clibs',), ('register',), ('check',)]
>>> expected = (
... [('test',), ('upload_bdist',), ('install',), ('install_distinfo',), ('install_data',), ('install_scripts',), ('install_lib',), ('install_headers',), ('build',), ('build_scripts',), ('build_py',), ('build_ext',), ('build_clibs',), ('upload_sdist',), ('sdist',), ('register',), ('check',)],
... [('install',), ('install_distinfo',), ('install_data',), ('install_scripts',), ('install_lib',), ('install_headers',), ('test',), ('upload_bdist',), ('build',), ('build_scripts',), ('build_py',), ('build_ext',), ('build_clibs',), ('upload_sdist',), ('sdist',), ('register',), ('check',)],
... [('upload_sdist',), ('sdist',), ('install',), ('install_distinfo',), ('install_data',), ('upload_bdist',), ('register',), ('install_scripts',), ('install_lib',), ('install_headers',), ('test',), ('build',), ('build_scripts',), ('build_py',), ('build_ext',), ('build_clibs',), ('check',)],
... [('upload_sdist',), ('sdist',), ('upload_bdist',), ('register',), ('test',), ('install',), ('install_distinfo',), ('install_data',), ('install_scripts',), ('install_lib',), ('install_headers',), ('build',), ('build_scripts',), ('build_py',), ('build_ext',), ('build_clibs',), ('check',)],
... [('upload_sdist',), ('sdist',), ('upload_bdist',), ('register',), ('install',), ('install_distinfo',), ('install_data',), ('install_scripts',), ('install_lib',), ('install_headers',), ('test',), ('build',), ('build_scripts',), ('build_py',), ('build_ext',), ('build_clibs',), ('check',)]
... )
>>> actual in expected
False
>>> set(actual) in [set(e) for e in expected]
True
>>> sorted(actual) in [sorted(e) for e in expected]
True |
Trying a patch. |
Run your tests with |
Or run your tests with |
|
PYTHONHASHSEED=0 does not fix this on Python 3.11.
|
Oops; I'm only on py310:( |
Should be fixed in 3be4cc0. |
Describe the bug
test_sequencer_basic fails with:
That's with python-3.10.2, and the same thing happens with python-3.9.10 and python-3.8.12. It passes on python 2.7/3.6/3.7.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All tests succeed (pass or skip)
Environment
Additional information
There is a similar bug report at
https://bugzilla.redhat.com/show_bug.cgi?id=2033200
The text was updated successfully, but these errors were encountered: