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

os-autoinst / os-autoinst / 3179
57%

Build:
DEFAULT BRANCH: master
Ran 08 Jan 2018 10:52AM UTC
Jobs 1
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

pending completion
3179

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

Uncovered Existing Lines

Lines Coverage ∆ File
134
100.0
/home/travis/build/os-autoinst/os-autoinst/backend/baseclass.pm
Jobs
ID Job ID Ran Files Coverage
1 3179.1 08 Jan 2018 10:52AM UTC 0
54.71
Travis Job 3179.1
Source Files on build 3179
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3179
  • 2705cbb8 on github
  • Prev Build on master (#3178)
  • Next Build on master (#3180)
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