Skip to content

[google_maps_flutter] Integration tests failing flakily in Android emulator #130986

Open

Description

@stuartmorgan-g

I'm working on bringing up Android emulator tests in CI, and am seeing flaky but frequent failures in CI and locally in google_maps_flutter_android. It looks like it's probably crashing? The output from an example run is:

============================================================
|| Running for packages/google_maps_flutter/google_maps_flutter_android [@2:56]
============================================================

Running command: "flutter test -d emulator-5554 integration_test" in /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example

00:00 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   Running Gradle task 'assembleDebug'...                          
00:01 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:02 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:03 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:04 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:05 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   

00:06 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:07 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:08 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:09 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:10 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:11 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   

00:12 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:13 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:14 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:15 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:16 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:17 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   

00:18 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:19 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:20 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:21 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:22 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:23 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   

00:24 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:25 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:26 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:27 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:28 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:29 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   

00:30 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:31 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:32 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:33 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:34 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:35 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   

00:36 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:37 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:38 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:39 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:40 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                      40.1s
✓  Built build/app/outputs/flutter-apk/app-debug.apk.

00:41 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   Installing build/app/outputs/flutter-apk/app-debug.apk...       
00:42 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:43 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                    1,196ms

00:44 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:45 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:46 +0: loading /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart                                                   
00:46 +0: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: (setUpAll)                                               
00:46 +0: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: initialized with latest renderer                         
00:46 +1: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: initialized with latest renderer                         
00:46 +1: ... throws PlatformException on multiple renderer initializations                                                                                                                            
00:46 +2: ... throws PlatformException on multiple renderer initializations                                                                                                                            
00:46 +2: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: uses surface view                                        
00:47 +2: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: uses surface view                                        
00:47 +3: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: uses surface view                                        
00:47 +3: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                        
00:48 +3: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                        
00:49 +3: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                        

00:49 +3 ~1: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
00:49 +3 ~2: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
00:49 +3 ~3: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
00:49 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     Running Gradle task 'assembleDebug'...                          
00:50 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
00:51 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
00:52 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
00:53 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
00:54 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     

00:55 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
00:56 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
00:57 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
00:58 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
00:59 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:00 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     

01:01 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:02 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:03 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:04 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:05 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:06 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     

01:07 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:08 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:09 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:10 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:11 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:12 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     

01:13 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:14 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:15 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:16 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:17 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:18 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     

01:19 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:20 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:21 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:22 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:23 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:24 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     

01:25 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:26 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                        36.5s
✓  Built build/app/outputs/flutter-apk/app-debug.apk.

01:28 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     Installing build/app/outputs/flutter-apk/app-debug.apk...       
01:29 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                      1,281ms

01:30 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:31 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:32 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:33 +3 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:33 +4 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:33 +5 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:34 +5 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:34 +6 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:35 +6 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     

01:36 +6 ~4: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:36 +6 ~5: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:36 +6 ~6: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:36 +6 ~7: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle                                     
01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testCompassToggle - did not complete [E]              

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testMapToolbarToggle - did not complete [E]           

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: updateMinMaxZoomLevels - did not complete [E]         

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testZoomGesturesEnabled - did not complete [E]        

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testZoomControlsEnabled - did not complete [E]        

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testLiteModeEnabled - did not complete [E]            

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testRotateGesturesEnabled - did not complete [E]      

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testTiltGesturesEnabled - did not complete [E]        

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testScrollGesturesEnabled - did not complete [E]      

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testInitialCenterLocationAtCenter - did not complete [E]

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testGetVisibleRegion - did not complete [E]           

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testTraffic - did not complete [E]                    

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testBuildings - did not complete [E]                  

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testSetMapStyle valid Json String - did not complete [E]

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testSetMapStyle invalid Json String - did not complete [E]

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testSetMapStyle null string - did not complete [E]    

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testGetLatLng - did not complete [E]                  

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testGetZoomLevel - did not complete [E]               

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testScreenCoordinate - did not complete [E]           

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testResizeWidget - did not complete [E]               

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: testToggleInfoWindow - did not complete [E]           

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: fromAssetImage - did not complete [E]                 

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: set tileOverlay correctly - did not complete [E]      

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: update tileOverlays correctly - did not complete [E]  

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: remove tileOverlays correctly - did not complete [E]  

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/latest_renderer_test.dart: (tearDownAll) - did not complete [E]                  

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testCompassToggle - did not complete [E]              

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testMapToolbarToggle - did not complete [E]           

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: updateMinMaxZoomLevels - did not complete [E]         

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testZoomGesturesEnabled - did not complete [E]        

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testZoomControlsEnabled - did not complete [E]        

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testLiteModeEnabled - did not complete [E]            

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testRotateGesturesEnabled - did not complete [E]      

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testTiltGesturesEnabled - did not complete [E]        

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testScrollGesturesEnabled - did not complete [E]      

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testInitialCenterLocationAtCenter - did not complete [E]

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testGetVisibleRegion - did not complete [E]           

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testTraffic - did not complete [E]                    

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testBuildings - did not complete [E]                  

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testSetMapStyle valid Json String - did not complete [E]

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testSetMapStyle invalid Json String - did not complete [E]

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testSetMapStyle null string - did not complete [E]    

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testGetLatLng - did not complete [E]                  

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testGetZoomLevel - did not complete [E]               

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testScreenCoordinate - did not complete [E]           

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testResizeWidget - did not complete [E]               

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: testToggleInfoWindow - did not complete [E]           

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: fromAssetImage - did not complete [E]                 

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: set tileOverlay correctly - did not complete [E]      

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: update tileOverlays correctly - did not complete [E]  

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: remove tileOverlays correctly - did not complete [E]  

01:36 +6 ~8: /b/s/w/ir/x/w/packages/packages/google_maps_flutter/google_maps_flutter_android/example/integration_test/legacy_renderer_test.dart: (tearDownAll) - did not complete [E]                  

01:36 +6 ~8: Some tests failed.                                                  

No tests are listed as failing, there's just a bunch that didn't complete.

We are currently having very bad flake in FTL with maps as well, in #130712. This may well be the same issue, but since I don't know yet I'm filing it separately.

I'll be disabling this test in the emulator CI bringup to avoid it being super flaky, via a new script/configs/exclude_integration_android_emulator.yaml file. When this is fixed, the exclusion should be remove from that file.

Activity

  1. added
    a: tests"flutter test", flutter_test, or one of our tests
    platform-androidAndroid applications specifically
    p: mapsGoogle Maps plugin
    packageflutter/packages repository. See also p: labels.
    c: flakeTests that sometimes, but not always, incorrectly pass
    team-androidOwned by Android platform team
    c: contributor-productivityTeam-specific productivity, code health, technical debt.
    on Jul 20, 2023
  2. added
    P2Important issues not at the top of the work list
    on Aug 24, 2023
  3. reidbaker commented on Aug 24, 2023

    @reidbaker
    Contributor

    P2 because there is device testing. If that changes then so does the priority.

  4. stuartmorgan-g commented on Sep 26, 2023

    @stuartmorgan-g
    ContributorAuthor

    This is incredibly flaky on the devices recently as well, bumping to P1 to at least find out which tests we need to disable to get this to stop crashing so frequently in CI.

  5. 14 remaining items

  6. johnmccutchan commented on Sep 26, 2023

    @johnmccutchan
    Contributor

    When I run the command line you gave above I get the following error:

    $ dart run ~/workspace/packages/script/tool/bin/flutter_plugin_tools.dart drive-examples --android --packages=google_maps_flutter                                                                      
    
    script/tool/lib/src/analyze_command.dart:18:5: Error: The 'super-parameters' language feature is disabled for this library.
    Try removing the package language version or setting the language version to 2.17 or higher.
        super.packagesDir, {
        ^^^^^
    script/tool/lib/src/analyze_command.dart:19:5: Error: The 'super-parameters' language feature is disabled for this library.
    Try removing the package language version or setting the language version to 2.17 or higher.
        super.processRunner,
        ^^^^^
    script/tool/lib/src/analyze_command.dart:20:5: Error: The 'super-parameters' language feature is disabled for this library.
    Try removing the package language version or setting the language version to 2.17 or higher.
        super.platform,
        ^^^^^
    script/tool/lib/src/build_examples_command.dart:45:5: Error: The 'super-parameters' language feature is disabled for this library.
    Try removing the package language version or setting the language version to 2.17 or higher.
        super.packagesDir, {
        ^^^^^
    script/tool/lib/src/build_examples_command.dart:46:5: Error: The 'super-parameters' language feature is disabled for this library.
    Try removing the package language version or setting the language version to 2.17 or higher.
        super.processRunner,
        ^^^^^
    script/tool/lib/src/build_examples_command.dart:47:5: Error: The 'super-parameters' language feature is disabled for this library.
    Try removing the package language version or setting the language version to 2.17 or higher.
        super.platform,
        ^^^^^
    script/tool/lib/src/custom_test_command.dart:22:5: Error: The 'super-parameters' language feature is disabled for this library.
    Try removing the package language version or setting the language version to 2.17 or higher.
        super.packagesDir, {
        ^^^^^
    script/tool/lib/src/custom_test_command.dart:23:5: Error: The 'super-parameters' language feature is disabled for this library.
    Try removing the package language version or setting the language version to 2.17 or higher.
        super.processRunner,
        ^^^^^
    script/tool/lib/src/custom_test_command.dart:24:5: Error: The 'super-parameters' language feature is disabled for this library.
    Try removing the package language version or setting the language version to 2.17 or higher.
        super.platform,
        ^^^^^
    script/tool/lib/src/dart_test_command.dart:18:5: Error: The 'super-parameters' language feature is disabled for this library.
    Try removing the package language version or setting the language version to 2.17 or higher.
        super.packagesDir, {
        ^^^^^
    
  7. stuartmorgan-g commented on Sep 26, 2023

    @stuartmorgan-g
    ContributorAuthor

    Looks like you probably haven't used the repo tooling in a while, and need to dart pub upgrade in script/tool.

  8. johnmccutchan commented on Sep 26, 2023

    @johnmccutchan
    Contributor

    Thanks, I was able to reproduce a similar failure to the one above. Now how do I get access to meaningful logs from the test run? The below isn't telling me much:

    00:16 +0: loading /Users/johnmccutchan/workspace/packages/packages/google_maps_flutter/google_maps_flutter/example/integration_test/google_maps_test.dart                                                  5.4s
    00:52 +11 ~4: testCompassToggle - did not complete [E]
    00:52 +11 ~4: testMapToolbarToggle - did not complete [E]
    00:52 +11 ~4: updateMinMaxZoomLevels - did not complete [E]
    00:52 +11 ~4: testZoomGesturesEnabled - did not complete [E]
    00:52 +11 ~4: testZoomControlsEnabled - did not complete [E]
    00:52 +11 ~4: testLiteModeEnabled - did not complete [E]
    00:52 +11 ~4: testRotateGesturesEnabled - did not complete [E]
    00:52 +11 ~4: testTiltGesturesEnabled - did not complete [E]
    00:52 +11 ~4: testScrollGesturesEnabled - did not complete [E]
    00:52 +11 ~4: testTraffic - did not complete [E]
    00:52 +11 ~4: testBuildings - did not complete [E]
    00:52 +11 ~4: Tiles set tileOverlay correctly - did not complete [E]
    00:52 +11 ~4: Tiles update tileOverlays correctly - did not complete [E]
    00:52 +11 ~4: Tiles remove tileOverlays correctly - did not complete [E]
    00:52 +11 ~4: (tearDownAll) - did not complete [E]
    00:52 +11 ~4: Some tests failed.
    
  9. stuartmorgan-g commented on Sep 26, 2023

    @stuartmorgan-g
    ContributorAuthor

    As far as I've been able to tell that indicates that the host process crashed before all of those tests (or possibly during the first one and then before all the others?). I don't know the best way to run Flutter test/drive integration tests under a Java debugger on Android unfortunately; trying to combine non-standard Flutter runs (like test) with native debuggers is not-trivial, and is different on every platform. (Something like a sleep in an early test and then attaching the debugger as soon as the process starts might work?)

  10. added
    ⏳Bot is counting down the days until it unassigns the issue
    on Feb 8, 2024
  11. flutter-triage-bot commented on Feb 8, 2024

    @flutter-triage-bot

    This issue is assigned to @johnmccutchan but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks!

  12. flutter-triage-bot commented on Apr 17, 2024

    @flutter-triage-bot

    This issue was assigned to @johnmccutchan but has had no status updates in a long time. To remove any ambiguity about whether the issue is being worked on, the assignee was removed.

  13. removed
    ⏳Bot is counting down the days until it unassigns the issue
    on Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our testsc: contributor-productivityTeam-specific productivity, code health, technical debt.c: flakeTests that sometimes, but not always, incorrectly passp: mapsGoogle Maps pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions