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

cloudmarker / cloudmarker / 755
91%
master: 84%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/urllib3-1.26.5
DEFAULT BRANCH: master
Ran 10 May 2019 05:55AM UTC
Jobs 3
Files 39
Run time 52s
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
755

Pull #128

travis-ci-com

web-flow
Do not let workers crash on plugin errors

This change improves the error handling in the `workers` module. Every
plugin method invocation is wrapped with a `try`-`except` block to
handle errors from the plugin method gracefully.

It is especially important to prevent store, event, and alert workers
from crashing because they consume data from an input queue. If one or
more of these workers crash, then they would no longer read data from
their queues. As other plugins such as cloud or event plugins write more
data to these queues, the underlying OS pipe would become full. After
that the cloud or event plugins would block and the framework would
hang.

This change is about preparing for the worst. Ideally, the workers
should be written carefully such that they never lead to an unhandled
error. However, since writing a 100% error-free plugin can never be
guaranteed, and more importantly, since the plugin's robustness is
beyond the framework's control, when it comes to the worst and a plugin
raises an error, the framework handles it and moves on. Especially, this
change ensures that the consumer workers can continue to consume data
from their input queues despite plugin errors.

Since unhandled plugin errors would be really unexpected and
exceptional, this change logs the complete exception details along with
the stack trace, so that it can be used to investigate the issue later.
Pull Request #128: Do not let workers crash on plugin errors

372 of 419 branches covered (88.78%)

Branch coverage included in aggregate %.

30 of 30 new or added lines in 1 file covered. (100.0%)

1874 of 2049 relevant lines covered (91.46%)

2.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 755.1 10 May 2019 05:55AM UTC 0
91.23
Travis Job 755.1
2 755.2 10 May 2019 05:55AM UTC 0
91.23
Travis Job 755.2
3 755.3 10 May 2019 05:56AM UTC 0
91.23
Travis Job 755.3
Source Files on build 755
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #755
  • Pull Request #128
  • PR Base - master (#753)
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