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

xapi-project / sm / 617 / 1
47%
master: 47%

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

30 Aug 2018 02:09PM UTC coverage: 33.621% (+0.007%) from 33.614%
617.1

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

Source Files on job 617.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 585
  • Travis Job 617.1
  • d8888e80 on github
  • Prev Job for on master (#612.1)
  • Next Job for on master (#620.1)
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