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

pantsbuild / pants / 5290
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: permit_vfork_local_spawn
DEFAULT BRANCH: main
Ran 12 Jun 2015 11:26PM UTC
Jobs 10
Files 330
Run time 14min
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
5290

push

travis-ci

Benjy
Support caching chroots for reuse across pants runs.

- Creates huge speedups e.g., when running tests.

- Not turned on for any code yet.  To work safely
  this requires a change to the pex library to support
  creating chroots via copying instead of hard-linking,
  and we're stil waiting on upgrading to a version of pex
  with that change. However this has undergone enough
  "unsafe" testing to verify that it works and provides
  peformance benefits, so I'm submitting it now, to prevent
  it from drifting.

- Incidental changes that this commit required:
  * PythonChroot no longer deletes itself when GC'd. It's generally
    a bad idea to rely on cleanup in __del__ anyway, as there's no
    guarantee it'll ever be called.
  * Simplified some of the interface to PythonChroot. For example,
    you no longer specify an executable name - the chroot creation
    code hard-codes one for you.  The only caller we had for this
    was hard-coding a name anyway, so no real loss of functionality
    there.
  * Modified the backtrace munging trick in python_eval to rely only
    on the parent of the chroot dir, not the chroot dir itself, as
    that is no longer known when we generate the eval's entry point: we need
    to generate that entry point so we can hash it and use that hash
    as input to the function that generates well-known chroot paths.

Testing Done:
CI passes: https://travis-ci.org/pantsbuild/pants/builds/66601000.

Bugs closed: 1669

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

13937 of 19890 relevant lines covered (70.07%)

1.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5290.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 12 Jun 2015 11:26PM UTC 0
Travis Job 5290.1
2 5290.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 12 Jun 2015 11:27PM UTC 0
65.73
Travis Job 5290.2
3 5290.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 12 Jun 2015 11:27PM UTC 0
65.77
Travis Job 5290.3
4 5290.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 12 Jun 2015 11:30PM UTC 0
Travis Job 5290.4
5 5290.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 12 Jun 2015 11:32PM UTC 0
Travis Job 5290.5
6 5290.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 12 Jun 2015 11:34PM UTC 0
Travis Job 5290.6
7 5290.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 12 Jun 2015 11:36PM UTC 0
Travis Job 5290.7
8 5290.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 12 Jun 2015 11:36PM UTC 0
Travis Job 5290.8
9 5290.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 12 Jun 2015 11:38PM UTC 0
Travis Job 5290.9
10 5290.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 12 Jun 2015 11:40PM UTC 0
Travis Job 5290.10
Source Files on build 5290
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5290
  • f5933801 on github
  • Prev Build on master (#5289)
  • Next Build on master (#5295)
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