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

pantsbuild / pants / 5965
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: dk-uv-resolves
DEFAULT BRANCH: main
Ran 04 Aug 2015 01:13AM UTC
Jobs 10
Files 347
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
5965

push

travis-ci

jsirois
Fixup PythonTask chroot caching.

Previously there were a few issues that could lead to over-invalidation,
but most importantly, there was an issue leading to under-invalidation.

Fixup chroot target fingerprinting to be transitive, previously just the
top-level targets were fingerprinted.  This fixes under-invalidation
based on changes to python chroot transitive target dependency edits.

Also fixup unstable portions of the fingerprint with a few TODOs added
to do these more cleanly.

Add a PythonTaskTest that exercises these cases as well as the unchanged
chroot case.

Testing Done:
Manually tested pants from this branch against the repro case Paul set
up here: https://github.com/pgroudas/issues-1914
Without the fix his repro works - aka a revert fails to invalidate the
chroot cache.  With the fixed pants, reverts do force a new chroot to be
cached and used as expected.

CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/73984184

Bugs closed: 1914, 1916

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

10 of 10 new or added lines in 2 files covered. (100.0%)

15135 of 20706 relevant lines covered (73.09%)

1.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
100.0
src/python/pants/backend/python/tasks/python_run.py
Jobs
ID Job ID Ran Files Coverage
1 5965.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 04 Aug 2015 01:16AM UTC 0
Travis Job 5965.1
2 5965.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 04 Aug 2015 01:15AM UTC 0
68.48
Travis Job 5965.2
3 5965.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 04 Aug 2015 01:14AM UTC 0
69.14
Travis Job 5965.3
4 5965.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 04 Aug 2015 01:13AM UTC 0
Travis Job 5965.4
5 5965.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 04 Aug 2015 01:18AM UTC 0
Travis Job 5965.5
6 5965.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 04 Aug 2015 01:20AM UTC 0
Travis Job 5965.6
7 5965.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 04 Aug 2015 01:21AM UTC 0
Travis Job 5965.7
8 5965.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 04 Aug 2015 01:22AM UTC 0
Travis Job 5965.8
9 5965.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 04 Aug 2015 01:21AM UTC 0
Travis Job 5965.9
10 5965.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 04 Aug 2015 01:25AM UTC 0
Travis Job 5965.10
Source Files on build 5965
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5965
  • a1fa7fbe on github
  • Prev Build on master (#5960)
  • Next Build on master (#5981)
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