Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
####################################################
Please provide all of the following information, otherwise we may not be able to route your bug report.
####################################################
1. Describe the bug or issue that you're seeing.
Cannot run generated StartupBenchmarks tests.
java.lang.IllegalStateException: Unable to confirm activity launch completion [] Please report a bug with the output of `adb shell dumpsys gfxinfo com.eliteextra.driver framestats`
at androidx.benchmark.macro.MacrobenchmarkScope.amStartAndWait(MacrobenchmarkScope.kt:233)
at androidx.benchmark.macro.MacrobenchmarkScope.amStartAndWait$default(MacrobenchmarkScope.kt:167)
at androidx.benchmark.macro.MacrobenchmarkScope.startActivityImpl(MacrobenchmarkScope.kt:162)
at androidx.benchmark.macro.MacrobenchmarkScope.startActivityAndWait(MacrobenchmarkScope.kt:147)
at androidx.benchmark.macro.MacrobenchmarkScope.startActivityAndWait(MacrobenchmarkScope.kt:126)
at androidx.benchmark.macro.MacrobenchmarkScope.startActivityAndWait$default(MacrobenchmarkScope.kt:119)
at com.example.baselineprofile.StartupBenchmarks$benchmark$2.invoke(StartupBenchmarks.kt:70)
at com.example.baselineprofile.StartupBenchmarks$benchmark$2.invoke(StartupBenchmarks.kt:60)
at androidx.benchmark.macro.MacrobenchmarkPhaseKt$runPhase$2$tracePath$1.invoke(MacrobenchmarkPhase.kt:139)
at androidx.benchmark.macro.MacrobenchmarkPhaseKt$runPhase$2$tracePath$1.invoke(MacrobenchmarkPhase.kt:105)
at androidx.benchmark.perfetto.PerfettoCaptureWrapper.record(PerfettoCaptureWrapper.kt:137)
at androidx.benchmark.perfetto.PerfettoCaptureWrapper.record$default(PerfettoCaptureWrapper.kt:95)
at androidx.benchmark.macro.MacrobenchmarkPhaseKt.runPhase(MacrobenchmarkPhase.kt:105)
at androidx.benchmark.macro.MacrobenchmarkKt$macrobenchmark$4.invoke(Macrobenchmark.kt:267)
at androidx.benchmark.macro.MacrobenchmarkKt$macrobenchmark$4.invoke(Macrobenchmark.kt:264)
at androidx.benchmark.perfetto.PerfettoTraceProcessor$Companion.runServer-VtjQ1oo(PerfettoTraceProcessor.kt:133)
at androidx.benchmark.perfetto.PerfettoTraceProcessor$Companion.runServer(PerfettoTraceProcessor.kt:108)
at androidx.benchmark.macro.MacrobenchmarkKt.macrobenchmark(Macrobenchmark.kt:264)
at androidx.benchmark.macro.MacrobenchmarkKt.macrobenchmarkWithStartupMode(Macrobenchmark.kt:401)
at androidx.benchmark.macro.junit4.MacrobenchmarkRule.measureRepeated(MacrobenchmarkRule.kt:108)
at com.example.baselineprofile.StartupBenchmarks.benchmark(StartupBenchmarks.kt:60)
at com.example.baselineprofile.StartupBenchmarks.startupCompilationNone(StartupBenchmarks.kt:44)
output:
➜ android-extra-driver git:(develop-EE-21678) adb shell dumpsys gfxinfo com.eliteextra.driver framestats
No process found for: com.eliteextra.driver
➜ android-extra-driver git:(develop-EE-21678) adb shell dumpsys gfxinfo com.eliteextra.napadriver framestats
No process found for: com.eliteextra.napadriver
2. Attach log files from Android Studio
3. If you know what they are, write the steps to reproduce:
3A. Followed steps from multiple sources, but mostly Code With Italians video on YouTube called "Make your app faster with Baseline Profiles Perfetto and more - Rahul Ravikumar"
3B. Generated baseline profiles for all except one of the build variants (we dont use the one build variant any more).
3C. Attempted to run tests by pressing green play button on the side bar.
Build: AI-233.14808.21.2331.11842104, 202405141949
AI-233.14808.21.2331.11842104, JRE 17.0.10+0-17.0.10b1087.21-11572160x64 JetBrains s.r.o., OS Mac OS X(aarch64) v15.0.1, screens 3456.0x2234.0, 2560.0x1440.0, 2560.0x1440.0; Retina
AS: Jellyfish | 2023.3.1 Patch 1
Kotlin plugin: 233.14808.21.2331.11842104-AS
Android Gradle Plugin: 8.1.1
Gradle: 8.4
Gradle JDK: JetBrains Runtime version 17.0.10
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
```