Project

General

Profile

Actions

action #25158

closed

[sles][opensuse][functional]test fails in yast2_apparmor

Added by riafarov over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2017-09-11
Due date:
2017-09-27
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

Adjust test for changed apparmor UI.

Same is valid for SLES 15: https://openqa.suse.de/tests/1156884#step/yast2_apparmor/6

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-yast2_ui@64bit fails in
yast2_apparmor

Reproducible

Fails since (at least) Build 20170822

Expected result

Last good: 20170822 (or more recent)

Further details

Always latest result in this scenario: latest


Related issues 2 (0 open2 closed)

Related to openQA Tests - coordination #20580: [sle][functional][epic] sle 15 setupResolvedokurz2017-07-202017-09-27

Actions
Has duplicate openQA Tests - action #23846: yast2_apparmor failed on recently for TWRejectedzluo2017-09-01

Actions
Actions #1

Updated by riafarov over 6 years ago

Actions #2

Updated by okurz over 6 years ago

  • Status changed from New to In Progress

please update today together with zluo, IMHO we are blocked by the same bug as for SLE15 that the layout is cramped together so needles won't match

Actions #3

Updated by okurz over 6 years ago

  • Due date set to 2017-09-27
  • Priority changed from Normal to High

bumped prio because both TW and SLE are affected, also integrating duplicate

Actions #4

Updated by okurz over 6 years ago

  • Has duplicate action #23846: yast2_apparmor failed on recently for TW added
Actions #5

Updated by riafarov over 6 years ago

I've verified this on both SLE15 and TW. Despite ugly GUI, we still can test apparmor further as GUI was changed and tests need adjustment.

Actions #6

Updated by riafarov over 6 years ago

  • Assignee changed from riafarov to SLindoMansilla

As per discussion, assign it to Sergio. The only specific thing about this ticket is to consider creating workaround needles for ugly looking interface.

Actions #7

Updated by SLindoMansilla over 6 years ago

Workaround needle: https://gitlab.suse.de/openqa/os-autoinst-needles-sles/merge_requests/488

But, an error appears when trying to enable apparmor.

Actions #8

Updated by okurz over 6 years ago

  • Status changed from In Progress to Resolved
  • Assignee changed from SLindoMansilla to okurz

needles merged. I looked at the error message. To me it looks like a bug. Especially when I take a look into y2log then which states:

2017-09-15 08:45:28 <3> susetest(3261) [bash] ShellCommand.cc(shellcommand):78 Failed to get unit file state for apparmor.service: No such file or directory
2017-09-15 08:45:28 <3> susetest(3261) [Ruby] modules/Service.rb:443 Service 'apparmor' not found
2017-09-15 08:45:28 <1> susetest(3261) [Ruby] yast2/systemd_unit.rb:123 `systemctl show apparmor.service  --property=Id  --property=MainPID  --property=Description  --property=LoadState  --property=ActiveState  --property=SubState  --property=UnitFileState  --property=FragmentPath `
2

Did you come to the same conclusion? If yes I wonder why you did not create a bug then? After merging the needles I triggered the test now on osd and could confirm the error https://openqa.suse.de/tests/1172782#step/yast2_apparmor/7 So now I created a bug bsc#1058981

I think we are done here as we end up in a product bug. Good job.

Actions

Also available in: Atom PDF