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

python-useful-helpers / exec-helpers
89%
master: 90%

Build:
Build:
LAST BUILD BRANCH: 8.3.0
DEFAULT BRANCH: master
Repo Added 23 Mar 2018 04:58PM UTC
Files 19
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

LAST BUILD ON BRANCH fix-ssh-connection-defects
branch: fix-ssh-connection-defects
CHANGE BRANCH
x
Reset
  • fix-ssh-connection-defects
  • 1.1.1
  • 1.1.2
  • 1.10.0
  • 1.11.0
  • 1.11.1
  • 1.12.0
  • 1.12.1
  • 1.12.2
  • 1.13.0
  • 1.14.0
  • 1.14.1
  • 1.14.2
  • 1.14.3
  • 1.2.0
  • 1.2.1
  • 1.2.2
  • 1.3.0
  • 1.3.1
  • 1.3.2
  • 1.3.3
  • 1.3.4
  • 1.3.5
  • 1.3.6
  • 1.3.7
  • 1.3.8
  • 1.4.0
  • 1.4.1
  • 1.9.0
  • 1.9.1
  • 1.9.2
  • 1.9.3
  • 1.9.4
  • 1.9.5
  • 1.9.6
  • 1.9.7
  • 1.9.8
  • 1.9.9
  • 2.0.0
  • 2.0.1
  • 2.0.2
  • 2.1.0
  • 2.1.1
  • 2.1.2
  • 2.1.3
  • 2.10.0
  • 2.11.0
  • 2.11.1
  • 2.11.2
  • 2.11.3
  • 2.12.0
  • 2.12.1
  • 2.12.2
  • 2.13.0
  • 2.14.0
  • 2.2.0
  • 2.9.0
  • 2.9.1
  • 2.9.2
  • 2.9.3
  • 2.9.4
  • 2.9.5
  • 2.9.6
  • 3.0.0
  • 3.1.0
  • 3.1.1
  • 3.1.2
  • 3.1.3
  • 3.1.4
  • 3.1.5
  • 3.2.0
  • 3.2.1
  • 3.3.0
  • 3.3.1
  • 3.3.2
  • 3.4.0
  • 3.4.0.post1
  • 3.4.0.post2
  • 3.5.0
  • 3.5.1
  • 3.5.2
  • 3.5.3
  • 3.5.4
  • 3.5.5
  • 3.5.7
  • 3.6.0
  • 3.7.0
  • 4.0.0
  • 4.0.1
  • 4.1.0
  • 4.1.1
  • 4.1.3
  • 4.1.4
  • 4.1.5
  • 4.1.6
  • 4.1.7
  • 4.2.0
  • 4.3.0
  • 4.3.1
  • 4.4.0
  • 5.0.0
  • 5.1.0
  • 5.1.1
  • 5.2.0
  • 5.2.1
  • 5.2.2
  • 5.2.3
  • 5.2.4
  • 6.0.0a1
  • 6.0.0a2
  • 6.0.0b1
  • 6.0.0b2
  • 6.0.0b3
  • 6.0.0b4
  • 6.0.0b5
  • 6.0.0b6
  • 6.0.0rc1
  • 6.0.0rc2
  • 6.0.0rc3
  • 6.1.0
  • 6.1.1
  • 6.1.2
  • 6.1.3
  • 6.1.4
  • 6.1.5
  • 6.1.6.post0
  • 7.0.0
  • 7.0.1
  • 7.0.2
  • 7.0.3
  • 7.0.4
  • 7.0.5
  • 7.4.0
  • 8.0.0
  • 8.0.0.post0
  • 8.0.1
  • 8.1
  • 8.1.0
  • 8.1.1
  • 8.1.2
  • 8.1.3
  • 8.1.4
  • 8.2.0
  • 8.2.1
  • 8.2.2
  • 8.2.3
  • 8.3.0
  • WIP_sshconfig
  • backport-ssh-fixes-8.1
  • caching
  • ci-8.1-python39-ubuntu-24.04
  • conn_chain
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/download-artifact-4.3.0
  • dependabot/github_actions/actions/download-artifact-5.0.0
  • dependabot/github_actions/actions/download-artifact-6.0.0
  • dependabot/github_actions/actions/download-artifact-7.0.0
  • dependabot/github_actions/actions/download-artifact-8.0.2
  • dependabot/github_actions/actions/setup-python-6
  • dependabot/github_actions/actions/setup-python-7
  • dependabot/github_actions/actions/upload-artifact-5
  • dependabot/github_actions/actions/upload-artifact-6
  • fix-mask-unmatched-groups
  • fix-sftp-after-close-v2
  • fix-sftp-check-hides-reconnect-failure
  • hide-exec-helpers-timeout-traceback
  • masked-arg
  • master
  • penguinolog-patch-1
  • py27
  • py34
  • py35
  • pyup-config
  • relax_typing_req
  • wip_ssh_proxy_command

06 Nov 2026 01:17PM UTC coverage: 88.703% (+0.09%) from 88.617%
42225663262

Pull #178

github

penguinolog
Open the SSH SFTP channel once from concurrent threads

_sftp checked for an open channel outside the lock, so two threads after
close() could both open one, and one of them was never closed.

- __connect_sftp repeats the check under the lock and returns the channel.
- _sftp reads the attribute once, so a concurrent close() cannot make it
  return None.
Pull Request #178: Fix SSH jump timeout and leak, SFTP race, log_mask_re TypeError

348 of 446 branches covered (78.03%)

Branch coverage included in aggregate %.

34 of 34 new or added lines in 3 files covered. (100.0%)

1772 of 1944 relevant lines covered (91.15%)

6.96 hits per line

Relevant lines Covered
Build:
Build:
1944 RELEVANT LINES 1772 COVERED LINES
6.96 HITS PER LINE
Source Files on fix-ssh-connection-defects
  • Tree
  • List 19
  • Changed 6
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
42225663262 fix-ssh-connection-defects Open the SSH SFTP channel once from concurrent threads _sftp checked for an open channel outside the lock, so two threads after close() could both open one, and one of them was never closed. - __connect_sftp repeats the check under the lock and ... Pull #178 06 Nov 2026 01:28PM UTC penguinolog github
88.7
See All Builds (763)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc