[LU-13943] lnet-selftest fails due to clients and server lists are empty Created: 03/Sep/20  Updated: 12/Sep/20  Resolved: 12/Sep/20

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

Type: Bug Priority: Minor
Reporter: Elena Gryaznova Assignee: Elena Gryaznova
Resolution: Fixed Votes: 0
Labels: None

Epic/Theme: patch
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

lnet-selftest does not load modules before getting clients and servers list_nids:

lst_SERVERS=${lst_SERVERS:-$(comma_list "$(host_nids_address $nodes $NETTYPE)")}
host_nids_address()->do_nodes $nodes "$LCTL list_nids 

reproducer:

NAME=ncli LOAD_MODULES_REMOTE=true sh llmountcleanup.sh 
modules unloaded.
# NAME=ncli sh lnet-selftest.sh 
...
cleanup () { trap 0; echo killing $1 ... ; kill -9 $1 || true; }
/usr/sbin/lst new_session --timeo 100000 hh
/usr/sbin/lst add_group c 
/usr/sbin/lst add_group s 
/usr/sbin/lst add_batch b
..
SESSION: hh FEATURES: 1 TIMEOUT: 100000 FORCE: No
add_group: Usage: lst group NAME IDs [IDs]...
 lnet-selftest test_smoke: @@@@@@ FAIL: /tmp/smoke.sh failed: 255 


 Comments   
Comment by Gerrit Updater [ 03/Sep/20 ]

Elena Gryaznova (c17455@cray.com) uploaded a new patch: https://review.whamcloud.com/39815
Subject: LU-13943 tests: load modules for list_nids getting
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: a4cce646999d68d9e4653edaf5722577423a409c

Comment by Gerrit Updater [ 12/Sep/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39815/
Subject: LU-13943 tests: load modules for list_nids getting
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 2ffd1ca258784b51448374bbbcde419c0156f678

Comment by Peter Jones [ 12/Sep/20 ]

Landed for 2.14

Generated at Sat Feb 10 03:05:32 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.