-
Notifications
You must be signed in to change notification settings - Fork 79
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
testCreateUrlSource fails in updates-testing due to SELinux rejection #1983
Comments
This smells real:
selinux-policy 41.29-1.fc41 ? |
I updated our F41 image from selinux-policy 41.27-1.fc41 to 41.29-1.fc41 with the dnf command from https://bodhi.fedoraproject.org/updates/FEDORA-2025-e7a319968a and that does not make the test fail. Not even after a reboot. It would be interesting to test this on a refreshed fedora-41 image to bisect away all the already released updates, but Finally, So that might be a flake? I retriggered the run, let's compare: https://cockpit-logs.us-east-1.linodeobjects.com/pull-0-2c514156-20250118-040910-fedora-41-updates-testing/log.html |
The failure repeats, so this isn't a flake. In cockpit-project/bots#7321 I fix the fedora-41 image refresh, which will be helpful to bisect all updates which already made it to stable. I tried It is enough to just run that last I 👎 'ed https://bodhi.fedoraproject.org/updates/FEDORA-2025-e7a319968a for the time being. |
The c-machines f41 run from the image refresh looks good, so we can rule out stable updates. I locally ran prepare-check against the updated image in cockpit-project/bots#7321 . This gets a much smaller set of updates, selinux-policy plus a bunch of "really should not matter" ones. The test still fails. With this targeted update: --- Makefile
+++ Makefile
@@ -175,7 +175,7 @@ VM_CUSTOMIZE_FLAGS += --install $(COCKPIT_WHEEL)
endif
ifeq ("$(TEST_SCENARIO)","updates-testing")
-VM_CUSTOMIZE_FLAGS = --run-command 'dnf -y update --setopt=install_weak_deps=False --enablerepo=updates-testing >&2'
+VM_CUSTOMIZE_FLAGS = --run-command 'dnf -y update --setopt=install_weak_deps=False --enablerepo=updates-testing selinux-policy >&2'
endif
# build a VM with locally built distro pkgs installed the test still passes. That's pretty much exactly what I did before in the previous comment, albeit with a manual I tested preparing a normal image (without u-testing), then installing everything in one go:
and then test against the running image. That fails, so it's at least not a weird effect of shutting down and rebooting the VM. Perhaps pcp-selinux? Installing that may mess up something.
indeed fails. So finally, let's test https://bodhi.fedoraproject.org/updates/FEDORA-2025-f69b50954b in isolation (that just made it to -updates 2 hours ago):
This passes, and also the previous nightly run grabbed that update and it passed. Updating selinux-policy still passes. |
The job
fedora-41/updates-testing
failed on commit 2c51415.Log: https://cockpit-logs.us-east-1.linodeobjects.com/pull-0-2c514156-20250118-020715-fedora-41-updates-testing/log.html
The text was updated successfully, but these errors were encountered: