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

aiidateam / aiida_core / 6267 / 7
74%
develop: 74%

Build:
DEFAULT BRANCH: develop
Ran 05 Jun 2019 07:40PM UTC
Files 387
Run time 42s
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

05 Jun 2019 07:18PM UTC coverage: 67.428% (+0.008%) from 67.42%
TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests"

push

travis-ci

sphuber
Unbind interrupt signal handlers as soon as process function terminates

The `run_get_node` method of process functions attaches a `kill_process`
handler to interrupt signals, such that when the funtion process is
interrupted during execution, it is properly cleaned up, for example by
setting the process state on the node to `Killed`. These handlers were,
however, not properly unbound after the process was terminated and so
would be triggered even after the process instance was no longer alive.
This would cause the `kill_process` handler to hang. In the case of a
daemon runner, this would prevent the python process from shutting down.
This manifested itself in `verdi daemon stop` timing out if one of the
daemon runners had run just a single process function. Note that the
previous commit already fixed this problem in a different way, by not
even attaching the interrupt handlers for process function in the first
place. But the reasoning for that is different.

21987 of 32608 relevant lines covered (67.43%)

0.67 hits per line

Source Files on job 6267.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 6
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1916
  • Travis Job 6267.7
  • 37719455 on github
  • Prev Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#6259.7)
  • Next Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#6274.7)
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