-
Notifications
You must be signed in to change notification settings - Fork 90
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 failures on Fedora Rawhide #808
Comments
Running the tests with standard isolation (Docker) does not exhibit this:
My guess is that it is related to the timezone of the machine where the tests are run, and in the default Docker container the timezone is likely normalized (UTC maybe?). Does your machine's local time happen to be in a timezone that's UTC-7 right now? I just tried running the tests without Docker isolation ( In any case, I have to take a closer look at what's going on... |
Hmm, it looks like that these failures are due to I'll try to take a closer look over the next days... |
Note to self: freezegun should allow to run tests with different time zones. We should definitely use this to avoid this problem, since CI always uses Docker isolation, which always has UTC... (0.3.10 seems to be the last version with Python 2.6 support, 0.3.15 the last one with Python 2.7 support, from 1.0.0 on it's Python 3 only.) |
Yeah, I'm running in MDT. export TZ=UTC does not appear to help. We can't really make use of docker in the Fedora builds, but since the koji builders are UTC, it builds fine there. So, not a particularly critical issue for us, but does break local builds. Thanks for looking into it. |
I guess that's both the good and bad side when too many systems use UTC ;-) |
Hmm, it turns out that freezegun has a severe bug in its This is sad :-( I guess I have to kick some tests out that don't work because of that bug, and stick with freezegun... |
I think I have a fix for this: #810 |
The latest 2.22.3 release should no longer have this problem. |
SUMMARY
Attempting to build the collection on Fedora Rawhide we are seeing test failures.
ISSUE TYPE
COMPONENT NAME
test_backend_openssl_cli.py
test_time.py
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Fedora Rawhide
STEPS TO REPRODUCE
/usr/lib/rpm/ansible_collection.py test --python-interpreter /usr/bin/python3 --local
EXPECTED RESULTS
No test failures
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: