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        28f6375e-6caa-11ec-9b62-f9dfb1abb183        123 [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]
SRC        a8772ce0-6c05-11ec-bdee-55fe55c2cfea          8 [email protected]
SRC        a41f0b9a-6c05-11ec-bdee-55fe55c2cfea        156 [email protected]
SRC        9b8c5a6e-6c05-11ec-bdee-55fe55c2cfea          8 [email protected]
...TOTAL.files..tasks..MBps...
SRC       2188     9    21.9
DEST         2     1    36.8
hostname= h2ologin2
     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/jenkins3171678966546131291.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