Skip to content
Success

Console Output

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

~/bin/ep_task_errors.sh

THISLOGIN=`hostname`
echo "hostname= $THISLOGIN"
rm -f LSTIME.txt
TIMEFORLS=`/usr/bin/time -p  ls /mnt/c/scratch 2>&1 | grep real | cut -dl -f2`
echo "YVALUE= $TIMEFORLS" > LSTIME.txt

rm -f LSHTIME.txt
TIMEFORLS=`/usr/bin/time -p  ls ~ 2>&1 | grep real | cut -dl -f2`
echo "YVALUE= $TIMEFORLS" > LSHTIME.txt

#exit
###############################
rm -f MLSTIME.txt MLSHTIME.txt

cat  >  ~/ls_for_mom3.sh << EOF
/usr/bin/time -p  ls /mnt/c/scratch 2>&1 | grep real | cut -dl -f2 > TIMEFORLS
echo YVALUE= > MLSTIME.txta
paste MLSTIME.txta TIMEFORLS> MLSTIME.txt

/usr/bin/time -p  ls ~ 2>&1 | grep real | cut -dl -f2 > TIMEFORLS
echo YVALUE= >  MLSHTIME.txta
paste MLSHTIME.txta TIMEFORLS> MLSHTIME.txt
rm -f TIMEFORLS MLSHTIME.txta MLSTIME.txta
EOF
sleep 5
cat -n ~/ls_for_mom3.sh
chmod +x ls_for_mom3.sh
ssh  mom3 ~/ls_for_mom3.sh

cat -n MLSTIME.txt
cat -n MLSHTIME.txt


[SSH] executing...
...BW................task.[ACTIVE]............Nfiles.....owner...
SRC        9c68524e-6caa-11ec-b2c3-1b99bfd4976a          7 [email protected]
SRC        8ea95acc-6caa-11ec-b2c3-1b99bfd4976a         11 [email protected]
SRC        7cd44988-6caa-11ec-9b62-f9dfb1abb183         11 [email protected]
SRC        71546e9e-6caa-11ec-9b62-f9dfb1abb183         11 [email protected]
SRC        7614f422-6ca9-11ec-b2c3-1b99bfd4976a        106 [email protected]
SRC        664c8776-6ca9-11ec-b2c3-1b99bfd4976a        118 [email protected]
DEST       35c564b4-6ca0-11ec-b2c3-1b99bfd4976a          2 [email protected]@accounts.google.com
SRC        78c78bae-6c99-11ec-9b62-f9dfb1abb183         99 [email protected]
SRC        345e98d8-6c83-11ec-9b62-f9dfb1abb183        213 [email protected]
SRC        ae4467b4-6c05-11ec-bdee-55fe55c2cfea       1357 [email protected]
...TOTAL.files..tasks..MBps...
SRC       1933     9    22.0
DEST         2     1    23.6
hostname= h2ologin1
     1	/usr/bin/time -p  ls /mnt/c/scratch 2>&1 | grep real | cut -dl -f2 > TIMEFORLS
     2	echo YVALUE= > MLSTIME.txta
     3	paste MLSTIME.txta TIMEFORLS> MLSTIME.txt
     4	
     5	/usr/bin/time -p  ls ~ 2>&1 | grep real | cut -dl -f2 > TIMEFORLS
     6	echo YVALUE= >  MLSHTIME.txta
     7	paste MLSHTIME.txta TIMEFORLS> MLSHTIME.txt
     8	rm -f TIMEFORLS MLSHTIME.txta MLSTIME.txta
     1	YVALUE=	 0.01
     1	YVALUE=	 0.02

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

[workspace] $ /bin/sh -xe /tmp/jenkins2231467892869053672.sh
+ scp 'BW_REMOTE:~/*TIME.txt' /var/lib/jenkins/jobs/ls-scratch_and_ep_task_errors/workspace
Recording plot data
Saving plot series data from: /var/lib/jenkins/jobs/ls-scratch_and_ep_task_errors/workspace/LSTIME.txt
Saving plot series data from: /var/lib/jenkins/jobs/ls-scratch_and_ep_task_errors/workspace/LSHTIME.txt
Saving plot series data from: /var/lib/jenkins/jobs/ls-scratch_and_ep_task_errors/workspace/MLSTIME.txt
Saving plot series data from: /var/lib/jenkins/jobs/ls-scratch_and_ep_task_errors/workspace/MLSHTIME.txt
Finished: SUCCESS