Project

General

Profile

Actions

action #117184

closed

[security] test fails in kvm_check due to dnsmasq

Added by pstivanin over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2022-09-26
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-15-SP5-Online-aarch64-cc_atsec@aarch64 fails in
kvm_check

Test suite description

Testsuite maintained at https://gitlab.suse.de/qe-security/osd-sle15-security.

Reproducible

Fails since (at least) Build 24.1

Expected result

Last good: 21.1 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by pstivanin over 1 year ago

cc_audit-remote-libvirt is failing for the same reason.

Actions #2

Updated by pstivanin over 1 year ago

same for security_swtpm

Actions #3

Updated by pstivanin over 1 year ago

  • Status changed from New to In Progress
  • Assignee set to pstivanin
  • % Done changed from 0 to 20

This tests and some others fail due to:

# virsh net-start default
error: Failed to start network default
error: internal error: Child process (VIR_BRIDGE_NAME=virbr0 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt_leaseshelper) unexpected exit status 3: sh: /usr/lib/libvirt_leaseshelper: Permission denied

dnsmasq: cannot run lease-init script /usr/lib/libvirt_leaseshelper: Permission denied

but

# ls -l /usr/lib/libvirt_leaseshelper
-rwxr-xr-x 1 root root 14840 Sep 15 04:05 /usr/lib/libvirt_leaseshelper
Actions #4

Updated by pstivanin over 1 year ago

disabling apparmor fixed the issue, so it must be an issue with the dnsmasq rule.

# aa-disable usr.sbin.dnsmasq
Disabling /etc/apparmor.d/usr.sbin.dnsmasq.

# VIR_BRIDGE_NAME=virbr0 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt_leaseshelper
# 
Actions #6

Updated by pstivanin over 1 year ago

  • Status changed from In Progress to Blocked

Blocked until we get the libvirt update (see https://bugzilla.opensuse.org/show_bug.cgi?id=1203775)

Actions #7

Updated by pstivanin over 1 year ago

  • % Done changed from 20 to 80
Actions #8

Updated by pstivanin over 1 year ago

  • Status changed from Blocked to In Progress
  • % Done changed from 80 to 100

update is in 15-SP5. With the next build the issue should be gone. Let's keep this open and see.

Actions #9

Updated by pstivanin over 1 year ago

  • Status changed from In Progress to Resolved

fixed in 25.1

Actions #10

Updated by openqa_review over 1 year ago

  • Status changed from Resolved to Feedback

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: security_swtpm_uefi
https://openqa.suse.de/tests/10352598#step/swtpm_env_setup/1

To prevent further reminder comments one of the following options should be followed:

  1. The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
  2. The openQA job group is moved to "Released" or "EOL" (End-of-Life)
  3. The bugref in the openQA scenario is removed or replaced, e.g. label:wontfix:boo1234

Expect the next reminder at the earliest in 36 days if nothing changes in this ticket.

Actions #11

Updated by pstivanin over 1 year ago

  • Status changed from Feedback to Resolved

issue is unrelated to this ticket

Actions

Also available in: Atom PDF