Project

General

Profile

Actions

action #67318

closed

[functional][u] test fails in quota "bash: /dev/hvc0: Permission denied"

Added by michel_mno almost 4 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 31
Start date:
2020-05-27
Due date:
% Done:

0%

Estimated time:
42.00 h
Difficulty:

Description

test fails in quota "bash: /dev/hvc0: Permission denied" ppc64le
just after user login on first command:
"setterm -blank 0; echo YpuUt-$?- > /dev/hvc0
-bash: /dev/hvc0: Permission denied"

problem new with Build 263.1, not in previous 260.2.

Observation

openQA test in scenario opensuse-15.2-DVD-ppc64le-extra_tests_in_textmode@ppc64le fails in
quota

Test suite description

Maintainer: okurz@suse.de

Mainly console extratest.

Reproducible

Fails since (at least) Build 263.1 (current job)

Expected result

Last good: 260.2 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by michel_mno almost 4 years ago

I do not understand cause of failure.
the system_prepare correctly set ownvership and groups for /dev/hvc0 as per https://openqa.opensuse.org/tests/1279002#step/system_prepare/10

Actions #2

Updated by michel_mno almost 4 years ago

michel_mno wrote:

I do not understand cause of failure.
the system_prepare correctly set ownership and groups for /dev/hvc0 as per https://openqa.opensuse.org/tests/1279002#step/system_prepare/10

may be because reboot triggered by journalctl module in the meantime
https://openqa.opensuse.org/tests/1279002#step/journalctl/37

Actions #3

Updated by michel_mno almost 4 years ago

side effect of https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10335
that added reboot in journalctl module.

Actions #4

Updated by ph03nix almost 4 years ago

Hey there! If the reboot in journalctl is persistently problematic we can schedule this test after the failing ones. That's only a workaround of the underlying issue though.

Actions #5

Updated by SLindoMansilla almost 4 years ago

ph03nix wrote:

...schedule this test after the failing ones...

Yes, please, that would be enough to remove urgency.
In any case the best practice would be to isolate test modules (basic rule of testing) to avoid conflicts.
This is done in openQA by using "milestone" property for test modules which create a qemu qcow2 snapshot. quota should restore the snapshot it relies on. It could be evolution_prepare_servers which is the previous nearest module marked as milestone.

Actions #6

Updated by michel_mno almost 4 years ago

Other proposal:
What about a direct call to ensure_serialdev_permissions in quota.pm like https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10389 ?

Actions #7

Updated by michel_mno almost 4 years ago

  • Status changed from New to In Progress

wait above pr#10389 acceptance.

Actions #8

Updated by SLindoMansilla almost 4 years ago

  • Assignee set to michel_mno

michel_mno wrote:

wait above pr#10389 acceptance.

Please, only change state to "in progress" with an assignee.
If you want to unassign use state workable

Actions #9

Updated by SLindoMansilla almost 4 years ago

michel_mno wrote:

Other proposal:
What about a direct call to ensure_serialdev_permissions in quota.pm like https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10389 ?

merged, urgency removed.

Actions #10

Updated by SLindoMansilla over 3 years ago

  • Subject changed from test fails in quota "bash: /dev/hvc0: Permission denied" to [functional][u] test fails in quota "bash: /dev/hvc0: Permission denied"
  • Status changed from In Progress to Workable
  • Assignee deleted (michel_mno)
Actions #11

Updated by zluo over 3 years ago

  • Status changed from Workable to In Progress
  • Assignee set to zluo
  • Target version set to Milestone 31
  • Estimated time set to 42.00 h

take over and checking the current status.

Actions #12

Updated by zluo over 3 years ago

  • Status changed from In Progress to Rejected
Actions

Also available in: Atom PDF