[LU-8655] customize run_mdtest() Created: 30/Sep/16  Updated: 19/Nov/16  Resolved: 19/Nov/16

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

Type: Improvement Priority: Minor
Reporter: Elena Gryaznova Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Duplicate
Rank (Obsolete): 9223372036854775807

 Description   

sometimes it is required to run mdtest with parameters missing in run_mdtest()
Example: To reproduce some issue reported by our customers we needed to run:
mpirun -np 1 mdtest -n 100000 -i 1 -p 5 -u -v -F -d mdtest.out

Proposed patch adds mdtest_custom_params, which allows to set mdtest_custom_params="-p 5 -F -v" to run mdtest with required parameters,



 Comments   
Comment by Gerrit Updater [ 30/Sep/16 ]

Elena Gryaznova (elena.gryaznova@seagate.com) uploaded a new patch: http://review.whamcloud.com/22850
Subject: LU-8655 tests: customize run_mdtest()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 935b872f5957b1f61797bdbdc0137eab011837d0

Comment by Elena Gryaznova [ 07/Nov/16 ]

http://review.whamcloud.com/#/c/22850/2
Testing fails with error :
Patch Set 2:
Onyx Autotest2 found an error in the testrequirements: Undefined variable mdtestfpp used

Test parameters used:

Test-Parameters: trivial envdefinitions=ONLY="mdtestssf mdtestfpp" testlist=parallel-scale

Jian,
please advice what parameters should be used to run 2 tests.
Thanks.

Comment by Jian Yu [ 07/Nov/16 ]

Hi Elena,
It looks like autotest does not support the above way. Spaces are used as delimiter in the Test-Parameters line. Could you please specify two Test-Parameters lines to run mdtestssf and mdtestfpp separately? Thank you.

Comment by Elena Gryaznova [ 07/Nov/16 ]

Thank you, Jian.
Done.

Comment by Gerrit Updater [ 19/Nov/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/22850/
Subject: LU-8655 tests: customize run_mdtest()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 29abb12fe8a333d8295420dfe3c70b9f742d6527

Comment by Peter Jones [ 19/Nov/16 ]

Landed for 2.9

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