David Wilson
9ec360c26d
core: split out & extend Broker.sync_call()
2018-10-26 13:58:12 +01:00
David Wilson
592d6fc8d3
tests: fix CaptureStreamHandler on 2.6.
2018-10-26 13:22:33 +01:00
David Wilson
3429e57825
tests: fix target_test 3.x compat.
2018-10-26 13:04:00 +01:00
David Wilson
3585ee74f7
tests: split out ansible_tests requirements
...
Also remove hard-coded Ansible version, the tests don't need it, nor
does local testing most of the time
2018-10-26 12:58:08 +01:00
David Wilson
905ab890fb
tests: stop idiotic Travis TTY/pip progress bar spam
2018-10-26 12:30:40 +01:00
David Wilson
0dc3f8accf
ansible: fix another target.py format string.
2018-10-26 11:26:15 +01:00
David Wilson
b70c57a2cb
tests: fix wstatus_to_str() test on 3.x
...
Now they use enums.
2018-10-26 11:22:33 +01:00
David Wilson
f343bbba3a
unix: fix exception catch on 3.x.
2018-10-26 11:20:18 +01:00
David Wilson
0864155592
tests: pin pycparser to last 2.6-compatible version
2018-10-26 11:15:41 +01:00
David Wilson
7e04ee8af9
ansible: fix is_good_temp_dir() log format
2018-10-26 11:11:25 +01:00
David Wilson
c1c7e5171d
tests: fix fork FD sharing in unix_test.
2018-10-26 11:08:12 +01:00
David Wilson
0cf6019bac
tests: rename one more stubs/ssh.py reference.
2018-10-26 10:55:54 +01:00
David Wilson
778892eaaa
issue #76 : call_function_test fix.
2018-10-26 10:54:22 +01:00
David Wilson
6451117d00
Add venvs/ to gitignore
2018-10-26 10:23:34 +01:00
David Wilson
a7d635dff8
tests: import ara_env helper script.
2018-10-26 10:16:46 +01:00
David Wilson
0d04e940b7
master: docstring fixes.
2018-10-26 09:12:00 +00:00
David Wilson
8891fda48a
docs: getting_started typo
2018-10-26 09:09:54 +00:00
David Wilson
4e3830d75e
tests: add basic unix_test.py.
2018-10-26 10:08:06 +01:00
David Wilson
918f709420
tests: import a bunch more random unchecked in pieces.
2018-10-26 09:45:17 +01:00
David Wilson
0d70fc1324
tests: import z hostfile
2018-10-26 09:34:31 +01:00
David Wilson
36e5ca4115
tests: import missing main_with_no_exec_guard.py.
2018-10-26 09:33:28 +01:00
David Wilson
3943634fa6
tests: import bench/large_messages.py.
2018-10-26 09:32:09 +01:00
David Wilson
73055150f3
tests: move stub tools, into subdir, import docker_test.
2018-10-26 09:21:29 +01:00
David Wilson
7647c95f34
issue #76 : add one more test for indirect siblings
2018-10-25 13:25:27 +01:00
David Wilson
58d0a45738
issue #76 : quieten routing errors.
...
Receiving DEL_ROUTE without a corresponding ADD_ROUTE is now legit
behaviour, so don't print an error in this case.
Don't print an error for dropped messages if the reply_to indicates the
sender doesn't care about a response (dead and no_reply)
2018-10-24 13:04:03 +01:00
David Wilson
fba52a0edf
issue #76 : add API for ansible_mitogen to get route list
...
Earlier commit moved Stream.routes attribute into a private map
belonging to RouteMonitor, to make upgrades smoother. This adds a new
accessor method to RouteMonitor.
2018-10-24 13:02:46 +01:00
David Wilson
f3e19d81da
docs: reorder sections
2018-10-23 23:26:12 +01:00
David Wilson
96b88cc70f
issue #76 : docs: update Changelog.
2018-10-23 23:24:34 +01:00
David Wilson
bd71a2760e
docs: describe disconnect propagation; closes #76 .
2018-10-23 23:16:48 +01:00
David Wilson
431051f69b
issue #76 : parent: broadcast DEL_ROUTE to interested parties
...
Now rather than simply propagate DEL_ROUTE upwards towards the parent,
we broadcast it downward to any stream that ever sent a message toward
any of the routes that have just become disconnected.
2018-10-23 23:09:33 +01:00
David Wilson
b9bafb78af
issue #76 : add stub DEL_ROUTE handler to core.py.
...
This handler knows how to fire 'disconnect' event on reception of a
DEL_ROUTE, and nothing more.
2018-10-23 23:08:35 +01:00
David Wilson
babe3eec31
issue #76 : record egress context IDs
...
Used in a subsequent change to broadcast DEL_ROUTE to potentially
interested children.
2018-10-23 23:07:49 +01:00
David Wilson
d7d40f1123
issue #76 : reduce Context duplication during unpickling
...
When unpickling a context, arrange for there to be a single instance
representing that context, managed by the corresponding router. This
context_by_id() was already in use by parent.py, it just needs to move
down.
This to eventually reach the point where a single Context exists that
needs 'disconnect' fired on it, so all sleeping receivers are definitely
woken.
2018-10-23 22:16:09 +01:00
David Wilson
72da291b24
docs: fix up incomplete Temporary Files section.
2018-10-23 16:53:06 +01:00
David Wilson
cfcc7c0273
Bump version for release.
2018-10-23 16:14:40 +01:00
David Wilson
48bc91550b
docs: update changelog.
2018-10-23 16:14:07 +01:00
David Wilson
fd5066d671
tests: teach various tests to cleanup /tmp when they're done.
2018-10-23 15:34:18 +01:00
David Wilson
40d2cf7e25
docs: update changelog.
2018-10-23 15:34:06 +01:00
David Wilson
7fd9fb0014
issue #397 : fix another case where stray tmpdirs can be left behind.
...
Newer Ansibles use atexit.register() to invoke cleanup, so we need to
run those registrations after each run.
2018-10-23 15:29:03 +01:00
David Wilson
1b17aa1d1a
ansible: fix temp cleanup regression and add test; closes #397 .
2018-10-23 14:42:44 +01:00
David Wilson
e45e5d3e06
tests: Document Python versions in build_docker_images.py
2018-10-04 22:52:32 +01:00
David Wilson
9828588e97
master: group is_stdlib_name() with other module functions.
2018-10-04 19:24:42 +00:00
David Wilson
bf597d257f
master: document LogForwarder.
2018-10-04 19:21:53 +00:00
David Wilson
74cf9c3c96
master: document ThreadWatcher
2018-10-04 19:15:59 +00:00
David Wilson
a7b1831ddf
core: move IS_DEAD doc into core.py.
2018-10-03 14:45:23 +01:00
David Wilson
3aa5c4c53d
issue #373 : parse the child process wait status
...
Don't log the raw waitpid() result, convert it to a useful string first.
2018-10-03 13:51:11 +01:00
David Wilson
48f9fc8930
docs: tweak thanks text
2018-10-03 00:50:44 +01:00
David Wilson
f5e933e8a2
docs: add Alex's fix to changelog
2018-10-03 00:47:13 +01:00
dw
ad44ad16f1
Merge pull request #385 from moreati/python-3.x-cleanups
...
Test with Tox on Python 3.x
2018-10-03 00:35:25 +01:00
dw
f3ee4011cc
Merge pull request #386 from moreati/doc-cleanups
...
Documentation cleanups
2018-10-03 00:34:49 +01:00