Commit Graph

1714 Commits

Author SHA1 Message Date
David Wilson c89675112b issue #410: update changelog 2018-10-31 16:43:27 +00:00
David Wilson 731b4ac841 Merge remote-tracking branch 'origin/dmw'
- issue #410 sudo additions
2018-10-31 15:48:05 +00:00
David Wilson fadb9181bc issue #410: support sudo --user and SELinux options, add stub test. 2018-10-31 15:46:59 +00:00
David Wilson 0d410aef51 docs: fix internals.rst headings. 2018-10-31 15:08:27 +00:00
David Wilson 0394dac2c7 docs: document RouteMonitor class. 2018-10-31 15:06:47 +00:00
David Wilson 95f95ce868 Update PULL_REQUEST_TEMPLATE.md. 2018-10-31 13:14:30 +00:00
David Wilson 1502e90599 Import PULL_REQUEST_TEMPLATE.md. 2018-10-31 12:56:03 +00:00
David Wilson 252a8c643c Merge remote-tracking branch 'origin/dmw'
- issue #409. Closes #409.
2018-10-31 12:46:05 +00:00
David Wilson 7314b54afd issue #409: update Changelog. 2018-10-31 12:44:25 +00:00
David Wilson 144685a327 issue #409: more lxc/lxd stub tests, let tests run on vanilla. 2018-10-31 12:41:32 +00:00
David Wilson 54445470e2 issue #409: add missing path config variables to severa plugins
So every method can be redirected to a stub implementation.
2018-10-31 12:40:08 +00:00
David Wilson a68675af8b issue #409: fix reference error in kubectl.py. 2018-10-31 12:39:43 +00:00
David Wilson 05f9fb4dd8 issue #409: don't run kubectl test in <2.5. 2018-10-31 12:13:50 +00:00
David Wilson 0e8f451190 issue #409: add stub LXC test, refactor playbooks. 2018-10-31 12:12:17 +00:00
David Wilson e832ddec13 issue #409: mark sudo test noninteractive 2018-10-31 11:54:51 +00:00
David Wilson a77f07659e issue #409: make setns test to work anywhere sudo works. 2018-10-31 01:10:41 +00:00
David Wilson 48942a8a30 issue #409: updat Changelog. 2018-10-31 00:52:06 +00:00
David Wilson 18af1dfb51 ansible: kubectl_path argument appears in wrong connection method
Closes #409.
2018-10-31 00:48:11 +00:00
David Wilson f2294c1678 issue #409: add new stub_connections/ test type. 2018-10-31 00:47:47 +00:00
David Wilson 429832b8f7 issue #409: add kubectl stub and constructor test. 2018-10-31 00:46:47 +00:00
David Wilson c51b67b863 issue #409: add test stubs to the PATH in run_ansible_playbook.py 2018-10-31 00:08:57 +00:00
David Wilson 51658fdd66 issue #409: name-prefix stubs so they can be added to PATH
Allows us to reference them from playbooks easily.
2018-10-31 00:08:33 +00:00
David Wilson 5b916fc556 issue #409: Pythonize run_ansible_playbook.sh
And add git_basedir extra variable.
2018-10-30 23:58:45 +00:00
David Wilson 48e8f1f7aa tests: Pythonize write_all_consumer.py 2018-10-30 23:12:16 +00:00
David Wilson f53e7dd637 tests: Pythonize another shell script. 2018-10-30 23:09:06 +00:00
David Wilson 332d128651 tests: get rid of some more shell 2018-10-30 23:06:32 +00:00
David Wilson b98b7d1da4 Merge remote-tracking branch 'origin/dmw'
- poller tests, event versioning
- issue #373
2018-10-30 22:42:05 +00:00
David Wilson 026710cb28 issue #373: update Changelog. 2018-10-30 22:41:28 +00:00
David Wilson 71f9e84ab3 Add EOF error hints for LXC/LXD; closes #373. 2018-10-30 22:39:35 +00:00
David Wilson d5a8293c91 issue #333: closure & data distinctness tests. 2018-10-30 21:42:26 +00:00
David Wilson 22b4b186d7 issue #333: add versioning to EpollPoller too. 2018-10-30 21:26:54 +00:00
David Wilson 73cda2994f issue #333: add versioning, initial batch of poller tests
Now poller is start enough to know a start_receive() during an iteration
does not cause events yielded by that iteration to associate with the
wrong descriptor.

These changes are tangentially related to the associated ticket, but
event versioning is still the underlying issue.
2018-10-30 21:20:33 +00:00
David Wilson 1198164ce6 docs: Changelog typos. 2018-10-30 15:24:50 +00:00
David Wilson e643d67cd5 Merge remote-tracking branch 'origin/dmw'
- issue #334
2018-10-30 15:03:10 +00:00
David Wilson 766dce9a59 docs: update Changelog 2018-10-30 15:02:46 +00:00
David Wilson 96f000c5ea ansible: tilde-expand SSH key before passing to SSH; closes #334. 2018-10-30 14:58:35 +00:00
David Wilson 9aa76cf9ce tests: better Docker test key comment. 2018-10-30 11:20:32 +00:00
David Wilson 9ba0561dd2 Merge remote-tracking branch 'origin/dmw'
- issue #411: fix check_host_keys="accept"
- issue #305: dead message if max message size exceeded
- issue #369: implement Connection.reset()
- issue #76: disconnect propagation
- log format string fixes
- various 2/3 test fixes
- large message benchmark
- centralize stub client utils in data/stubs/
- activate faulthandler in tests
- better OpenSSH 7.5+ permission denied handling
2018-10-30 11:13:28 +00:00
David Wilson d81698c43a docs: update Changelog. 2018-10-30 10:55:26 +00:00
David Wilson 1cbff1011e core: send dead message if max message size exceeded; closes #405 2018-10-30 10:53:54 +00:00
David Wilson 1eae594e32 ssh: fix check_host_keys="accept" and test; closes #411
Add real accept/enforce tests.
2018-10-30 10:35:45 +00:00
David Wilson cf50b572f6 docs: update ChangeLog. 2018-10-30 10:24:53 +00:00
David Wilson 16ca111ebd ssh: better OpenSSH 7.5+ permission denied handling
The user@host prefix in new-style OpenSSH messages unfortunately takes
the host part from ~/.ssh/config and friends. There is no way to know
which hostname will appear in this string without parsing the OpenSSH
config, nor which username will appear.

Instead just regex it.

Add SSH stub modes to print the new/old errors and add some simple
tests.

This extends the work done in b9112a9cbb
2018-10-30 10:20:04 +00:00
David Wilson b527ff0b66 docs: update Changelog; closes #369. 2018-10-29 19:45:43 +00:00
David Wilson 536690760d issue #369: teach CallChain to reset the connection. 2018-10-29 19:41:03 +00:00
David Wilson 33412927f5 issue #369: refactor Connection to support reset()
Now the tests pass.
2018-10-29 19:34:50 +00:00
David Wilson 9b7c958e2e issue #369: refactor ContextService to support reset(). 2018-10-29 19:30:56 +00:00
David Wilson 519faa3b3b issue #369: add Connection.reset() test. 2018-10-29 18:54:26 +00:00
David Wilson 89852db163 issue #370: add 'disconnect resets connection' test 2018-10-29 16:32:34 +00:00
David Wilson c510e58f9b issue #352: add test for disconnect message. 2018-10-29 15:59:36 +00:00