Hello, in our continuous integration environment there are several jobs running in parallel. Now and then we get an error in a build
What went wrong: A problem occurred evaluating root project ‘e’. > Could not resolve all dependencies for configuration ‘:runtime’.
Could not resolve group:a.b.c, module:d version:1.0.0-SNAPSHOT.
java.text.ParseException: [[Fatal Error] 2b319a4946a8f9d8b7afd88d835b8d65.ivy.xml:1:1: Premature end of file. in file:/local/.gradle/caches/artifacts-13/module-metadata/a.b.c/d/1.0.0-SNAPSHOT/2b319a4946a8f9d8b7afd88d835b8d65.ivy.xml
I believe that this error happens when several gradle instances write the same object in the cache and then try to read while another instance write again. Not sure but it feels like the write lock is abandoned before the read.