[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 |
| Comment by Gerrit Updater [ 06/Nov/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29717/ |
| Comment by Peter Jones [ 06/Nov/17 ] |
|
Landed for 2.11 |