[LU-8950] tests: sanity-hsm: use make_custom_file_for_progress() as little as possible Created: 16/Dec/16  Updated: 29/Mar/22  Resolved: 13/Oct/18

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

Type: Improvement Priority: Minor
Reporter: CEA Assignee: Quentin Bouget
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Related
is related to LU-10344 sanity-hsm test_24a: atime is not les... Resolved
is related to LU-8905 tests: sanity-hsm test_3[3-6] does no... Closed
is related to LU-8940 tests: df is not responsive enough Closed
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The idea is to speed up tests on sanity-hsm.

The function make_custom_file_for_progress() is used to create huge files in tests that take a long time to be either archived or restored (this is useful to send cancel requests during a restore for example). But most of the time, this can be avoided by suspending the copytools or using gdb to stop the copytool's execution at the right moment.



 Comments   
Comment by Quentin Bouget [ 16/Dec/16 ]

Can someone tell me if I can use gdb in my tests of if it will fail with "command not found" on the test servers?

Comment by Gerrit Updater [ 16/Dec/16 ]

Quentin Bouget (quentin.bouget@cea.fr) uploaded a new patch: https://review.whamcloud.com/24394
Subject: LU-8950 tests: speed-up sanity-hsm
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 37ee084858784558601ae668ce8b13d4c63ae258

Comment by Gerrit Updater [ 04/Jan/17 ]

Quentin Bouget (quentin.bouget@cea.fr) uploaded a new patch: https://review.whamcloud.com/24704
Subject: LU-8950 tests: standardize file creation in sanity-hsm
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: a86559fa2fb232ce716cdab41cdfc7ab1c29a616

Comment by Quentin Bouget [ 02/Mar/17 ]

This patch: https://review.whamcloud.com/24394 (LU-8879 + LU-8950) ran sanity-hsm the fastest over the last 7 days in 2556s:

Name Total Min duration Avg duration Max duration
sanity-hsm 144 2556 4198 4450

The data comes from Maloo's "reports & stats">"durations" feature

Comment by Gerrit Updater [ 29/Nov/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/24704/
Subject: LU-8950 tests: standardize file creation in sanity-hsm
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 69c181ab35824167c6e3b7f15a3a077dd8c9896c

Comment by Gerrit Updater [ 09/Jan/18 ]

Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30814
Subject: LU-8950 tests: standardize file creation in sanity-hsm
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: c9c89075e3097343c1b036148577e6c794962f92

Comment by Gerrit Updater [ 12/Oct/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/24394/
Subject: LU-8950 tests: do not use make_custom_file_for_progress()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 1e3d2aa9cf53af3c0ccc331cd715c68f0f049d36

Comment by Peter Jones [ 13/Oct/18 ]

Landed for 2.12

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