[arvados] created: 2.7.0-6545-g5398cf13ee
git repository hosting
git at public.arvados.org
Mon May 6 13:40:06 UTC 2024
at 5398cf13eee6aba557beb29eef4aa169dfd61551 (commit)
commit 5398cf13eee6aba557beb29eef4aa169dfd61551
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date: Tue Apr 16 14:37:15 2024 -0300
21666: Adds logging and status check to exit prematurely when failing.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>
diff --git a/tools/salt-install/tests/run-test.sh b/tools/salt-install/tests/run-test.sh
index c52367e098..f56b252766 100755
--- a/tools/salt-install/tests/run-test.sh
+++ b/tools/salt-install/tests/run-test.sh
@@ -18,7 +18,11 @@ if ! curl -s -o /dev/null https://${ARVADOS_API_HOST}/users/welcome?return_to=%2
fi
# Then, run a basic diagnostics test.
-arvados-client diagnostics -internal-client
+echo "Running arvados-client diagnostics..."
+if ! arvados-client diagnostics -internal-client; then
+ echo "Diagnostics run FAILED, exiting"
+ exit 1
+fi
# https://doc.arvados.org/v2.0/install/install-jobs-image.html
echo "Creating Arvados Standard Docker Images project"
commit d14ea6d15227222825e4fd733dc7effd792bb830
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date: Mon Apr 15 16:02:58 2024 -0300
21666: Adds 'arvados-client diagnostics' to run-tests.sh
In addition and prior to running the hasher wf test, run the arvados-client
diagnostics test.
This assumes that docker and arvados-client are installed on the local
system, making the shell node a good candidate on multi-node (production)
installations.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>
diff --git a/tools/salt-install/tests/run-test.sh b/tools/salt-install/tests/run-test.sh
index cf43273a14..c52367e098 100755
--- a/tools/salt-install/tests/run-test.sh
+++ b/tools/salt-install/tests/run-test.sh
@@ -17,6 +17,9 @@ if ! curl -s -o /dev/null https://${ARVADOS_API_HOST}/users/welcome?return_to=%2
exit 1
fi
+# Then, run a basic diagnostics test.
+arvados-client diagnostics -internal-client
+
# https://doc.arvados.org/v2.0/install/install-jobs-image.html
echo "Creating Arvados Standard Docker Images project"
uuid_prefix=$(arv --format=uuid user current | cut -d- -f1)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list