Started by timer Running as SYSTEM Building in workspace /var/lib/jenkins/jobs/Shifter-jyc/workspace [SSH] script: rm -rf shifter-jyc mkdir shifter-jyc cd shifter-jyc echo "#!/bin/bash" > shifter.pbs #echo "#PBS -l nodes=2:ppn=32,gres=shifter -v UDI=\"centos:6.9\"" >> shifter.pbs echo "#PBS -l nodes=2:ppn=32:xe,gres=shifter,walltime=00:10:00" >> shifter.pbs echo >> shifter.pbs #echo "export CRAY_ROOTFS=UDI" >> shifter.pbs #echo >> shifter.pbs echo "cd \$PBS_O_WORKDIR" >> shifter.pbs echo "module load shifter" >> shifter.pbs #echo "aprun -n 2 -N 1 -b -- hostname > shifter-jyc.hostlist" >> shifter.pbs #echo "aprun -n 2 -N 1 -b -- cat /etc/centos-release > shifter-jyc.log" >> shifter.pbs echo "aprun -n 2 -N 1 -b -- shifter --image=id:\$(shifterimg lookup centos:6.9) -- hostname >> shifter-jyc.hostlist" >> shifter.pbs echo "aprun -n 2 -N 1 -b -- shifter --image=id:\$(shifterimg lookup centos:6.9) -- cat /etc/centos-release >> shifter-jyc.log" >> shifter.pbs cat -n shifter.pbs MYJOBID=`qsub shifter.pbs` echo MYJOBID=$MYJOBID #~arnoldg/ior/wait_for.sh $MYJOBID ~bwjenkins/bin/wait_for_short.sh $MYJOBID echo "=== JOB RAN ON ===" cat shifter-jyc.hostlist | grep ^nid grep CentOS shifter-jyc.log if [ $? != 0 ] then echo "Shifter job has failed." exit 1 fi [SSH] executing... 1 #!/bin/bash 2 #PBS -l nodes=2:ppn=32:xe,gres=shifter,walltime=00:10:00 3 4 cd $PBS_O_WORKDIR 5 module load shifter 6 aprun -n 2 -N 1 -b -- shifter --image=id:$(shifterimg lookup centos:6.9) -- hostname >> shifter-jyc.hostlist 7 aprun -n 2 -N 1 -b -- shifter --image=id:$(shifterimg lookup centos:6.9) -- cat /etc/centos-release >> shifter-jyc.log INFO: Job submitted to account: jnc MYJOBID=597153.jyc === RUNNING /u/system/bwjenkins/bin/wait_for_short.sh === Mon Nov 29 11:03:03 CST 2021: waiting for 597153.jyc to finish Mon Nov 29 11:03:33 CST 2021: waiting for 597153.jyc to finish 597153.jyc finished === JOB RAN ON === nid00062 nid00063 CentOS release 6.9 (Final) CentOS release 6.9 (Final) [SSH] completed [SSH] exit-status: 0 Finished: SUCCESS