Status Update
Comments
li...@gmail.com <li...@gmail.com> #2
This is logged
2022-09-02 15:16:19.699 9160-9173/de.welt.benchmark E/TestRunner: java.lang.IllegalStateException: Perfetto unexpected exit code, output = 9462
EXITCODE=2
2022-09-02 15:16:57.418 9160-9173/de.welt.benchmark E/TestRunner: java.lang.IllegalStateException: Perfetto unexpected exit code, output = 9803
EXITCODE=2
And the actual error code is 2
.
Looking at perfetto
I wonder if some of those data sources are not supported on that device that runs Android 6.
li...@gmail.com <li...@gmail.com> #3
Agree, likely related to
se...@team.bumble.com <se...@team.bumble.com> #4
Given that we saw a number of emulators not correctly configured for tracing with the same exit code, this is most likely a dupe.
ac...@google.com <ac...@google.com>
li...@gmail.com <li...@gmail.com> #5
java.lang.IllegalStateException: Failed to stop [ProcessPid(processName=perfetto, pid=18066)]
ma...@google.com <ma...@google.com> #6
Seeing a similar issue while running benchmark tests on Pixel 6 Pro running Android 14.
java.lang.IllegalStateException: Failed to stop [ProcessPid(processName=perfetto, pid=28209)] at androidx.benchmark.Shell.terminateProcessesAndWait(Shell.kt:596) at androidx.benchmark.Shell.terminateProcessesAndWait(Shell.kt:565) at androidx.benchmark.perfetto.PerfettoHelper$Companion.stopAllPerfettoProcesses(PerfettoHelper.kt:443) at androidx.benchmark.perfetto.PerfettoHelper.startCollecting(PerfettoHelper.kt:93) at androidx.benchmark.perfetto.PerfettoCapture.start(PerfettoCapture.kt:72) at androidx.benchmark.perfetto.PerfettoCaptureWrapper.start(PerfettoCaptureWrapper.kt:70) at androidx.benchmark.perfetto.PerfettoCaptureWrapper.record(PerfettoCaptureWrapper.kt:127) at androidx.benchmark.perfetto.PerfettoCaptureWrapper.record$default(PerfettoCaptureWrapper.kt:92) at androidx.benchmark.macro.MacrobenchmarkKt$macrobenchmark$measurements$1.invoke(Macrobenchmark.kt:256) at androidx.benchmark.macro.MacrobenchmarkKt$macrobenchmark$measurements$1.invoke(Macrobenchmark.kt:241) at androidx.benchmark.perfetto.PerfettoTraceProcessor$Companion.runServer(PerfettoTraceProcessor.kt:105) at androidx.benchmark.macro.MacrobenchmarkKt.macrobenchmark(Macrobenchmark.kt:241) at androidx.benchmark.macro.MacrobenchmarkKt.macrobenchmarkWithStartupMode(Macrobenchmark.kt:415) at androidx.benchmark.macro.junit4.MacrobenchmarkRule.measureRepeated(MacrobenchmarkRule.kt:107)
li...@gmail.com <li...@gmail.com> #7
On the running macrobenchmark test on the emulator working fine, but failing on Pixel 6a Android 14 (Physical device) 🧐
Facing the same error
java.lang.IllegalStateException: Failed to stop [ProcessPid(processName=perfetto, pid=26338)]
at androidx.benchmark.Shell.terminateProcessesAndWait(Shell.kt:596)
at androidx.benchmark.Shell.terminateProcessesAndWait(Shell.kt:565)
at androidx.benchmark.perfetto.PerfettoHelper$Companion.stopAllPerfettoProcesses(PerfettoHelper.kt:441)
at androidx.benchmark.perfetto.PerfettoHelper.startCollecting(PerfettoHelper.kt:92)
at androidx.benchmark.perfetto.PerfettoCapture.start(PerfettoCapture.kt:72)
at androidx.benchmark.perfetto.PerfettoCaptureWrapper.start(PerfettoCaptureWrapper.kt:68)
at androidx.benchmark.perfetto.PerfettoCaptureWrapper.record(PerfettoCaptureWrapper.kt:124)
at androidx.benchmark.perfetto.PerfettoCaptureWrapper.record$default(PerfettoCaptureWrapper.kt:90)
at androidx.benchmark.macro.MacrobenchmarkKt$macrobenchmark$measurements$1.invoke(Macrobenchmark.kt:243)
at androidx.benchmark.macro.MacrobenchmarkKt$macrobenchmark$measurements$1.invoke(Macrobenchmark.kt:228)
at androidx.benchmark.perfetto.PerfettoTraceProcessor$Companion.runServer(PerfettoTraceProcessor.kt:105)
at androidx.benchmark.macro.MacrobenchmarkKt.macrobenchmark(Macrobenchmark.kt:228)
at androidx.benchmark.macro.MacrobenchmarkKt.macrobenchmarkWithStartupMode(Macrobenchmark.kt:405)
at androidx.benchmark.macro.junit4.MacrobenchmarkRule.measureRepeated(MacrobenchmarkRule.kt:107)
at androidx.benchmark.macro.junit4.MacrobenchmarkRule.measureRepeated$default(MacrobenchmarkRule.kt:97)
ma...@google.com <ma...@google.com> #8
Updating the dependency from androidx.benchmark:benchmark-macro-junit4:1.2.0-beta01
to androidx.benchmark:benchmark-macro-junit4:1.2.0-beta05
solved it :)
li...@gmail.com <li...@gmail.com> #9
getting the error again 😭 I've updated my Android 14 version to a newest patch, I think that's the suspect
hu...@google.com <hu...@google.com>
li...@gmail.com <li...@gmail.com> #10
These Failed to stop
issues on Android 14 are separate from the exception in this bug
ma...@google.com <ma...@google.com> #11
Sorry for the late reply. Yes, you've. Unfortunately we don't have a clear timeline to fix this yet.
li...@gmail.com <li...@gmail.com> #12
li...@gmail.com <li...@gmail.com> #13
Is it possible to prioritise this issue higher? It blocks profiles generation on CI, using cloud solution. Due to the lack of documentation about baseline profiles' generation process, it's also hard to implement your own internal solution, using FTL CLI tool.
hu...@google.com <hu...@google.com>
se...@team.bumble.com <se...@team.bumble.com> #14
Has there been any progress on the blockers for this issue?
Description
Gradle 8.7 AGP 8.6.1 Firebase Test Lab Plugin 0.0.1-alpha08
I've set up Firebase Test Lab Gradle and FTL Gradle Managed Device plugin following the guide:https://developer.android.com/studio/test/gradle-managed-devices#ftl-gmd-dsl
However, I try to run any test using the FTL device, configure with Gradle, it fails due to missing
JacksonFactory
dependency:I could find this issue anywhere in the web or in the IssueTracker. FTL plugin is not very popular, thus there's little info about it on the Web in general.
Is it a known issue? What is expected way to fix it?