flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
163.15k stars 26.85k forks source link

Crash in integration.shard Package of Flutter Framework-packages #146545

Open rzambroni opened 2 months ago

rzambroni commented 2 months ago

Steps to reproduce

Testing Android Studio JellyFish RC1

  1. Clone the Flutter repository from: https://github.com/flutter/flutter

  2. Navigate to the cloned repository in the terminal: cd flutter

  3. Run the following command to execute the tests for the integration.shard package and save the output to a log file: cd packages/flutter_tools && flutter test test/integration.shard >> flutter-integration.shardS-logs.txt

  4. Review the log file generated to observe errors in the tests.

Expected results

The integration.shard package should execute without errors in both Channel stable (version 3.19.5) and Channel master (version 3.22.0-5.0.pre.65).

Actual results

The following error log is encountered:

Expected: a process with exit code 1 and stderr: "A value of type 'String' can't be assigned to a variable of type 'int'."
    Actual: <Instance of 'ProcessResult'>
     Which: Actual stdout:

            This crash may already be reported. Check GitHub for similar crashes.
            https://github.com/flutter/flutter/issues?q=is%3Aissue+ProcessException%3A+Process+exited+abnormally+with+exit+code+72%3A%0Axcrun%3A+error%3A+unable+to+find+utility+%22xcodebuild%22%2C+not+a+developer+tool+or+in+PATH%0A++Command%3A+%2Fusr%2Fbin%2Farch+-arm64e+xcrun+xcodebuild+-list+-project+Runner.xcodeproj

Code sample

Code sample ```dart [Paste your code here] ```

Screenshots or Video

Screenshots / Video demonstration [Upload media here]

Logs

Logs [flutter-integration.shardStable-logs.txt](https://github.com/flutter/flutter/files/14926691/flutter-integration.shardS-logs.txt) [flutter-integration.shardMaster-logs.txt](https://github.com/flutter/flutter/files/14926692/flutter-integration.shardM-logs.txt)

Flutter Doctor output

Doctor output ```console [✓] Flutter (Channel master, 3.22.0-5.0.pre.65, on macOS 14.3.1 23D60 darwin-arm64, locale en-US) • Flutter version 3.22.0-5.0.pre.65 on channel master at /Users/josefinadiz/flutter/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 5b5dff05b7 (2 hours ago), 2024-04-08 10:48:08 -0700 • Engine revision 7d9435236f • Dart version 3.5.0 (build 3.5.0-18.0.dev) • DevTools version 2.34.1 [✓] 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.10+0-17.0.10b1087.21-11572160) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 15.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15E204a • CocoaPods version 1.15.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2023.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160) [✓] VS Code (version 1.88.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.86.0 [✓] Connected device (2 available) • macOS (desktop) • macos • darwin-arm64 • macOS 14.3.1 23D60 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 123.0.6312.107 [✓] Network resources • All expected network resources are available. ```
rzambroni commented 2 months ago

Note: we retested this with Android Studio JellyFish RC2 and it can still be reproduced there.

Josefina-diz commented 1 month ago

This error continues to occur when running the activity with Xcode 15.4 (RC1).