Closed PeterBriggsGreggs closed 1 year ago
I'm sorry but I have to close this issue since it doesn't contain all the needed information.
If you look closely at the logs, you'll see that connectivity_plus
plugin failed to build. Since it's an external dependency, I can't help.
Build failed when running patrol test
Upgraded to patrol version 1.1.3 earlier today. What do I need to do to resolve the issue ?
Build failed with the following error:
Verbose logs using the same command are below: peterbriggs@Peters-MacBook-Pro-2 gotg_apps_grecords % patrol test --target integration_test/tests/login/login_test.dart --verbose
Verbose mode enabled. More logs will be printed. Received 1 test target(s) Received test target: /Users/peterbriggs/GOTG.Apps.GRecords/gotg_apps_grecords/integration_test/tests/login/login_test.dart Received Android flavor: unstable Received iOS flavor: unstable $ flutter --no-version-check devices --machine No device specified, using the first one (emulator-5554) Received 1 device(s) to run on Received device: emulator-5554 Every test target will be run 1 time(s) Received 5 --dart-define(s) (0 custom, 5 internal) Received internal --dart-define: PATROL_WAIT=0 Received internal --dart-define: PATROL_APP_PACKAGE_NAME=uk.co.greggs.gotg_apps_grecords.unstable Received internal --dart-define: PATROL_APP_BUNDLE_ID=uk.co.greggs.gotg_apps_grecords.unstable Received internal --dart-define: PATROL_ANDROID_APP_NAME=G-Records Received internal --dart-define: PATROL_IOS_APP_NAME=G-Records • Building apk with entrypoint login_test.dart... $ ./gradlew :app:assembleUnstableDebug -Ptarget=/Users/peterbriggs/GOTG.Apps.GRecords/gotg_apps_grecords/integration_test/tests/login/login_test.dart -Pdart-defines=UEFUUk9MX1dBSVQ9MA==,UEFUUk9MX0FQUF9QQUNLQUdFX05BTUU9dWsuY28uZ3JlZ2dzLmdvdGdfYXBwc19ncmVjb3Jkcy51bnN0YWJsZQ==,UEFUUk9MX0FQUF9CVU5ETEVfSUQ9dWsuY28uZ3JlZ2dzLmdvdGdfYXBwc19ncmVjb3Jkcy51bnN0YWJsZQ==,UEFUUk9MX0FORFJPSURfQVBQX05BTUU9Ry1SZWNvcmRz,UEFUUk9MX0lPU19BUFBfTkFNRT1HLVJlY29yZHM=,UEFUUk9MX1RFU1RfTEFCRUw9bG9naW5fdGVzdC5kYXJ0 : : > Configure project :syncfusion_flutter_pdfviewer : WARNING: The option setting 'android.enableR8=true' is deprecated. : It will be removed in version 5.0 of the Android Gradle plugin. : You will no longer be able to disable R8 : : > Task :app:compileFlutterBuildUnstableDebug : > Task :app:packLibsflutterBuildUnstableDebug UP-TO-DATE : > Task :app:preBuild UP-TO-DATE : > Task :app:preUnstableDebugBuild UP-TO-DATE : > Task :connectivity_plus:preBuild UP-TO-DATE : > Task :connectivity_plus:preDebugBuild UP-TO-DATE : > Task :connectivity_plus:compileDebugAidl NO-SOURCE : > Task :flutter_plugin_android_lifecycle:preBuild UP-TO-DATE : > Task :flutter_plugin_android_lifecycle:preDebugBuild UP-TO-DATE : > Task :flutter_plugin_android_lifecycle:compileDebugAidl NO-SOURCE : > Task :image_picker_android:preBuild UP-TO-DATE : > Task :image_picker_android:preDebugBuild UP-TO-DATE : > Task :image_picker_android:compileDebugAidl NO-SOURCE : > Task :integration_test:preBuild UP-TO-DATE : > Task :integration_test:preDebugBuild UP-TO-DATE : > Task :integration_test:compileDebugAidl NO-SOURCE : > Task :isar_flutter_libs:preBuild UP-TO-DATE : > Task :isar_flutter_libs:preDebugBuild UP-TO-DATE : > Task :isar_flutter_libs:compileDebugAidl NO-SOURCE : > Task :move_to_background:preBuild UP-TO-DATE : > Task :move_to_background:preDebugBuild UP-TO-DATE : > Task :move_to_background:compileDebugAidl NO-SOURCE : > Task :package_info_plus:preBuild UP-TO-DATE : > Task :package_info_plus:preDebugBuild UP-TO-DATE : > Task :package_info_plus:compileDebugAidl NO-SOURCE : > Task :path_provider_android:preBuild UP-TO-DATE : > Task :path_provider_android:preDebugBuild UP-TO-DATE : > Task :path_provider_android:compileDebugAidl NO-SOURCE : > Task :patrol:preBuild UP-TO-DATE : > Task :patrol:preDebugBuild UP-TO-DATE : > Task :patrol:compileDebugAidl NO-SOURCE : > Task :syncfusion_flutter_pdfviewer:preBuild UP-TO-DATE : > Task :syncfusion_flutter_pdfviewer:preDebugBuild UP-TO-DATE : > Task :syncfusion_flutter_pdfviewer:compileDebugAidl NO-SOURCE : > Task :url_launcher_android:preBuild UP-TO-DATE : > Task :url_launcher_android:preDebugBuild UP-TO-DATE : > Task :url_launcher_android:compileDebugAidl NO-SOURCE : > Task :app:compileUnstableDebugAidl NO-SOURCE : > Task :connectivity_plus:packageDebugRenderscript NO-SOURCE : > Task :flutter_plugin_android_lifecycle:packageDebugRenderscript NO-SOURCE : > Task :image_picker_android:packageDebugRenderscript NO-SOURCE : > Task :integration_test:packageDebugRenderscript NO-SOURCE : > Task :isar_flutter_libs:packageDebugRenderscript NO-SOURCE : > Task :move_to_background:packageDebugRenderscript NO-SOURCE : > Task :package_info_plus:packageDebugRenderscript NO-SOURCE : > Task :path_provider_android:packageDebugRenderscript NO-SOURCE : > Task :patrol:packageDebugRenderscript NO-SOURCE : > Task :syncfusion_flutter_pdfviewer:packageDebugRenderscript NO-SOURCE : > Task :url_launcher_android:packageDebugRenderscript NO-SOURCE : > Task :app:compileUnstableDebugRenderscript NO-SOURCE : > Task :app:generateUnstableDebugBuildConfig UP-TO-DATE : > Task :connectivity_plus:writeDebugAarMetadata UP-TO-DATE : > Task :flutter_plugin_android_lifecycle:writeDebugAarMetadata UP-TO-DATE : > Task :image_picker_android:writeDebugAarMetadata UP-TO-DATE : > Task :integration_test:writeDebugAarMetadata UP-TO-DATE : > Task :isar_flutter_libs:writeDebugAarMetadata UP-TO-DATE : > Task :move_to_background:writeDebugAarMetadata UP-TO-DATE : > Task :package_info_plus:writeDebugAarMetadata UP-TO-DATE : > Task :path_provider_android:writeDebugAarMetadata UP-TO-DATE : > Task :patrol:writeDebugAarMetadata UP-TO-DATE : > Task :syncfusion_flutter_pdfviewer:writeDebugAarMetadata UP-TO-DATE : > Task :url_launcher_android:writeDebugAarMetadata UP-TO-DATE : > Task :app:checkUnstableDebugAarMetadata UP-TO-DATE : > Task :app:cleanMergeUnstableDebugAssets : > Task :app:mergeUnstableDebugShaders UP-TO-DATE : > Task :app:compileUnstableDebugShaders NO-SOURCE : > Task :app:generateUnstableDebugAssets UP-TO-DATE : > Task :connectivity_plus:mergeDebugShaders UP-TO-DATE : > Task :connectivity_plus:compileDebugShaders NO-SOURCE : > Task :connectivity_plus:generateDebugAssets UP-TO-DATE : > Task :connectivity_plus:packageDebugAssets UP-TO-DATE : > Task :flutter_plugin_android_lifecycle:mergeDebugShaders UP-TO-DATE : > Task :flutter_plugin_android_lifecycle:compileDebugShaders NO-SOURCE : > Task :flutter_plugin_android_lifecycle:generateDebugAssets UP-TO-DATE : > Task :flutter_plugin_android_lifecycle:packageDebugAssets UP-TO-DATE : > Task :image_picker_android:mergeDebugShaders UP-TO-DATE : > Task :image_picker_android:compileDebugShaders NO-SOURCE : > Task :image_picker_android:generateDebugAssets UP-TO-DATE : > Task :image_picker_android:packageDebugAssets UP-TO-DATE : > Task :integration_test:mergeDebugShaders UP-TO-DATE : > Task :integration_test:compileDebugShaders NO-SOURCE : > Task :integration_test:generateDebugAssets UP-TO-DATE : > Task :integration_test:packageDebugAssets UP-TO-DATE : > Task :isar_flutter_libs:mergeDebugShaders UP-TO-DATE : > Task :isar_flutter_libs:compileDebugShaders NO-SOURCE : > Task :isar_flutter_libs:generateDebugAssets UP-TO-DATE : > Task :isar_flutter_libs:packageDebugAssets UP-TO-DATE : > Task :move_to_background:mergeDebugShaders UP-TO-DATE : > Task :move_to_background:compileDebugShaders NO-SOURCE : > Task :move_to_background:generateDebugAssets UP-TO-DATE : > Task :move_to_background:packageDebugAssets UP-TO-DATE : > Task :package_info_plus:mergeDebugShaders UP-TO-DATE : > Task :package_info_plus:compileDebugShaders NO-SOURCE : > Task :package_info_plus:generateDebugAssets UP-TO-DATE : > Task :package_info_plus:packageDebugAssets UP-TO-DATE : > Task :path_provider_android:mergeDebugShaders UP-TO-DATE : > Task :path_provider_android:compileDebugShaders NO-SOURCE : > Task :path_provider_android:generateDebugAssets UP-TO-DATE : > Task :path_provider_android:packageDebugAssets UP-TO-DATE : > Task :patrol:mergeDebugShaders UP-TO-DATE : > Task :patrol:compileDebugShaders NO-SOURCE : > Task :patrol:generateDebugAssets UP-TO-DATE : > Task :patrol:packageDebugAssets UP-TO-DATE : > Task :syncfusion_flutter_pdfviewer:mergeDebugShaders UP-TO-DATE : > Task :syncfusion_flutter_pdfviewer:compileDebugShaders NO-SOURCE : > Task :syncfusion_flutter_pdfviewer:generateDebugAssets UP-TO-DATE : > Task :syncfusion_flutter_pdfviewer:packageDebugAssets UP-TO-DATE : > Task :url_launcher_android:mergeDebugShaders UP-TO-DATE : > Task :url_launcher_android:compileDebugShaders NO-SOURCE : > Task :url_launcher_android:generateDebugAssets UP-TO-DATE : > Task :url_launcher_android:packageDebugAssets UP-TO-DATE : > Task :app:mergeUnstableDebugAssets : > Task :app:copyFlutterAssetsUnstableDebug : > Task :app:generateUnstableDebugResValues UP-TO-DATE : > Task :app:generateUnstableDebugResources UP-TO-DATE : > Task :connectivity_plus:compileDebugRenderscript NO-SOURCE : > Task :connectivity_plus:generateDebugResValues UP-TO-DATE : > Task :connectivity_plus:generateDebugResources UP-TO-DATE : > Task :connectivity_plus:packageDebugResources UP-TO-DATE : > Task :flutter_plugin_android_lifecycle:compileDebugRenderscript NO-SOURCE : > Task :flutter_plugin_android_lifecycle:generateDebugResValues UP-TO-DATE : > Task :flutter_plugin_android_lifecycle:generateDebugResources UP-TO-DATE : > Task :flutter_plugin_android_lifecycle:packageDebugResources UP-TO-DATE : > Task :image_picker_android:compileDebugRenderscript NO-SOURCE : > Task :image_picker_android:generateDebugResValues UP-TO-DATE : > Task :image_picker_android:generateDebugResources UP-TO-DATE : > Task :image_picker_android:packageDebugResources UP-TO-DATE : > Task :integration_test:compileDebugRenderscript NO-SOURCE : > Task :integration_test:generateDebugResValues UP-TO-DATE : > Task :integration_test:generateDebugResources UP-TO-DATE : > Task :integration_test:packageDebugResources UP-TO-DATE : > Task :isar_flutter_libs:compileDebugRenderscript NO-SOURCE : > Task :isar_flutter_libs:generateDebugResValues UP-TO-DATE : > Task :isar_flutter_libs:generateDebugResources UP-TO-DATE : > Task :isar_flutter_libs:packageDebugResources UP-TO-DATE : > Task :move_to_background:compileDebugRenderscript NO-SOURCE : > Task :move_to_background:generateDebugResValues UP-TO-DATE : > Task :move_to_background:generateDebugResources UP-TO-DATE : > Task :move_to_background:packageDebugResources UP-TO-DATE : > Task :package_info_plus:compileDebugRenderscript NO-SOURCE : > Task :package_info_plus:generateDebugResValues UP-TO-DATE : > Task :package_info_plus:generateDebugResources UP-TO-DATE : > Task :package_info_plus:packageDebugResources UP-TO-DATE : > Task :path_provider_android:compileDebugRenderscript NO-SOURCE : > Task :path_provider_android:generateDebugResValues UP-TO-DATE : > Task :path_provider_android:generateDebugResources UP-TO-DATE : > Task :path_provider_android:packageDebugResources UP-TO-DATE : > Task :patrol:compileDebugRenderscript NO-SOURCE : > Task :patrol:generateDebugResValues UP-TO-DATE : > Task :patrol:generateDebugResources UP-TO-DATE : > Task :patrol:packageDebugResources UP-TO-DATE : > Task :syncfusion_flutter_pdfviewer:compileDebugRenderscript NO-SOURCE : > Task :syncfusion_flutter_pdfviewer:generateDebugResValues UP-TO-DATE : > Task :syncfusion_flutter_pdfviewer:generateDebugResources UP-TO-DATE : > Task :syncfusion_flutter_pdfviewer:packageDebugResources UP-TO-DATE : > Task :url_launcher_android:compileDebugRenderscript NO-SOURCE : > Task :url_launcher_android:generateDebugResValues UP-TO-DATE : > Task :url_launcher_android:generateDebugResources UP-TO-DATE : > Task :url_launcher_android:packageDebugResources UP-TO-DATE : > Task :app:mergeUnstableDebugResources UP-TO-DATE : > Task :app:createUnstableDebugCompatibleScreenManifests UP-TO-DATE : > Task :app:extractDeepLinksUnstableDebug UP-TO-DATE : > Task :connectivity_plus:extractDeepLinksDebug UP-TO-DATE : > Task :connectivity_plus:processDebugManifest UP-TO-DATE : > Task :flutter_plugin_android_lifecycle:extractDeepLinksDebug UP-TO-DATE : > Task :flutter_plugin_android_lifecycle:processDebugManifest UP-TO-DATE : > Task :image_picker_android:extractDeepLinksDebug UP-TO-DATE : > Task :image_picker_android:processDebugManifest UP-TO-DATE : > Task :integration_test:extractDeepLinksDebug UP-TO-DATE : > Task :integration_test:processDebugManifest UP-TO-DATE : > Task :isar_flutter_libs:extractDeepLinksDebug UP-TO-DATE : > Task :isar_flutter_libs:processDebugManifest UP-TO-DATE : > Task :move_to_background:extractDeepLinksDebug UP-TO-DATE : > Task :move_to_background:processDebugManifest UP-TO-DATE : > Task :package_info_plus:extractDeepLinksDebug UP-TO-DATE : > Task :package_info_plus:processDebugManifest UP-TO-DATE : > Task :path_provider_android:extractDeepLinksDebug UP-TO-DATE : > Task :path_provider_android:processDebugManifest UP-TO-DATE : > Task :patrol:extractDeepLinksDebug UP-TO-DATE : > Task :patrol:processDebugManifest UP-TO-DATE : > Task :syncfusion_flutter_pdfviewer:extractDeepLinksDebug UP-TO-DATE : > Task :syncfusion_flutter_pdfviewer:processDebugManifest UP-TO-DATE : > Task :url_launcher_android:extractDeepLinksDebug UP-TO-DATE : > Task :url_launcher_android:processDebugManifest UP-TO-DATE : > Task :app:processUnstableDebugMainManifest UP-TO-DATE : > Task :app:processUnstableDebugManifest UP-TO-DATE : > Task :app:processUnstableDebugManifestForPackage UP-TO-DATE : > Task :connectivity_plus:compileDebugLibraryResources UP-TO-DATE : > Task :connectivity_plus:parseDebugLocalResources UP-TO-DATE : > Task :connectivity_plus:generateDebugRFile UP-TO-DATE : > Task :flutter_plugin_android_lifecycle:compileDebugLibraryResources UP-TO-DATE : > Task :flutter_plugin_android_lifecycle:parseDebugLocalResources UP-TO-DATE : > Task :flutter_plugin_android_lifecycle:generateDebugRFile UP-TO-DATE : > Task :image_picker_android:compileDebugLibraryResources UP-TO-DATE : > Task :image_picker_android:parseDebugLocalResources UP-TO-DATE : > Task :image_picker_android:generateDebugRFile UP-TO-DATE : > Task :integration_test:compileDebugLibraryResources UP-TO-DATE : > Task :integration_test:parseDebugLocalResources UP-TO-DATE : > Task :integration_test:generateDebugRFile UP-TO-DATE : > Task :isar_flutter_libs:compileDebugLibraryResources UP-TO-DATE : > Task :isar_flutter_libs:parseDebugLocalResources UP-TO-DATE : > Task :isar_flutter_libs:generateDebugRFile UP-TO-DATE : > Task :move_to_background:compileDebugLibraryResources UP-TO-DATE : > Task :move_to_background:parseDebugLocalResources UP-TO-DATE : > Task :move_to_background:generateDebugRFile UP-TO-DATE : > Task :package_info_plus:compileDebugLibraryResources UP-TO-DATE : > Task :package_info_plus:parseDebugLocalResources UP-TO-DATE : > Task :package_info_plus:generateDebugRFile UP-TO-DATE : > Task :path_provider_android:compileDebugLibraryResources UP-TO-DATE : > Task :path_provider_android:parseDebugLocalResources UP-TO-DATE : > Task :path_provider_android:generateDebugRFile UP-TO-DATE : > Task :patrol:compileDebugLibraryResources UP-TO-DATE : > Task :patrol:parseDebugLocalResources UP-TO-DATE : > Task :patrol:generateDebugRFile UP-TO-DATE : > Task :syncfusion_flutter_pdfviewer:compileDebugLibraryResources UP-TO-DATE : > Task :syncfusion_flutter_pdfviewer:parseDebugLocalResources UP-TO-DATE : > Task :syncfusion_flutter_pdfviewer:generateDebugRFile UP-TO-DATE : > Task :url_launcher_android:compileDebugLibraryResources UP-TO-DATE : > Task :url_launcher_android:parseDebugLocalResources UP-TO-DATE : > Task :url_launcher_android:generateDebugRFile UP-TO-DATE : > Task :app:processUnstableDebugResources UP-TO-DATE : > Task :connectivity_plus:generateDebugBuildConfig UP-TO-DATE : > Task :connectivity_plus:javaPreCompileDebug UP-TO-DATE : > Task :connectivity_plus:compileDebugJavaWithJavac FAILED
✗ Failed to build apk with entrypoint login_test.dart (Gradle build failed with code 1) (11.1s) Exception: Gradle build failed with code 1
0 AndroidTestBackend.build. (package:patrol_cli/src/android/android_test_backend.dart:67:9)