Project

General

Profile

Actions

action #101106

closed

[sle][security][sle15sp4] test fails in lynis_perform_system_audit: command 'lynis audit system --nocolors' timed out

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2021-10-18
Due date:
% Done:

100%

Estimated time:
8.00 h
Difficulty:

Description

Observation

openQA test in scenario sle-15-SP4-Online-aarch64-lynis_gnome@aarch64 fails in
lynis_perform_system_audit

Test suite description

Reproducible

Fails since (at least) Build 47.1

Expected result

Last good: 43.1 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by llzhao over 2 years ago

  • Status changed from New to In Progress

Analise:
E.g., https://openqa.suse.de/tests/7520922/logfile?filename=autoinst-log.txt
The command executed for 12 minutes we can improve the timeout value to 15 minutes.

[2021-10-25T08:23:17.396096+02:00] [debug] <<< testapi::assert_script_run(cmd="lynis audit system --nocolors > /tmp/lynis_audit_system_current_file 2> /tmp/lynis_audit_system_error_file", quiet=undef, timeout=900, fail_message="")
[2021-10-25T08:23:17.396526+02:00] [debug] tests/security/lynis/lynis_perform_system_audit.pm:27 called testapi::assert_script_run
[2021-10-25T08:23:17.397142+02:00] [debug] <<< testapi::type_string(string="lynis audit system --nocolors > /tmp/lynis_audit_system_current_file 2> /tmp/lynis_audit_system_error_file", max_interval=250, wait_screen_changes=0, wait_still_screen=0, timeout=30, similarity_level=47)
[2021-10-25T08:23:21.220236+02:00] [debug] tests/security/lynis/lynis_perform_system_audit.pm:27 called testapi::assert_script_run
[2021-10-25T08:23:21.221025+02:00] [debug] <<< testapi::type_string(string="; echo LlrZr-\$?- > /dev/ttyAMA0\n", max_interval=250, wait_screen_changes=0, wait_still_screen=0, timeout=30, similarity_level=47)
[2021-10-25T08:23:22.454302+02:00] [debug] tests/security/lynis/lynis_perform_system_audit.pm:27 called testapi::assert_script_run
[2021-10-25T08:23:22.455185+02:00] [debug] <<< testapi::wait_serial(regexp=qr/LlrZr-\d+-/u, buffer_size=undef, expect_not_found=0, no_regex=0, record_output=undef, timeout=900, quiet=undef)
[2021-10-25T08:34:49.716934+02:00] [debug] >>> testapi::wait_serial: (?^u:LlrZr-\d+-): ok

Actions #2

Updated by llzhao over 2 years ago

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

Also available in: Atom PDF