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

google / apitools / 663
92%

Build:
DEFAULT BRANCH: master
Ran 09 Aug 2018 10:21PM UTC
Jobs 1
Files 60
Run time 2min
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
663

push

travis-ci

web-flow
Fixes issue where forced retry would cause timeout. (#241)

Fixes issue where forced retry would cause timeout.

Side note: This also fixes TravisCI builds that have been failing on
Python 3.3.

This fixes https://issuetracker.google.com/issues/111486730 -- if
using an expired access token from a cache, a forced retry will occur
and attempt to re-read bytes from the compression stream. This fails
because the bytes have already been consumed, and the server hangs
waiting for us to send the intended bytes from the first attempt. In
gsutil, this manifested itself as an SSLError with the message 'The read
operation timed out'.

While I'd normally avoid reading in an entire stream all at once, this
edge case should be fine because:

- We start off the entire (uncompressed) byte sequence anyway to begin
  with and only create the stream because that's the format needed for
  compression.
- This is only used for uploads using the SIMPLE strategy. Note that
  this isn't an issue for resumable uploads, since the first request in
  that flow is to create the resumable upload session (which isn't a
  media transfer request, thus it doesn't try to consume any bytes from
  the stream), so the credential refresh (if needed) would happen on that
  request.

1892 of 2381 branches covered (79.46%)

3 of 3 new or added lines in 2 files covered. (100.0%)

8910 of 9717 relevant lines covered (91.69%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
5 663.5 (TOX_ENV=py27-oauth2client4) 09 Aug 2018 10:21PM UTC 0
91.69
Travis Job 663.5
Source Files on build 663
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #663
  • d0bfc7a3 on github
  • Prev Build on master (#661)
  • Next Build on master (#667)
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

© 2025 Coveralls, Inc