From: Vanessa Rene Valderrama Date: Thu, 24 Oct 2019 17:01:44 +0000 (-0500) Subject: Modify log script for hung jobs issue X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=83f6d58557c3e7e97f4ab77bbab3f66ac8ecdd05;p=ci-management.git Modify log script for hung jobs issue Modifying the log script to stop wget from appeading to the logs while downloading the logs which can create an endless loop. Change-Id: I2ea6de9ebcccd60001c3993f45e28a2b8439748b Signed-off-by: Vanessa Rene Valderrama --- diff --git a/jjb/include-raw-deploy-archives.sh b/jjb/include-raw-deploy-archives.sh index dd8daebcf..a563d309c 100644 --- a/jjb/include-raw-deploy-archives.sh +++ b/jjb/include-raw-deploy-archives.sh @@ -89,8 +89,8 @@ touch $ARCHIVES_DIR/_sys-info.txt # Magic string used to trim console logs at the appropriate level during wget echo "-----END_OF_BUILD-----" -wget -O $ARCHIVES_DIR/console.log ${{BUILD_URL}}consoleText -wget -O $ARCHIVES_DIR/console-timestamp.log ${{BUILD_URL}}/timestamps?time=HH:mm:ss\&appendLog +wget -q -O $ARCHIVES_DIR/console.log ${{BUILD_URL}}consoleText +wget -q -O $ARCHIVES_DIR/console-timestamp.log ${{BUILD_URL}}/timestamps?time=HH:mm:ss\&appendLog sed -i '/^-----END_OF_BUILD-----$/,$d' $ARCHIVES_DIR/console.log sed -i '/^.*-----END_OF_BUILD-----$/,$d' $ARCHIVES_DIR/console-timestamp.log