Skip to content
Failed

Console Output

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

#module use /u/vendor/cray/dalton/modulefiles
#module swap PrgEnv-cray PrgEnv/cray-18_06-cuda-9.1

module load cudatoolkit
which nvcc

export CUDASAMPLES=~arnoldg/cudasamples/samples
~arnoldg/ior/myenv.sh
mkdir cuda9-jenkins
cd cuda9-jenkins
rm -rf *
cp $CUDASAMPLES/0_Simple/matrixMul/matrixMul.cu .
cp $CUDASAMPLES/1_Utilities/bandwidthTest/bandwidthTest.cu .
nvcc -I $CUDASAMPLES/common/inc -o matrixMul matrixMul.cu
nvcc -I $CUDASAMPLES/common/inc -o bandwidthTest bandwidthTest.cu
pwd
ls -lt

echo "#!/bin/bash" > cuda.pbs
echo "#PBS -lnodes=2:ppn=16:xk,walltime=00:05:00 -Ncuda" >> cuda.pbs
echo "cd  ~/cuda9-jenkins" >> cuda.pbs
echo "aprun -n 1 ~/cuda9-jenkins/matrixMul  > matrixMul.out" >> cuda.pbs
echo "grep Performance= matrixMul.out | cut -d= -f2 | cut -dG -f1 > matrixMul.datB" >> cuda.pbs
echo "echo YVALUE= > matrixMul.datA" >> cuda.pbs
echo "paste matrixMul.datA matrixMul.datB > matrixMul.gflops" >> cuda.pbs
echo "aprun -n 1 ~/cuda9-jenkins/bandwidthTest --htod > bandwidthTest.out" >> cuda.pbs
echo "grep 33554432 bandwidthTest.out  | cut -f4 > bandwidthTest.datB " >> cuda.pbs
echo "paste matrixMul.datA bandwidthTest.datB > bandwidthTest.MB" >> cuda.pbs
echo "aprun -n 1 hostname > cuda-compute-node" >> cuda.pbs

echo "=== PBS JOB SCRIPT ===" 
cat -n cuda.pbs

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

echo "=== JOB RAN ON ==="
cat ~/cuda9-jenkins/cuda-compute-node
rm -f ~/cuda9-jenkins/cuda-compute-node

[SSH] executing...
[SSH] Exception:java.net.NoRouteToHostException: No route to host (Host unreachable)
com.jcraft.jsch.JSchException: java.net.NoRouteToHostException: No route to host (Host unreachable)
	at com.jcraft.jsch.Util.createSocket(Util.java:394)
	at com.jcraft.jsch.Session.connect(Session.java:215)
	at org.jvnet.hudson.plugins.CredentialsSSHSite.createSession(CredentialsSSHSite.java:132)
	at org.jvnet.hudson.plugins.CredentialsSSHSite.executeCommand(CredentialsSSHSite.java:208)
	at org.jvnet.hudson.plugins.SSHBuilder.perform(SSHBuilder.java:104)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:806)
	at hudson.model.Build$BuildExecution.build(Build.java:198)
	at hudson.model.Build$BuildExecution.doRun(Build.java:163)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:514)
	at hudson.model.Run.execute(Run.java:1888)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:99)
	at hudson.model.Executor.run(Executor.java:431)
Caused by: java.net.NoRouteToHostException: No route to host (Host unreachable)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.base/java.net.Socket.connect(Socket.java:609)
	at java.base/java.net.Socket.connect(Socket.java:558)
	at java.base/java.net.Socket.<init>(Socket.java:454)
	at java.base/java.net.Socket.<init>(Socket.java:231)
	at com.jcraft.jsch.Util$1.run(Util.java:362)
	at java.base/java.lang.Thread.run(Thread.java:829)
Build step 'Execute shell script on remote host using ssh' marked build as failure
Recording plot data
Saving plot series data from: /var/lib/jenkins/jobs/cuda9-jyc/workspace/bandwidthTest.MB
Saving plot series data from: /var/lib/jenkins/jobs/cuda9-jyc/workspace/matrixMul.gflops
Finished: FAILURE