Skip to content

Mac plugin_lint_mac is flaky with incorrect FlutterMacOS.framework architecture #112146

@keyonghan

Description

@keyonghan

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.

Metadata

Metadata

Labels

P0Critical issues such as a build break or regressionc: flakeTests that sometimes, but not always, incorrectly passpackageflutter/packages repository. See also p: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions