-
Notifications
You must be signed in to change notification settings - Fork 782
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
system tests failing due to shortnames #3096
Comments
Yes, we should aim for the test coverage. The failing tests are good sign in that context :)
Note that the path is not I think the tests should run with https://github.com/containers/shortnames/blob/main/shortnames.conf in the
Prompting only works with a TTY. Please let me know if |
Meaning, "I think the tests are probably running with [...]", or "I think we should change things such that"? I can't compare files now to verify, but from what I see in your link, that
Do you mean "It's now Regardless: I'm still not understanding what you suggest that I do. I see that buildah has a |
This may be connected to containers/podman#9766 |
AFAIK |
That may actually be the bug. Great catch! I would have put my hand in fire knowing that all these images already have aliases. I'll open a PR immediately. Thank you!
The man page must be outdated (Cc: @lsm5). Here's a link to release-5.10 docs: https://github.com/containers/image/blob/release-5.10/docs/containers-registries.conf.5.md#short-name-aliasing-modes There are two kinds of configs to store aliases:
Apologies for having been vague. On second thought, I think that explicitly pointing the tests to a registries.conf that we control is the right thing. I was first pointing out that Fedora should have the images aliased already but a) that doesn't seem to be true as you found out and b) the tests/CI should provide all data needed to execute properly. That being said, I think we need to assemble a registries.conf and run Buildah with
I think that podman's |
That's already done in buildah tests. I think there's some confusion here (my fault) due to the mix of buildah and podman. To make sure everyone is on the same page:
I suppose another possible fix is to replace |
Fedora gating tests are now failing due to shortnames:
This is going to be difficult to solve due to the prevalence of shortnames in buildah tests. Possibilities I see are:
buildah/tests
with FQINs - this might cost us test coverage of buildah shortname handling~/.config/.cache/containers/short-name-aliases.conf
) - this might not be appreciated by people running tests on a shared system.Any other ideas?
The text was updated successfully, but these errors were encountered: