This message was deleted.
# community-support
s
This message was deleted.
c
I'm getting:
Copy code
[DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process 'Gradle Test Executor 163' finished with exit value 10 (state: FAILED)
Almost all the time when executing my test suite with 1800+ tests with maybe 600 of them being Robolectric. Tests are forked so the output of
--stacktrace
,
--info
and
--debug
aren't easy to follow, at least it's not to me. I'm trying to gather information so that I can open a bug report with the Robolectric team, but I'm wondering if there is some better way to information gather.
Specifically, is there anyway I can find out which output is generated by which Gradle Test Executor?
v
Should be shown as output for that task. Maybe a build
--scan
makes it clearer. If you can reproduce it locally, you could maybe have a breakpoint on
System.exit
being called with argument
10
?
https://github.com/robolectric/robolectric/issues/2198 seems to be the issue you are talking about, but OP did not answer for 2 years and the issue was closed. Maybe you can make them reopen if you can provide a valid reproducer as mentioned in the close message.
c
that's what I'm hoping for and just to be clear
--scan
is a paid for service right? Like I can't perform a scan locally.
v
No, yes
Build scans are a free service
Gradle Enterprise is a paid software where you can have more sophisticated Build scan analyses, compare them, search for them, get statistics and so on.
But basic build scans are a free service
c
going to try breakpointing
System.exit
and debugging the process, never even crossed my mind to try doing that, I'll have to talk to people before I can give scan a go
Great call! I've been able to find what the issue is now. Fortunately it's complete user error 💪
👌 1