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

os-autoinst / os-autoinst / 3179 / 1
57%
master: 57%

Build:
DEFAULT BRANCH: master
Ran 08 Jan 2018 10:52AM UTC
Files 76
Run time 3s
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

08 Jan 2018 10:41AM UTC coverage: 54.711% (+0.06%) from 54.648%
3179.1

push

travis-ci

coolo
Polling the read socket in the capture loop (#902)

This change will make the capture loop more robust by polling the read socket to
detect half-open connections
When a connection is closed only on the other end if we try to read from it, an
error isn't yielded (not like how it happens with writes), creating an infinite
capture loop

There are three ways to solve this problem:
+ Send a message either to the application protocol (null message) or to the
  application protocol framing (an empty message)
  Disadvantages: Requires changes on both ends of the communication.

+ Polling the connections (Note: This is how HTTP servers work when dealing with
   persistent connections)
   Disadvantages: False positives

+ Change the keepalive packet settings
  Disadvantages: TCP/IP stacks are not required to support keepalives.

The first and last option, are a bit troublesome as we need to deal with restarts.
The first option also requires changes in both ends - Besides having to
enable/disabe the SIGPIPE capture on demand, when we have a SSH connection we
start hitting the error "bad packet length".

3635 of 6644 relevant lines covered (54.71%)

411.79 hits per line

Source Files on job 3179.1
  • Tree
  • List 0
  • Changed 13
  • Source Changed 1
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3179
  • Travis Job 3179.1
  • 2705cbb8 on github
  • Prev Job for on master (#3178.1)
  • Next Job for on master (#3180.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