Commit Graph

21 Commits

Author SHA1 Message Date
David Wilson fb8bad934b issue #275: Don't use -U in ansible_tests.sh -- forces paramiko upgrade 2018-06-25 01:36:50 +01:00
David Wilson b7eb96d116 issue #275: tests: don't explicitly specify interpreter path. 2018-06-25 01:36:46 +01:00
David Wilson c00e7ed367 tests: paralellize vanilla Ansible run. 2018-05-06 10:36:28 +01:00
David Wilson be5c03c152 tests: many test fixes. Travis broken for >1 week. 2018-05-04 20:28:05 +01:00
David Wilson 2c141a741c tests: remove -vvv, Travis only does 4MB of log. 2018-05-04 18:13:58 +01:00
David Wilson ac9f416bc1 tests: make Ansible tests run again. 2018-05-04 18:00:18 +01:00
David Wilson 46a311165e issue #148: parent: prevent race in iter_read()
There is no guarantee on the ordering select() returns file descriptors.
So if, e.g. in the case of sudo_nonexistent.yml, sudo prints an error
to a single FD before exitting, there was previously no gurantee
iter_read() would read off the error before failing due to detecting
disconnect on any FD.

Now instead we keep reading while any non-disconnected FD exists.
2018-04-18 21:58:31 +01:00
David Wilson d827bdb848 tests: fixes to get regression/ running under vanilla Ansible 2018-04-18 15:30:31 +01:00
David Wilson 3f7dfd6344 tests: tidy up dross after fixing issue. 2018-04-17 17:09:32 +01:00
David Wilson 235cf5e734 tests: more debug for travis 2018-04-17 16:40:08 +01:00
David Wilson b8908919b1 Arrange for sshpass to be installed. 2018-04-17 15:34:27 +01:00
David Wilson 3a0618684f tests: build the test binary custom modules 2018-04-17 13:41:16 +01:00
David Wilson f7db338d12 tests: more ansible_test tweaks 2018-04-16 19:05:54 +01:00
David Wilson 3e2abf36d5 tests: ansible_test shouldn't have a default become password 2018-04-16 18:57:37 +01:00
David Wilson c2f94017c7 tests: ensure perms for SSH private key 2018-04-16 17:55:38 +01:00
David Wilson b81a47649e tests: use non-root SSH user to connect to Docker image in ansible_test. 2018-04-16 16:19:53 +01:00
David Wilson 7a078a458c tests: run ansible with -vvv to catch copy hang 2018-04-16 15:13:17 +01:00
David Wilson 44f09a9912 tests: don't run MODE=ansible against localhost on Travis 2018-04-16 15:01:43 +01:00
David Wilson 6df796c7b6 tests: fix Ansible jobs to run on Debian/CentOS images too. 2018-04-16 14:53:45 +01:00
David Wilson 26cc0f2724 issue #164: fix remote_tmp handling on <2.5 2018-04-04 20:19:46 +01:00
David Wilson 3ebe600389 issue #164: convert "examples" into actual tests
- Add new Travis mode, "ansible_tests.sh" that runs
  integrations/all.yml. Slowly build this up over time to cover more of
  the existing junk.

- Add basic assertions on the output of the existing runner__* files.

- Wire up 2.4.3/2.5.0 jobs in Travis.
2018-04-04 20:01:23 +01:00