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

spatialmodel / inmap / 420 / 4
69%
master: 69%

Build:
DEFAULT BRANCH: master
Ran 15 Feb 2021 02:47AM UTC
Files 112
Run time 6s
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% (+0.06%) from 68.872%
COVERALLS_TOKEN=rK3QSbCh7y0Tdfu4K0arUQSJqHJCl4ebP

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%)

32773.65 hits per line

Source Files on job 420.4 (COVERALLS_TOKEN=rK3QSbCh7y0Tdfu4K0arUQSJqHJCl4ebP)
  • Tree
  • List 0
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 876
  • Travis Job 420.4
  • 255388cf on github
  • Prev Job for COVERALLS_TOKEN=rK3QSbCh7y0Tdfu4K0arUQSJqHJCl4ebP on master (#405.1)
  • Next Job for COVERALLS_TOKEN=rK3QSbCh7y0Tdfu4K0arUQSJqHJCl4ebP on master (#426.2)
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