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

pantsbuild / pants / 4658
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: use_pants_lock_in_uv
DEFAULT BRANCH: main
Ran 29 Apr 2015 07:33AM UTC
Jobs 10
Files 324
Run time 408min
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
4658

push

travis-ci

areitz
Improve the error message when a tool fails to bootstrap.

Suppressing the error message when failling to bootstrap a tool makes it really hard to debug the problem.

Testing Done:
Apply this diff:

```
diff --git a/BUILD.tools b/BUILD.tools
index 81fc8d8..88dd916 100644
--- a/BUILD.tools
+++ b/BUILD.tools
@@ -117,7 +117,9 @@ jar_library(name = 'scalastyle',
 jar_library(name = 'checkstyle',
             jars = [
               jar(org = 'com.puppycrawl.tools', name = 'checkstyle', rev = '5.6'),
-            ])
+            ],
+            dependencies = [":bogus-dep"],
+            )

 jar_library(name = 'junit',
             jars = [
```

And run this command: `PANTS_DEV=1 ./pants compile examples/src/java/org/pantsbuild/example/hello::`

Before:
=======
```
16:54:13 00:01     [checkstyle]
                   Invalidated 3 targets.
                   Failed to resolve target for tool: //:checkstyle.
                   This target was obtained from option checkstyle in scope compile.checkstyle.
                   You probably need to add this target to your tools BUILD file(s), usually located in the workspace root.

FAILURE
```

After:
======
```
16:52:51 00:03     [checkstyle]
                   Invalidated 3 targets.
                   Failed to resolve target for tool: //:checkstyle.
                   This target was obtained from option checkstyle in scope compile.checkstyle.
                   You probably need to add this target to your tools BUILD file(s), usually located in the workspace root.

                   Exception: bogus-dep was not found in BUILD file /Users/areitz/workspace/pants/BUILD. Perhaps you meant one of:
                     BUILD:readme
                     BUILD.tools:antlr-3.4
                     BUILD.tools:antlr-4
                     BUILD.tools:benchmark-caliper-0.5
                     BUILD.tools:benchmark-java-allocation-instrumenter-2.1
                     BUILD.tools:checkstyle
                     BUILD.tools:cobertura-instrument
                     BUILD.tools:cobertura-report
                     BUILD.tools:cobertura-run
                     BUILD.tools:emma
                     BUILD.tools:jar-tool
                     BUILD.tools:jarjar
                     BUILD.tools:java-compiler
                     BUILD.tools:jmake
                     BUILD.tools:junit
                     BUILD.tools:nailgun-server
                     BUILD.tools:scala-compiler
                     BUILD.tools:scala-library
                     BUILD.tools:scala-repl
                     BUILD.tools:scala-specs
                     BUILD.tools:scalastyle
                     BUILD.tools:scrooge-gen
                     BUILD.tools:scrooge-linter
                     BUILD.tools:spindle-codegen
                     BUILD.tools:wire-compiler
                     BUILD.tools:wire-runtime
                     BUILD.tools:xalan
                     BUILD.tools:zinc
                     referenced from :checkstyle

FAILURE
```

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

13116 of 18845 relevant lines covered (69.6%)

0.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4658.1 (CI_FLAGS="-cjlpnet 'Various pants self checks'") 29 Apr 2015 07:35AM UTC 0
Travis Job 4658.1
2 4658.2 (CI_FLAGS="-fkmsrcjlpn 'Test examples and testprojects'") 29 Apr 2015 07:34AM UTC 0
Travis Job 4658.2
3 4658.3 (CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'") 29 Apr 2015 07:37AM UTC 0
69.6
Travis Job 4658.3
4 4658.4 (CI_FLAGS="-fkmsrcjlpet 'Python contrib tests'") 29 Apr 2015 07:33AM UTC 0
Travis Job 4658.4
5 4658.5 (CI_FLAGS="-fkmsrjlpnet -i 6:0 'Python integration tests for pants - shard 1'") 29 Apr 2015 07:34AM UTC 0
Travis Job 4658.5
6 4658.6 (CI_FLAGS="-fkmsrjlpnet -i 6:1 'Python integration tests for pants - shard 2'") 29 Apr 2015 07:45AM UTC 0
Travis Job 4658.6
7 4658.7 (CI_FLAGS="-fkmsrjlpnet -i 6:2 'Python integration tests for pants - shard 3'") 29 Apr 2015 07:40AM UTC 0
Travis Job 4658.7
8 4658.8 (CI_FLAGS="-fkmsrjlpnet -i 6:3 'Python integration tests for pants - shard 4'") 29 Apr 2015 07:42AM UTC 0
Travis Job 4658.8
9 4658.9 (CI_FLAGS="-fkmsrjlpnet -i 6:4 'Python integration tests for pants - shard 5'") 29 Apr 2015 07:42AM UTC 0
Travis Job 4658.9
10 4658.10 (CI_FLAGS="-fkmsrjlpnet -i 6:5 'Python integration tests for pants - shard 6'") 29 Apr 2015 07:42AM UTC 0
Travis Job 4658.10
Source Files on build 4658
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4658
  • ddd1d39d on github
  • Prev Build on master (#4654)
  • Next Build on master (#4659)
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