Skip to content

2026-01 kola: ext.config.selinux.file-context-policy-match test is failing consistently #2095

@dustymabe

Description

@dustymabe

The ext.config.selinux.file-context-policy-match test has been failing for a while but we haven't noticed because of a few reasons:

  1. The test is marked a non-exclusive, which means it runs with other tests on the same VM.
  2. Failures in the pipeline are rerun for flake detection and if they pass it is considered a flake and the run continues.

In this case the failure happens in the first run because there is a conflict of some sort with another test (I don't know which one). The later rerun succeeds because the test it run on a VM by itself (since it was the only failure in the run).

Details

[2026-01-16T07:55:24.272Z] === RUN non-exclusive-test-bucket-0/ext.config.selinux.file-context-policy-match
[2026-01-16T07:55:27.523Z] systemctl status kola-runext-65.service:
[2026-01-16T07:55:27.523Z] × kola-runext-65.service
[2026-01-16T07:55:27.523Z] Loaded: loaded (/etc/systemd/system/kola-runext-65.service; static)
[2026-01-16T07:55:27.523Z] Drop-In: /usr/lib/systemd/system/service.d
[2026-01-16T07:55:27.523Z] └─10-timeout-abort.conf
[2026-01-16T07:55:27.523Z] Active: failed (Result: exit-code) since Fri 2026-01-16 07:55:26 UTC; 543ms ago
[2026-01-16T07:55:27.523Z] Duration: 1.580s
[2026-01-16T07:55:27.523Z] Invocation: d19ef30bae654f419f5d76951771138e
[2026-01-16T07:55:27.523Z] Process: 21317 ExecStart=/usr/local/bin/kola-runext-file-context-policy-match (code=exited, status=1/FAILURE)
[2026-01-16T07:55:27.523Z] Main PID: 21317 (code=exited, status=1/FAILURE)
[2026-01-16T07:55:27.523Z] Mem peak: 55.2M
[2026-01-16T07:55:27.523Z] CPU: 1.460s
[2026-01-16T07:55:27.523Z]
[2026-01-16T07:55:27.523Z] Jan 16 07:55:24 qemu0 kola-runext-file-context-policy-match[21317]: ++ IFS=' '
[2026-01-16T07:55:27.523Z] Jan 16 07:55:24 qemu0 kola-runext-file-context-policy-match[21317]: ++ read -r -a cmdline
[2026-01-16T07:55:27.523Z] Jan 16 07:55:24 qemu0 kola-runext-file-context-policy-match[21319]: ++ find /sysroot -context 'unlabeled_t' -not -regex '.*.0/var/mnt' -print0
[2026-01-16T07:55:27.523Z] Jan 16 07:55:24 qemu0 kola-runext-file-context-policy-match[21320]: ++ xargs --null '-I{}' ls -ldZ '{}'
[2026-01-16T07:55:27.523Z] Jan 16 07:55:25 qemu0 kola-runext-file-context-policy-match[21317]: + unlabeled=
[2026-01-16T07:55:27.523Z] Jan 16 07:55:25 qemu0 kola-runext-file-context-policy-match[21317]: + '[' -n '' ']'
[2026-01-16T07:55:27.523Z] Jan 16 07:55:25 qemu0 kola-runext-file-context-policy-match[21321]: ++ restorecon -vnr /var/ /etc/ /usr/ /boot/
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + mislabeled=$'Would relabel /var/home/core/.local/share/containers/storage/overlay-containers from system_u:object_r:data_home_t:s0 to system_u:object_r:container_ro_file_t:s0\nWould relabel /var/home/core/.local/share/containers/storage/overlay-containers/containers.lock from system_u:object_r:data_home_t:s0 to system_u:object_r:container_ro_file_t:s0\nWould relabel /var/home/core/.local/share/containers/storage/overlay-containers/volatile-containers.json from system_u:object_r:data_home_t:s0 to system_u:object_r:container_ro_file_t:s0'
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + '[' -n $'Would relabel /var/home/core/.local/share/containers/storage/overlay-containers from system_u:object_r:data_home_t:s0 to system_u:object_r:container_ro_file_t:s0\nWould relabel /var/home/core/.local/share/containers/storage/overlay-containers/containers.lock from system_u:object_r:data_home_t:s0 to system_u:object_r:container_ro_file_t:s0\nWould relabel /var/home/core/.local/share/containers/storage/overlay-containers/volatile-containers.json from system_u:object_r:data_home_t:s0 to system_u:object_r:container_ro_file_t:s0' ']'
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + exceptions=(['/var/opt/cni']='1' ['/etc/iscsi/initiatorname.iscsi']='1')
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + declare -A exceptions
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21323]: ++ echo $'Would relabel /var/home/core/.local/share/containers/storage/overlay-containers from system_u:object_r:data_home_t:s0 to system_u:object_r:container_ro_file_t:s0\nWould relabel /var/home/core/.local/share/containers/storage/overlay-containers/containers.lock from system_u:object_r:data_home_t:s0 to system_u:object_r:container_ro_file_t:s0\nWould relabel /var/home/core/.local/share/containers/storage/overlay-containers/volatile-containers.json from system_u:object_r:data_home_t:s0 to system_u:object_r:container_ro_file_t:s0'
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21324]: ++ grep 'Would relabel'
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21325]: ++ cut -d ' ' -f 3
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + paths=$'/var/home/core/.local/share/containers/storage/overlay-containers\n/var/home/core/.local/share/containers/storage/overlay-containers/containers.lock\n/var/home/core/.local/share/containers/storage/overlay-containers/volatile-containers.json'
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + found=
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + read -r path
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + [[ noexception == noexception ]]
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + echo 'Unexpected mislabeled file found: /var/home/core/.local/share/containers/storage/overlay-containers'
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: Unexpected mislabeled file found: /var/home/core/.local/share/containers/storage/overlay-containers
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + found=1
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + read -r path
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + [[ noexception == noexception ]]
[2026-01-16T07:55:27.523Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + echo 'Unexpected mislabeled file found: /var/home/core/.local/share/containers/storage/overlay-containers/containers.lock'
[2026-01-16T07:55:27.524Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: Unexpected mislabeled file found: /var/home/core/.local/share/containers/storage/overlay-containers/containers.lock
[2026-01-16T07:55:27.524Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + found=1
[2026-01-16T07:55:27.524Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + read -r path
[2026-01-16T07:55:27.524Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + [[ noexception == noexception ]]
[2026-01-16T07:55:27.524Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + echo 'Unexpected mislabeled file found: /var/home/core/.local/share/containers/storage/overlay-containers/volatile-containers.json'
[2026-01-16T07:55:27.524Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: Unexpected mislabeled file found: /var/home/core/.local/share/containers/storage/overlay-containers/volatile-containers.json
[2026-01-16T07:55:27.524Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + found=1
[2026-01-16T07:55:27.524Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + read -r path
[2026-01-16T07:55:27.524Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + '[' 1 == 1 ']'
[2026-01-16T07:55:27.524Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + fatal 'Some unexpected mislabeled files were found.'
[2026-01-16T07:55:27.524Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + echo 'Some unexpected mislabeled files were found.'
[2026-01-16T07:55:27.524Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: Some unexpected mislabeled files were found.
[2026-01-16T07:55:27.524Z] Jan 16 07:55:26 qemu0 kola-runext-file-context-policy-match[21317]: + exit 1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions