[LU-5622] copytool_cleanup function should check/wait for copytool death Created: 15/Sep/14  Updated: 19/Oct/15  Resolved: 12/Jan/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.7.0, Lustre 2.5.3
Fix Version/s: Lustre 2.7.0, Lustre 2.5.4

Type: Bug Priority: Minor
Reporter: Bruno Faccini (Inactive) Assignee: Bruno Faccini (Inactive)
Resolution: Fixed Votes: 0
Labels: 22pl, hsm

Issue Links:
Related
is related to LU-6203 sanity-hsm test 251: FAIL: Copytool f... Resolved
is related to LU-7312 sanity-hsm: $? verification is not va... Resolved
Severity: 3
Rank (Obsolete): 15729

 Description   

copytool_cleanup() function of sanity-hsm test suite does not presently check/wait for effective copytool main+fork'ed processes death.

This can be a problem, since a lot of sanity-hsm sub-tests end with a copytool_cleanup() call when next sub-test starts with a copytool_setup() call, and may lead to situations/failures, like in the following auto-tests sessions :

https://testing.hpdd.intel.com/test_sets/2fb4cdd8-3aaa-11e4-a021-5254006e85c2
https://testing.hpdd.intel.com/test_sets/7ff7ee42-2fe2-11e4-9f89-5254006e85c2
https://testing.hpdd.intel.com/test_sets/1bc3d036-311c-11e4-b503-5254006e85c2
https://testing.hpdd.intel.com/test_sets/02b03f6c-e761-11e3-9c5d-52540035b04c

where next sub-test copytool_setup() attempt will not succeed to restart a new/fresh copytool (but only signal the current/old one from previous sub-test), finally leading to a test failure.



 Comments   
Comment by Bruno Faccini (Inactive) [ 15/Sep/14 ]

master patch is at http://review.whamcloud.com/11922.

Comment by Jian Yu [ 02/Dec/14 ]

More instance on Lustre b2_5 branch:
https://testing.hpdd.intel.com/test_sets/1d41c008-7a28-11e4-807e-5254006e85c2

Comment by Gerrit Updater [ 04/Dec/14 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/11922/
Subject: LU-5622 tests: check/wait for copytool death
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6facf3953b170832200ca9c111398da8feecd281

Comment by Gerrit Updater [ 05/Dec/14 ]

Jian Yu (jian.yu@intel.com) uploaded a new patch: http://review.whamcloud.com/12967
Subject: LU-5622 tests: check/wait for copytool death
Project: fs/lustre-release
Branch: b2_5
Current Patch Set: 1
Commit: 2fd97595bf80e2d1bef4ac9fb24ebc73e4e16c1a

Comment by Peter Jones [ 12/Jan/15 ]

Landed for 2.7

Comment by Gerrit Updater [ 27/Jan/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12967/
Subject: LU-5622 tests: check/wait for copytool death
Project: fs/lustre-release
Branch: b2_5
Current Patch Set:
Commit: 97fc8c8caf41e9d74cdb1e373f19c907ed8481b2

Generated at Sat Feb 10 01:53:05 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.