diff options
author | pmikus <pmikus@cisco.com> | 2021-04-23 13:12:24 +0000 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2021-06-03 14:27:54 -0400 |
commit | 08c4bd59672f308b3a871e063e103909040df394 (patch) | |
tree | 44551c7f6bc3a71d5d7e7fc2855fc863ccdb621d /jjb/scripts/post_build_executor_info.sh | |
parent | 90da6a2780f9a9e73321b5784b3d5eb3928bca31 (diff) |
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 <pmikus@cisco.com>
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: I6b61f99b9b2cde2bac3dacdefaa926e9afbb157e
Diffstat (limited to 'jjb/scripts/post_build_executor_info.sh')
-rwxr-xr-x | jjb/scripts/post_build_executor_info.sh | 11 |
1 files changed, 11 insertions, 0 deletions
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 |