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

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

Build:
DEFAULT BRANCH: develop
Ran 04 Oct 2018 10:59AM UTC
Files 389
Run time 17s
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: 58.832% (+5.1%) 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.

21080 of 35831 relevant lines covered (58.83%)

0.59 hits per line

Source Files on job 3919.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests")
  • Tree
  • List 0
  • Changed 40
  • Source Changed 40
  • Coverage Changed 40
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 61
  • Travis Job 3919.7
  • 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