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

pantsbuild / pants / 4468
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: use_pants_lock_in_uv
DEFAULT BRANCH: main
Ran 13 Apr 2015 04:03PM UTC
Jobs 10
Files 319
Run time 25min
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
4468

push

travis-ci

jsirois
Fix BootstrapJvmTools to plumb jvm options to Shader.

This was the root cause of Shader getting killed in TravisCI containers.
In those containers, 4g of memory is available but the jvm detects the
full host ram and so defaults to 16g as the default XmX. With no
jvm_options being plumbed to the Shader (they were already to the
underlying IvyUtils and JarTask) - it happily bombed past the container
memory and was OOMkilled.

Testing Done:
I double-checked in the `./pants server` and the `Shader` spawn was the
only one of 5 jvm tasks (3 resolves, 1 fat-jar creation, 1 shade) to not
have `-Xmx`.

I rigged a special ci run and found the default `MaxHeapSize` was above the
container limit:
```console
$ uname -a
java -XX:+PrintFlagsFinal -version | grep HeapSize
./build-support/bin/ci.sh -x ${CI_FLAGS}
Linux testing-worker-linux-docker-29022e06-3351-linux-15 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    uintx ErgoHeapSizeLimit                         = 0               {product}
    uintx HeapSizePerGCThread                       = 87241520        {product}
    uintx InitialHeapSize                          := 989377216       {product}
    uintx LargePageHeapSizeThreshold                = 134217728       {product}
    uintx MaxHeapSize                              := 15831400448     {product}
java version "1.7.0_76"
Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
[== 00:00 CI BEGINS: 'Unit tests for pants and pants-plugins' ==]
...
```

CI away here:
  https://travis-ci.org/pantsbuild/pants/builds/58283618

Bugs closed: 1417

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

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

12885 of 18658 relevant lines covered (69.06%)

0.69 hits per line

Coverage Regressions

Lines Coverage ∆ File
19
100.0
src/python/pants/backend/project_info/register.py
18
100.0
src/python/pants/backend/codegen/tasks/wire_gen.py
11
100.0
src/python/pants/base/run_info.py
7
100.0
src/python/pants/java/jar/shader.py
3
100.0
src/python/pants/backend/python/python_artifact.py
1
100.0
src/python/pants/util/dirutil.py
1
100.0
src/python/pants/option/options_bootstrapper.py
1
100.0
src/python/pants/java/jar/manifest.py
1
100.0
src/python/pants/base/build_graph.py
1
100.0
src/python/pants/backend/python/python_chroot.py
Jobs
ID Job ID Ran Files Coverage
1 4468.1 (CI_FLAGS="-cjlpnet 'Various pants self checks'") 13 Apr 2015 04:22PM UTC 0
Travis Job 4468.1
2 4468.2 (CI_FLAGS="-fkmsrcjlpn 'Test examples and testprojects'") 13 Apr 2015 04:03PM UTC 0
Travis Job 4468.2
3 4468.3 (CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'") 13 Apr 2015 04:11PM UTC 0
69.06
Travis Job 4468.3
4 4468.4 (CI_FLAGS="-fkmsrcjlpet 'Python contrib tests'") 13 Apr 2015 04:11PM UTC 0
Travis Job 4468.4
5 4468.5 (CI_FLAGS="-fkmsrjlpnet -i 6:0 'Python integration tests for pants - shard 1'") 13 Apr 2015 04:12PM UTC 0
Travis Job 4468.5
6 4468.6 (CI_FLAGS="-fkmsrjlpnet -i 6:1 'Python integration tests for pants - shard 2'") 13 Apr 2015 04:15PM UTC 0
Travis Job 4468.6
7 4468.7 (CI_FLAGS="-fkmsrjlpnet -i 6:2 'Python integration tests for pants - shard 3'") 13 Apr 2015 04:15PM UTC 0
Travis Job 4468.7
8 4468.8 (CI_FLAGS="-fkmsrjlpnet -i 6:3 'Python integration tests for pants - shard 4'") 13 Apr 2015 04:20PM UTC 0
Travis Job 4468.8
9 4468.9 (CI_FLAGS="-fkmsrjlpnet -i 6:4 'Python integration tests for pants - shard 5'") 13 Apr 2015 04:26PM UTC 0
Travis Job 4468.9
10 4468.10 (CI_FLAGS="-fkmsrjlpnet -i 6:5 'Python integration tests for pants - shard 6'") 13 Apr 2015 04:29PM UTC 0
Travis Job 4468.10
Source Files on build 4468
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4468
  • f746d510 on github
  • Prev Build on master (#4461)
  • Next Build on master (#4473)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc