Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[devops] Terminate any existing builders and brokers when preparing M…
…acs for remote testing.

Also collect more logs to help diagnose any transient failures.
  • Loading branch information
rolfbjarne committed Apr 15, 2024
commit 8560efc4055b6223ea7c01f76fe5213b37d33bd9
9 changes: 9 additions & 0 deletions tests/dotnet/Windows/collect-binlogs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions tools/devops/automation/scripts/clean-for-remote-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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