Commit 3b575b42 authored by Shane Snyder's avatar Shane Snyder

test stage should actually be shell, not batch

we invoke batch scheduler directly in our scripts
parent bbdfb4f9
variables:
ANL_THETA_SCHEDULER_PARAMETERS: "-A radix-io"
ANL_THETA_PROJECT_SERVICE_USER: "darshan"
ANL_THETA_PROJECT_SERVICE_USER: "ecpcscstdm"
stages:
- build
......@@ -11,24 +10,46 @@ build_darshan:
- shell
- ecp-theta
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
when: always
- if: '$CI_PIPELINE_SOURCE == "schedules"'
when: always
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
when: always
stage: build
script:
- source darshan-test/automated/common/setup.sh
- cat setup-result.xml
- source darshan-test/automated/common/configure.sh
# - source darshan-test/automated/common/build.sh
- source darshan-test/automated/theta/configure.sh
- source darshan-test/automated/common/build.sh
artifacts:
paths:
- install/
#.test_darshan:
# variables:
# # XXX this info is hard-coded in our regression scripts
# #SCHEDULER_PARAMETERS: "-A radix-io -n 1 -t 10 -q default"
test_darshan:
tags:
- shell
- ecp-theta
# tags:
# - batch
# - ecp-theta
rules:
- if: '$CI_PIPELINE_SOURCE == "web" && $RUN_TESTS == "true"'
when: on_success
- if: '$CI_PIPELINE_SOURCE == "schedules" && $RUN_TESTS == "true"'
when: on_success
# stage: test
stage: test
# script:
# - darshan-test/regression/run-all.sh install scratch cray-module-alcf
script:
- ls $PWD/install
- ls $PWD/install/bin
- darshan-test/regression/run-all.sh $PWD/install $PWD/scratch cray-module-alcf
artifacts:
paths:
- $PWD/scratch/*.darshan
- $PWD/scratch/*.debuglog
- $PWD/scratch/*.out
- $PWD/scratch/*.err
......@@ -40,4 +40,4 @@ echo "
</testsuites>
" > build-result.xml
exit $fcount
return $fcount
......@@ -18,4 +18,4 @@ else
status=100
fi
exit $status
return $status
......@@ -26,4 +26,5 @@ echo "
</testsuite>
</testsuites>
" > setup-result.xml
exit $status
return $status
......@@ -39,4 +39,5 @@ echo "
</testsuite>
</testsuites>
" > configure-result.xml
exit $fcount
return $fcount
......@@ -45,4 +45,5 @@ echo "
</testsuite>
</testsuites>
" > configure-result.xml
exit $fcount
return $fcount
......@@ -6,7 +6,7 @@ if [ -n "${DXT_ENABLE_IO_TRACE+defined}" ]; then
fi
# submit job and get job id
jobid=`qsub --env DARSHAN_LOGFILE=$DARSHAN_LOGFILE --env DARSHAN_DEFAULT_NPROCS=$DARSHAN_DEFAULT_NPROCS $DXT_ENV --proccount $DARSHAN_DEFAULT_NPROCS -A radix-io -q debug-cache-quad -t 20 -n 1 --output $DARSHAN_TMP/$$-tmp.out --error $DARSHAN_TMP/$$-tmp.err --debuglog $DARSHAN_TMP/$$-tmp.debuglog $DARSHAN_TESTDIR/$DARSHAN_PLATFORM/cobalt-submit.sh "$@"`
jobid=`qsub --env DARSHAN_LOGFILE=$DARSHAN_LOGFILE --env DARSHAN_DEFAULT_NPROCS=$DARSHAN_DEFAULT_NPROCS $DXT_ENV --proccount $DARSHAN_DEFAULT_NPROCS -A CSC250STDM12 -q debug-cache-quad -t 20 -n 1 --output $DARSHAN_TMP/$$-tmp.out --error $DARSHAN_TMP/$$-tmp.err --debuglog $DARSHAN_TMP/$$-tmp.debuglog $DARSHAN_TESTDIR/$DARSHAN_PLATFORM/cobalt-submit.sh "$@"`
if [ $? -ne 0 ]; then
echo "Error: failed to qsub $@"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment