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

mbachry / collectd-systemd / 25
100%

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

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

Jobs
ID Job ID Ran Files Coverage
3 25.3 (TOX_ENV=coverage) 18 Jun 2020 05:02PM UTC 0
94.74
Travis Job 25.3
Source Files on build 25
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #25
  • Pull Request #12
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