Ran
|
Jobs
8
|
Files
0
|
Run time
–
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
Clean up corrupted local cache for errors that are not retryable Saw a bunch "CRC check failed" errors, it's ok for downloads to fail, but it's not ok to leave the corrupted artifacts in local cache. Because most of such errors are non-retryable, and if we don't clean up bad artifacts, next time (we still from time to time need clean-all) will be a cache hit first but then fail the check and do the compile again. As you can see most if not all [tarfile.ReadError](https://github.com/certik/python-2.7/blob/master/Lib/tarfile.py) and [IOError from gzip](https://github.com/certik/python-2.7/blob/c360290c3/Lib/gzip.py) are not retryable Testing Done: https://travis-ci.org/peiyuwang/pants/builds/87716343 Bugs closed: 2464 Reviewed at https://rbcommons.com/s/twitter/r/3045/
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|