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

cloudmarker / cloudmarker / 756
84%

Build:
DEFAULT BRANCH: master
Ran 10 May 2019 05:59AM UTC
Jobs 3
Files 39
Run time 12s
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
756

push

travis-ci-com

susam
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.

372 of 419 branches covered (88.78%)

Branch coverage included in aggregate %.

1874 of 2049 relevant lines covered (91.46%)

2.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 756.1 10 May 2019 05:59AM UTC 0
91.23
Travis Job 756.1
2 756.2 10 May 2019 05:59AM UTC 0
91.23
Travis Job 756.2
3 756.3 10 May 2019 05:59AM UTC 0
91.23
Travis Job 756.3
Source Files on build 756
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #756
  • 50f971b8 on github
  • Prev Build on master (#753)
  • Next Build on master (#770)
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