cockpit-project / cockpit-machines

Cockpit UI for virtual machines
GNU Lesser General Public License v2.1
257 stars 67 forks source link

Tests failed on 80f8ea36300e00345111dde5636244c9b96a57e3 #1698

Closed cockpituous closed 1 week ago

cockpituous commented 1 week ago

The job fedora-40/updates-testing failed on commit 80f8ea36300e00345111dde5636244c9b96a57e3.

Log: https://cockpit-logs.us-east-1.linodeobjects.com/pull-0-80f8ea36-20240627-015826-fedora-40-updates-testing/log.html

jelly commented 1 week ago
Jun 27 02:04:17 fedora-40-127-0-0-2-2201 audit[1041]: AVC avc:  denied  { add_name } for  pid=1041 comm="rpc-virtqemud" name="capabilities" scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=dir permissive=1
Jun 27 02:04:17 fedora-40-127-0-0-2-2201 audit[1041]: AVC avc:  denied  { create } for  pid=1041 comm="rpc-virtqemud" name="capabilities" scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=dir permissive=1
Jun 27 02:04:18 fedora-40-127-0-0-2-2201 audit[1041]: AVC avc:  denied  { create } for  pid=1041 comm="rpc-virtqemud" name="f11008721aacc79c97e592178e61264d75be551864cd79cc41fe820e31262f27.xml" scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
Jun 27 02:04:18 fedora-40-127-0-0-2-2201 audit[1041]: AVC avc:  denied  { write } for  pid=1041 comm="rpc-virtqemud" path="/var/cache/libvirt/qemu/capabilities/f11008721aacc79c97e592178e61264d75be551864cd79cc41fe820e31262f27.xml" dev="vda4" ino=171413 scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
Jun 27 02:04:18 fedora-40-127-0-0-2-2201 audit[1041]: AVC avc:  denied  { create } for  pid=1041 comm="rpc-virtqemud" name="926803a9278e445ec919c2b6cbd8c1c449c75b26dcb1686b774314180376c725.xml" scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
Jun 27 02:04:18 fedora-40-127-0-0-2-2201 audit[1041]: AVC avc:  denied  { write } for  pid=1041 comm="rpc-virtqemud" path="/var/cache/libvirt/qemu/capabilities/926803a9278e445ec919c2b6cbd8c1c449c75b26dcb1686b774314180376c725.xml" dev="vda4" ino=171417 scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=file permissive=1
Jun 27 02:04:19 fedora-40-127-0-0-2-2201 systemd[1]: Starting virtstoraged.service - libvirt storage daemon...

Is it SELInux?

martinpitt commented 1 week ago

It can't be because of SELinux, the above are permissive=1. Smells more like a race condition:

wait_js_cond(ph_in_text("#vm-subVmTest1-system-state","Running")): Uncaught (in promise) Error: actual text: Paused

but the screenshot says running.

jelly commented 1 week ago

Didn't come up anymore, closing. I'll monitor the CI weather report if this flakes more often.