-
Notifications
You must be signed in to change notification settings - Fork 114
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
Update repository tests with supported checksums #15547
Conversation
trigger: test-robottelo |
PRT Result
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this, I came across this problem some time ago but did not know what the 'correct' checksums are.
Hey @dosas, it is probably not deb-related, but thank you for the info and nailgun PR! It seems to fail here with HTTP 500, but locally this passed against stream snap 64 and 63
In WebUI the default bahaviour is checksum reset to Default when download policy is changed to |
trigger: test-robottelo |
PRT Result
|
So the explanation for the flaky failures in CI is that after repo creation another task to update the publication is spawned asynchronously (metadata generate) and we need to let it complete before we try to update, otherwise we get 500
Adding |
Resolved conflict and rebased. |
trigger: test-robottelo |
PRT Result
|
* Update repository tests with supported checksums * Add wait for async metadata generate
Problem Statement
SHA1 is no longer supported by Pulp (see https://projects.theforeman.org/issues/37522) which renders even more tests failing in validation for
sha1
in stream builds:Solution
Define the supported checksums in constants and use them.
PRT test Cases example
trigger: test-robottelo
pytest: tests/foreman/api/test_repository.py tests/foreman/cli/test_repository.py -k checksum