[LU-13270] dom-performance 4 defects Created: 20/Feb/20  Updated: 01/Mar/20  Resolved: 01/Mar/20

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

Type: Bug Priority: Minor
Reporter: Elena Gryaznova Assignee: Elena Gryaznova
Resolution: Fixed Votes: 0
Labels: None

Epic/Theme: patch
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Patch makes the fs cleanup at the start of dom-performance optional and depending on t-f global DO_CLEANUP option value. For DO_CLEANUP=false script removes only the directories created by previous dom-performance session.
Without this fix test run 2nd time fail with:
lfs setdirstripe: dirstripe error on '/mnt/testfs/dp_dne':
stripe already set
lfs setdirstripe: cannot create stripe dir '/mnt/testfs/dp_dne':
File exists

Patch removes the check of the files createmany, statmany
and smalliomany which are part of lustre/tests. With
the existing check test_smallio() is always skipped
if run on PWD != lustre/tests.

Patch removes the comparison with MDSSIZE and adds the
comparison with real mds size. Without this fix the test
works incorrectly if run on existing fs (formatall was not
done during this session: Lustre was created with mds size
differs from MDSSIZE).

Add skip_env() to report about missing mdtest/dbench/IOR/etc.
Without this fix the tests are skipped silently.



 Comments   
Comment by Gerrit Updater [ 20/Feb/20 ]

Elena Gryaznova (c17455@cray.com) uploaded a new patch: https://review.whamcloud.com/37644
Subject: LU-13270 tests: dom-performance fixes
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: cfdf73cb665aabadeb39113aaf53a6c114d82d24

Comment by Gerrit Updater [ 01/Mar/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37644/
Subject: LU-13270 tests: dom-performance fixes
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 2c656415c3aa8c13ae86b01f6b93e711d6cd1328

Comment by Peter Jones [ 01/Mar/20 ]

Landed for 2.14

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