create_cluster = False
create_cluster_only = False
ignore_missing_binaries = False
+ opt_verbose = True
args = sys.argv[1:]
flags = [a for a in args if a.startswith("-")]
create_cluster_only = True
elif f == "--ignore-missing-binaries":
ignore_missing_binaries = True
+ elif '--no-verbose' == f:
+ opt_verbose = False
else:
log.error("Unknown option '{0}'".format(f))
sys.exit(-1)
vstart_env["OSD"] = "4"
vstart_env["MGR"] = max(max_required_mgr, 1).__str__()
- args = [os.path.join(SRC_PREFIX, "vstart.sh"), "-n", "-d",
- "--nolockdep"]
+ args = [
+ os.path.join(SRC_PREFIX, "vstart.sh"),
+ "-n",
+ "--nolockdep",
+ ]
if require_memstore:
args.append("--memstore")
+ if opt_verbose:
+ args.append("-d")
+
remote.run(args, env=vstart_env)
# Wait for OSD to come up so that subsequent injectargs etc will
if [[ -n "$JENKINS_HOME" ]]; then
CEPH_OUT_DIR=${CEPH_OUT_DIR:-"$BUILD_DIR"/out}
MGR_LOG_FILES=$(find "$CEPH_OUT_DIR" -iname "mgr.*.log" | tr '\n' ' ')
- MGR_LOG_FILE_LAST_LINES=60000
+ MGR_LOG_FILE_LAST_LINES=1000
for mgr_log_file in ${MGR_LOG_FILES[@]}; do
printf "\n\nDisplaying last ${MGR_LOG_FILE_LAST_LINES} lines of: $mgr_log_file\n\n"
tail -n ${MGR_LOG_FILE_LAST_LINES} $mgr_log_file
export COVERAGE_FILE=.coverage.mgr.dashboard
find . -iname "*${COVERAGE_FILE}*" -type f -delete
- python ../qa/tasks/vstart_runner.py --ignore-missing-binaries $OPTIONS $TEST_CASES
+ python ../qa/tasks/vstart_runner.py --ignore-missing-binaries --no-verbose $OPTIONS $TEST_CASES
deactivate
cd $CURR_DIR