[LU-14900] Do not fail if kmemleak is nto writeable Created: 31/Jul/21  Updated: 06/Apr/22  Resolved: 03/Aug/21

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

Type: Bug Priority: Minor
Reporter: Oleg Drokin Assignee: Oleg Drokin
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

For some reason set -e we have at the start of test framework.sh is not taking effect on centos7, but on rhel8 and other releases it makes llmount.sh and everything else fail like this:

./../tests/test-framework.sh: line 685: echo: write error: Operation not permitted 

or

./../tests/test-framework.sh: line 685: echo: write error: Device or resource busy 

which happens on new kernel when kmemleak is disabled on start and then execution just stops.

So probably need to ignore those failures.



 Comments   
Comment by Gerrit Updater [ 31/Jul/21 ]

Oleg Drokin (green@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/44451
Subject: LU-14900 tests: do not fail if kmemleak tuanble is not writable
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 55589a0770b3728a8f4d0811b4a72cac2aa75cd0

Comment by Gerrit Updater [ 03/Aug/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/44451/
Subject: LU-14900 tests: do not fail if kmemleak tunable is not writable
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a94781aeaa6f186dc59190cadcb5ce6985c8e10d

Comment by Peter Jones [ 03/Aug/21 ]

Landed for 2.15

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