Project

General

Profile

Actions

action #104859

closed

coordination #91383: [security][epic] tracker poo for "Lynis test cases softfails in OpenQA"

[Tumbleweed][security][backlog] test fails in 45_[+]_Binary_integrity: test code need enhance to ignore executables' changeable number

Added by llzhao over 2 years ago. Updated about 2 years ago.

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

100%

Estimated time:
4.00 h
Difficulty:

Description

Observation

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-lynis_gnome@64bit fails in
45_[+]_Binary_integrity

Test suite description

Reproducible

Fails since (at least) Build 20220105

Expected result

Last good: 20220104 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by llzhao over 2 years ago

  • Subject changed from [Tumbleweed][security] test fails in 45_[+]_Binary_integrity: baselines need update and test code need enhance to [Tumbleweed][security] test fails in 45_[+]_Binary_integrity: test code need enhance to ignore executables' changeable number

Do # diff "https://openqa.opensuse.org/tests/2131251#step/45_[+]_Binary_integrity/4" and "https://openqa.opensuse.org/tests/2131251#step/45_[+]_Binary_integrity/5" the current outputs look better than baselines:

# diff baseline_lynis_output current_lynis_output:

<  [4CNo bad RPATH usage found in 8179 executables[13C [ OK ]
---
>  [4CNo bad RPATH usage found in 8160 executables[13C [ OK ]
12a13
> 

The number executables changes (8179 -> 8160) so the test code should be enhance to ignore the changeable number.

Actions #2

Updated by llzhao over 2 years ago

  • Parent task set to #91383
Actions #3

Updated by llzhao about 2 years ago

  • Subject changed from [Tumbleweed][security] test fails in 45_[+]_Binary_integrity: test code need enhance to ignore executables' changeable number to [Tumbleweed][security][backlog] test fails in 45_[+]_Binary_integrity: test code need enhance to ignore executables' changeable number
Actions #4

Updated by llzhao about 2 years ago

  • Status changed from New to In Progress
Actions #5

Updated by llzhao about 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

It was resolved and test case is passed.
FYI:

            my @exceptions = (
                "Checking for password protection.*WARNING.*",
...
                "No bad RPATH usage found in.*executables.*OK.*",
                "Open port .* not allowed.*WARNING.*",
                "HW RNG .* rngd.*"
            );

Actions

Also available in: Atom PDF