json-serialization-benchmarking icon indicating copy to clipboard operation
json-serialization-benchmarking copied to clipboard

Failing quite frequently with stackoverlow error

Open manishindiainc opened this issue 2 years ago • 0 comments
trafficstars

I was trying to run these test locally but most of the time it fails with stackoverflow error and even when it's successful, takes around ~15 minutes to execute. Not sure, if i am doing something wrong

Task :androidBenchmark:connectedReleaseAndroidTest Starting 60 tests on Pixel 4 XL - 13

dev.zacsweers.jsonserialization.android.AndroidPolymorphicBenchmark > gson_toJson[minified=true,typeKeyLocation=last][Pixel 4 XL - 13] FAILED

Tests on Pixel 4 XL - 13 failed: There was 1 failure(s).
Test run failed to complete. Expected 60 tests, received 50

10:20:42 V/ddms: execute: running getprop
10:20:42 V/ddms: execute 'getprop' on '99151FFBA004W2' : EOF hit. Read: -1
10:20:42 V/ddms: execute: returning

> Task :androidBenchmark:connectedReleaseAndroidTest FAILED

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':androidBenchmark:connectedReleaseAndroidTest'.
> There were failing tests. See the report at: file:///Users/mkumar5/Documents/manish/code/sample/serialization/fobo66/json-serialization-benchmarking/androidBenchmark/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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)

* 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.
==============================================================================

* Get more help at https://help.gradle.org

BUILD FAILED in 10m 39s
51 actionable tasks: 18 executed, 33 from cache
Configuration cache entry reused.

manishindiainc avatar Jan 30 '23 05:01 manishindiainc