cirruslabs / macos-image-templates

MIT License
209 stars 59 forks source link

macos-sonoma image broke running Xcode 15.3 #182

Open netbe opened 5 days ago

netbe commented 5 days ago

Hi,

Since yesterday, our runs with the image ghcr.io/cirruslabs/macos-runner:sonoma on github actions hangs when running xcodebuild command (times out). We use Xcode 15.3.

Could it be related to recent release of images from yesterday?

Thanks for your help.

fkorotkov commented 5 days ago

Is it only affecting Xcode 15.3? Do you know on which exact step/test it timesout?

There was a recent change yesterday where VMs now does not have microphone. This was done to fix some potential hanging like this https://github.com/actions/runner-images/issues/9330

fkorotkov commented 5 days ago

You can bring a microphone back by installing brew install blackhole-2ch.

netbe commented 4 days ago

I thought it was but now i see also Xcode 15.4 hanging:

[10:41:34]: Resolving Swift Package Manager dependencies...
[10:41:34]: $ xcodebuild -resolvePackageDependencies -workspace ./wire-ios-mono.xcworkspace -scheme ***-iOS -configuration Release -derivedDataPath DerivedData
[10:41:35]: ▸ Command line invocation:
[10:41:35]: ▸     /Applications/Xcode_15.4.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace ./wire-ios-mono.xcworkspace -scheme ***-iOS -configuration Release -derivedDataPath DerivedData
[10:41:35]: ▸ User defaults from command line:
[10:41:35]: ▸     IDEDerivedDataPathOverride = /Users/admin/actions-runner/_work/wire-ios/wire-ios/DerivedData
[10:41:35]: ▸     IDEPackageSupportUseBuiltinSCM = YES
[10:41:36]: ▸ Resolve Package Graph
[10:41:51]: ▸ Resolved source packages:
[10:41:51]: ▸   swift-snapshot-testing: https://github.com/pointfreeco/swift-snapshot-testing @ 1.17.2
[10:41:51]: ▸   ***API: /Users/admin/actions-runner/_work/wire-ios/wire-ios/***API
[10:41:51]: ▸   Starscream: https://github.com/wireapp/starscream @ 4.0.8
[10:41:51]: ▸   CocoaLumberjack: https://github.com/CocoaLumberjack/CocoaLumberjack @ 3.8.5
[10:41:51]: ▸   Datadog: https://github.com/DataDog/dd-sdk-ios.git @ 2.16.0
[10:41:51]: ▸   update_stylekit: /Users/admin/actions-runner/_work/wire-ios/wire-ios/wire-ios/Scripts/updateStylekit
[10:41:51]: ▸   SwiftDocCPlugin: https://github.com/apple/swift-docc-plugin @ 1.3.0
[10:41:51]: ▸   Scripts: /Users/admin/actions-runner/_work/wire-ios/wire-ios/scripts
[10:41:51]: ▸   ***UtilitiesPackage: /Users/admin/actions-runner/_work/wire-ios/wire-ios/***Utilities
[10:41:51]: ▸   SourceryPlugin: /Users/admin/actions-runner/_work/wire-ios/wire-ios/SourceryPlugin
[10:41:51]: ▸   ***TestingPackage: /Users/admin/actions-runner/_work/wire-ios/wire-ios/***Testing
[10:41:51]: ▸   swift-log: https://github.com/apple/swift-log @ 1.6.1
[10:41:51]: ▸   SymbolKit: https://github.com/apple/swift-docc-symbolkit @ 1.0.0
[10:41:51]: ▸   PLCrashReporter: https://github.com/microsoft/plcrashreporter.git @ 1.11.2
[10:41:51]: ▸   PINCache: https://github.com/pinterest/PINCache @ 3.0.4
[10:41:51]: ▸   libPhoneNumber: https://github.com/wireapp/libPhoneNumber-iOS.git @ 1.1.0
[10:41:51]: ▸   ***Analytics: /Users/admin/actions-runner/_work/wire-ios/wire-ios/***Analytics
[10:41:51]: ▸   swift-syntax: https://github.com/swiftlang/swift-syntax @ 600.0.0-prerelease-2024-07-24
[10:41:51]: ▸   FLAnimatedImage: https://github.com/Flipboard/FLAnimatedImage @ 1.0.17
[10:41:51]: ▸   PINOperation: https://github.com/pinterest/PINOperation.git @ 1.2.3
[10:41:51]: ▸   opentelemetry-swift: https://github.com/DataDog/opentelemetry-swift-packages.git @ 1.6.0
[10:41:51]: ▸   ***UI: /Users/admin/actions-runner/_work/wire-ios/wire-ios/***UI
[10:41:51]: ▸   ***DomainPackage: /Users/admin/actions-runner/_work/wire-ios/wire-ios/***Domain
[10:41:51]: ▸   AppAuth: https://github.com/openid/AppAuth-iOS.git @ 1.7.5
[10:41:51]: ▸   ***SystemPackage: /Users/admin/actions-runner/_work/wire-ios/wire-ios/***System
[10:41:51]: ▸   DifferenceKit: https://github.com/wireapp/DifferenceKit/ @ 1.3.0
[10:41:51]: ▸ resolved source packages: swift-snapshot-testing, ***API, Starscream, CocoaLumberjack, Datadog, update_stylekit, SwiftDocCPlugin, Scripts, ***UtilitiesPackage, SourceryPlugin, ***TestingPackage, swift-log, SymbolKit, PLCrashReporter, PINCache, libPhoneNumber, ***Analytics, swift-syntax, FLAnimatedImage, PINOperation, opentelemetry-swift, ***UI, ***DomainPackage, AppAuth, ***SystemPackage, DifferenceKit
[10:41:51]: $ xcodebuild -showBuildSettings -workspace ./wire-ios-mono.xcworkspace -scheme ***-iOS -configuration Release -derivedDataPath DerivedData 2>&1
[10:41:54]: Command timed out after 3 seconds on try 1 of 4, trying again with a 6 second timeout...
[10:42:01]: Command timed out after 6 seconds on try 2 of 4, trying again with a 12 second timeout...
[10:42:13]: Command timed out after 12 seconds on try 3 of 4, trying again with a 24 second timeout...
[10:42:37]: Command timed out after 24 seconds on try 4 of 4