From e231947852385d7308e31d00335e7800dc73b0ba Mon Sep 17 00:00:00 2001 From: Michael Davis <michael.davis@cern.ch> Date: Fri, 2 Feb 2018 16:02:10 +0100 Subject: [PATCH] [kill-bash] Adds debug info to cta-admin failure --- continuousintegration/orchestration/tests/client_ar.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/continuousintegration/orchestration/tests/client_ar.sh b/continuousintegration/orchestration/tests/client_ar.sh index 87ec516659..3b99ee453a 100644 --- a/continuousintegration/orchestration/tests/client_ar.sh +++ b/continuousintegration/orchestration/tests/client_ar.sh @@ -201,8 +201,9 @@ if [[ $REMOVE == 1 ]]; then echo "Got cta admin privileges, can proceed with the workflow" else # displays what failed and fail + cat /etc/cta/cta-cli.conf admin_cta admin ls - die "Could not launch cta command." + die "Could not launch cta-admin command." fi # recount the files on tape as the workflows may have gone further... INITIALFILESONTAPE=$(admin_cta archivefile ls --all | grep ${EOS_DIR} | wc -l) @@ -233,7 +234,7 @@ if [[ $REMOVE == 1 ]]; then fi FILESONTAPE=$(admin_cta archivefile ls --all > >(grep ${EOS_DIR} | wc -l) 2> >(cat > /tmp/ctaerr)) if [[ $(cat /tmp/ctaerr | wc -l) -gt 0 ]]; then - echo "cta COMMAND FAILED!!" + echo "cta-admin COMMAND FAILED!!" echo "ERROR CTA ERROR MESSAGE:" cat /tmp/ctaerr break -- GitLab