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

spatialmodel / inmap / 420
69%

Build:
DEFAULT BRANCH: master
Ran 15 Feb 2021 02:43AM UTC
Jobs 4
Files 112
Run time 4min
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

15 Feb 2021 02:32AM UTC coverage: 68.935%. Remained the same
420

push

travis-ci-com

ctessum
Ignore transient errors when checking status

When polling the job status, there are occasionally errors like the following (observed on Windows and macOS):

```
b'rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 35.232.224.150:443: connectex: No connection could be made because the target machine actively refused it."\n'
b'rpc error: code = Unavailable desc = transport is closing\n'
b'rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: read tcp 10.27.37.17:53842->35.232.224.150:443: wsarecv: An existing connection was forcibly closed by the remote host."\n'
```

Ignoring these transient errors allows us to eventually get the simulation output, rather than giving up and abandoning the job. This is especially helpful for longer simulations where the chance of one of the status calls failing is higher.

When starting the job, however, it makes sense to propagate the `CalledProcessError` – as is done when retrieving the output and deleting the job – instead of returning `None`.

Tested by re-running the Jupyter notebook accompanying the blog post (sr_example.ipynb).

14211 of 20615 relevant lines covered (68.94%)

131095.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 420.1 (COVERALLS_TOKEN=rK3QSbCh7y0Tdfu4K0arUQSJqHJCl4ebP) 15 Feb 2021 02:43AM UTC 0
68.87
Travis Job 420.1
2 420.2 (COVERALLS_TOKEN=rK3QSbCh7y0Tdfu4K0arUQSJqHJCl4ebP) 15 Feb 2021 02:43AM UTC 0
68.87
Travis Job 420.2
3 420.3 (COVERALLS_TOKEN=rK3QSbCh7y0Tdfu4K0arUQSJqHJCl4ebP) 15 Feb 2021 02:43AM UTC 0
68.94
Travis Job 420.3
4 420.4 (COVERALLS_TOKEN=rK3QSbCh7y0Tdfu4K0arUQSJqHJCl4ebP) 15 Feb 2021 02:47AM UTC 0
68.94
Travis Job 420.4
Source Files on build 420
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #420
  • 255388cf on github
  • Prev Build on master (#405)
  • Next Build on master (#426)
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