Skip to content

Windows tool_integration_tests_1_6 flakes on android_plugin_ndkversion_mismatch_test #105813

@keyonghan

Description

@keyonghan

(part of #97036)

Hit three flakes on test android_plugin_ndkversion_mismatch_test today:
https://ci.chromium.org/ui/p/flutter/builders/prod/Windows%20tool_integration_tests_1_6/1728/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Windows%20tool_integration_tests_1_6/1729/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Windows%20tool_integration_tests_1_6/1730/overview

19:49 +23 ~2 -1: test\integration.shard\android_plugin_ndkversion_mismatch_test.dart: error logged when plugin Android ndkVersion higher than project [E]                                              
  Expected: contains 'One or more plugins require a higher Android NDK version.\n'
              'Fix this issue by adding the following to C:\\b\\s\\w\\ir\\x\\t\\flutter_flutter_plugin_test.e54e5db8\\test_plugin\\example\\android\\app\\build.gradle:\n'
              'android {\n'
              '  ndkVersion 21.4.7075529\n'
              '  ...\n'
              '}\n'
              '\n'
              ''
    Actual: '\n'
              'FAILURE: Build failed with an exception.\n'
              '\n'
              '* Where:\n'
              'Script \'C:\\b\\s\\w\\ir\\x\\w\\flutter\\packages\\flutter_tools\\gradle\\flutter.gradle\' line: 293\n'
              '\n'
              '* What went wrong:\n'
              'A problem occurred evaluating script.\n'
              '> Failed to apply plugin class \'FlutterPlugin\'.\n'
              '   > Comparison method violates its general contract!\n'
              '\n'
              '* Try:\n'
              '> Run with --stacktrace option to get the stack trace.\n'
              '> Run with --info or --debug option to get more log output.\n'
              '> Run with --scan to get full insights.\n'
              '\n'
              '* Get more help at https://help.gradle.org/\n'
              '\n'
              'BUILD FAILED in 15s\n'
              'Gradle task assembleRelease failed with exit code 1\n'
              ''
  
  package:test_api                                                          expect
  test\integration.shard\android_plugin_ndkversion_mismatch_test.dart 76:5  main.<fn>
  test\src\common.dart 166:18                                               test.<fn>

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionc: flakeTests that sometimes, but not always, incorrectly passtoolAffects 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