The startup of conf-sanity test_123aa() et.al. shouldn't try to use
all of the OSTs if they have not been formatted into the filesystem
by the previous tests. It may run after test_109b() in a non-DNE
config, which is only using "startup" and "cleanup", so it should
do the same.
Test-Parameters: trivial testlist=conf-sanity
Test-Parameters: testgroup=review-dne-zfs-part-1 testlist=conf-sanity
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ibf76895ec51c881df0df257ccd680af3213ebbe5
Reviewed-on: https://review.whamcloud.com/34428
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
test_123aa() {
remote_mgs_nodsh && skip "remote MGS with nodsh"
test_123aa() {
remote_mgs_nodsh && skip "remote MGS with nodsh"
- [ -d $MOUNT/.lustre ] || setupall
+ [ -d $MOUNT/.lustre ] || setup
# test old logid format until removal from llog_ioctl.c::str2logid()
if [ $(lustre_version_code MGS) -lt $(version_code 3.1.53) ]; then
# test old logid format until removal from llog_ioctl.c::str2logid()
if [ $(lustre_version_code MGS) -lt $(version_code 3.1.53) ]; then
[[ $(lustre_version_code MGS) -gt $(version_code 2.11.51) ]] ||
skip "Need server with working llog_print support"
[[ $(lustre_version_code MGS) -gt $(version_code 2.11.51) ]] ||
skip "Need server with working llog_print support"
- [ -d $MOUNT/.lustre ] || setupall
+ [ -d $MOUNT/.lustre ] || setup
local yaml
local orig_val
local yaml
local orig_val
local start=10
local end=50
local start=10
local end=50
- [ -d $MOUNT/.lustre ] || setupall
+ [ -d $MOUNT/.lustre ] || setup
# - { index: 10, event: add_uuid, nid: 192.168.20.1@tcp(0x20000c0a81401,
# node: 192.168.20.1@tcp }
# - { index: 10, event: add_uuid, nid: 192.168.20.1@tcp(0x20000c0a81401,
# node: 192.168.20.1@tcp }
do_facet mgs "$LCTL help llog_print" 2>&1 | grep -q -- --start ||
skip "Need 'lctl llog_print --start' on MGS"
do_facet mgs "$LCTL help llog_print" 2>&1 | grep -q -- --start ||
skip "Need 'lctl llog_print --start' on MGS"
- [ -d $MOUNT/.lustre ] || setupall
+ [ -d $MOUNT/.lustre ] || setup
# append a new record, to avoid issues if last record was cancelled
local old=$($LCTL get_param -n osc.*-OST0000-*.max_dirty_mb | head -1)
# append a new record, to avoid issues if last record was cancelled
local old=$($LCTL get_param -n osc.*-OST0000-*.max_dirty_mb | head -1)