Skip to content

Commit

Permalink
Update ci.sh
Browse files Browse the repository at this point in the history
Collect ps information during run
  • Loading branch information
gareth-ellis authored Aug 28, 2023
1 parent e70555e commit 8ee9733
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .buildkite/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ function retry {
set -o pipefail
return 0
}
function collect_ps_info {
[ -d /home/elastic/.rally/logs ] || mkdir -p /home/elastic/.rally/logs
sudo apt install procps -y
while true
do
date >> /home/elastic/.rally/logs/ps_info.log
ps -ef >> /home/elastic/.rally/logs/ps_info.log
sleep 60
done
}
echo "--- System dependencies"
export TERM=dumb
sudo apt update
Expand All @@ -44,6 +54,8 @@ export JAVA17_HOME=/usr/lib/jvm/java-17-openjdk-amd64

python -m pip install .[develop]

collect_ps_info &

echo "--- Run IT test"

hatch -v -e it run test
hatch -v -e it run test

0 comments on commit 8ee9733

Please sign in to comment.