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

aiidateam / aiida_core / 6267
74%

Build:
DEFAULT BRANCH: develop
Ran 05 Jun 2019 07:39PM UTC
Jobs 4
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
6267

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.

23775 of 32606 relevant lines covered (72.92%)

2.68 hits per line

Jobs
ID Job ID Ran Files Coverage
5 6267.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 05 Jun 2019 07:39PM UTC 0
66.78
Travis Job 6267.5
6 6267.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 05 Jun 2019 07:39PM UTC 0
66.71
Travis Job 6267.6
7 6267.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 05 Jun 2019 07:40PM UTC 0
67.43
Travis Job 6267.7
8 6267.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 05 Jun 2019 07:41PM UTC 0
67.37
Travis Job 6267.8
Source Files on build 6267
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6267
  • 37719455 on github
  • Prev Build on develop (#6259)
  • Next Build on develop (#6274)
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