If the cache test fails the build should not fail, it should write out a warning that the cache was ignored and to pass -X for a full stack trace and then proceed with the build.