David Wilson
da391f0542
tests: fix host limit.
2018-08-18 16:43:59 +01:00
David Wilson
ce058eb8bd
Add 'clean' target to makefile.
2018-08-18 16:43:59 +01:00
David Wilson
8eb288856c
issue #338 : run /etc/environment test with become:true.
2018-08-18 16:43:59 +01:00
David Wilson
ad365dad56
issue #340 : one more test, update Changelog.
2018-08-18 16:43:59 +01:00
David Wilson
916e46621b
issue #340 : add connection delegation tests.
2018-08-18 16:43:59 +01:00
David Wilson
aed8fb531b
tests: unused imports
2018-08-18 16:43:59 +01:00
David Wilson
d39efd9f54
tests: add new users for conndel tests.
2018-08-18 16:43:59 +01:00
David Wilson
e48e32cd0c
tests: image_prep fixes.
2018-08-18 16:43:59 +01:00
David Wilson
e1306bb03d
tests: build Docker images in parallel
2018-08-18 16:43:59 +01:00
David Wilson
df112be704
tests: teach controller.yml to configure git too
2018-08-18 16:43:59 +01:00
David Wilson
49c804937d
tests: import 2 more simple benchmarks.
2018-08-18 16:43:59 +01:00
David Wilson
b521f215fd
ansible: handle >2.6 magic exceptions + sys.excepthook damage
...
Closes #332 .
2018-08-18 16:43:59 +01:00
David Wilson
a192935daf
tests: merge build_docker_images.py with osx_setup.yml
...
Hooray!
2018-08-18 16:43:59 +01:00
David Wilson
6f524d3ff8
issue #339 : minimal tests for lxc/lxd modules.
2018-08-18 16:43:59 +01:00
David Wilson
2c2fc73b0a
tests: whups, s/ansible_hostname/ansible_host/
2018-08-18 16:43:59 +01:00
David Wilson
6c4b01642c
ansible: don't crash when adhoc tries to run a missing module.
...
ansible-playbook prints a separate error during parsing stage, adhoc
performs no such check.
2018-08-18 16:43:59 +01:00
David Wilson
b964e647d2
tests: split inventory up slightly.
...
This makes it easier to run connection delegation tests against either
the local machine or a container.
2018-08-18 16:43:59 +01:00
David Wilson
1473f49505
ansible: emulate /etc/environment reloading behaviour of vanilla.
...
This change is relatively incomplete -- ideally we could snapshot
os.environ and /etc/environment at startup and respect key deletions
too, but that's a lot more work. Wait for a bug report instead.
Closes #338 .
2018-08-18 16:43:59 +01:00
David Wilson
a05835c46e
tests: more stable roundtrip.py.
2018-07-30 00:45:40 -07:00
David Wilson
3e0de9790c
issue #324 : fix Python 3 fallout for custom module_utils.
...
Also enable at last one of its tests.
2018-07-28 16:21:09 -07:00
David Wilson
1008cda93b
tests: add missing debops installs tep
2018-07-27 13:37:29 -07:00
David Wilson
b44b823c4a
ansible: make _remote_expand_user() pay attention to sudoable=..
2018-07-25 19:27:25 +00:00
David Wilson
a8e4dcc98d
issue #301 : correct remote_tmp evaluation context.
...
Vanilla Ansible expands remote_tmp variables in the context of the login
account, not any become_user account.
2018-07-23 21:43:06 -07:00
David Wilson
9410903f20
issue #301 : add related test.
2018-07-23 14:52:18 -07:00
David Wilson
b6d6468c92
issue #301 : support expandvars() for remote_tmp only.
...
Vanilla Ansible support expandvars-like expansions widely in a variety
of places. Prefer to whitelist those we need, rather than sprinkling
hellish semantics everywhere.
2018-07-22 16:25:06 -07:00
David Wilson
1a74938ee0
issue #291 : missing env_wrapper.sh test script.
2018-07-22 16:25:06 -07:00
David Wilson
e39c602fd3
issue #291 : support UNIX hashbang syntax for ansible_*_interpreter.
...
Closes #291 .
2018-07-22 16:24:42 -07:00
David Wilson
f977be2868
issue #291 : permit supplying a full Python argv.
2018-07-22 16:24:42 -07:00
David Wilson
15d68b3c32
issue #309 : fix environment cleanup regression.
...
Closes #309 .
2018-07-19 10:59:18 -04:00
David Wilson
830a133ad6
issue #307 : require partial line when matching interactive prompt.
...
This is a best-effort attempt to avoid SSHd banner spam from breaking
our password entry loop.
Closes #307 .
2018-07-17 20:49:45 +01:00
David Wilson
8ce51ec96c
issue #307 : add SSH login banner to Docker containers
2018-07-17 17:44:59 +01:00
David Wilson
0b1f92b59f
issue #297 : test fixes to match fixed CWD.
2018-07-10 18:48:11 +01:00
David Wilson
d8e0c9e12c
issue #297 : local commands must execute with WorkerProcess environment.
2018-07-10 18:42:09 +01:00
David Wilson
012745efea
issue #297 : local actions must execute with fixed directory.
...
Local actions must execute in the the parent directory of the playbook
that defines the action.
2018-07-10 17:56:05 +01:00
David Wilson
26ba3e4d83
issue #294 : stronger integration test
...
Run the tests in a brand new ansible-playbook invocation, and try both
linear->mitogen->linear and mitogen->linear->mitogen.
2018-07-10 17:52:20 +01:00
David Wilson
5b03e06457
issue #294 : ansible: fix mixed vanilla/Mitogen runs.
...
Don't bother trying to understand what damage PluginLoader has done to
ansible.plugins.* namespace, just ask it for the base class instead.
2018-07-09 15:48:17 +01:00
David Wilson
5668267f47
tests: import debug_ansible_playbook.sh.
2018-07-09 15:33:44 +01:00
David Wilson
e1402b2214
tests: import various bench/ scripts.
2018-07-09 15:33:44 +01:00
David Wilson
8a2e8964a9
tests: import gce.yml
2018-07-09 15:33:44 +01:00
David Wilson
079dc95aef
tests: use nice_stdout in gcloud/ too
2018-07-09 15:33:44 +01:00
David Wilson
b21d51be47
ansible: fix test for 3.x.
2018-07-07 14:55:47 +01:00
David Wilson
04e138e060
core: fix serialization of empty bytes() on 3.x.
2018-07-07 14:55:47 +01:00
David Wilson
b4f4b66679
tests: make cpu_load.py more random.
2018-07-07 14:55:47 +01:00
David Wilson
46ec0ffcaf
tests: log original traceback in assertRaises().
2018-07-07 14:55:47 +01:00
David Wilson
3e48f95439
tests: import cpu_load.py.
2018-07-07 14:55:47 +01:00
David Wilson
7ff9d573b6
tests: remove stray enable_debug()
2018-07-07 14:55:47 +01:00
David Wilson
4ff47d6a93
parent: more 2/3x format fixes
2018-07-07 14:55:47 +01:00
David Wilson
90f2f823db
tests: remove stray hard-coded interpreter.
2018-07-07 14:55:47 +01:00
David Wilson
6b4e047017
tests: 3.x parent_test fixes.
2018-07-07 14:55:47 +01:00
David Wilson
6cbf34d5fe
tests: another smattering of 3.x type/API fixes.
2018-07-07 14:55:47 +01:00