[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:
Родитель
7f866eeb9b
Коммит
1ff3c2bddd
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче