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

wikimedia / PyBal / 210
74%
master: 97%

Build:
Build:
LAST BUILD BRANCH: 1.15-stretch
DEFAULT BRANCH: master
Ran 21 Feb 2018 11:41AM UTC
Jobs 1
Files 35
Run time 2s
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
210

push

travis-ci

ema
<a href="https://github.com/wikimedia/PyBal/commit/<a class=hub.com/wikimedia/PyBal/commit/<a class="double-link" href="https://git"><a class=hub.com/wikimedia/PyBal/commit/2677056b1672be00e8aea23408268909a27e0c7c">2677056b1<a href="https://github.com/wikimedia/PyBal/commit/2677056b1672be00e8aea23408268909a27e0c7c">&lt;a href=&quot;https://github.com/wikimedia/PyBal/commit/2677056b1672be00e8aea23408268909a27e0c7c&quot;&gt;&amp;quot;&amp;gt;etcd: Introduce reconnectTimeout

In production, we have observed an issue with pybal losing its
connections to etcd shortly after a bunch of unhandled
twisted.internet.error.ConnectionLost errors.

See https://phabricator.wikimedia.org/P6711 for an example of such
situation.

In a test environment, we have verified that pybal does not reconnect to
etcd in case of etcd restarts.

Introduce a 1 second timeout between reconnection attempts to be used in
case of lost connections or connection failures and log the reconnection
attempts themselves. This fixes the reconnection issue in a testing
environment when issuing a systemctl etcd restart as well as when
stopping etcd altogher and starting it again after a few seconds.

Bug: T169765
Change-Id: I&lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/wikimedia/PyBal/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/wikimedia/PyBal/commit/0db3a64af405aa11aaf3a215a8d57a8857d48dbd">0db3a64af</a>">0db3a64af</a><a href="https://github.com/wikimedia/PyBal/commit/2677056b1672be00e8aea23408268909a27e0c7c">
(cherry picked from commit </a><a class="double-link" href="https://github.com/wikimedia/PyBal/commit/<a class="double-link" href="https://github.com/wikimedia/PyBal/commit/c917f59f4c37c7b89f15d0fd8b375de028d4a90b">c917f59f4">c917f59f4)

2862 of 3872 relevant lines covered (73.92%)

0.74 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
pybal/test/test_monitors.py
2
100.0
pybal/etcd.py
Jobs
ID Job ID Ran Files Coverage
1 210.1 21 Feb 2018 11:41AM UTC 0
73.92
Travis Job 210.1
Source Files on build 210
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #210
  • 2677056b on github
  • Prev Build on 1.14 (#198)
  • Next Build on 1.14 (#212)
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