Skip to content
Failed

Console Output

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=598059.jyc
=== RUNNING /u/system/bwjenkins/bin/wait_for_short.sh ===
Fri Dec 10 11:03:03 CST 2021: waiting for 598059.jyc to finish
Fri Dec 10 11:03:33 CST 2021: waiting for 598059.jyc to finish
598059.jyc finished
=== JOB RAN ON ===
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: [email protected]
Finished: FAILURE