Skip to content

Windows tool_integration_tests_3_6 flakes on flutter_build_with_compilation_error_test #101950

Description

@keyonghan

(part of #97036)

One flake on flutter_build_with_compilation_error_test.dart: https://ci.chromium.org/ui/p/flutter/builders/prod/Windows%20tool_integration_tests_3_6/962/overview

16:01 +21 -1: test\integration.shard\flutter_build_with_compilation_error_test.dart: flutter build apk shows dart compilation error in non-verbose [E]                                                 
  Expected: contains 'A value of type \'String\' can\'t be assigned to a variable of type \'int\'.'
    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 11s\n'
              'Gradle task assembleRelease failed with exit code 1\n'
              ''
  
  package:test_api                                                            expect
  test\integration.shard\flutter_build_with_compilation_error_test.dart 68:7  main.<fn>
  dart:async                                                                  runZoned
  test\src\common.dart 197:14                                                 testWithoutContext.<fn>
  test\src\common.dart 196:18                                                 testWithoutContext.<fn>
  test\src\common.dart 166:18                                                 test.<fn>
  test\src\common.dart 161:5                                                  test.<fn>

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Apr 14, 2022
  2. zanderso commented on Apr 15, 2022

    @zanderso
    Member

    This appears to be the same error as in #101431, so I will close it as a duplicate. cc @blasten

  3. github-actions commented on Apr 29, 2022

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: 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