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

pantsbuild / pants / 5981 / 2
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: fix/python-build-standalone-provider-in-docker-env
DEFAULT BRANCH: main
Ran 04 Aug 2015 08:27PM UTC
Files 348
Run time 9s
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

04 Aug 2015 08:20PM UTC coverage: 69.004% (+0.5%) from 68.483%
CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'"

push

travis-ci

gmalmquist
Moved logic which validates jvm platform dependencies.

The logic which checked to make sure no targets depended on other
targets with newer jdks was previously in jvm_compile, which caused
it to be re-ran for every single type of jvm compilation. It also
failed fast and had no option to simply warn and continue, which
made it hard and frustrating to debug.

JvmPlatformValidate is a new task whose sole purpose is performing
this validation. It runs fairly early in the build lifecycle, which
prevents pants from doing too much work before erroring on a doomed
run.

It also allows the error message to be disabled, or demoted to a warning.

Also included is a jvm platform debugging resource which I developed
(along with the previous change) to help me sort out many
jvm platform dependency problems in square's internal java repo.

This is done in the JvmPlatformExplain console task, which performs
a more detailed analysis of the target level constraints imposed on
targets by their dependencies and dependees (a target cannot have a
higher -target than its dependees, or a lower -target than its
dependencies).

Testing Done:
Existing tests modified, additional unit tests added in
test_jvm_platform_analysis.py.

CI went green: https://travis-ci.org/pantsbuild/pants/builds/74087340
Again: https://travis-ci.org/pantsbuild/pants/builds/74116016
Again: https://travis-ci.org/pantsbuild/pants/builds/74124235

Bugs closed: 1913

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

14390 of 20854 relevant lines covered (69.0%)

0.69 hits per line

Source Files on job 5981.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'")
  • Tree
  • List 0
  • Changed 67
  • Source Changed 2
  • Coverage Changed 67
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5981
  • Travis Job 5981.2
  • b4581cfb on github
  • Prev Job for CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'" on master (#5965.2)
  • Next Job for CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'" on master (#5982.2)
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