Skip to content
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

Define and ship a "testutils" container #1645

Closed
cgwalters opened this issue Aug 7, 2020 · 2 comments
Closed

Define and ship a "testutils" container #1645

cgwalters opened this issue Aug 7, 2020 · 2 comments
Labels
jira for syncing to jira

Comments

@cgwalters
Copy link
Member

cgwalters commented Aug 7, 2020

In several of ostree/rpm-ostree external tests we fetch a container image to run privileged for helper utilities, whether that's python or a webserver program.

This somewhat commonly causes tests to flake; particularly the Fedora registry seems unreliable, but docker.io also has rate limited us in the past. And most of these tests don't otherwise need the internet.

I'd like if as part of coreos-assembler we defined a "test helper" container (perhaps this should be an official FCOS toolbox container) that contains things like a webserver, strace, etc.

Now what we could do in the qemu-unpriv case is be able to pull this container content over virtio (fs or channel) from the "host" container image and avoid the dependency on networking.

In the non-qemu-unpriv case we'd host this image at a public registry somewhere. But if we eventually wanted to support "offline" tests even in cloud, we'd need to provision a mirror of testutils in the environment.

@dustymabe
Copy link
Member

If we did this maybe we could roll the test/functionality from podman.workflow into it and we could stop denylisting it (#1478).

@darkmuggle darkmuggle added the jira for syncing to jira label Oct 7, 2020
cgwalters added a commit to cgwalters/rpm-ostree that referenced this issue Mar 11, 2021
Where I stalled out before is this file has `pkg-add foo`, but
now that we have the `foo` package pre-built we can move all
this stuff into `misc.sh`.

I dropped the YAML parsing of `--version` because we don't
have python.  This is related to
coreos/coreos-assembler#1645
cgwalters added a commit to coreos/rpm-ostree that referenced this issue Mar 11, 2021
Where I stalled out before is this file has `pkg-add foo`, but
now that we have the `foo` package pre-built we can move all
this stuff into `misc.sh`.

I dropped the YAML parsing of `--version` because we don't
have python.  This is related to
coreos/coreos-assembler#1645
@dustymabe
Copy link
Member

This overlaps a bit with the newly created tracker issue coreos/fedora-coreos-tracker#1639 that @jbtrystram is working on. I'll close this out and we'll track it there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira for syncing to jira
Projects
None yet
Development

No branches or pull requests

3 participants