Project

General

Profile

Actions

action #95866

closed

[qe-sap][ha][shap] test fails in check_logs with "segfault detected in the system!" but I failed to find more detailed information about it

Added by okurz almost 3 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Enhancement to existing tests
Target version:
-
Start date:
2021-07-22
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-15-SP3-SAP-DVD-Updates-x86_64-qam_sles4sap_wmp_hana_node01@64bit-sap-qam fails in
check_logs
with "segfault detected in the system!" but I failed to find more detailed information about it.

The relevant test code is

     if (script_run '(( $(grep -sR segfault /var/log | wc -l) == 0 ))') {
         if (script_run '(( $(egrep -sR iscsiadm.+segfault /var/log | wc -l) == 0 ))') {
             record_soft_failure "bsc#1181052 - segfault on iscsiadm";
         }
         else {
             die "segfault detected in the system! Aborting";
         }
     }

Because I don't see a soft-fail reference to bsc#1181052 I assume that it's not a iscsiadm related segfault. It is not clear if the list from https://openqa.suse.de/tests/6505771#downloads contains log files from /var/log which are meant here.

Test suite description

The base test suite is used for job templates defined in YAML documents. It has no settings of its own.

Reproducible

Fails since (at least) Build 20210721-1 (current job)

Expected result

Last good: 20210720-2 (or more recent)

Also, more details about the segfault should be visible.

Suggestions

  • Please add a useful job template description. The default text is useless here
  • How about instead of piping the grep to wc -l just rely on the exit code of grep itself? E.g. just:
if (script_run 'grep -sR segfault /var/log' == 0) {
         if (script_run 'egrep -sR iscsiadm.+segfault /var/log' == 0) {
             record_soft_failure 'bsc#1181052 - segfault on iscsiadm, see screenshot for details';
         }
         else {
             die 'segfault detected in the system! See screenshot for details. Aborting';
         }
     }

Further details

Always latest result in this scenario: latest

Actions

Also available in: Atom PDF