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

pantsbuild / pants / 8170
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: issue-13608-rust-ffi-unwraps
DEFAULT BRANCH: main
Ran 03 Dec 2015 12:07AM UTC
Jobs 8
Files 0
Run time –
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
8170

push

travis-ci

stuhood
Deprecate exception.message usages

In fb30d2d

     if isinstance(cause, UnreadableArtifact):
       return (target_address, cause.err.message)

However, `exception.message` isn't always a string, it's `args[0]` whatever is passed as first argument [1],
maybe string, maybe another wrapped exception. This results a later error when called by json.dump [2]

Further, `exception.message` is deprecated in python 3 [1], this PR drops such usages

[1] https://www.python.org/dev/peps/pep-0352
[2] bug stacktrace

  File "/Users/peiyu/.pex/install/pantsbuild.pants-0.0.0_<a class=hub.com/pantsbuild/pants/commit/fb30d2db66b95d2bb602cbaae60037c18d2710b6">fb30d2db6<a href="https://github.com/pantsbuild/pants/commit/05136add54de0e03a432f631b191217c3a0df084">-py2-none-any.whl.<a class="double-link" href="https://github.com/pantsbuild/pants/commit/5632d5cbfcdd1b48dcdcbd328644dfab1f356c58">5632d5cbf</a>/pantsbuild.pants-0.0.0_fb30d2db66b95d2bb602cbaae60037c18d2710b6-py2-none-any.whl/pants/goal/run_tracker.py", line 263, in store_stats
    safe_file_dump(stats_file, json.dumps(stats))
...
Exception message: ConnectionError(ProtocolError('Connection aborted.', gaierror(8, 'nodename nor servnam

Testing Done:
https://travis-ci.org/pantsbuild/pants/builds/94495459

Bugs closed: 2656

Reviewed at https://rbcommons.com/s/twitter/r/3201/
Jobs
ID Job ID Ran Files Coverage
1 8170.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 03 Dec 2015 12:12AM UTC 0
Travis Job 8170.1
4 8170.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 03 Dec 2015 12:20AM UTC 0
Travis Job 8170.4
5 8170.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 03 Dec 2015 12:07AM UTC 0
Travis Job 8170.5
6 8170.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 03 Dec 2015 12:14AM UTC 0
Travis Job 8170.6
7 8170.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 03 Dec 2015 12:23AM UTC 0
Travis Job 8170.7
8 8170.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 03 Dec 2015 12:24AM UTC 0
Travis Job 8170.8
9 8170.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 03 Dec 2015 12:22AM UTC 0
Travis Job 8170.9
10 8170.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 03 Dec 2015 12:27AM UTC 0
Travis Job 8170.10
Source Files on build 8170
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8170
  • 05136add on github
  • Prev Build on master (#8165)
  • Next Build on master (#8173)
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