[LU-9494] Improve message for skipping tests Created: 11/May/17 Updated: 16/Aug/17 Resolved: 14/Aug/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.10.1, Lustre 2.11.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | James Nunez (Inactive) | Assignee: | Ruth Klundt (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | easy, hackathon2017, test | ||
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
During Lustre testing, a test can be skipped for a variety of legitimate reasons like the test needs more than one MDT or the test needs more than three clients or the test needs separate MDS and MGS. When a test is skipped, a message is printed to explain why the test is being skipped. These messages should be short, but should be informative. There are many skipped test messages that are not informative. For example, con-sanity test 50i is skipped because “1 < 2; skipping”. We should make the messages for skipped tests be informative and, where possible, when tests are skipped for the same reason, make the messages the same. For example, when a test requires three or more MDTs, we should use “needs >= 3 MDTs” Here are a few messages that should be changed: sanity-quota test 7e: “Required more MDTs” sanity-quota test 12b: “skipping rebalancing test” sanity-lfsck tests 2e, 12a, 15c, 22a, 22b, 23a, 24, 26b, 27b, 28, 31a-h conf-sanity test 5f Similarly, for recovery-small test 103, the message is “mgs and mds on the same target” could be clarified. The messages stating that a certain server file system is required could be standardized. Right now we have “only for ldiskfs”, “only for ldiskfs mdt”, and “only for ldiskfs MDT” |
| Comments |
| Comment by Gerrit Updater [ 31/May/17 ] |
|
Ruth Klundt (rklundt@sandia.gov) uploaded a new patch: https://review.whamcloud.com/27350 |
| Comment by Gerrit Updater [ 13/Aug/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27350/ |
| Comment by Peter Jones [ 14/Aug/17 ] |
|
Landed for 2.11 |
| Comment by Gerrit Updater [ 14/Aug/17 ] |
|
Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/28522 |
| Comment by Gerrit Updater [ 16/Aug/17 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/28522/ |