com.google.baselineprofile.BaselineProfileGenerator > generate[Pixel 5 - 14] FAILED
java.lang.IllegalStateException: Expected no stdout/stderr from pm dump-profiles --dump-classes-and-methods com.example.baselineprofiles_codelab, saw Output(stdout=Profile saved to '/data/misc/profman/com.example.baselineprofiles_codelab-primary.prof.txt'
, stderr=)
Full Log:
./gradlew :app:generateReleaseBaselineProfile -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=BaselineProfile
Configuration on demand is an incubating feature.
Configure project :app
Passing custom test runner argument android.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules from gradle.properties or command line is not compatible with configuration caching. Please specify this argument using android gradle dsl.
Task :baselineprofile:connectedNonMinifiedReleaseAndroidTest
Starting 5 tests on Pixel 5 - 14
com.google.baselineprofile.BaselineProfileGenerator > generate[Pixel 5 - 14] FAILED
java.lang.IllegalStateException: Expected no stdout/stderr from pm dump-profiles --dump-classes-and-methods com.example.baselineprofiles_codelab, saw Output(stdout=Profile saved to '/data/misc/profman/com.example.baselineprofiles_codelab-primary.prof.txt'
, stderr=)
What went wrong:
Execution failed for task ':baselineprofile:connectedNonMinifiedReleaseAndroidTest'.
There were failing tests. See the report at: file:///Users/ge/dev-test/codelab-android-performance/baseline-profiles/baselineprofile/build/reports/androidTests/connected/index.html
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
./gradlew :app:generateReleaseBaselineProfile -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=BaselineProfile
com.google.baselineprofile.BaselineProfileGenerator > generate[Pixel 5 - 14] FAILED java.lang.IllegalStateException: Expected no stdout/stderr from pm dump-profiles --dump-classes-and-methods com.example.baselineprofiles_codelab, saw Output(stdout=Profile saved to '/data/misc/profman/com.example.baselineprofiles_codelab-primary.prof.txt' , stderr=)
./gradlew :app:generateReleaseBaselineProfile -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=BaselineProfile Configuration on demand is an incubating feature.
com.google.baselineprofile.BaselineProfileGenerator > generate[Pixel 5 - 14] FAILED java.lang.IllegalStateException: Expected no stdout/stderr from pm dump-profiles --dump-classes-and-methods com.example.baselineprofiles_codelab, saw Output(stdout=Profile saved to '/data/misc/profman/com.example.baselineprofiles_codelab-primary.prof.txt' , stderr=)
com.google.baselineprofile.ScrollBenchmarks > scrollCompilationBaselineProfiles[Pixel 5 - 14] SKIPPED
com.google.baselineprofile.ScrollBenchmarks > scrollCompilationNone[Pixel 5 - 14] SKIPPED
com.google.baselineprofile.StartupBenchmarks > startupCompilationBaselineProfiles[Pixel 5 - 14] SKIPPED
com.google.baselineprofile.StartupBenchmarks > startupCompilationNone[Pixel 5 - 14] SKIPPED Tests on Pixel 5 - 14 failed: There was 1 failure(s).
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':baselineprofile:connectedNonMinifiedReleaseAndroidTest'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 1m 19s 65 actionable tasks: 3 executed, 62 up-to-date