Started by user tbouvet
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/Shifter-BW/workspace
[SSH] script:
UP="$(/usr/bin/wget -qO - http://isce.ncsa.illinois.edu/tools/status.php?name=Scheduler)"
if [ $UP -ne "2" ]
then
exit 0
fi
rm -rf shifter-bw
mkdir shifter-bw
cd shifter-bw
echo "#!/bin/bash" > shifter.pbs
#echo "#PBS -l nodes=1:ppn=32,gres=shifter -v UDI=\"centos:6.9\"" >> shifter.pbs
echo "#PBS -l nodes=1:ppn=32,gres=shifter" >> shifter.pbs
echo >> shifter.pbs
#echo "export CRAY_ROOTFS=SHIFTER" >> shifter.pbs
echo "module load shifter" >> shifter.pbs
echo >> shifter.pbs
echo "cd \$PBS_O_WORKDIR" >> shifter.pbs
echo "aprun -q -b -n 1 -N 1 -cc none -- shifter --image=centos:6.9 -- hostname > shifter-bw.hostlist" >> shifter.pbs
#echo "aprun -n 1 -N 1 -b -- cat /etc/centos-release > shifter-bw.log" >> shifter.pbs
echo "aprun -q -b -n 1 -N 1 -cc none -- shifter --image=centos:6.9 -- cat /etc/centos-release > shifter-bw.log" >> shifter.pbs
cat -n shifter.pbs
MYJOBID=`qsub shifter.pbs`
echo MYJOBID=$MYJOBID
~arnoldg/ior/wait_for.sh $MYJOBID
echo "=== JOB RAN ON ==="
cat shifter-bw.hostlist | grep ^nid
echo
echo "=== JOB OUTPUT VALIDATION ==="
grep CentOS shifter-bw.log
if [ $? != 0 ]
then
echo "Shifter job has failed."
exit 1
else
echo "Shifter job completed successfully. "
fi
[SSH] executing...
1 #!/bin/bash
2 #PBS -l nodes=1:ppn=32,gres=shifter
3
4 module load shifter
5
6 cd $PBS_O_WORKDIR
7 aprun -q -b -n 1 -N 1 -cc none -- shifter --image=centos:6.9 -- hostname > shifter-bw.hostlist
8 aprun -q -b -n 1 -N 1 -cc none -- shifter --image=centos:6.9 -- cat /etc/centos-release > shifter-bw.log
INFO: Job submitted to account: jnc
MYJOBID=13264938.bw
=== RUNNING /u/staff/arnoldg/ior/wait_for.sh ===
Mon Dec 20 19:01:59 CST 2021: waiting for 13264938.bw to finish
Mon Dec 20 19:06:59 CST 2021: waiting for 13264938.bw to finish
qstat: Unknown Job Id Error 13264938.bw
13264938.bw finished
=== JOB RAN ON ===
=== JOB OUTPUT VALIDATION ===
Shifter job has failed.
[SSH] completed
[SSH] exit-status: 1
Build step 'Execute shell script on remote host using ssh' marked build as failure
Sending e-mails to: bw-sys-alert@ncsa.illinois.edu
Finished: FAILURE