Skip to content

Add fix for CI break - #114

Open
alicefr wants to merge 4 commits into
bootc-dev:mainfrom
alicefr:ci-fix
Open

Add fix for CI break#114
alicefr wants to merge 4 commits into
bootc-dev:mainfrom
alicefr:ci-fix

Conversation

@alicefr

@alicefr alicefr commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

The fix includes the disablement of Apparmor after the package installation since it might reload the profile. There is a bug in the apparmor profile for passt which a permission denied for accessing the /proc/sys/net/ipv4/ip_local_port_range.

Additionally. the refactoring for the CI job of #98 wrongly execute the test as root. This PR reintroduce the rootless execution of the integration tests

@alicefr

alicefr commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator Author

@HarshwardhanPatil07

Copy link
Copy Markdown
Collaborator

@alicefr still something is failing in tests

@alicefr
alicefr force-pushed the ci-fix branch 4 times, most recently from be5712a to 95faeba Compare August 14, 2026 12:01
@alicefr alicefr changed the title Add fix for CI break DNM: Add fix for CI break Aug 14, 2026
@alicefr
alicefr force-pushed the ci-fix branch 6 times, most recently from 7a3e3bb to 463dbe2 Compare August 17, 2026 08:59
Use the user Podman socket instead of the system socket. Write
container config to ~/.config/containers/ and set CONTAINER_HOST
via GITHUB_ENV so all integration test steps pick it up without sudo.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
The verify container needs SYS_ADMIN, /dev/fuse, and disabled SELinux
to run podman inside a rootless container, matching the populator
container configuration.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
Disable the AppArmor service and run aa-teardown before and after
apt-get installs, since packages like passt reload their profiles in
enforce mode in postinst scripts.

Also set security_driver = "none" in qemu.conf so that libvirt's QEMU
driver does not load per-VM AppArmor profiles when starting domains.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
Collect audit log and full system journal on failure. Fix the script
to work with rootless Podman by removing sudo from podman commands.
Use direct redirects instead of sudo tee for host logs.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
@alicefr
alicefr force-pushed the ci-fix branch 2 times, most recently from 3d9be03 to c8ced10 Compare August 17, 2026 11:58
@alicefr alicefr changed the title DNM: Add fix for CI break Add fix for CI break Aug 17, 2026
@alicefr

alicefr commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator Author

@HarshwardhanPatil07 can you please take a look now that the tests are passing

@alicefr

alicefr commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator Author

@HarshwardhanPatil07 the test-container-image seems stuck, but it isn't that important. I'd like to merge this asap in this we can unblock the bootc-operator and release the correct node images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants