Skip to content

Linux_android android_platform_tests_shard_4 failing frequently #139378

@vashworth

Description

@vashworth

The last ~10 builds have failed in presubmit: https://ci.chromium.org/ui/p/flutter/builders/try/Linux_android%20android_platform_tests_shard_4%20master?limit=50

Also fails quite often in post submit:
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_android%20android_platform_tests_shard_4%20master

Sometimes it fails on drive examples with

00:47 +13: getExternalStorageDirectories (type: StorageDirectory.pictures)                                                                                                                             
 ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
 The following TestFailure was thrown running a test:
 Expected: non-empty
   Actual: []
 When the exception was thrown, this was the stack:
 #4      _verifySampleFile (file:///b/s/w/ir/x/w/packages/packages/path_provider/path_provider_android/example/integration_test/path_provider_test.dart:102:3)
 #5      main.<anonymous closure> (file:///b/s/w/ir/x/w/packages/packages/path_provider/path_provider_android/example/integration_test/path_provider_test.dart:79:9)
 <asynchronous suspension>
 #6      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:168:15)
 <asynchronous suspension>
 #7      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1017:5)
 <asynchronous suspension>
 <asynchronous suspension>
 (elided one frame from package:stack_trace)
 This was caught by the test expectation on the following line:
   file:///b/s/w/ir/x/w/packages/packages/path_provider/path_provider_android/example/integration_test/path_provider_test.dart line 102
 The test description was:
   getExternalStorageDirectories (type: StorageDirectory.pictures)
 ════════════════════════════════════════════════════════════════════════════════════════════════════
 
00:47 +13 -1: getExternalStorageDirectories (type: StorageDirectory.pictures) [E]                                                                                                                      
   Test failed. See exception logs above.
   The test description was: getExternalStorageDirectories (type: StorageDirectory.pictures)
   
 To run this test again: /b/s/w/ir/x/w/flutter/bin/cache/dart-sdk/bin/dart test /b/s/w/ir/x/w/packages/packages/path_provider/path_provider_android/example/integration_test/path_provider_test.dart -p vm --plain-name 'getExternalStorageDirectories (type: StorageDirectory.pictures)'

Sometimes it fails on native_integration_tests with

> Task :app:connectedDebugAndroidTest
Starting 3 tests on android_34_google_apis_x86_64(AVD) - 14
io.flutter.plugins.quickactionsexample.QuickActionsTest > appShortcutLaunchActivityAfterStarting[android_34_google_apis_x86_64(AVD) - 14] �[31mFAILED �[0m
	java.lang.AssertionError: AppShortcut:action_one does not launch the correct activity
	at org.junit.Assert.fail(Assert.java:89)
Tests on android_34_google_apis_x86_64(AVD) - 14 failed: There was 1 failure(s).

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionc: flakeTests that sometimes, but not always, incorrectly passfyi-ecosystemFor the attention of Ecosystem teamteam-androidOwned by Android platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions