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

broadinstitute / catch
95%
master: 94%

Build:
Build:
LAST BUILD BRANCH: v1.5.1
DEFAULT BRANCH: master
Repo Added 23 Jan 2018 01:57PM UTC
Files 67
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 reduce-open-file-descriptors
branch: reduce-open-file-descriptors
CHANGE BRANCH
x
Reset
  • reduce-open-file-descriptors
  • auto-choose-clustering-method
  • cleanup
  • cluster-genomes
  • code-of-conduct
  • count-probe-covg
  • custom-covg-fn
  • download-seqs
  • expose-kmer-probe-map-k
  • fail-count-assertion-message
  • filter-polya
  • fix-edge-case-bugs
  • fix-macos
  • hm-better-hash
  • hm-citation-file
  • hm-fix-initial-guess
  • hm-fix-long-fragment-length
  • hm-fix-no-candidate-probes
  • hm-update-python-versions
  • lsh
  • master
  • readme-virtualenv
  • reduce-valueerrors
  • require-output
  • simplify-large-input
  • simplify-version
  • skip-small-seqs
  • speed-sc-setup
  • update-dependency-versions
  • v1.0.0
  • v1.1.0
  • v1.2.0
  • v1.3.0
  • v1.3.1
  • v1.4.0
  • v1.4.1
  • v1.5.0
  • v1.5.1

pending completion
281

push

travis-ci-com

haydenm
Close probe finding pool even if no work is submitted

Previously, probe.close_probe_finding_pool() only closed
the multiprocessing.Pool if work was submitted to the pool
(see previous comment for why -- this was to avoid a bug
in Python 2.7).

This seems to be causing issues. Travis CI is sporadically
failing on the test `test_probe.test_too_short_sequence_large_k`
with `OSError: [Errno 12] Cannot allocate memory`. This test
uses very little memory. Instead, this is probably occurring
because creating a multiprocessing.Pool (when opening the
probe finding pool) is unable to call `os.fork()` due to there
being too many open file descriptors. Many file descriptors are
not closed if no work was submitted to an open pool, because
pool.close_probe_finding_pool() deliberately did not close
its pool in this case. This unit test, as well as others,
open probe finding pools but do not submit any work to them.
As a result, they leave open file descriptors.

We no longer have to worry about the bug in Python 2.7 because
we test only in Python 3. This change attempts to fix the
sporadic failures in Travis CI.

1416 of 1599 branches covered (88.56%)

1 of 1 new or added line in 1 file covered. (100.0%)

4858 of 5107 relevant lines covered (95.12%)

2.85 hits per line

Relevant lines Covered
Build:
Build:
5107 RELEVANT LINES 4858 COVERED LINES
2.85 HITS PER LINE
Source Files on reduce-open-file-descriptors
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
281 reduce-open-file-descriptors Close probe finding pool even if no work is submitted Previously, probe.close_probe_finding_pool() only closed the multiprocessing.Pool if work was submitted to the pool (see previous comment for why -- this was to avoid a bug in Python 2.7). Th... push 11 Jan 2019 04:19AM UTC haydenm travis-ci-com pending completion  
See All Builds (210)
  • Repo on GitHub
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