Ignore errors from subshell correctly (#13752)
This commit is contained in:
parent
1d008bab4a
commit
a13083aa65
|
@ -23,21 +23,18 @@ $(eval echo "$@")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
(
|
(
|
||||||
set +e
|
|
||||||
execution_step "Collecting Logfiles from Nodes"
|
execution_step "Collecting Logfiles from Nodes"
|
||||||
collect_logs
|
collect_logs
|
||||||
)
|
) || echo "Error from collecting logs"
|
||||||
|
|
||||||
(
|
(
|
||||||
set +e
|
|
||||||
execution_step "Stop Network Software"
|
execution_step "Stop Network Software"
|
||||||
"${REPO_ROOT}"/net/net.sh stop
|
"${REPO_ROOT}"/net/net.sh stop
|
||||||
)
|
) || echo "Error from stopping nodes"
|
||||||
|
|
||||||
(
|
(
|
||||||
set +e
|
|
||||||
analyze_packet_loss
|
analyze_packet_loss
|
||||||
)
|
) || echo "Error from packet loss analysis"
|
||||||
|
|
||||||
execution_step "Deleting Testnet"
|
execution_step "Deleting Testnet"
|
||||||
"${REPO_ROOT}"/net/"${CLOUD_PROVIDER}".sh delete -p "${TESTNET_TAG}"
|
"${REPO_ROOT}"/net/"${CLOUD_PROVIDER}".sh delete -p "${TESTNET_TAG}"
|
||||||
|
|
Loading…
Reference in New Issue