Project

General

Profile

Actions

action #161075

closed

[security] test fails in oscap_xccdf_remediate, timeout during ansible-playbook

Added by emiler about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2024-05-28
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

openQA test in scenario sle-15-SP6-Server-DVD-Updates-aarch64-oscap_ansible_anssi_bp28_high@aarch64-virtio fails in
oscap_xccdf_remediate

Times out when running ansible-playbook.

Actions #1

Updated by amanzini about 1 month ago

  • Assignee set to amanzini
Actions #2

Updated by amanzini about 1 month ago ยท Edited

first observation: ansible remediation script runs for 57 minutes, then times out. This only happens on aarch64, while on x86_64 it takes ~20 minutes and s390x ~35 minutes. Maybe we should bump MAX_JOB_TIME at least for this architecture

As an alternative, we can execute the long-running command in background, and periodically check when it's finished so we can at least get a partial progress of the status (by inspecting the redirected std output)

Actions #3

Updated by amanzini about 1 month ago

  • Status changed from New to In Progress
Actions #5

Updated by amanzini about 1 month ago

  • Status changed from In Progress to Feedback

PR to address the long-running command and provide feedback to the user

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/19456

Actions #6

Updated by tjyrinki_suse about 1 month ago

Great fixes!

Actions #7

Updated by amanzini about 1 month ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF