Project

General

Profile

Actions

action #163937

closed

[qe-core][multi-machine], cmd should fail or die if "ping" to gateway fails

Added by rfan1 12 days ago. Updated 11 days ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
Start date:
2024-07-15
Due date:
% Done:

0%

Estimated time:
Difficulty:
Sprint:
QE-Core: July Sprint 24 (Jul 03 - Jul 31)

Description

Description

I can see the command below can still get return code "0" even ping is not successful.
https://openqa.suse.de/tests/14876266#step/before_test/170

# wait_serial expected: qr/jeCXy-\d+-/u
# Result:

PING 10.0.2.2 (10.0.2.2) 56(84) bytes of data.
From 10.0.2.11 icmp_seq=1 Destination Host Unreachable

--- 10.0.2.2 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

jeCXy-0-

  lib/network_utils.pm
 47     assert_script_run "ping -c 1 $gw || journalctl -b --no-pager -o short-precise > /dev/$serialdev";

IMO We need to fix it

Observation

openQA test in scenario sle-15-SP4-Server-DVD-Updates-x86_64-qam_wicked_wlan_sut@64bit fails in
before_test

Test suite description

Testsuite maintained at https://gitlab.suse.de/qa-maintenance/qam-openqa-yml.

Reproducible

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

Expected result

Last good: 20240708-1 (or more recent)

Further details

Always latest result in this scenario: latest

Actions

Also available in: Atom PDF