Fixed
Status Update
Comments
gg...@google.com <gg...@google.com> #2
The link in the above description doesn't work external to google, expanded link: https://issuetracker.google.com/issues/73450636
ri...@soundcloud.com <ri...@soundcloud.com> #3
This will be fixed in the next release.
nk...@google.com <nk...@google.com> #4
Thanks for reporting, we're aware of the issue and already fixed it internally.
It will be publicly available in the next release of Orchestrator v1.0.2
It will be publicly available in the next release of Orchestrator v1.0.2
br...@gmail.com <br...@gmail.com> #5
I'm still seeing a similar crash using v1.0.2:
E JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 3913992)
E AndroidRuntime: FATAL EXCEPTION: AndroidTestOrchestrator
E AndroidRuntime: Process: android.support.test.orchestrator, PID: 8474
E AndroidRuntime: java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 3913992 bytes
E AndroidRuntime: at android.app.ActivityThread.finishInstrumentation(ActivityThread.java:5427)
E AndroidRuntime: at android.app.Instrumentation.finish(Instrumentation.java:213)
E AndroidRuntime: at android.support.test.orchestrator.AndroidTestOrchestrator.finish(AndroidTestOrchestrator.java:455)
E AndroidRuntime: at android.support.test.orchestrator.AndroidTestOrchestrator.executeNextTest(AndroidTestOrchestrator.java:332)
E AndroidRuntime: at android.support.test.orchestrator.AndroidTestOrchestrator.runFinished(AndroidTestOrchestrator.java:310)
E AndroidRuntime: at android.support.test.orchestrator.TestRunnable.run(TestRunnable.java:157)
E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
E AndroidRuntime: at java.lang.Thread.run(Thread.java:761)
E AndroidRuntime: Caused by: android.os.TransactionTooLargeException: data parcel size 3913992 bytes
E AndroidRuntime: at android.os.BinderProxy.transactNative(Native Method)
E AndroidRuntime: at android.os.BinderProxy.transact(Binder.java:615)
E AndroidRuntime: at android.app.ActivityManagerProxy.finishInstrumentation(ActivityManagerNative.java:4561)
E AndroidRuntime: at android.app.ActivityThread.finishInstrumentation(ActivityThread.java:5425)
E AndroidRuntime: ... 8 more
I Process : Sending signal. PID: 8474 SIG: 9
I ActivityManager: Process android.support.test.orchestrator (pid 8474) has died
D ActivityManager: cleanUpApplicationRecord -- 8474
W ActivityManager: Crash of app android.support.test.orchestrator running instrumentation ComponentInfo{android.support.test.orchestrator/android.support.test.orchestrator.AndroidTestOrchestrator}
I ActivityManager: Force stopping android.support.test.orchestrator appid=10092 user=0: finished inst
D AndroidRuntime: Shutting down VM
E JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 3913992)
E AndroidRuntime: FATAL EXCEPTION: AndroidTestOrchestrator
E AndroidRuntime: Process: android.support.test.orchestrator, PID: 8474
E AndroidRuntime: java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 3913992 bytes
E AndroidRuntime: at android.app.ActivityThread.finishInstrumentation(ActivityThread.java:5427)
E AndroidRuntime: at android.app.Instrumentation.finish(Instrumentation.java:213)
E AndroidRuntime: at android.support.test.orchestrator.AndroidTestOrchestrator.finish(AndroidTestOrchestrator.java:455)
E AndroidRuntime: at android.support.test.orchestrator.AndroidTestOrchestrator.executeNextTest(AndroidTestOrchestrator.java:332)
E AndroidRuntime: at android.support.test.orchestrator.AndroidTestOrchestrator.runFinished(AndroidTestOrchestrator.java:310)
E AndroidRuntime: at android.support.test.orchestrator.TestRunnable.run(TestRunnable.java:157)
E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
E AndroidRuntime: at java.lang.Thread.run(Thread.java:761)
E AndroidRuntime: Caused by: android.os.TransactionTooLargeException: data parcel size 3913992 bytes
E AndroidRuntime: at android.os.BinderProxy.transactNative(Native Method)
E AndroidRuntime: at android.os.BinderProxy.transact(Binder.java:615)
E AndroidRuntime: at android.app.ActivityManagerProxy.finishInstrumentation(ActivityManagerNative.java:4561)
E AndroidRuntime: at android.app.ActivityThread.finishInstrumentation(ActivityThread.java:5425)
E AndroidRuntime: ... 8 more
I Process : Sending signal. PID: 8474 SIG: 9
I ActivityManager: Process android.support.test.orchestrator (pid 8474) has died
D ActivityManager: cleanUpApplicationRecord -- 8474
W ActivityManager: Crash of app android.support.test.orchestrator running instrumentation ComponentInfo{android.support.test.orchestrator/android.support.test.orchestrator.AndroidTestOrchestrator}
I ActivityManager: Force stopping android.support.test.orchestrator appid=10092 user=0: finished inst
D AndroidRuntime: Shutting down VM
[Deleted User] <[Deleted User]> #6
The same using 1.1.0
java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 3089356 bytes
FATAL EXCEPTION: AndroidTestOrchestrator
Process: androidx.test.orchestrator, PID: 9333
java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 3089356 bytes
at android.app.ActivityThread.finishInstrumentation(ActivityThread.java:5921)
at android.app.Instrumentation.finish(Instrumentation.java:247)
at androidx.test.orchestrator.AndroidTestOrchestrator.finish(AndroidTestOrchestrator.java:455)
at androidx.test.orchestrator.AndroidTestOrchestrator.executeNextTest(AndroidTestOrchestrator.java:332)
at androidx.test.orchestrator.AndroidTestOrchestrator.runFinished(AndroidTestOrchestrator.java:310)
at androidx.test.orchestrator.TestRunnable.run(TestRunnable.java:157)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
Caused by: android.os.TransactionTooLargeException: data parcel size 3089356 bytes
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:1127)
at android.app.IActivityManager$Stub$Proxy.finishInstrumentation(IActivityManager.java:4547)
at android.app.ActivityThread.finishInstrumentation(ActivityThread.java:5919)
... 8 more
java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 3089356 bytes
FATAL EXCEPTION: AndroidTestOrchestrator
Process: androidx.test.orchestrator, PID: 9333
java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 3089356 bytes
at android.app.ActivityThread.finishInstrumentation(ActivityThread.java:5921)
at android.app.Instrumentation.finish(Instrumentation.java:247)
at androidx.test.orchestrator.AndroidTestOrchestrator.finish(AndroidTestOrchestrator.java:455)
at androidx.test.orchestrator.AndroidTestOrchestrator.executeNextTest(AndroidTestOrchestrator.java:332)
at androidx.test.orchestrator.AndroidTestOrchestrator.runFinished(AndroidTestOrchestrator.java:310)
at androidx.test.orchestrator.TestRunnable.run(TestRunnable.java:157)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
Caused by: android.os.TransactionTooLargeException: data parcel size 3089356 bytes
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:1127)
at android.app.IActivityManager$Stub$Proxy.finishInstrumentation(IActivityManager.java:4547)
at android.app.ActivityThread.finishInstrumentation(ActivityThread.java:5919)
... 8 more
[Deleted User] <[Deleted User]> #7
The same affects my builds on 1.0.2
[Deleted User] <[Deleted User]> #8
Hello, the same issue is happening for the very latest test orchestrator androidx dependency: "androidx.test:orchestrator:1.1.2-alpha02" I've attached some logs. Please search for TransactionTooLargeException. There's only one entry in the whole file. These are the whole logs from running our UI tests on Firebase Cloud Testing. This happens 100% of the time.
fe...@gmail.com <fe...@gmail.com> #9
I do not think that this is actually fixed since I am still facing such an orchestrator crash on Firebase test lab.
After a few tests, the orchestrator crashes and no further tests are executed.
At the moment, this leads to a 100% breakage of our Firebase test lab project.
This is hard to reproduce since it only happened on Firebase test lab.
Stacktrace:
After a few tests, the orchestrator crashes and no further tests are executed.
At the moment, this leads to a 100% breakage of our Firebase test lab project.
This is hard to reproduce since it only happened on Firebase test lab.
Stacktrace:
The logcat is not very useful.
fe...@gmail.com <fe...@gmail.com> #10
I use androidx.test:orchestrator:1.2.0.
This crash happened on a Pixel 3 device on Firebase test lab, running Android 29.
This crash happened on a Pixel 3 device on Firebase test lab, running Android 29.
va...@theblueground.com <va...@theblueground.com> #11
We use androidx.test:orchestrator:1.4.2
This failure happens in every run on a Pixel2.arm device on Firebase TestLab. We tried using Android 33 and 32.
Tests pass but we are getting failures due to the orchestrator. The stacktrace is the following.
java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 1162100 bytes
FATAL EXCEPTION: AndroidTestOrchestrator
Process: androidx.test.orchestrator, PID: 9628
java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 1162100 bytes
at android.app.ActivityThread.finishInstrumentation(ActivityThread.java:6952)
at android.app.Instrumentation.finish(Instrumentation.java:270)
at androidx.test.orchestrator.AndroidTestOrchestrator.finish(AndroidTestOrchestrator.java:1)
at androidx.test.orchestrator.AndroidTestOrchestrator.executeNextTest(AndroidTestOrchestrator.java:2)
at androidx.test.orchestrator.AndroidTestOrchestrator.runFinished(AndroidTestOrchestrator.java:10)
at androidx.test.orchestrator.TestRunnable.run(TestRunnable.java:11)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
Caused by: android.os.TransactionTooLargeException: data parcel size 1162100 bytes
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(BinderProxy.java:584)
at android.app.IActivityManager$Stub$Proxy.finishInstrumentation(IActivityManager.java:5534)
at android.app.ActivityThread.finishInstrumentation(ActivityThread.java:6950)
... 8 more
Description
Version used: 1.0.1
How are you running your tests (via Android Studio, Gradle, adb, etc.)?
- Firebase Test Lab (not sure it matters, but we are running 99.99% of our tests there)
How are you running your tests (via Android Studio, Gradle, adb, etc.)?
- gcloud command line
How to reproduce:
- The issue is not happening consistently and I haven't find how to reproduce it.
What is the expected output? What do you see instead?
- I expect to see the test either passed or failed for an assertion failed in my code but I rather get the following error message:
Test instrumentation process crashed. Check com.my.package.MyTest#testName.txt for details.
Reading the logcat I can see this exception printed:
I/TestRunner(8940): ----- begin exception -----
I/TestRunner(8940): java.lang.IllegalStateException: Unable to send TestFailure status, terminating
I/TestRunner(8940): at android.support.test.orchestrator.instrumentationlistener.OrchestratedInstrumentationListener.testFailure(OrchestratedInstrumentationListener.java:136)
I/TestRunner(8940): at org.junit.runner.notification.SynchronizedRunListener.testFailure(SynchronizedRunListener.java:63)
I/TestRunner(8940): at org.junit.runner.notification.RunNotifier$4.notifyListener(RunNotifier.java:142)
I/TestRunner(8940): at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72)
I/TestRunner(8940): at org.junit.runner.notification.RunNotifier.fireTestFailures(RunNotifier.java:138)
I/TestRunner(8940): at org.junit.runner.notification.RunNotifier.fireTestFailure(RunNotifier.java:132)
I/TestRunner(8940): at org.junit.internal.runners.model.EachTestNotifier.addFailure(EachTestNotifier.java:23)
I/TestRunner(8940): at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:329)
I/TestRunner(8940): at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
I/TestRunner(8940): at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
I/TestRunner(8940): at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
I/TestRunner(8940): at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
I/TestRunner(8940): at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
I/TestRunner(8940): at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
I/TestRunner(8940): at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
I/TestRunner(8940): at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
I/TestRunner(8940): at org.junit.runners.Suite.runChild(Suite.java:128)
I/TestRunner(8940): at org.junit.runners.Suite.runChild(Suite.java:27)
I/TestRunner(8940): at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
I/TestRunner(8940): at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
I/TestRunner(8940): at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
I/TestRunner(8940): at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
I/TestRunner(8940): at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
I/TestRunner(8940): at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
I/TestRunner(8940): at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
I/TestRunner(8940): at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
I/TestRunner(8940): at android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:58)
I/TestRunner(8940): at android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:375)
I/TestRunner(8940): at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1879)
I/TestRunner(8940): Caused by: android.os.TransactionTooLargeException: data parcel size 2495968 bytes
I/TestRunner(8940): at android.os.BinderProxy.transactNative(Native Method)
I/TestRunner(8940): at android.os.BinderProxy.transact(Binder.java:503)
I/TestRunner(8940): at android.support.test.runner.internal.deps.aidl.BaseProxy.transactAndReadExceptionReturnVoid(BaseProxy.java:65)
I/TestRunner(8940): at android.support.test.orchestrator.callback.OrchestratorCallback$Stub$Proxy.sendTestNotification(OrchestratorCallback.java:96)
I/TestRunner(8940): at android.support.test.orchestrator.instrumentationlistener.OrchestratedInstrumentationListener.sendTestNotification(OrchestratedInstrumentationListener.java:167)
I/TestRunner(8940): at android.support.test.orchestrator.instrumentationlistener.OrchestratedInstrumentationListener.testFailure(OrchestratedInstrumentationListener.java:134)
I/TestRunner(8940): ... 28 more
I/TestRunner(8940): ----- end exception -----