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

pantsbuild / pants / 4295
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: pantsd/subsystem-rules-memo
DEFAULT BRANCH: main
Ran 01 Apr 2015 06:25PM UTC
Jobs 10
Files 319
Run time 89min
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
4295

push

travis-ci

ericzundel
Fix ivy_resolve message: Missing expected ivy output file .../.ivy2/pants/internal-...-default.xml

This change forces the exec_ivy() to run if the report is not present.  Sometimes the
targets can all be up to date, but that combination of targets
has not been run through ivy.

This is important because ivy_resolve now depends on
having a valid report from the ivy run to compute the classpath correctly.
The change to use UnionProducts and a more limited compile classpath in https://rbcommons.com/s/twitter/r/1761/
relies on parsing the ivy report.   I added some more error checking in https://rbcommons.com/s/twitter/r/1856/
which started tripping in our build.

Testing Done:
Passed CI @ https://travis-ci.org/pantsbuild/pants/builds/56629304

We got this error message 7 times re-compiling all java_binary() targets in our repo with about 200 targets.
We always run through the targets in alphabetical order: the error starts about 30 minutes into the build after the 80th target.

I created a number of test targets that referenced the same jars in differenc combinations, but was unable to reproduce this outside of our repo.
However, I did put in some debugging before and after exec_ivy() in ivy_resolve
to show what was going on:

```
INFO] Pre exec_ivy() xml report path=/Users/square/.ivy2/pants/internal-<a class=hub.com/pantsbuild/pants/commit/61e19aa02fd5ea667f0e39802a333fa1cd4a74a7">61e19aa02-default.xml exists=False
INFO] All invalidation targets up to date. Skipped execing ivy.
INFO] Post exec_ivy() xml report path=/Users/square/.ivy2/pants/internal-61e19aa02fd5ea667f0e39802a333fa1cd4a74a7-default.xml exists=False
```

Bugs closed: 1350, 1354

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

12919 of 18552 relevant lines covered (69.64%)

0.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4295.1 (CI_FLAGS="-clpnet 'Various pants self checks'") 01 Apr 2015 06:29PM UTC 0
Travis Job 4295.1
2 4295.2 (CI_FLAGS="-fkmsrclpn 'Test examples and testprojects'") 01 Apr 2015 06:25PM UTC 0
Travis Job 4295.2
3 4295.3 (CI_FLAGS="-fkmsrcnet 'Python unit tests for pants and pants-plugins'") 01 Apr 2015 06:30PM UTC 0
69.64
Travis Job 4295.3
4 4295.4 (CI_FLAGS="-fkmsrclpet 'Python contrib tests'") 01 Apr 2015 07:54PM UTC 0
Travis Job 4295.4
5 4295.5 (CI_FLAGS="-fkmsrlpnet -i 6:0 'Python integration tests for pants - shard 1'") 01 Apr 2015 06:27PM UTC 0
Travis Job 4295.5
6 4295.6 (CI_FLAGS="-fkmsrlpnet -i 6:1 'Python integration tests for pants - shard 2'") 01 Apr 2015 06:33PM UTC 0
Travis Job 4295.6
7 4295.7 (CI_FLAGS="-fkmsrlpnet -i 6:2 'Python integration tests for pants - shard 3'") 01 Apr 2015 06:35PM UTC 0
Travis Job 4295.7
8 4295.8 (CI_FLAGS="-fkmsrlpnet -i 6:3 'Python integration tests for pants - shard 4'") 01 Apr 2015 06:34PM UTC 0
Travis Job 4295.8
9 4295.9 (CI_FLAGS="-fkmsrlpnet -i 6:4 'Python integration tests for pants - shard 5'") 01 Apr 2015 06:38PM UTC 0
Travis Job 4295.9
10 4295.10 (CI_FLAGS="-fkmsrlpnet -i 6:5 'Python integration tests for pants - shard 6'") 01 Apr 2015 06:39PM UTC 0
Travis Job 4295.10
Source Files on build 4295
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4295
  • 67e0cee2 on github
  • Prev Build on master (#4294)
  • Next Build on master (#4296)
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