• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Build has been canceled!

mbachry / collectd-systemd / 25 / 3
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 18 Jun 2020 05:02PM UTC
Files 1
Run time 0s
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

18 Jun 2020 05:02PM UTC coverage: 94.737%. First build
TOX_ENV=coverage

Pull #12

travis-ci

Steve Traylen
Consider a dead oneshot service good

For a oneshot service, particular those started by a timer,
it is perfectly normal for a status
to be `dead`. e.g.

```
systemctl status mlocate-updatedb.service
● mlocate-updatedb.service - Update a database for mlocate
   Loaded: loaded (/usr/lib/systemd/system/mlocate-updatedb.service; static; vendor preset: disabled)
   Active: inactive (dead) since Mon 2020-06-15 00:00:10 CEST; 3 days ago
 Main PID: 28558 (code=exited, status=0/SUCCESS)
```

This patch checks the service type and considers a dead oneshot service
as a good service.

For completness when a oneshot command fails for whatever reason it appears as

```
● mlocate-updatedb.service - Update a database for mlocate
   Loaded: loaded (/usr/lib/systemd/system/mlocate-updatedb.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2020-06-18 18:58:29 CEST; 6s ago
  Process: 70720 ExecStart=/usr/libexec/mlocate-run-updated (code=exited, status=203/EXEC)
 Main PID: 70720 (code=exited, status=203/EXEC)
```

and this `failed` reports as an error status to collectd.
Pull Request #12:

72 of 76 relevant lines covered (94.74%)

0.95 hits per line

Source Files on job 25.3 (TOX_ENV=coverage)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25
  • Travis Job 25.3
  • 4dc55fe9 on github
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