Skip to content

Tests that are running in release version of the app doesn't return an error message that tells something useful #2563

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Vladeezyy opened this issue Mar 18, 2025 · 1 comment
Labels
bug Something isn't working P2 Issues not at the top of the work list package: patrol_log Related to logging

Comments

@Vladeezyy
Copy link

Steps to reproduce

I did next:
patrol build android --release
and then
patrol test --release

If test fails, all i'm getting as error message is:
Instance of 'FlutterErrorDetails'

Image

Actual results

For debug mode it works fine and i'm able to see what's wrong

Logs

No response

Patrol version

patrol: 3.14.0

Patrol Doctor output

Patrol Doctor output
Patrol doctor:
Patrol CLI version: 3.5.1
Flutter command: flutter 
  Flutter 3.27.4 • channel stable
Android: 
• Program adb found in C:\Users\Vladeezy\AppData\Local\Android\Sdk\platform-tools\adb.exe
• Env var $ANDROID_HOME set to C:\Users\Vladeezy\AppData\Local\Android\Sdk

Flutter Doctor output

Flutter Doctor output
[√] Flutter (Channel stable, 3.27.4, on Microsoft Windows [Version 10.0.19045.5487], locale en-US)
    • Flutter version 3.27.4 on channel stable at C:\Users\Vladeezy\fvm\versions\3.27.4
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d8a9f9a52e (7 weeks ago), 2025-01-31 16:07:18 -0500
    • Engine revision 82bd5b7209
    • Dart version 3.6.2
    • DevTools version 2.40.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\Vladeezy\AppData\Local\Android\Sdk
    • Platform android-35, build-tools 35.0.0
    • ANDROID_HOME = C:\Users\Vladeezy\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Java\jdk-17\bin\java
    • Java version Java(TM) SE Runtime Environment (build 17.0.12+8-LTS-286)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.26)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
    • Visual Studio Build Tools 2019 version 16.11.33529.622
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2024.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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 21.0.4+-12508038-b607.1)

[√] Connected device (4 available)
    • SM G780G (mobile) • RF8R907S26T • android-arm64  • Android 13 (API 33)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.19045.5487]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 131.0.6778.205
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 134.0.3124.66

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

• No issues found!
@jBorkowska jBorkowska self-assigned this Mar 19, 2025
@jBorkowska
Copy link
Collaborator

Hi @Vladeezyy
Yes, unfortunately it's a known problem with logging in release mode. We'll see what we can do to fix it

@jBorkowska jBorkowska added bug Something isn't working package: patrol_log Related to logging labels Mar 19, 2025
@jBorkowska jBorkowska removed their assignment Mar 19, 2025
@jBorkowska jBorkowska added the P2 Issues not at the top of the work list label Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P2 Issues not at the top of the work list package: patrol_log Related to logging
Projects
None yet
Development

No branches or pull requests

2 participants