[LU-13204] sanity test 100: netstat: command not found on SLES15 SP1 Created: 05/Feb/20  Updated: 22/Jul/23  Resolved: 26/Apr/23

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

Type: Bug Priority: Minor
Reporter: Jian Yu Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: None
Environment:

SLES15 SP1 and SP2


Issue Links:
Related
is related to LU-16661 recommend bash-completion for packages Resolved
is related to LU-11310 support for SLES 15 Resolved
is related to LU-13177 add e2fsprog support for SLES15SP1 Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

sanity test 100 failed as follows:

== sanity test 100: check local port using privileged port =========================================== 00:34:34 (1580805274)
/usr/lib64/lustre/tests/sanity.sh: line 8735: netstat: command not found
 sanity test_100: @@@@@@ FAIL: privileged port not found

https://testing.whamcloud.com/test_sets/2ebe54e4-476a-11ea-b58e-52540065bddc

The tools arp, route, netstat, iptunnel, ipmaddr, and ifconfig from the package net-tools are deprecated on SLES15 SP1.

The package net-tools-deprecated contains the obsolete tools that can be replaced with ip subcommands as below:

arp -> ip [r] neigh
route -> ip route
netstat -> ss [-r]
iptunnel -> ip tunnel
ipmaddr -> ip maddress
ifconfig -> ip address



 Comments   
Comment by James A Simmons [ 26/May/20 ]

Is this the blocker to start testing SLES15?

Comment by Jian Yu [ 26/May/20 ]

It's not a blocker, James. Only sanity test 100 is affected.

Comment by Andreas Dilger [ 28/Apr/21 ]

It looks like this is intermittently failing on other runs (14 times in the past week out of 62 runs on SLES 15.2).

It looks like the trevis test runs are passing and onyx test runs are failing.

Comment by Gerrit Updater [ 18/Apr/23 ]

"James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50676
Subject: LU-13204 tests: replace netstat with ss tool
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e3bc4319b95b558c43c2b02aa02cbf10aceb21ec

Comment by Andreas Dilger [ 18/Apr/23 ]

It turns out this is because SLES15 no longer installs "netstat" by default.

Comment by James A Simmons [ 26/Apr/23 ]

Patch https://review.whamcloud.com/#/c/fs/lustre-release/+/50397 resolved this issue

Generated at Sat Feb 10 02:59:17 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.