X-Git-Url: https://git.arvados.org/arvados-dev.git/blobdiff_plain/8d3f0e67be33bca29d11bbd32cc7df794aed4d09..4c0f702a2d5081d9622f9926f239552734edab91:/jenkins/run-cwl-test.sh diff --git a/jenkins/run-cwl-test.sh b/jenkins/run-cwl-test.sh index 449fc9a..b44a5e0 100755 --- a/jenkins/run-cwl-test.sh +++ b/jenkins/run-cwl-test.sh @@ -147,6 +147,7 @@ function run_command() { title "Running '${command/ARVADOS_API_TOKEN=* /ARVADOS_API_TOKEN=suppressed }' on $node" TMP_FILE=`mktemp` if [[ "$DEBUG" != "0" ]]; then + echo ssh -t -p$SSH_PORT -o "StrictHostKeyChecking no" -o "ConnectTimeout 125" $ACCT@$node -C "$command" | tee $TMP_FILE ssh -t -p$SSH_PORT -o "StrictHostKeyChecking no" -o "ConnectTimeout 125" $ACCT@$node -C "$command" | tee $TMP_FILE ECODE=$? else @@ -167,7 +168,7 @@ function run_command() { title "Connection denied or timed out" fi else - title "Running '${command/ARVADOS_API_TOKEN=*/ARVADOS_API_TOKEN=suppressed}' locally" + title "Running '${command/ARVADOS_API_TOKEN=* /ARVADOS_API_TOKEN=suppressed }' locally" TMP_FILE=`mktemp` if [[ "$DEBUG" != "0" ]]; then bash -c "$command" | tee $TMP_FILE @@ -215,7 +216,7 @@ if [[ "$ECODE" != "0" ]]; then exit $ECODE fi -run_command shell.$IDENTIFIER ECODE "printf \"%s\n%s\n\" '#!/bin/sh' 'exec arvados-cwl-runner --api containers --compute-checksum --disable-reuse \"\$@\"' > ~$ACCT/arvados-cwl-runner-with-checksum.sh; chmod 755 ~$ACCT/arvados-cwl-runner-with-checksum.sh" +run_command shell.$IDENTIFIER ECODE "printf \"%s\n%s\n\" '#!/bin/sh' 'exec arvados-cwl-runner --api containers --compute-checksum --disable-reuse --eval-timeout 60 \"\$@\"' > ~$ACCT/arvados-cwl-runner-with-checksum.sh; chmod 755 ~$ACCT/arvados-cwl-runner-with-checksum.sh" if [[ "$ECODE" != "0" ]]; then echo "Failed to create ~$ACCT/arvados-cwl-runner-with-checksum.sh" @@ -229,10 +230,10 @@ if [[ "$ECODE" != "0" ]]; then exit $ECODE fi -run_command shell.$IDENTIFIER ECODE "if [[ ! -e arvados ]]; then ARVADOS_API_HOST=$ARVADOS_API_HOST ARVADOS_API_TOKEN=$ARVADOS_API_TOKEN ARVADOS_API_HOST_INSECURE=$ARVADOS_API_HOST_INSECURE git clone --depth 1 https://github.com/curoverse/arvados.git; fi" +run_command shell.$IDENTIFIER ECODE "if [[ ! -e arvados ]]; then ARVADOS_API_HOST=$ARVADOS_API_HOST ARVADOS_API_TOKEN=$ARVADOS_API_TOKEN ARVADOS_API_HOST_INSECURE=$ARVADOS_API_HOST_INSECURE git clone --depth 1 https://github.com/arvados/arvados.git; fi" if [[ "$ECODE" != "0" ]]; then - echo "Failed to git clone --depth 1 https://github.com/curoverse/arvados.git" + echo "Failed to git clone --depth 1 https://git.arvados.org/arvados.git" exit $ECODE fi