![]() Manually forcing a build usually executes it cleanly. – Note: we suspect that this issues relates to concurrent builds (we have a number of related builds, and this project is itself a multi-project build with components shared with another multi-project build). We sporadically get errors like this in our automated Hudson setup: Using: Gradle 1.0-milestone-1, simple Jetty/Ubuntu setup for Hudson. : Could not remove entry '/var/tmp/build/finder_tmobile/1.1/tinderbuilds/2011.01.25-10.03/ubuntu-10.04-64/round/dependency-cache' from cache '/var/tmp/build/gradle/caches/0.9.1/outputFileStates/cache.bin'.Ĭaused by: .CorruptedCacheException: Corrupted IndexBlock 1243206 found in cache '/var/tmp/build/gradle/caches/0.9.1/outputFileStates/cache.bin'. Switching to a local disk has reduced the frequency of the issue, but it does still happen: So, I'm guessing this is likely due to NFS, but it probably still warrants some more examination.Īnother note: before moving it off NFS, I was still seeing this issue as of 0.9-rc-2. Since doing that I have not seen this problem reproduced. gradle directory to a local disk (using the -g option). Since NFS is notoriously bad at handling concurrent file accesses, I tried moving the. gradle directory was stored on an NFS volume. This can happen for many projects at the same time and so multiple gradle processes would access the gradle caches simultaneously. If so, it checks out the code and builds it to a central repository. Sometimes its an issue with outputFileStates/cache.bin and other times its an issue with fileHashes/cache.bin.Ī little background: we have an automated build system where a "build" user checks if there have been recent svn checkins into a project. : Could not remove entry '/var/tmp/build/foo/ubuntu-10.04-64/foo/dependency-cache' from cache '/ext/home/build/.gradle/caches/0.9-preview-3/outputFileStates/cache.bin'.Ĭaused by: .CorruptedCacheException: Corrupted IndexBlock 649964 found in cache '/ext/home/build/.gradle/caches/0.9-preview-3/outputFileStates/cache.bin'.Īt .FileBackedBlockStore$BlockImpl.blockCorruptedException(FileBackedBlockStore.java:239) I'm occassionally getting errors of this kind when building: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |