Archive sar data for autorelease jobs to further analyse any memory
issues and print a summary memory stats at the end of the autorelease
build console logs. ksar can be used to generate relevent graphs
depending on the parameter analysed.
Change-Id: Ie93c954aebd7166befd7cb9d5abe10abf89df47c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
- shell: |
uname -a
df -h
+ # generate accounting summary
+ sudo LC_ALL=C /usr/lib64/sa/sa2 -A
+ sar -r
- builder:
name: autorelease-get-integration-test-variables
- autorelease-sys-stats
- shell: |
mkdir -p archives/
- cp *.log *.prop $_
+ cp /var/log/sa/* *.log *.prop $_
publishers:
- opendaylight-infra-notify-status
# in their builds.
# TODO stop archiving **/*.zip once we figure out why artifacts are
# not deploying to Nexus
- artifacts: 'dependencies.log, **/*.zip'
+ artifacts: 'dependencies.log, **/*.zip, /var/log/sa/*'
- trigger-parameterized-builds:
- project: 'integration-distribution-test-{integration-test}'
condition: UNSTABLE_OR_BETTER