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

pantsbuild / pants / 5256
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: free-threaded-python
DEFAULT BRANCH: main
Ran 10 Jun 2015 10:35PM UTC
Jobs 10
Files 330
Run time 16min
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
5256

push

travis-ci

areitz
Add a coherent error message when scrooge has no sources.

I wasted way too much time trying to understand this error message:
./pants test geoduck/service/src/main/thrift:thrift-java
...
Exception message: [Errno 2] No such file or directory: u'/Users/thowland/workspace/source/birdcage/.pants.d/gen/scrooge/java-finagle/gen-file-map-by-target/geoduck.service.src.main.thrift.thrift-java'

What pants is trying to say is: the given target has no sources.

With this change we get the more useful message:

Exception message: Invalid target JavaThriftLibrary(BuildFileAddress(FilesystemBuildFile(/Users/thowland/workspace/source/birdcage/factorbird/factorbird-thrift-only/src/main/thrift/BUILD), thrift-scala)): no thrift files found

Testing Done:
https://github.com/pantsbuild/pants/pull/1660
https://travis-ci.org/pantsbuild/pants/builds/66227433

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

13911 of 19850 relevant lines covered (70.08%)

1.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5256.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 10 Jun 2015 10:39PM UTC 0
Travis Job 5256.1
2 5256.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 10 Jun 2015 10:45PM UTC 0
65.4
Travis Job 5256.2
3 5256.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 10 Jun 2015 10:37PM UTC 0
65.98
Travis Job 5256.3
4 5256.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 10 Jun 2015 10:35PM UTC 0
Travis Job 5256.4
5 5256.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 10 Jun 2015 10:37PM UTC 0
Travis Job 5256.5
6 5256.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 10 Jun 2015 10:42PM UTC 0
Travis Job 5256.6
7 5256.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 10 Jun 2015 10:46PM UTC 0
Travis Job 5256.7
8 5256.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 10 Jun 2015 10:45PM UTC 0
Travis Job 5256.8
9 5256.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 10 Jun 2015 10:47PM UTC 0
Travis Job 5256.9
10 5256.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 10 Jun 2015 10:51PM UTC 0
Travis Job 5256.10
Source Files on build 5256
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5256
  • 64744127 on github
  • Prev Build on master (#5248)
  • Next Build on master (#5257)
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