runtime: [maccatalyst][arm64] Flaky test failure in CI : Failed to get bundle information

It’s a flaky test failure - happens on some rolling builds, e.g.

https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-f31599a56a244094b0/Microsoft.Extensions.Configuration.EnvironmentVariables.Tests/1/console.0bcd8cf3.log?sv=2019-07-07&se=2022-01-29T20%3A27%3A51Z&sr=c&sp=rl&sig=5fySqKzsC5uO1MRG386a0QXb9%2F1gy7vUks196tsrzKs%3D

+ sudo launchctl asuser 505 sudo -u helix-runner sh ./xharness-runner.apple.sh --target maccatalyst --command-timeout 2280 --timeout 00:30:00 --launch-timeout 00:30:00 --includes-test-runner --expected-exit-code 0 --app /tmp/helix/working/A2A0091A/w/BF0409FF/e/Microsoft.Extensions.Configuration.EnvironmentVariables.Tests.app --output-directory /tmp/helix/working/A2A0091A/w/BF0409FF/uploads
XHarness command issued: apple test --app /tmp/helix/working/A2A0091A/w/BF0409FF/e/Microsoft.Extensions.Configuration.EnvironmentVariables.Tests.app --output-directory /tmp/helix/working/A2A0091A/w/BF0409FF/uploads --target maccatalyst --timeout 00:30:00 --xcode /Applications/Xcode13.app -v --launch-timeout 00:30:00
[12:28:45] info: Preparing run for maccatalyst
[12:28:45] info: Getting app bundle information from '/tmp/helix/working/A2A0091A/w/BF0409FF/e/Microsoft.Extensions.Configuration.EnvironmentVariables.Tests.app'
[12:28:45] dbug: 
[12:28:45] dbug: Running /usr/libexec/PlistBuddy -c "Print CFBundleName" /tmp/helix/working/A2A0091A/w/BF0409FF/e/Microsoft.Extensions.Configuration.EnvironmentVariables.Tests.app/Contents/Info.plist
[12:28:45] dbug: Process PlistBuddy exited with 0
[12:28:45] dbug: 
[12:28:45] dbug: Running /usr/libexec/PlistBuddy -c "Print CFBundleIdentifier" /tmp/helix/working/A2A0091A/w/BF0409FF/e/Microsoft.Extensions.Configuration.EnvironmentVariables.Tests.app/Contents/Info.plist
[12:29:01] dbug: Process 56292 didn't exit within 00:00:15 and will be killed
[12:29:01] dbug: Killing process tree of 56292...
[12:29:01] dbug: Pids to kill: 56292
[12:29:01] dbug: Running lldb diagnostics for pid 56292
[12:29:01] dbug: Printing backtrace for pid=56292
[12:29:10] dbug: (lldb) command source -s 0 '/var/folders/2_/8s76ml311gv142wwl15flm3c0000gs/T/tmp6WvMua.tmp'
[12:29:10] dbug: Executing commands in '/var/folders/2_/8s76ml311gv142wwl15flm3c0000gs/T/tmp6WvMua.tmp'.
[12:29:10] dbug: (lldb) process attach --pid 56292
[12:29:10] dbug: error: attach failed: no such process.
[12:29:10] dbug: 56292 Execution timed out after 15 seconds and the process was killed.
[12:29:10] dbug: Process PlistBuddy exited with 0
[12:29:10] fail: Failed to get bundle information: net.dot.Microsoft.Extensions.Configuration.EnvironmentVariables.Tests
                 
[12:29:10] dbug: Saving diagnostics data to '/tmp/helix/working/A2A0091A/w/BF0409FF/e/diagnostics.json'
XHarness exit code: 79 (FAILED_TO_GET_BUNDLE_INFO)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (14 by maintainers)

Commits related to this issue

Most upvoted comments

@premun Seems it’s gone, at least, I dont see it anymore

It’s merged so let’s give it a few days for it to propagate to all PR branches and let’s see if we see this still

The new XHarness with increased timeout is here: https://github.com/dotnet/runtime/pull/63680