[arvados] created: 2.7.0-6444-gfd79eecf91

git repository hosting git at public.arvados.org
Mon Apr 22 14:10:48 UTC 2024


        at  fd79eecf91740499f161a92b8b02542994ac3516 (commit)


commit fd79eecf91740499f161a92b8b02542994ac3516
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 cae0aa603173afbb2ca84565a31e28698b687d81
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