Commit Graph

477 Commits

Author SHA1 Message Date
David Wilson 5f815ec6c4 tests: try to fix PATH problem on Travis. 2018-11-05 17:25:59 +00:00
David Wilson f5f72b958f tests: avoid -u command line parameter conflict 2018-11-05 17:25:59 +00:00
David Wilson 0c3e48468b tests: run disconnect_during_module.yml in subprocess
Avoid entire run failing with unreachable
2018-11-05 13:33:33 +00:00
David Wilson 35092c5d35 tests: Unicode/bytes fixes for integration/connection/exec_command.yml 2018-11-05 13:15:40 +00:00
David Wilson 4d443e654b tests: replace another shell script. 2018-11-05 13:15:40 +00:00
David Wilson 9ad022107e issue #414: disable test until rest of CI is healthy 2018-11-05 13:00:47 +00:00
David Wilson b29c8eaf2a tests: allow passing -vvv to build_docker_images. 2018-11-05 13:00:47 +00:00
David Wilson f87553b165 tests: must set ansible_become_pass in synchronize.yml. 2018-11-05 13:00:47 +00:00
David Wilson 816da64df5 tests: show task args in image_prep 2018-11-05 13:00:47 +00:00
David Wilson 174b685d16 tests: CentOS 6 lacks %wheel in sudo by default. 2018-11-05 13:00:47 +00:00
David Wilson 574fc27a9c issue #414: import test / reproduction. 2018-11-05 13:00:47 +00:00
David Wilson c286f4f107 Add tests/ansible/requirements.txt to Tox. 2018-11-05 13:00:47 +00:00
David Wilson cd6486b0e9 tests: fix more DisconnectTest raciness. 2018-11-05 13:00:47 +00:00
David Wilson e180d310b5 tests: fix fork_test compat on 3.x. 2018-11-04 20:27:52 +00:00
David Wilson 3f46c9569c tests: 3.x syntax compat for tests/data/stubs/ 2018-11-04 20:17:09 +00:00
David Wilson 27a4001f4f tests: handle NameError when faulthandler is not installed. 2018-11-04 19:49:17 +00:00
David Wilson 5482b4d528 tests: poller_test 3.x fix. 2018-11-04 19:48:42 +00:00
David Wilson 3836c6a220 tests/bench: run roundtrip.py a ton more to reduce variance 2018-11-04 19:45:02 +00:00
David Wilson d1b7c232bf tests: image_prep needs sudo 2018-11-04 18:57:11 +00:00
David Wilson cf97932fad core: dead messages have optional body, use it everywhere; closes #387. 2018-11-04 15:26:25 +00:00
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.
2018-11-04 13:48:34 +00:00
David Wilson e01c8f2891 issue #406: 3.x syntax fixes. 2018-11-04 11:57:50 +00:00
David Wilson 003526ef7b issue #406: fix thread leaks in unix_test too. 2018-11-04 01:54:50 +00:00
David Wilson eae1bdba4e tests: make minify_test print something useful on failure 2018-11-04 01:48:04 +00:00
David Wilson 802efa6ea6 issue #406: ensure broker_test waits for broker exit. 2018-11-03 20:55:30 +00:00
David Wilson 175fc377d2 tests: remove hard-wired SSL paths from fork_test. 2018-11-03 20:38:39 +00:00
David Wilson 3da4b1a420 tests: verify only main/watcher threads exist at teardown 2018-11-03 20:13:11 +00:00
David Wilson b0dd628f07 issue #406: parent_test fixes, NameError in log_fd_calls(). 2018-11-03 19:49:13 +00:00
David Wilson 6ff1e001da issue #406: log socketpair calls too. 2018-11-03 15:48:31 +00:00
David Wilson 70c550f50c issue #406: close stdout pipes in parent_test 2018-11-03 15:02:54 +00:00
David Wilson 9b3cb55a8b issue #4096: import log_fd_calls() helper. 2018-11-03 15:01:45 +00:00
David Wilson 8a0b343760 issue #406: test for FD leak after every TestCase 2018-11-03 13:28:37 +00:00
David Wilson e9a6e4c3d2 issue #406: add test. 2018-11-03 12:39:29 +00:00
David Wilson 5eff8ea4fb tests: make result_shell_echo_hi compare less of the timedelta; closes #361
Assuming less than one second is too much to ask from Travis.
2018-11-02 15:14:00 +00:00
David Wilson 5be9a55bf4 core: allow Context to be pickled by non-Mitogen pickler. 2018-11-01 20:15:16 +00:00
David Wilson c148c869e6 issue #76, #370: add disconnect cleanup test 2018-11-01 20:04:18 +00:00
David Wilson aeec2b5054 tests: pad out minify_test to verify all internal modules 2018-11-01 14:33:19 +00:00
David Wilson f2d288bb1e tests: ensure minify() result can be compiled for all of core. 2018-11-01 14:23:15 +00:00
David Wilson fd326f5ad7 tests: stub tests for doas/mitogen_doas 2018-11-01 00:49:26 +00:00
David Wilson cbd4129cb9 tests: fix paramiko_unblemished.yml 2018-10-31 19:15:23 +00:00
David Wilson e8fc9e490f tests: update osa_delegate_to_self to match connection parameters 2018-10-31 19:14:58 +00:00
David Wilson 6c71c5bfef issue #369: disable reset_connection on Ansible<2.5.6
https://github.com/ansible/ansible/issues/27520
2018-10-31 18:30:03 +00:00
David Wilson 8ed72e7e7b issue #369: avoid Ansible 2.5 bug (cond_reset_warn missing method) 2018-10-31 18:18:49 +00:00
David Wilson ab4ccc6b92 issue #369: don't mass-kill all SSH clients in reconnection.yml
It breaks my new development environment :)
2018-10-31 16:43:27 +00:00
David Wilson fcdf4a0f35 Import missing stub-sudo.py. 2018-10-31 16:43:27 +00:00
David Wilson a6dd8bb2d0 issue #409: stub test for mitogen_sudo method. 2018-10-31 16:43:27 +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 144685a327 issue #409: more lxc/lxd stub tests, let tests run on vanilla. 2018-10-31 12:41:32 +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