Skip to content

Mac tool_integration_tests failing with "The connection to service named com.apple.fonts was invalidated" on Xcode 15 in CI #132990

@vashworth

Description

@vashworth
12:44 +55 ~3 -1: test/integration.shard/test_test.dart: flutter test should not have extraneous error messages [E]                                                                                     
  Expected: match '[0-9]+:[0-9]+ [+]1: All tests passed!'
    Actual: '\r00:00 +0: loading /opt/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/trivial_widget_test.dart                                                                                                    \r00:01 +0: loading /opt/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/trivial_widget_test.dart                                                                                                    \r00:02 +0: loading /opt/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/trivial_widget_test.dart                                                                                                    \r00:03 +0: loading /opt/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/trivial_widget_test.dart                                                                                                    \r00:04 +0: loading /opt/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/trivial_widget_test.dart                                                                                                    Shell: 2023-08-17 12:27:42.136 flutter_tester[7997:48336] XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process.}'
  Full output:
  - - - -----8<----- - - -
  
00:00 +0: loading /opt/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/trivial_widget_test.dart                                                                                                    
00:01 +0: loading /opt/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/trivial_widget_test.dart                                                                                                    
00:02 +0: loading /opt/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/trivial_widget_test.dart                                                                                                    
00:03 +0: loading /opt/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/trivial_widget_test.dart                                                                                                    
00:04 +0: loading /opt/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/trivial_widget_test.dart                                                                                                    Shell: 2023-08-17 12:27:42.136 flutter_tester[7997:48336] XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process.}
  Shell: 2023-08-17 12:27:42.136 flutter_tester[7997:48336] Font server protocol version mismatch (expected:5 got:0), falling back to local fonts
  Shell: 2023-08-17 12:27:42.136 flutter_tester[7997:48336] XType: unable to make a connection to the font daemon!
  Shell: 2023-08-17 12:27:42.136 flutter_tester[7997:48336] XType: XTFontStaticRegistry is enabled as fontd is not available.
  
00:04 +0: A trivial widget test                                                                                                                                                                        
00:04 +1: A trivial widget test                                                                                                                                                                        
00:04 +1: All tests passed!                                                                                                                                                                            
  
  <<stderr>>
  
  - - - -----8<----- - - -
  
  package:matcher                              expect
  test/integration.shard/test_test.dart 391:5  _testFile
  

To run this test again: /opt/s/w/ir/x/w/flutter/bin/cache/dart-sdk/bin/dart test test/integration.shard/test_test.dart -p vm --plain-name 'flutter test should not have extraneous error messages'

https://chromium-swarm.appspot.com/task?id=641dbb5574ffce10

Not sure what's happening here. I can't recreate locally, but it's happening consistently.

@christopherfujino Have you see this before?

Metadata

Metadata

Labels

platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions