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

aiidateam / aiida_core / 6228
74%

Build:
DEFAULT BRANCH: develop
Ran 30 May 2019 08:12PM UTC
Jobs 3
Files 387
Run time 3min
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
6228

push

travis-ci

sphuber
Deal with stale daemon PID files during stop attempts (#2795)

In some circumstances, the circus PID file which stores the PID of the
running circus process, can be corrupted or not deleted properly,
causing calls to `is_daemon_running` to return a false positive.

This situation can arise if a system is shut down suddenly and so
the process is killed but the PID file is not deleted in time.
Alternatively, another process or the user may have meddled with the
PID file in some way, corrupting it.

Here, we implement a function that checks for stale PID files by
checking whether the PID contained in the PID file matches a valid
running `verdi `process. If it does not, a warning is emitted and the
PID file is deleted. This function is called when `verdi daemon stop` is
called, making it function as a hard reset in a situation of a stale PID.

Co-authored-by: Giovanni Pizzi <giovanni.pizzi@epfl.ch>

23 of 23 new or added lines in 2 files covered. (100.0%)

21767 of 32580 relevant lines covered (66.81%)

2.03 hits per line

Jobs
ID Job ID Ran Files Coverage
5 6228.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 30 May 2019 08:12PM UTC 0
66.73
Travis Job 6228.5
6 6228.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 30 May 2019 08:13PM UTC 0
66.65
Travis Job 6228.6
7 6228.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 30 May 2019 08:15PM UTC 0
69.5
Travis Job 6228.7
Source Files on build 6228
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6228
  • 04e80d2e on github
  • Prev Build on develop (#6222)
  • Next Build on develop (#6230)
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