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

Add check cgroup_manager = cgroupfs in containers.conf for e2e testing #446

Open
Yarboa opened this issue Aug 10, 2023 · 7 comments
Open
Labels
backlog This is next up in priority bug Something isn't working

Comments

@Yarboa
Copy link
Contributor

Yarboa commented Aug 10, 2023

Describe the bug

running e2e tests against aboot image arm machine
podman build is failing

To Reproduce

Prepare machine with aboot image
clone hirte repo
cd to test/containers
podman build -f integration-test-snapshot -t hirte-image .

[root@dhcp19-243-2 containers]# podman build -f integration-test-snapshot -t hirte-image .
STEP 1/3: FROM quay.io/yarboa/integration-test-base:latest
STEP 2/3: RUN dnf install -y --repo hirte-snapshot     --repofrompath hirte-snapshot,https://download.copr.fedorainfracloud.org/results/mperina/hirte-snapshot/centos-stream-9-aarch64/     --nogpgcheck     --nodocs         hirte         hirte-debuginfo         hirte-agent         hirte-agent-debuginfo         hirte-ctl         hirte-ctl-debuginfo         hirte-selinux &&     dnf -y clean all
WARN[0000] pkg/bind: error removing "/var/tmp/buildah867503743/mnt/buildah-bind-target-10": no such file or directory
WARN[0000] pkg/bind: error removing "/var/tmp/buildah867503743/mnt/rootfs": no such file or directory
WARN[0000] pkg/bind: error removing "/var/tmp/buildah867503743/mnt": no such file or directory
ERRO[0000] no such file or directory
error running container: did not get container start message from parent: EOF

Expected behavior

Build should pass w/success

need to check w/a running the container with base container and install hirte bits in it

@Yarboa Yarboa added the bug Something isn't working label Aug 10, 2023
@engelmi
Copy link
Member

engelmi commented Aug 11, 2023

This is likely to be related to #437 and should be resolved as soon as we have a manifest in quay.io.

@Yarboa Yarboa changed the title podman build is failin on abot images podman build is failing on aboot images Aug 11, 2023
@Yarboa
Copy link
Contributor Author

Yarboa commented Aug 11, 2023

This is likely to be related to #437 and should be resolved as soon as we have a manifest in quay.io.

There is an issue with container configuration files on aboot image, please take a look at the errorWARN[0000]

pkg/bind: error removing "/var/tmp/buildah867503743/mnt/buildah-bind-target-10": no such file or directory

@Yarboa
Copy link
Contributor Author

Yarboa commented Aug 11, 2023

OK, running this command

podman --cgroup-manager cgroupfs build -f  integration-test-snapshot -t hirte .

Did the trick
default should be changed to cgroupfs
#cgroup_manager = "systemd"

@dougsland
Copy link
Contributor

@Yarboa should we close/document this one?

@Yarboa
Copy link
Contributor Author

Yarboa commented Aug 11, 2023

I think we have to add it to automation,

sed 's/^#cgroup_manager =.*/cgroup_manager = "cgroupfs"/' /usr/share/containers/containers.conf

@Yarboa Yarboa changed the title podman build is failing on aboot images Add check cgroup_manager = cgroupfs in containers.conf for e2e testing Aug 11, 2023
@mkemel mkemel added this to the v0.7 milestone Nov 21, 2023
@mkemel mkemel added jira Issues that are synced to Jira backlog This is next up in priority and removed jira Issues that are synced to Jira labels Nov 21, 2023
@mkemel mkemel removed this from the v0.7 milestone Nov 21, 2023
@engelmi
Copy link
Member

engelmi commented Apr 3, 2024

@Yarboa @dougsland Is this issue still persisting or could it be closed?

@dougsland
Copy link
Contributor

@Yarboa WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog This is next up in priority bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants