[LU-10366] sanity test 410 fails with 'no inode match' Created: 11/Dec/17  Updated: 23/Nov/22

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

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

Ubuntu clients


Issue Links:
Related
is related to LU-10997 Ubuntu 18 support Resolved
is related to LU-9966 sanity test_411: fail to trigger a me... Resolved
is related to LU-15781 Ubuntu 22.04 LTS release support Open
is related to LU-13740 Ubuntu 20.04 LTS release Resolved
is related to LU-14776 Ubuntu 20.04 HWE support Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

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

== sanity test 410: Test inode number returned from kernel thread ==================================== 23:57:31 (1512691051)
 sanity test_410: @@@@@@ FAIL: no inode match 

dmesg and console logs don’t have any new information for this test failure.

This failure is seen in master and b2_10 branches.

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 [ 11/Dec/17 ]

Which kernel version is this? Two LU-9558 patches landed to resolve 410 test issues. Hmm they seem to have landed to 2.10 branch.

Comment by James Nunez (Inactive) [ 11/Dec/17 ]

This is for Ubuntu 16.04 with kernel version 4.4.0-98-generic.

Comment by Andreas Dilger [ 12/Dec/17 ]

Is the kinode.ko module being built on Ubuntu? It is running the test.

Comment by Gerrit Updater [ 09/Apr/18 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: https://review.whamcloud.com/31921
Subject: LU-10366 test: test Ubuntu xattr handling
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 0f895e816c9bbbd033aa9bf437202864c736da25

Comment by James A Simmons [ 09/Apr/18 ]

Yes kinode is built. I believe the problem is that xattr handling was broken on nwer kernels. I pushed a patch to verify this is the case.

Comment by James A Simmons [ 27/Nov/18 ]

With the recent Ubuntu updates we can see what is going on with the test. What I discovered is that the pr_err() messages in the kinode.ko module are not being printed out to dmesg which makes the test fail. I attempted to change the printk levels but that didn't help. 

Found potential solution:

https://stackoverflow.com/questions/47589197/why-my-kernel-log-is-not-showing-the-latest-output

Comment by James A Simmons [ 29/Nov/18 ]

Hmm. I wonder if we should scan /proc/kmsg for the results?

Comment by Andreas Dilger [ 23/Nov/22 ]

Is this a problem with pr_err() that would be fixed by calling printk() directly? Alternately, what about using CDEBUG() and then dumping the debug logs with "lctl dk" for analysis? That would make the "kinode" module dependent on iibcfs.ko and other Lustre code, but it isn't like we need it to be a totally independent module.

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