[LU-7301] change test-framework to exclude the cleanup between the tests suites Created: 15/Oct/15 Updated: 22/Jun/16 Resolved: 22/Jun/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.5.3 |
| Fix Version/s: | Lustre 2.9.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Chennaiah Palla (Inactive) | Assignee: | Jian Yu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
each test suite runs check_and_cleanup_lustre () at the end; [ -n "$DIR" ] && rm -rf $DIR/[Rdfs][0-9]*
The idea is to split "check" and "cleanup" and force test-framework to do "check" by lfsck, and exclude cleanup if required. |
| Comments |
| Comment by Andreas Dilger [ 15/Oct/15 ] |
|
There is a patch I submitted to run LFSCK after every subtest: http://review.whamcloud.com/16237 Note that this isn't wholly implementing your idea, but could be used as a starting point for this. It only runs the LFSCK checking of the filesystem. After unmount the filesystems it should also run a local fsck check on each device. |
| Comment by Gerrit Updater [ 20/Oct/15 ] |
|
Chennaiah Palla (chennaiah.palla@seagate.com) uploaded a new patch: http://review.whamcloud.com/16887 |
| Comment by Gerrit Updater [ 21/Dec/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/16237/ |
| Comment by Peter Jones [ 10/Jun/16 ] |
|
Jian Could you please review this change? Thanks Peter |
| Comment by Gerrit Updater [ 22/Jun/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/16887/ |
| Comment by Jian Yu [ 22/Jun/16 ] |
|
Patch landed to master branch for Lustre 2.9.0. |