David Wilson
174b685d16
tests: CentOS 6 lacks %wheel in sudo by default.
6 years ago
David Wilson
574fc27a9c
issue #414 : import test / reproduction.
6 years ago
David Wilson
c286f4f107
Add tests/ansible/requirements.txt to Tox.
6 years ago
David Wilson
cd6486b0e9
tests: fix more DisconnectTest raciness.
6 years ago
David Wilson
1c24a13560
tests: add Ansible back to requirements
...
Needed for Tox
6 years ago
David Wilson
8d709fdfb4
Merge remote-tracking branch 'origin/dmw'
...
- #418
- 2.6/3.x compat
- earlier bugfix fallout
6 years ago
David Wilson
6d5facec4c
su/sudo: fallout from previous commits
...
issue #418 and FD cleanup work.
6 years ago
David Wilson
e180d310b5
tests: fix fork_test compat on 3.x.
6 years ago
David Wilson
a7eca5b55e
docs: update Changelog.
6 years ago
David Wilson
045db6f689
Fix iter_read() FD leaks on 3.x; closes #418 .
6 years ago
David Wilson
3f46c9569c
tests: 3.x syntax compat for tests/data/stubs/
6 years ago
David Wilson
27a4001f4f
tests: handle NameError when faulthandler is not installed.
6 years ago
David Wilson
5482b4d528
tests: poller_test 3.x fix.
6 years ago
David Wilson
6e1f9e2596
core: 2.6 str.decode() compat fix.
6 years ago
David Wilson
3836c6a220
tests/bench: run roundtrip.py a ton more to reduce variance
6 years ago
David Wilson
d1b7c232bf
tests: image_prep needs sudo
6 years ago
David Wilson
1064778dfd
Merge remote-tracking branch 'origin/dmw'
...
- #413
6 years ago
David Wilson
7a1dfa388a
docs: update Changelog; closes #413 .
6 years ago
David Wilson
76ec4f201c
issue #413 : paper over harmless duplicate del_route()
...
Ideally it would only be called once, and in future maybe it can, but
right now we need to cope with these cases:
* Downstream parent notifies us of disconnection (DEL_ROUTE)
* We notify ourself of disconnection
* We notify ourself and so does downstream parent
It's case 3 that causes the error.
6 years ago
David Wilson
fea0fb41fc
docs: update Changelog; closes #288
6 years ago
David Wilson
33011af9a5
issue #387 : update Changelog.
6 years ago
David Wilson
cf97932fad
core: dead messages have optional body, use it everywhere; closes #387 .
6 years ago
David Wilson
fdcd6810e1
Merge remote-tracking branch 'origin/dmw'
...
- issue #416 .
6 years ago
David Wilson
176fe55bbd
issue #416 : update Changelog
6 years ago
David Wilson
c09780aeb0
core: fix add_handler(respondent=..) memory leak
...
Closes #416 .
6 years ago
David Wilson
7141e9c11f
Merge remote-tracking branch 'origin/dmw'
...
- move more docs into source code
- make tests detect leaked threads, FDs
- #405 , #406 , #417
6 years ago
David Wilson
4ac9cdce7c
docs: update Changelog; closes #417 .
6 years ago
David Wilson
01e65d7865
docs: update Changelog; closes #406 .
6 years ago
David Wilson
802de6a8d5
issue #406 : clean up DiagLogStream handling and connect() failure.
...
When Stream.connect() fails, have it just use on_disconnect(). Now there
is a single disconnect cleanup path.
Remove cutpasted DiagLogStream setup/destruction, and move it into the
base class (temporarily), and only manage the lifetime of its underlying
FD via Side.close(). This cures another EBADF failure.
6 years ago
David Wilson
e01c8f2891
issue #406 : 3.x syntax fixes.
6 years ago
David Wilson
586c6aca9a
issue #406 : unix: fix ordering of stop_receive/close.
6 years ago
David Wilson
661e274556
issue #406 : ensure is_path_dead() socket is finalized.
6 years ago
David Wilson
411af6c167
issue #406 : unix: don't leak already-closed socket object
...
if Side.close() closes the socket (which it does), and it gets reused,
GC will cause socketobject.__del__ to later delete some random FD.
6 years ago
David Wilson
dc3db49c5a
issue #406 : more leaked FDs when create_child() fails.
6 years ago
David Wilson
003526ef7b
issue #406 : fix thread leaks in unix_test too.
6 years ago
David Wilson
17631b0573
issue #406 : parent: close extra_fd on failure too.
6 years ago
David Wilson
b3841317dd
issue #406 : clean up FDs on failure explicitly
...
The previous approach was crap since it left e.g. socketpair instances
lying around for GC with their underlying FD already closed, coupled
with FD number reuse, led to random madness when GC finally runs.
6 years ago
David Wilson
eae1bdba4e
tests: make minify_test print something useful on failure
6 years ago
David Wilson
802efa6ea6
issue #406 : ensure broker_test waits for broker exit.
6 years ago
David Wilson
10af266678
issue #406 : attempt Broker cleanup in case of a crash.
6 years ago
David Wilson
175fc377d2
tests: remove hard-wired SSL paths from fork_test.
6 years ago
David Wilson
3da4b1a420
tests: verify only main/watcher threads exist at teardown
6 years ago
David Wilson
b0dd628f07
issue #406 : parent_test fixes, NameError in log_fd_calls().
6 years ago
David Wilson
375182b71b
issue #406 : don't leak side FDs on bootstrap failure.
6 years ago
David Wilson
14b389cb46
issue #406 : don't leak FDs on failed child start.
6 years ago
David Wilson
6ff1e001da
issue #406 : log socketpair calls too.
6 years ago
David Wilson
70c550f50c
issue #406 : close stdout pipes in parent_test
6 years ago
David Wilson
9b3cb55a8b
issue #4096 : import log_fd_calls() helper.
6 years ago
David Wilson
8a0b343760
issue #406 : test for FD leak after every TestCase
6 years ago
David Wilson
e9a6e4c3d2
issue #406 : add test.
6 years ago