[LU-14547] santyn/109 fails on a local setup Created: 23/Mar/21  Updated: 06/Apr/21  Resolved: 06/Apr/21

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

Type: Bug Priority: Minor
Reporter: Alex Zhuravlev Assignee: Etienne Aujames
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-14110 Race during several client mount inst... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
== sanityn test 109: Race with several mount instances on 1 node ===================================== 09:08:40 (1616472520)
192.168.122.38@tcp:/lustre /mnt/lustre lustre rw,flock,user_xattr,lazystatfs,noencrypt 0 0
Stopping client tmp.ezAnrHSAb2 /mnt/lustre (opts:)
192.168.122.38@tcp:/lustre /mnt/lustre2 lustre rw,flock,user_xattr,lazystatfs,noencrypt 0 0
Stopping client tmp.ezAnrHSAb2 /mnt/lustre2 (opts:)
Starting race between client mount instances (50 iterations):
Iteration 1
Starting client: tmp.ezAnrHSAb2:  -o user_xattr,flock tmp.ezAnrHSAb2@tcp:/lustre /mnt/lustre
Starting client: tmp.ezAnrHSAb2:  -o user_xattr,flock tmp.ezAnrHSAb2@tcp:/lustre /mnt/lustre2
192.168.122.38@tcp:/lustre /mnt/lustre lustre rw,flock,user_xattr,lazystatfs,noencrypt 0 0
192.168.122.38@tcp:/lustre /mnt/lustre2 lustre rw,flock,user_xattr,lazystatfs,noencrypt 0 0
Stopping client tmp.ezAnrHSAb2 /mnt/lustre (opts:)
Stopping client tmp.ezAnrHSAb2 /mnt/lustre2 (opts:)
rmmod: ERROR: Module mdd is in use
 sanityn test_109: @@@@@@ FAIL: Fail to remove lustre modules 
  Trace dump:
  = ./../tests/test-framework.sh:6276:error()
  = sanityn.sh:5596:test_109()
  = ./../tests/test-framework.sh:6579:run_one()
  = ./../tests/test-framework.sh:6626:run_one_logged()
  = ./../tests/test-framework.sh:6468:run_test()
  = sanityn.sh:5605:main()


 Comments   
Comment by Alex Zhuravlev [ 25/Mar/21 ]

I guess the reason is that mdd (and all server modules) can't be unloaded given the clients share node with the servers (local setup).
something like:

local_mode && skip "need remote servers"

can help?

Comment by Gerrit Updater [ 26/Mar/21 ]

Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: https://review.whamcloud.com/43142
Subject: LU-14547 test: skip sanityn 109 for local setup
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 84705ca8a51ff6de33db63deb54c749f23410f8f

Comment by Etienne Aujames [ 26/Mar/21 ]

Hello Alex,

Yes we need to unload obdclass to reproduce the LU-14110.

Comment by Gerrit Updater [ 06/Apr/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43142/
Subject: LU-14547 test: skip sanityn 109 for local setup
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 622e4c6e04baa4f9d19cc33f4636679014fc1d2f

Comment by Peter Jones [ 06/Apr/21 ]

Landed for 2.15

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