I have had a similar problem before, but last time there were at least some test classes that failed to initialize or something like that. This time, Gradle says
Task :foo-bar:liveTest FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':foo-bar:liveTest'.
> There were failing tests. See the report at: file:///C:/Users/...
But the CI server, TeamCity, shows no test failures for this build. And even the JUnit report, when I re-run the failing Gradle task on my local machine to see that report, shows no test failures or errors! There is also nothing logged at ERROR level from the tests, and nothing logged at WARN level that I wouldn't expect to see, either.
What could be the problem? How can I debug this?