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

xapi-project / sm / 617
47%

Build:
DEFAULT BRANCH: master
Ran 30 Aug 2018 02:11PM UTC
Jobs 1
Files 95
Run time 19s
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
617

push

travis-ci

MarkSymsCtx
CA-295775 Fix handling of multipath events

Sending multipath UDEV events via a systemd service into atd does not
work very well at getting them processed; systemd drops attempts to
start any service which is already in the process of starting (which
loses information in the case of an event storm) while atd is a batch
processor designed to do things "at some vague time in the future which
could turn out to be never if the system load is higher than some
number".

A better solution is to use neither, and when we are scanning for
updates because of a UDEV event, use a simple wait/run lock pair to
rate-limit scans while ensuring that every event is followed by a scan
as soon as possible so its new state is detected.

We can now remove the 2 second sleep in drivers/mpathcount.py

In addition, the match_pathup function in drivers/mpathcount.py was not
matching the 'faulty' status in the multipath output and thus was not
updating the status when it changed. (Cosmetic: removed a tab from a log
line, log why the db update failed if it did fail).

In drivers/mpath_cli.py invoke multipathd by its full path because we
know it. Do not rely on PATH search for things like this; udev does
not supply the PATH we want and we should avoid requiring it.

828 of 6399 branches covered (12.94%)

7020 of 20880 relevant lines covered (33.62%)

0.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 617.1 30 Aug 2018 02:11PM UTC 0
33.62
Travis Job 617.1
Source Files on build 617
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #617
  • d8888e80 on github
  • Prev Build on master (#612)
  • Next Build on master (#620)
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