Repository navigation
Add mac m1 machines to the staging pool #79430
Description
Activity
- addedc: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.
on Mar 31, 2021 flutter-devicelab-mac-4 is ready but it seems to be failing tasks:
/usr/bin/arch -arm64e xcrun cc -arch arm64 -isysroot ... arch: posix_spawnp: xcrun: Bad CPU type in executableThese might need Rosetta installed. Can you add
softwareupdate --install-rosettato the setup?@godofredoc says "rosetta is installed as part of the provisioning. idevice requires the emulation"
Can we confirm whatever
xcrunis on thePATHcontainsarm64e?$ which xcrun /usr/bin/xcrun $ file /usr/bin/xcrun /usr/bin/xcrun: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e] /usr/bin/xcrun (for architecture x86_64): Mach-O 64-bit executable x86_64 /usr/bin/xcrun (for architecture arm64e): Mach-O 64-bit executable arm64e(note the
arm64eat the end).This is from the one included in the bundle:
file /opt/flutter/xcode/12c33/XCode.app/Contents/Developer/usr/bin/xcrun /opt/flutter/xcode/12c33/XCode.app/Contents/Developer/usr/bin/xcrun: Mach-O 64-bit executable x86_64It was that removing
/opt/flutter/xcode/12c33/XCode.app/Contents/Developer/usr/bin/xcrunand re-running:Reacted by Jenn MagderSo is the next step a recipe change, or is there more for me to investigate, @godofredoc?
Thanks for helping us identify the issue the next step is to create a new xcode bundle that does not include xcrun. I'll reassign the bug back to me.
Reacted by Jenn MagderUploading a new xcode bundle to remove xcrun.
@jmagman we still have a couple of failures:
- https://ci.chromium.org/p/flutter/builders/prod/Mac_ios_staging%20hot_mode_dev_cycle_macos_target__benchmark/140
- https://ci.chromium.org/p/flutter/builders/prod/Mac_ios_staging%20ios_app_with_extensions_test/138
[hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stdout: [ +20 ms] Building macOS application... (completed in 30.4s) [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stdout: [ +11 ms] executing: /usr/bin/plutil -convert json -o - /opt/s/w/ir/tmp/t/edited_flutter_gallery/build/macos/Build/Products/Debug/flutter_gallery.app/Contents/Info.plist [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stdout: [ +25 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /opt/s/w/ir/tmp/t/edited_flutter_gallery/build/macos/Build/Products/Debug/flutter_gallery.app/Contents/Info.plist [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stdout: [ ] {"CFBundleName":"flutter_gallery","DTXcode":"1230","DTSDKName":"macosx11.1","NSHumanReadableCopyright":"Copyright © 2019 com.example. All rights reserved.","DTSDKBuild":"20C63","CFBundleDevelopmentRegion":"en","CFBundleVersion":"1","BuildMachineOSBuild":"20C69","NSPrincipalClass":"NSApplication","CFBundleIconName":"AppIcon","CFBundlePackageType":"APPL","CFBundleIconFile":"AppIcon","CFBundleSupportedPlatforms":["MacOSX"],"DTPlatformName":"macosx","CFBundleShortVersionString":"1.0.0","NSMainNibFile":"MainMenu","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"flutter_gallery","DTCompiler":"com.apple.compilers.llvm.clang.1_0","CFBundleIdentifier":"com.example.flutterGallery","DTPlatformVersion":"11.1","DTXcodeBuild":"12C33","LSMinimumSystemVersion":"10.11","DTPlatformBuild":"12C33"} [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: [+1012 ms] Error waiting for a debug connection: The log reader stopped unexpectedly. [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: [ +2 ms] Error launching application on macOS. [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stdout: [ +2 ms] "flutter run" took 55,078ms. [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: [ +5 ms] [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: #0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3) [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: #1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:663:9) [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: <asynchronous suspension> [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: #2 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1043:27) [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: <asynchronous suspension> [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: #3 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19) [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: <asynchronous suspension> [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: #4 CommandRunner.runCommand (package:args/command_runner.dart:196:13) [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: <asynchronous suspension> [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: #5 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:290:9) [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: <asynchronous suspension> [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: #6 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19) [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: <asynchronous suspension> [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: #7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:238:5) [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: <asynchronous suspension> [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: #8 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9) [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: <asynchronous suspension> [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: #9 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19) [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: <asynchronous suspension> [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: #10 main (package:flutter_tools/executable.dart:91:3) [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: <asynchronous suspension> [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stderr: [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stdout: [ +4 ms] ensureAnalyticsSent: 0ms [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stdout: [ +1 ms] Running shutdown hooks [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stdout: [ ] Shutdown hooks complete [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] stdout: [ ] exiting with code 1 [hot_mode_dev_cycle_macos_target__benchmark] [STDOUT] "/opt/s/w/ir/k/recipe_cleanup/tmp0obZOn/flutter sdk/bin/flutter" exit code: 1I was able to reproduce
ios_app_with_extensions_testlocally, investigating that now.hot_mode_dev_cycle_macos_target__benchmarkpassed on my machine. @godofredoc Is there a user logged in when that test runs?I'm tracking the
ios_app_with_extensions_testtest failure in #82402@godofredoc I'm about to merge a fix for the last test failure with #85087. I think getting an M1 set up in CI will be the last thing blocking iOS arm64 simulator work #85059.
Filed #85654 to track down the
hot_mode_dev_cycle_macos_target__benchmarkfailure.@jmagman @keyonghan I believe we can close this issue, am I right? I see tests running on the Mac M1 machines.
I think so. Once I track down #85654 I'll file an issue to move the machines to the prod pool. Is that right, @godofredoc?
Sounds good, thanks Jenn.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Aug 12, 2021
This requires the following: