Started by timer 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=13107737.bw === RUNNING /u/staff/arnoldg/ior/wait_for.sh === Sun Nov 28 01:29:05 CST 2021: waiting for 13107737.bw to finish Sun Nov 28 01:34:05 CST 2021: waiting for 13107737.bw to finish Sun Nov 28 01:39:05 CST 2021: waiting for 13107737.bw to finish qstat: Unknown Job Id Error 13107737.bw 13107737.bw finished === JOB RAN ON === nid05580 === JOB OUTPUT VALIDATION === CentOS release 6.9 (Final) Shifter job completed successfully. [SSH] completed [SSH] exit-status: 0 Finished: SUCCESS