[LU-10365] sanity test 400a fails with 'client api broken' Created: 11/Dec/17  Updated: 02/Jan/19  Resolved: 01/Sep/18

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.1, Lustre 2.11.0, Lustre 2.10.2, Lustre 2.10.4
Fix Version/s: Lustre 2.12.0

Type: Bug Priority: Minor
Reporter: James Nunez (Inactive) Assignee: James A Simmons
Resolution: Fixed Votes: 0
Labels: ubuntu
Environment:

Ubuntu client


Issue Links:
Related
is related to LU-10997 Ubuntu 18 support Resolved
is related to LU-10470 performance-sanity on ubuntu: missing... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

sanity test 400a is failing for Ubuntu clients. From the client test log, we see

== sanity test 400a: Lustre client api program can compile and link ================================== 23:56:35 (1512690995)
/usr/lib64/lustre/tests/clientapi/simple_test.c:32:30: fatal error: lustre/lustreapi.h: No such file or directory
compilation terminated.
 sanity test_400a: @@@@@@ FAIL: client api broken

This issue looks similar to LU-9301.

Logs for recent failures are at
https://testing.hpdd.intel.com/test_sets/d212dae6-dc3e-11e7-a066-52540065bddc
https://testing.hpdd.intel.com/test_sets/a67135e2-dae3-11e7-9840-52540065bddc



 Comments   
Comment by James A Simmons [ 22/Mar/18 ]

I think I know why this is failing. Is lustre-dev*.dpkg installed in the image? If you are not installing it in the image then /usr/include/lustre does not exist which is why it is failing. For sanity test 400a it does not set the extra_flags right to test against the user land headers inside the lustre source tree. I will push a patch to make that work.

Comment by Gerrit Updater [ 22/Mar/18 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/31737
Subject: LU-10365 tests: set proper paths headers for sanity test 400b
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e021ea454be94af2d4358c433d06dc6a01a2a223

Comment by Andreas Dilger [ 30/Mar/18 ]

This test has been added to ALWAYS_EXCEPT so that Ubuntu now passes sanity on master.

Comment by James A Simmons [ 20/Aug/18 ]

While looking at LU-10470 I noticed lustre-devel-*.deb is not being installed into the test image which might explain why this is failing.

Comment by James A Simmons [ 21/Aug/18 ]

The latest patch passes!!!! Another bug done.

Comment by Gerrit Updater [ 01/Sep/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/31737/
Subject: LU-10365 tests: set proper paths headers for sanity test 400a
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a05c6e3f5598adaa68f7ac52bf489354953b7c2c

Comment by Peter Jones [ 01/Sep/18 ]

Landed for 2.12

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