Skip to content
Success

Console Output

Started by timer
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/ls_home_semilog_plot/workspace
[SSH] script:
PWD="/var/lib/jenkins"

#UP="$(/usr/bin/wget -qO - http://isce.ncsa.illinois.edu/tools/status.php?name=Scheduler)"
#f [ $UP -ne "2" ]
#then
#        exit 0
#fi

##scancel --state=PENDING --user bwjenkins
mkdir -p ~svchydrojenkins/hydro/ls-scratch-semilogplot
cd ~svchydrojenkins/hydro/ls-scratch-semilogplot
rm -f *

function ptime() {
  perl <<EOT
use Time::HiRes qw/time/;
my \$start = time();
system("$@");
printf STDERR "real %e\n",(time() - \$start);
EOT
}

THISLOGIN=`hostname`
echo "hostname= $THISLOGIN, PWD=$PWD"

# projects
TIMEFORLS=`ptime ls /mnt/b/projects 2>&1 | grep real | cut -dl -f2`
echo "YVALUE= $TIMEFORLS" > LSTIME.txt

# home ( ~ )
TIMEFORLS=`ptime ls ~ 2>&1 | grep real | cut -dl -f2`
echo "YVALUE= $TIMEFORLS" > LSHTIME.txt

cat -n LSTIME.txt
cat -n LSHTIME.txt

# log the Load Average while we are here
LA=`uptime | cut -d: -f5 | cut -d, -f1 `
echo "YVALUE= $LA" > LA.txt

# log some lustre status to the jenkins test console
#~arnoldg/jenkins_bin/fs_checkup.sh



[SSH] executing...
hostname= hydrol1, PWD=/u/svchydrojenkins/hydro/ls-scratch-semilogplot
     1	YVALUE=  1.797199e-03
     1	YVALUE=  1.953840e-03

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

[workspace] $ /bin/sh -xe /tmp/jenkins17973936268984128877.sh
+ scp 'HYDRO_REMOTE:~svchydrojenkins/hydro/ls-scratch-semilogplot/*.txt' /var/lib/jenkins/jobs/ls_home_semilog_plot/workspace
Recording plot data
Saving plot series data from: /var/lib/jenkins/jobs/ls_home_semilog_plot/workspace/LSTIME.txt
Saving plot series data from: /var/lib/jenkins/jobs/ls_home_semilog_plot/workspace/LSHTIME.txt
Saving plot series data from: /var/lib/jenkins/jobs/ls_home_semilog_plot/workspace/LA.txt
Saving plot series data from: /var/lib/jenkins/jobs/ls_home_semilog_plot/workspace/LSTIME.txt
Saving plot series data from: /var/lib/jenkins/jobs/ls_home_semilog_plot/workspace/LSHTIME.txt
Finished: SUCCESS