org.gradle.api.internal.tasks.testing.junit.result.TestOutputStore.Reader#Reader() has the following line:
throw new IllegalStateException(String.format("Test outputs data file '{}' exists but the index file '{}' does not", outputsFile, indexFile));
The problem is that String.format() does not recognize the {} placeholder and the names of the files are lost and gradle outputs:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':aggregatedTestReport'.
> Test outputs data file '{}' exists but the index file '{}' does not