diff --git a/continuousintegration/orchestration/tests/client_ar.sh b/continuousintegration/orchestration/tests/client_ar.sh index dd1148b277c863117545c0d0496e7f280d0293cf..87ec5166592d72680c59b0958e8e1be87025a954 100644 --- a/continuousintegration/orchestration/tests/client_ar.sh +++ b/continuousintegration/orchestration/tests/client_ar.sh @@ -79,6 +79,7 @@ fi # get some common useful helpers for krb5 . /root/client_helper.sh +# Get kerberos credentials for poweruser1 eospower_kdestroy eospower_kinit @@ -148,7 +149,8 @@ echo "Trigerring EOS retrieve workflow as poweruser1:powerusers (12001:1200)" # XrdSecPROTOCOL=sss xrdfs ${EOSINSTANCE} prepare -s "${EOS_DIR}/${TEST_FILE_NAME}?eos.ruid=12001&eos.rgid=1200" || echo "Could not trigger retrieve for ${EOS_DIR}/${TEST_FILE_NAME}" #done -grep tapeonly$ ${STATUS_FILE} | sed -e 's/ .*$//' | KB5CCNAME=/tmp/${EOSPOWER_USER}/krb5cc_0 XrdSecPROTOCOL=krb5 xargs --max-procs=${NB_PROCS} -iTEST_FILE_NAME xrdfs ${EOSINSTANCE} prepare -s ${EOS_DIR}/TEST_FILE_NAME +# We need the -s as we are staging the files from tape (see xrootd prepare definition) +grep tapeonly$ ${STATUS_FILE} | sed -e 's/ .*$//' | KRB5CCNAME=/tmp/${EOSPOWER_USER}/krb5cc_0 XrdSecPROTOCOL=krb5 xargs --max-procs=${NB_PROCS} -iTEST_FILE_NAME xrdfs ${EOSINSTANCE} prepare -s ${EOS_DIR}/TEST_FILE_NAME # Wait for the copy to appear on disk diff --git a/continuousintegration/orchestration/tests/simple_client_ar.sh b/continuousintegration/orchestration/tests/simple_client_ar.sh index 4af0502100c7c75331829ad47af323cd4aac6036..8e0517462b2a91186069627e0d9489d1679d4b07 100644 --- a/continuousintegration/orchestration/tests/simple_client_ar.sh +++ b/continuousintegration/orchestration/tests/simple_client_ar.sh @@ -48,7 +48,9 @@ echo echo "Trigerring EOS retrieve workflow as poweruser1:powerusers (12001:1200)" #echo "XrdSecPROTOCOL=sss xrdfs ${EOSINSTANCE} prepare -s \"/eos/ctaeos/cta/${TEST_FILE_NAME}?eos.ruid=12001&eos.rgid=1200\"" # XrdSecPROTOCOL=sss xrdfs ${EOSINSTANCE} prepare -s "/eos/ctaeos/cta/${TEST_FILE_NAME}?eos.ruid=12001&eos.rgid=1200" -KRB5CCNAME=/tmp/${EOSPOWER_USER}/krb5cc_0 XrdSecPROTOCOL=krb5 xrdfs ${EOSINSTANCE} prepare /eos/ctaeos/cta/${TEST_FILE_NAME} + +# We need the -s as we are staging the files from tape (see xrootd prepare definition) +KRB5CCNAME=/tmp/${EOSPOWER_USER}/krb5cc_0 XrdSecPROTOCOL=krb5 xrdfs ${EOSINSTANCE} prepare -s /eos/ctaeos/cta/${TEST_FILE_NAME} # Wait for the copy to appear on disk SECONDS_PASSED=0