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

appsembler / tahoe_cert_agent / 57 / 1
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/django-1.11.29
DEFAULT BRANCH: master
Ran 26 Oct 2018 03:06PM UTC
Files 10
Run time 0s
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

26 Oct 2018 03:04PM UTC coverage: 91.925% (+0.2%) from 91.772%
57.1

Pull #8

travis-ci

web-flow
fix subprocess pipe hanging issue

Just calling `.wait()` without reading stdout can result in the
process deadlocking when the pipe fills up.

We could call `.communicate()`, which ensures that it all gets read,
but has its own risk of memory filling up because it buffers it all:
https://docs.python.org/2/library/subprocess.html#subprocess.Popen.communicate

Instead, we just loop over it, reading line by line until it hits a
`StopIteration`.

I do not have a unit test for this bug, unfortunately. It's a tricky
interaction between python and the system that it's running on and
would likely be a flakey test at best. Furthermore, reproducing the
bug and successfully testing for it would involve detecting that the
program had hung, and that gets tricky (halting problem and all).
Pull Request #8: fix subprocess pipe hanging issue

148 of 161 relevant lines covered (91.93%)

0.92 hits per line

Source Files on job 57.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 48
  • Travis Job 57.1
  • 78403f39 on github
  • Prev Job for on subprocess-pipe-fix (#53.1)
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