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

pantsbuild / pants / 4468 / 3
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: pantsd/stdio-per-run-log
DEFAULT BRANCH: main
Ran 13 Apr 2015 04:11PM UTC
Files 319
Run time 14s
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

13 Apr 2015 03:08PM UTC coverage: 69.059% (+0.002%) from 69.057%
CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'"

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/

12885 of 18658 relevant lines covered (69.06%)

0.69 hits per line

Source Files on job 4468.3 (CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4468
  • Travis Job 4468.3
  • f746d510 on github
  • Prev Job for CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'" on master (#4461.3)
  • Next Job for CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'" on master (#4473.3)
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