Skip to content

Unit Test Failure in Flutter Master: "foundation" Test Case #138641

@rzambroni

Description

@rzambroni

Is there an existing issue for this?

Steps to reproduce

  1. Install Android Studio Giraffe | Version 2022.3.1 Patch 4.

  2. Clone the Flutter packages repository: git clone https://github.com/flutter/flutter

3 . Use the Pixel 7 API 34 emulator.

  1. Run the following commands in the console:
    cd flutter
    cd packages/flutter && flutter test test/foundation >> flutter-foundationM-logs.txt

Expected results

Successful execution of all tests.

Actual results

The "foundation" test case fails.
flutter version: 3.17.0-10.0.pre.42

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
00:07 +211 -1: /Users/josefinadiz/Desktop/frame/flutter/packages/flutter/test/foundation/isolates_test.dart: compute() closes all ports with valid message [E]                                         

  Expected: <0>

    Actual: <254>

  

  package:matcher                                     expect

  package:flutter_test/src/widget_tester.dart 458:18  expect

  test/foundation/isolates_test.dart 98:3             expectFileSuccessfullyCompletes

  

flutter-foundationM-logs.txt

Flutter Doctor output

Doctor output
Flutter Doctor Output:

 [✓] Flutter (Channel master, 3.17.0-10.0.pre.42, on macOS 14.0 23A344 darwin-arm64, locale en-US)
    • Flutter version 3.17.0-10.0.pre.42 on channel master at /Users/josefinadiz/Desktop/flutter/flutter
    • Upstream repository [GitHub - flutter/flutter: Flutter makes it easy and fast to build beautiful apps for mobile and beyond](https://github.com/flutter/flutter.git) 
    • Framework revision e9de448420 (19 hours ago), 2023-11-17 02:08:13 +0100
    • Engine revision 5064aeff00
    • Dart version 3.3.0 (build 3.3.0-143.0.dev)
    • DevTools version 2.30.0-dev.4

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/josefinadiz/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 [Flutter - IntelliJ IDEs Plugin | Marketplace](https://plugins.jetbrains.com/plugin/9212-flutter) 
    • Dart plugin can be installed from:
      🔨 [Dart - IntelliJ IDEs Plugin | Marketplace](https://plugins.jetbrains.com/plugin/6351-dart) 
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.76.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 14.0 23A344 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 119.0.6045.159

[✓] Network resources
    • All expected network resources are available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: tests"flutter test", flutter_test, or one of our testsfrom: manual-qaIssue caught from manual QA processplatform-androidAndroid applications specificallyteam-frameworkOwned by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions