Skip to content
Success

Console Output

Started by timer
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/Shifter16-jyc/workspace
[SSH] script:

rm -rf shifter16-jyc
mkdir shifter16-jyc
cd shifter16-jyc
echo "#!/bin/bash" > shifter16.pbs
echo "#PBS -l nodes=2:ppn=32,gres=shifter16 -v UDI=\"centos:6.9\"" >> shifter16.pbs
echo >> shifter16.pbs
echo "export CRAY_ROOTFS=SHIFTER" >> shifter16.pbs
echo >> shifter16.pbs
echo "cd \$PBS_O_WORKDIR" >> shifter16.pbs
echo "aprun -n 2 -N 1 -b -- hostname > shifter16-jyc.hostlist" >> shifter16.pbs
echo "aprun -n 2 -N 1 -b -- cat /etc/centos-release > shifter16-jyc.log" >> shifter16.pbs

cat -n shifter16.pbs

MYJOBID=`qsub shifter16.pbs`
echo MYJOBID=$MYJOBID
~arnoldg/ior/wait_for.sh $MYJOBID

echo "=== JOB RAN ON ==="
cat shifter16-jyc.hostlist | grep ^nid
grep CentOS shifter16-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,gres=shifter16 -v UDI="centos:6.9"
     3	
     4	export CRAY_ROOTFS=SHIFTER
     5	
     6	cd $PBS_O_WORKDIR
     7	aprun -n 2 -N 1 -b -- hostname > shifter16-jyc.hostlist
     8	aprun -n 2 -N 1 -b -- cat /etc/centos-release > shifter16-jyc.log
INFO: Job submitted to account: jnc
MYJOBID=545573.jyc
=== RUNNING /u/staff/arnoldg/ior/wait_for.sh ===
Fri Mar  6 12:52:02 CST 2020: waiting for 545573.jyc to finish
Fri Mar  6 12:57:02 CST 2020: waiting for 545573.jyc to finish
qstat: Unknown Job Id Error 545573.nid00030
545573.jyc finished
=== JOB RAN ON ===
nid00002
nid00003
CentOS release 6.9 (Final)
CentOS release 6.9 (Final)

[SSH] completed
[SSH] exit-status: 0

Finished: SUCCESS