[devops] Terminate any existing builders and brokers when preparing Macs for remote testing. (#20448)

Also collect more logs to help diagnose any transient failures.
This commit is contained in:
Rolf Bjarne Kvinge 2024-04-16 16:26:01 +02:00 коммит произвёл GitHub
Родитель 7f866eeb9b
Коммит 1ff3c2bddd
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 15 добавлений и 0 удалений

Просмотреть файл

@ -25,3 +25,12 @@ if ls ~/Library/Logs/Xamarin.Messaging* >& /dev/null ; then
else
echo "No logs in ~/Library/Logs/Xamarin.Messaging"
fi
# Zip up all the logs in /tmp/com.xamarin.*
if ls /tmp/com.xamarin.* >& /dev/null ; then
zip -9r ~/remote_build_testing/windows-remote-logs.zip /tmp/com.xamarin.*
else
echo "No logs in /tmp/com.xamarin.*"
fi
ps auxww > ~/remote_build_testing/processes.txt || true

Просмотреть файл

@ -12,3 +12,9 @@ fi
# Make sure we don't have stuff from earlier builds.
rm -rf ~/remote_build_testing
# Kill any existing brokers and builders
ps auxww || true
pkill -f Broker.exe || true
pkill -f Build.exe || true
ps auxww || true