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

pantsbuild / pants / 7988
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: multiplatform_pex_with_uv
DEFAULT BRANCH: main
Ran 20 Nov 2015 02:25AM 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
7988

push

travis-ci

stuhood
Fix a bug preventing re-upload artifacts that encountered read-errors

We have this function from [rb/1361](https://rbcommons.com/s/twitter/r/1361) to write generated artifacts back to cache
for artifacts encountered read errors. Unfortunately this probably never worked.
```
  elif isinstance(was_in_cache, UnreadableArtifact):
    self._cache_key_errors.update(was_in_cache.key)
```

`set.update` takes iterable, since `was_in_cache.key` is a namedtuple of three
elements, we get a set of these three elements instead of the cacheKey, and
subsequent check when it comes to write generated artifact back will fail.

Change `update` to `add` fixes this

Testing Done:
https://travis-ci.org/peiyuwang/pants/builds/91542791

Bugs closed: 2584

Reviewed at https://rbcommons.com/s/twitter/r/3141/
Jobs
ID Job ID Ran Files Coverage
1 7988.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 20 Nov 2015 02:28AM UTC 0
Travis Job 7988.1
4 7988.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 20 Nov 2015 02:34AM UTC 0
Travis Job 7988.4
5 7988.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 20 Nov 2015 02:25AM UTC 0
Travis Job 7988.5
6 7988.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 20 Nov 2015 02:33AM UTC 0
Travis Job 7988.6
7 7988.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 20 Nov 2015 02:38AM UTC 0
Travis Job 7988.7
8 7988.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 20 Nov 2015 02:36AM UTC 0
Travis Job 7988.8
9 7988.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 20 Nov 2015 02:34AM UTC 0
Travis Job 7988.9
10 7988.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 20 Nov 2015 02:39AM UTC 0
Travis Job 7988.10
Source Files on build 7988
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7988
  • cd7a188f on github
  • Prev Build on master (#7985)
  • Next Build on master (#7989)
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