[LU-1409] The lustre-tests package needs more extensive dependencies Created: 15/May/12 Updated: 19/Sep/14 Resolved: 19/Sep/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.5.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Bruce Korb (Inactive) | Assignee: | Cliff White (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | patch | ||
| Environment: |
UNIX |
||
| Severity: | 3 |
| Rank (Obsolete): | 8340 |
| Description |
|
If you load up the lustre-tests RPM, you would reasonably expect it |
| Comments |
| Comment by Andreas Dilger [ 15/May/12 ] |
|
The lustre-tests RPM is intended to be installed on the client, and is intended to be able to install on as many different systems as possible. It shouldn't necessarily require ldiskfsprogs, since this is only needed on the server. If there are specific tests that require e2fsprogs commands, they should typically be using "do_facet" or similar to run on the server. Hmm, I guess sanity.sh test_37* does use a small loopback filesystems for testing block device and loopback files, but I wonder if these should use "skip_env" if mke2fs is not installed? Similarly, pdsh is optional since it is possible to configure $PDSH to point to other tools that can do remote operations (such as SSH). It is also possible to run "client only" tests that do not have any remote access, and many subtests are skipped if remote server access is not possible (either because of no pdsh, or because the tester does not want to allow access to the server without a password). That said, I don't think tests are run in this more on a regular basis. Perl usage was removed from master (in 2.2 commit 26bb579a) for the one test that I'm aware of that used it directly (sanityn.sh test_3), and I'm not aware of other tests that currently depend on it. There are a few scripts that do use perl (e.g. checkstack.pl, rename.pl, leak_finder.pl), but they do not run as part of any normal test. Since perl is pretty much ubiquitous, I don't think this is critical either way. There is a check in test_102a() for setfattr that avoids running tests that depend on them if they are not installed. It looks like this check is missing from some of the other test_102* subtests. Similarly, test_103() checks for getfacl before running the ACL tests. In general, I agree that we want to make the tests as easy to install and run as possible, but I also want to avoid dragging in too many dependencies that may make it harder to install the RPM and run the tests in the first place. |
| Comment by Bruce Korb (Inactive) [ 15/May/12 ] |
|
"Pick your favorite poison." Perhaps jigger something to trap on "command not found" errors? Meanwhile, folks here thought it really, really important to add these |
| Comment by Bruce Korb (Inactive) [ 16/May/12 ] |
| Comment by James A Simmons [ 21/May/12 ] |
|
|
| Comment by Bruce Korb (Inactive) [ 21/May/12 ] |
|
It is currently on hold and the residue of this patch should have no effect on that project anyway. |
| Comment by Keith Mannthey (Inactive) [ 03/Oct/12 ] |
|
Bruce is there a follow up to the first patch? Any new patch should be based on Master. |
| Comment by Nathan Rutman [ 21/Nov/12 ] |
|
Xyratex-bug-id: MRP-488 |
| Comment by Keith Mannthey (Inactive) [ 04/Jan/13 ] |
|
Without an update I will close this LU at the end of the month. |
| Comment by Keith Mannthey (Inactive) [ 21/May/13 ] |
|
Please reopen if you decide to peruse this in the future. |
| Comment by Peter Jones [ 13/Jun/13 ] |
|
I notice that http://review.whamcloud.com/#change,2851 was pushed into gerrit. Is this directly related to this original ticket or would it be more appropriate to track this under a new ticket? |
| Comment by Bruce Korb (Inactive) [ 13/Jun/13 ] |
|
That change was strictly cleanup. Shell scripting going past column 168 gets me cross-eyed. Our testing folks are not still complaining, so I'm not being prodded to push another patch. |
| Comment by Keith Mannthey (Inactive) [ 14/Jun/13 ] |
|
There is a new patch. |