[LU-4116] replay-dual test_18: Correct error message search Created: 17/Oct/13  Updated: 15/Jul/15  Resolved: 19/Nov/13

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

Type: Bug Priority: Minor
Reporter: James Nunez (Inactive) Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-6652 replay-dual test 18 statmany wrong file Resolved
Severity: 3
Rank (Obsolete): 11102

 Description   

In a patch cleaning up calls to mkdir in Lustre tests (http://review.whamcloud.com/#/c/5022), Andreas requested a patch be made to replay-dual test 18. Commenting on the test 18 code:

	dmesg | grep "entering recovery in server" &&
		error "client not evicted" || true

the request:

This error message as written doesn't exist in the Lustre code anywhere. Checking back in b1_8 it comes from ldlm_expired_completion_wait(), and I see that this string does exist in master, but is split across multiple lines... The other problem is that it is LDLM_DEBUG() now instead of LDLM_ERROR(), since it was changed in http://review.whamcloud.com/2201 (commit 57373a29) "Quiet/cleanup various common console message".

The string "not entering recovery" is visible in all releases, but is still in LDLM_DEBUG() since 2.3.59. If this test enabled D_DLMTRACE at the start, it could consistently find this in the MDS debug log. I also observe that this test is only checking the local console log instead of the MDS console log, so it has probably been broken for multi-node testing for a long time (though I've never seen it in my local node testing either). In a separate patch, could you please fix this to be:

local DLMTRACE=$(do_facet $SINGLEMDS lctl get_param debug)
do_facet $SINGLEMDS lctl set_param debug=+dlmtrace
mkdir $MOUNT1/$tdir ...
:
:
wait $OPENPID
do_facet $SINGLEMDS lctl debug_kernel |
grep "not entering recovery" && error "client not evicted"



 Comments   
Comment by James Nunez (Inactive) [ 31/Oct/13 ]

The proposed patch is at http://review.whamcloud.com/#/c/8129/

Comment by James Nunez (Inactive) [ 19/Nov/13 ]

Landed to master

Generated at Sat Feb 10 01:39:48 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.