• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 6906
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: debug_reapi_test_cache_misses
DEFAULT BRANCH: main
Ran 16 Sep 2015 11:00PM UTC
Jobs 10
Files 393
Run time 11min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
6906

push

travis-ci

baroquebobcat
Ensure stale classes are removed during isolated compile by cleaning classes directory prior to handling invalid targets

Injects a callback into artifact cache inbetween resolving a cached artifact and loading it into the work directory. Jvm isolated compile then provides one that cleans the classes directory on a cache hit.

When the current fingerprint of a compile target doesn't match the one on disk which is managed by the BuildInvalidator, it either will be loaded from cache, or rebuild via the compile tasks. In the case that we would load from cache, we want to ensure that the previous contents of the directory are removed.

Additionally
* changed the name of the zinc java compile integration test since it didn't match the file name.
* added a few tests for `../cache/artifact.py`

Testing Done:
Wrote failing integration test, and made it pass.

CI passing at https://travis-ci.org/pantsbuild/pants/builds/80722631

Bugs closed: 2173, 2176

Reviewed at https://rbcommons.com/s/twitter/r/2805/

50 of 50 new or added lines in 8 files covered. (100.0%)

17914 of 23743 relevant lines covered (75.45%)

1.42 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile_strategy.py
1
100.0
src/python/pants/cache/artifact.py
1
100.0
src/python/pants/cache/restful_artifact_cache.py
2
100.0
src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile.py
6
100.0
src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile_isolated_strategy.py
Jobs
ID Job ID Ran Files Coverage
1 6906.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 16 Sep 2015 11:00PM UTC 0
Travis Job 6906.1
2 6906.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 16 Sep 2015 11:03PM UTC 0
70.69
Travis Job 6906.2
3 6906.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 16 Sep 2015 11:03PM UTC 0
71.43
Travis Job 6906.3
4 6906.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 16 Sep 2015 11:04PM UTC 0
Travis Job 6906.4
5 6906.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 16 Sep 2015 11:06PM UTC 0
Travis Job 6906.5
6 6906.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 16 Sep 2015 11:09PM UTC 0
Travis Job 6906.6
7 6906.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 16 Sep 2015 11:09PM UTC 0
Travis Job 6906.7
8 6906.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 16 Sep 2015 11:11PM UTC 0
Travis Job 6906.8
9 6906.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 16 Sep 2015 11:12PM UTC 0
Travis Job 6906.9
10 6906.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 16 Sep 2015 11:12PM UTC 0
Travis Job 6906.10
Source Files on build 6906
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6906
  • 92657c72 on github
  • Prev Build on master (#6902)
  • Next Build on master (#6907)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc