[LU-10152] conf-sanity test 99 needs to clean up at the end of the test Created: 23/Oct/17  Updated: 06/Nov/17  Resolved: 06/Nov/17

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

Type: Improvement Priority: Minor
Reporter: James Nunez (Inactive) Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: easy, tests

Rank (Obsolete): 9223372036854775807

 Description   

conf-sanity test_99 formats OST 1 with the “^resize_inode” and “meta_bg” options and does not reformat at the end of the test. This can cause tests that run after test 99 to fail. For example, running test 103 after test 99 causes the test to fail; see https://testing.hpdd.intel.com/test_sets/12bfb528-b4ad-11e7-9eee-5254006e85c2.

From the test log, we can see that OST 1 cannot be formatted

CMD: trevis-22vm3 mkdir -p /mnt/lustre-ost1
CMD: trevis-22vm3 test -b /dev/lvm-Role_OSS/P1
CMD: trevis-22vm3 e2label /dev/lvm-Role_OSS/P1
Starting ost1:   /dev/lvm-Role_OSS/P1 /mnt/lustre-ost1
CMD: trevis-22vm3 mkdir -p /mnt/lustre-ost1; mount -t lustre   		                   /dev/lvm-Role_OSS/P1 /mnt/lustre-ost1
trevis-22vm3: mount.lustre: mount /dev/mapper/lvm--Role_OSS-P1 at /mnt/lustre-ost1 failed: Address already in use
trevis-22vm3: The target service's index is already in use. (/dev/mapper/lvm--Role_OSS-P1)
Start of /dev/lvm-Role_OSS/P1 on ost1 failed 98

Although it seems excessive, calling reformat() at the end of the test will fix this issue.



 Comments   
Comment by Gerrit Updater [ 23/Oct/17 ]

James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/29717
Subject: LU-10152 tests: reformat after conf-sanity test 99
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c6d9f0bdf5ac39a8e4ccc1c68d865310c02f043c

Comment by Gerrit Updater [ 06/Nov/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29717/
Subject: LU-10152 tests: reformat after conf-sanity test 99
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c14e6d47b216e6dab4b8c6ed4f491e700ce19367

Comment by Peter Jones [ 06/Nov/17 ]

Landed for 2.11

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