[lustre-devel] Run acceptance tests on client side only

Andreas Dilger adilger at whamcloud.com
Sun Feb 3 23:36:25 PST 2019


On Jan 30, 2019, at 07:53, Degremont, Aurelien <degremoa at amazon.com> wrote:
> 
> Hello
>  
> I’m trying to run test suites without having access to servers.
> A lot of tests in acc-sm assume that servers are reachable. Is there way to automatically skip these tests?
>  
> Does somebody has a smart way to run acc-sm?

Aurelien,
at one time in the past it was possible to run sanity and runtests only on the client by setting "CLIENTONLY=yes". However, this isn't commonly used so is likely missing from a bunch of subtests.

There are also checks in some subtests "remote_mds_nodsh" and/or "remote_ost_nodsh" to skip tests that depend on remote access to the servers when the MDS is not accessible from the client.  This is not _exactly_ the same as CLIENTONLY in that they are still run if the MDS/OSS are running on the same node as the client.

If running tests in this manner is of interest to you, patches would be welcome to add test skips as needed to get this working again.

Cheers, Andreas
---
Andreas Dilger
Principal Lustre Architect
Whamcloud









More information about the lustre-devel mailing list