David Wilson
c7931be524
issue #420 : core: include PID in Latch cookie data.
6 years ago
David Wilson
0c3e48468b
tests: run disconnect_during_module.yml in subprocess
...
Avoid entire run failing with unreachable
6 years ago
David Wilson
35092c5d35
tests: Unicode/bytes fixes for integration/connection/exec_command.yml
6 years ago
David Wilson
4d443e654b
tests: replace another shell script.
6 years ago
David Wilson
6bae586923
tests: fix up Travis bodge for Python 2.6.
6 years ago
David Wilson
9ad022107e
issue #414 : disable test until rest of CI is healthy
6 years ago
David Wilson
b29c8eaf2a
tests: allow passing -vvv to build_docker_images.
6 years ago
David Wilson
f87553b165
tests: must set ansible_become_pass in synchronize.yml.
6 years ago
David Wilson
816da64df5
tests: show task args in image_prep
6 years ago
David Wilson
91513f5b7e
tests: properly close 'cat' child process on exit.
6 years ago
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