[LU-14653] sanity-lnet test_300 fails when run in tree Created: 29/Apr/21  Updated: 22/Jun/21  Resolved: 22/Jun/21

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

Type: Bug Priority: Minor
Reporter: Chris Horn Assignee: Chris Horn
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

sanity-lnet test_300 fails for me when run in tree:

sles15build01:/home/hornc/fs2/lustre/tests # ./auster -N -v sanity-lnet --only 300
...
== sanity-lnet test 300: packaged LNet UAPI headers can be compiled ================================== 12:20:23 (1619716823)
Cleaning up LNet
opening /dev/obd failed: No such file or directory
hint: the kernel modules may not be loaded
modules unloaded.
libkmod: kmod_module_get_holders: could not open '/sys/module/fjes/holders': No such file or directory
../libcfs/libcfs/libcfs options: 'libcfs_debug=320735104 libcfs_subsystem_debug=-2049'
../lnet/lnet/lnet options: 'lnet_peer_discovery_disabled=0 ip2nets="tcp(eth0) 192.168.2.[30-44/2]; tcp(eth1) 192.168.2.[31-45/2]" accept=all'
In file included from <command-line>:32:0:
/home/hornc/fs2/lustre/../lnet/include/uapi/linux/lnet/lnetctl.h:26:10: fatal error: linux/lnet/lnet-types.h: No such file or directory
 #include <linux/lnet/lnet-types.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
 sanity-lnet test_300: @@@@@@ FAIL: cannot compile '/home/hornc/fs2/lustre/../lnet/include/uapi/linux/lnet/lnetctl.h'


 Comments   
Comment by Gerrit Updater [ 29/Apr/21 ]

Chris Horn (chris.horn@hpe.com) uploaded a new patch: https://review.whamcloud.com/43500
Subject: LU-14653 tests: Correct include path for sanity-lnet test_300
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e332937bf4338c9938885e383b036bbaef5ebf43

Comment by Gerrit Updater [ 21/Jun/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43500/
Subject: LU-14653 tests: Correct include path for sanity-lnet test_300
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6fc63cd993662c2fe5af9a5e0a0ce37036aff19d

Comment by Peter Jones [ 22/Jun/21 ]

Landed for 2.15

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