From 08c4bd59672f308b3a871e063e103909040df394 Mon Sep 17 00:00:00 2001 From: pmikus Date: Fri, 23 Apr 2021 13:12:24 +0000 Subject: JJB: Include perf analysis per job + Useful for performance analysis before run. This should help to analyze machine load before starting payload by comparing conditions from running jobs. - Requirements: sysstat (apt install sysstat) - Remove extraneous python import from backup_upload_archives.sh - Fix sar issue on centos-7 - Fix debian9 lftools install / upgrade issue Signed-off-by: pmikus Signed-off-by: Dave Wallace Change-Id: I6b61f99b9b2cde2bac3dacdefaa926e9afbb157e --- jjb/scripts/post_build_executor_info.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'jjb/scripts/post_build_executor_info.sh') diff --git a/jjb/scripts/post_build_executor_info.sh b/jjb/scripts/post_build_executor_info.sh index f98666676..fef79814e 100755 --- a/jjb/scripts/post_build_executor_info.sh +++ b/jjb/scripts/post_build_executor_info.sh @@ -45,3 +45,14 @@ if [ -n "$(which ccache)" ] ; then fi echo "$long_line" + +# Avoid sar anomaly on centos-7 in global-jjb/shell/logs-deploy.sh +# +# Note: VPP 20.09 will be removed in the next release cycle (21.10), +# therefore this hack is better than polluting the docker image +# build scripts with code to avoid installing sysstat on centos-7. +# +# TODO: Remove when vpp-*-2009-centos7-x86_64 jobs are removed +if [ "$OS_ID" = "centos" ] && [ "$OS_VERSION_ID" = "7" ] ; then + sudo yum remove -y sysstat >& /dev/null || true +fi -- cgit 1.2.3-korg