Lee Crabtree
Lee Crabtree

Reputation: 1256

Why are my builds failing with "Process 'Gradle Test Executor 1' finished with non-zero exit value 100"

I'm trying to build one of our older projects that uses Gradle 4.9. I'm getting build failures with the message Process 'Gradle Test Executor 1' finished with non-zero exit value 100, but I can't find any information on what that code actually means. Is there a reference somewhere with these error codes? I've been unable to find one, but maybe I'm just not looking in the right place.

Upvotes: 0

Views: 6424

Answers (2)

Benjamin Muskalla
Benjamin Muskalla

Reputation: 11

This can happen if a test or any code that is executed by a test is using System.exit. This shuts down the test worker and Gradle assumes it shutdown properly. See this open issue.

Upvotes: 1

Lee Crabtree
Lee Crabtree

Reputation: 1256

It appears that exit code 100 refers to a missing file. After rebuilding the project in three or four different ways, I discovered that a step was errantly deleting a required certificate file, and the Spark service initialization function was bombing (without any kind of error message, which is awesome).

Upvotes: 0

Related Questions