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

aiidateam / aiida_core / 3919
74%

Build:
DEFAULT BRANCH: develop
Ran 04 Oct 2018 10:39AM UTC
Jobs 4
Files 389
Run time 20min
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
3919

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.

24241 of 35827 relevant lines covered (67.66%)

2.27 hits per line

Jobs
ID Job ID Ran Files Coverage
5 3919.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 04 Oct 2018 10:39AM UTC 0
59.92
Travis Job 3919.5
6 3919.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 04 Oct 2018 10:58AM UTC 0
54.81
Travis Job 3919.6
7 3919.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 04 Oct 2018 10:59AM UTC 0
58.83
Travis Job 3919.7
8 3919.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 04 Oct 2018 10:57AM UTC 0
53.72
Travis Job 3919.8
Source Files on build 3919
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3919
  • 24cf26e6 on github
  • Prev Build on develop (#3916)
  • Next Build on develop (#3922)
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