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

aiidateam / aiida_core / 3919 / 8
74%
develop: 74%

Build:
DEFAULT BRANCH: develop
Ran 04 Oct 2018 10:57AM UTC
Files 389
Run time 16s
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

04 Oct 2018 10:24AM UTC coverage: 53.719% (-0.02%) from 53.737%
TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests"

push

travis-ci

sphuber
Fix process leaks due to `ProxyCommand` (#2019)

This commit addresses two issues:

  * The constructor of `_DetachedProxyCommand` should _not_ call `super`.
    The reason for this is that the detached version creates a _different_
    subprocess. If the `super` is also called, two subprocesses are created.
  * In the `close` method of `_DetachedProxyCommand`, the subprocess is
    killed more aggressively, and we `poll` the subprocess to avoid having
    defunct processes.

The subprocess killing is implemented as follows:

  * `.terminate()` the subprocess
  * `.poll()` for 2 seconds to see if it exits
  * if it hasn't, `.kill()`, and `.poll()` again for 2 seconds

This part is a bit hand-wavy, but I wanted to avoid using the `.wait()` method.
On balance I think it's better if the daemon just continues if the subprocess
is really unkillable.

19246 of 35827 relevant lines covered (53.72%)

0.54 hits per line

Source Files on job 3919.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 62
  • Source Changed 2
  • Coverage Changed 62
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 61
  • Travis Job 3919.8
  • 24cf26e6 on github
  • Prev Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#3916.8)
  • Next Job for TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests" on develop (#3922.8)
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