Repository navigation
Mac plugin_lint_mac is flaky with incorrect FlutterMacOS.framework architecture #112146
Copy link
Copy link
Closed
Closed
Copy link
Labels
P0Critical issues such as a build break or regressionCritical issues such as a build break or regressionc: flakeTests that sometimes, but not always, incorrectly passTests that sometimes, but not always, incorrectly passpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.
Description
It started flaking on commit: 7b6d25c
It has flaked 6 times on two bots: build801-m9 and build822-m9
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac%20plugin_lint_mac/8910/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac%20plugin_lint_mac/8914/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac%20plugin_lint_mac/8920/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac%20plugin_lint_mac/8946/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac%20plugin_lint_mac/8953/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac%20plugin_lint_mac/8952/overview
/opt/s/w/ir/x/t/CocoaPods-Lint-20220920-11126-11gyx2z-integration_test_macos/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 13.1. (in target 'FlutterMacOS' from project 'Pods')
[plugin_lint_mac] [STDOUT] stderr: ** BUILD FAILED **
[plugin_lint_mac] [STDOUT] stderr:
[plugin_lint_mac] [STDOUT] stderr:
[plugin_lint_mac] [STDOUT] stderr: The following build commands failed:
[plugin_lint_mac] [STDOUT] stderr: Ld /Users/chrome-bot/Library/Developer/Xcode/DerivedData/App-ezvkxovtqsopcwdhpnsajpaoapnh/Build/Intermediates.noindex/Pods.build/Release/integration_test_macos.build/Objects-normal/arm64/Binary/integration_test_macos normal arm64 (in target 'integration_test_macos' from project 'Pods')
[plugin_lint_mac] [STDOUT] stderr: (1 failure)
[plugin_lint_mac] [STDOUT] stdout: Testing with `xcodebuild`.
[plugin_lint_mac] [STDOUT] stdout: -> integration_test_macos (0.0.1)
[plugin_lint_mac] [STDOUT] stdout: - ERROR | [OSX] xcodebuild: Returned an unsuccessful exit code.
[plugin_lint_mac] [STDOUT] stdout: - NOTE | xcodebuild: note: Using codesigning identity override:
[plugin_lint_mac] [STDOUT] stdout: - NOTE | [OSX] xcodebuild: note: Building targets in dependency order
[plugin_lint_mac] [STDOUT] stdout: - NOTE | [OSX] xcodebuild: Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 13.1. (in target 'Pods-App' from project 'Pods')
[plugin_lint_mac] [STDOUT] stdout: - NOTE | [OSX] xcodebuild: /opt/s/w/ir/x/t/CocoaPods-Lint-20220920-11126-11gyx2z-integration_test_macos/App.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 13.1. (in target 'App' from project 'App')
[plugin_lint_mac] [STDOUT] stdout: - NOTE | [OSX] xcodebuild: Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 13.1. (in target 'integration_test_macos' from project 'Pods')
[plugin_lint_mac] [STDOUT] stdout: - NOTE | [OSX] xcodebuild: ld: warning: ignoring file FlutterMacOS/FlutterMacOS.framework/FlutterMacOS, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
[plugin_lint_mac] [STDOUT] stdout: - NOTE | [OSX] xcodebuild: clang: error: linker command failed with exit code 1 (use -v to see invocation)
[plugin_lint_mac] [STDOUT] stdout: - NOTE | [OSX] xcodebuild: Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 13.1. (in target 'FlutterMacOS' from project 'Pods')
[plugin_lint_mac] [STDOUT] stdout:
[plugin_lint_mac] [STDOUT] stdout: [!] integration_test_macos did not pass validation, due to 1 error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P0Critical issues such as a build break or regressionCritical issues such as a build break or regressionc: flakeTests that sometimes, but not always, incorrectly passTests that sometimes, but not always, incorrectly passpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.
Activity
stuartmorgan-g commentedon Sep 22, 2022
The deployment target warning is not related; that should be a harmless messsage we see in all runs. The actual problem is:
@jmagman Any idea how we would flakily be getting the wrong Pod here?
[-]Mac plugin_lint_mac is flaky with unsupported `MACOSX_DEPLOYMENT_TARGET`[/-][+]Mac plugin_lint_mac is flaky with incorrect `FlutterMacOS.framework` architecture[/+]jmagman commentedon Sep 22, 2022
This is grabbing a pretty old version of the published FlutterMacOS pod, perhaps one that wasn't built for both archs? This might need a
pod repo update. No idea why that would have just started happening though.jmagman commentedon Sep 22, 2022
Oh wait yes I do #111432
github-actions commentedon Oct 12, 2022
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.