-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed as not planned
Closed as not planned
Copy link
Labels
needs-triageHave yet to determine what bucket this goes in.Have yet to determine what bucket this goes in.
Description
From @vincentcastagna on Thu, 16 Mar 2023 14:21:20 GMT
Steps to Reproduce
- Create an agent on M2 ARM 64 agent (3.214.0)
- Build a .NET6/.NET7 iOS project
- Notice the build MIGHT hang sometimes on Apple Clang process
We don't face the issue on X64 on prem agents or even hosted.
There is no real consistency on when the build will hangs or not. It depends on the run.
We already tried removing Trimmer, which doesn't seem to have any effect. With or without, the behavior is the same.
Expected Behavior
Build should never hang
Actual Behavior
Build hangs sometimes and never ends, until timeout
Environment
- Xcode 14.2
- Visual Studio for mac 17.5.1
- This is the .csproj that we try to build
AGENT CAPABILITIES :
| Agent.Name | MACOS-2C83F31C-42D1-4BA5-9686-611EB3632BD4 | ||
|---|---|---|---|
| Agent.Version | 3.214.0 | ||
| _ | ./externals/node16/bin/node | ||
| __CF_USER_TEXT_ENCODING | 0x1F5:0x0:0x52 | ||
| CP_HOME_DIR | /Users/administrator/agent/_work/_temp/.cocoapods | ||
| curl | /usr/bin/curl | ||
| dotnet | /usr/local/share/dotnet/dotnet | ||
| DOTNET_ROOT | /usr/local/share/dotnet | ||
| git | /usr/bin/git | ||
| HOME | /Users/administrator | ||
| InteractiveSession | False | ||
| java | /usr/bin/java | ||
| JDK | /usr/bin/javac | ||
| LANG | en_CA.UTF-8 | ||
| LOGNAME | administrator | ||
| make | /usr/bin/make | ||
| MSBuild | /Library/Frameworks/Mono.framework/Versions/Current/Commands/msbuild | ||
| NUGET_HTTP_CACHE_PATH | /Users/administrator/agent/_work/_temp/.nuget-http-cache | ||
| NUGET_PACKAGES | /Users/administrator/agent/_work/_temp/.nuget | ||
| PATH | /Users/administrator/.rbenv/shims:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands | ||
| PWD | /Users/administrator/agent | ||
| python3 | /usr/bin/python3 | ||
| rake | /Users/administrator/.rbenv/shims/rake | ||
| ruby | /Users/administrator/.rbenv/shims/ruby | ||
| sh | /bin/sh | ||
| SHELL | /bin/zsh | ||
| SSH_AUTH_SOCK | /private/tmp/com.apple.launchd.MgBJHUlv5M/Listeners | ||
| TMPDIR | /var/folders/33/ph0v51hd30n2frx557550mnc0000gn/T/ | ||
| USER | administrator | ||
| VSTS_AGENT_SVC | 1 | ||
| Xamarin.iOS | /Applications/Visual Studio.app/Contents/MacOS/vstool | ||
| Xamarin.iOS_Version | 16.1.1 | ||
| XamarinBuildDownloadDir | /Users/administrator/agent/_work/_temp/.xbcache | ||
| xcode | /Applications/Xcode.app/Contents/Developer | ||
| Xcode_Version | 14.2 | ||
| XPC_FLAGS | 0x0 | ||
| XPC_SERVICE_NAME | 0 |
Build Logs
-
Working build logs =>
iOS BUILD - OK.txt -
Hanging build logs =>
iOS BUILD - HANGS.txt
MSBUILD BINLOG (seem corrupted ...)
Example Project (If Possible)
Copied from original issue dotnet/macios#17825
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs-triageHave yet to determine what bucket this goes in.Have yet to determine what bucket this goes in.