Project

General

Profile

Actions

action #176049

closed

[tools] Can't exec "/usr/lib/os-autoinst/script/check_qemu_oom": Permission denied at /usr/lib/os-autoinst/OpenQA/Qemu/Proc.pm line 380. size:S

Added by ggardet_arm 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2025-01-23
Due date:
% Done:

0%

Estimated time:

Description

Observation

openQA test in scenario opensuse-Tumbleweed-JeOS-for-AArch64-aarch64-jeos@aarch64_cpu_max-HD20G fails in
bootloader_uefi

Sometimes, we get the following error:

Can't exec "/usr/lib/os-autoinst/script/check_qemu_oom": Permission denied at /usr/lib/os-autoinst/OpenQA/Qemu/Proc.pm line 380.

from audit.log:

openqaworker-arm21:~ # grep 'check_qemu' /var/log/audit/audit.log
type=AVC msg=audit(1737620194.736:8715): apparmor="DENIED" operation="exec" class="file" profile="/usr/share/openqa/script/worker" name="/usr/lib/os-autoinst/script/check_qemu_oom" pid=
4685 comm="/usr/bin/isotov" requested_mask="x" denied_mask="x" fsuid=104 ouid=0
type=AVC msg=audit(1737621599.634:8746): apparmor="DENIED" operation="exec" class="file" profile="/usr/share/openqa/script/worker" name="/usr/lib/os-autoinst/script/check_qemu_oom" pid=
19902 comm="/usr/bin/isotov" requested_mask="x" denied_mask="x" fsuid=104 ouid=0
type=AVC msg=audit(1737622185.843:8767): apparmor="DENIED" operation="exec" class="file" profile="/usr/share/openqa/script/worker" name="/usr/lib/os-autoinst/script/check_qemu_oom" pid=
30202 comm="/usr/bin/isotov" requested_mask="x" denied_mask="x" fsuid=104 ouid=0

Expected result

Last good: 20250120 (or more recent)

Further details

Always latest result in this scenario: latest

Suggestions

  • DONE Could be the script not being executable, nope we checked filesystem level permissions
  • DONE Likely this is related to apparmor profiles. Check the audit log
  • Check why apparmor profiles don't cover on this host. Either it's not properly deployed there or missing in general in our profiles
Actions #1

Updated by okurz 3 months ago

  • Tags set to reactive work
  • Project changed from openQA Tests (public) to openQA Project (public)
  • Subject changed from Can't exec "/usr/lib/os-autoinst/script/check_qemu_oom": Permission denied at /usr/lib/os-autoinst/OpenQA/Qemu/Proc.pm line 380. to [tools] Can't exec "/usr/lib/os-autoinst/script/check_qemu_oom": Permission denied at /usr/lib/os-autoinst/OpenQA/Qemu/Proc.pm line 380.
  • Category changed from Bugs in existing tests to Regressions/Crashes
  • Target version set to Ready
Actions #2

Updated by gpuliti 3 months ago

  • Subject changed from [tools] Can't exec "/usr/lib/os-autoinst/script/check_qemu_oom": Permission denied at /usr/lib/os-autoinst/OpenQA/Qemu/Proc.pm line 380. to [tools] Can't exec "/usr/lib/os-autoinst/script/check_qemu_oom": Permission denied at /usr/lib/os-autoinst/OpenQA/Qemu/Proc.pm line 380. size:S
  • Description updated (diff)
  • Status changed from New to Workable
Actions #3

Updated by dheidler 3 months ago

  • Status changed from Workable to In Progress
  • Assignee set to dheidler
Actions #4

Updated by dheidler 3 months ago

  • Status changed from In Progress to Feedback
Actions #5

Updated by dheidler 3 months ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF