Commit Graph

990 Commits (fdac4ecce8e2122ca754d0a86e0dc4415ecbcb7c)
 

Author SHA1 Message Date
David Wilson c7e798e800 tests: stop burning CPU until this one job is fixed. 6 years ago
David Wilson 1fa377152d ansible: extra planner log messages. 6 years ago
David Wilson 0046a3de0b tests: insert debug print for travis :( 6 years ago
David Wilson ef47347cdf tests: raft of fixes for vanilla Ansible 6 years ago
David Wilson b8908919b1 Arrange for sshpass to be installed. 6 years ago
David Wilson 117607d742 ansible: fix new-style module argv[0]
Previously it was the absolute path to the module on the master. This is
wrong, it should be the temporary file name on the target.
6 years ago
David Wilson f360a1b653 ansibe: fix type check for previous commit 6 years ago
David Wilson 54452c4015 service: fix UnboundLocalError. 6 years ago
David Wilson 89e11ed25c tests: make osx_setup a little more generic again 6 years ago
David Wilson 2c3d2db4ec tests: fix output checks for Linux 6 years ago
David Wilson 7e49e73683 tests: add perl-JSON to the test images too.
Needed for the runner tests.
6 years ago
David Wilson ac80bf12f0 tests: start making osx_setup.yml more generic 6 years ago
David Wilson 16b5aa2d10 tests: disable host key checking for Paramiko. 6 years ago
David Wilson 3a0618684f tests: build the test binary custom modules 6 years ago
David Wilson 202ce0f641 Prevent construction of unicode Message.data
And fix one case of it in parent.py.
6 years ago
David Wilson 41d2661ecb tests: fix sudo rule order. 6 years ago
David Wilson 9eacf8faa9 ansible: forward exceptions as job results too.
Ref #191.
6 years ago
David Wilson c8ce3059d1 ansible: make FileService register method synchronous
On Travis it seems it is possible for the fetch message to reach
FileService before the register message is fully processed.
6 years ago
David Wilson c83b113600 service: log better warning when CallError raised. 6 years ago
David Wilson ed915b6e63 tests: magic mitogen_shutdown_all action
LRU tests break when run as part of the whole suite rather than
individually, because LRU stuff is already happening for earlier tests.
6 years ago
David Wilson 6614d17021 tests: explicit sudo rules to require password from sudo_nopw
This account is used on Travis. It needs to be forced to type passwords
in some cases
6 years ago
David Wilson f7db338d12 tests: more ansible_test tweaks 6 years ago
David Wilson 3e2abf36d5 tests: ansible_test shouldn't have a default become password 6 years ago
David Wilson ba8022424b tests: more work to standardize user accounts. 6 years ago
David Wilson c2f94017c7 tests: ensure perms for SSH private key 6 years ago
David Wilson ce6fb05d87 tests: 'fix' responder test.
Needs a complete rewrite, but this will do for now.
6 years ago
David Wilson f9eb66e76e _py_filename() must handle None too. 6 years ago
David Wilson b81a47649e tests: use non-root SSH user to connect to Docker image in ansible_test. 6 years ago
David Wilson 00aef80fac tests: /bin/bash login shell for all users. 6 years ago
David Wilson 63e2ec6406 tests: expanduser lookup runs locally 6 years ago
David Wilson 472610805f tests: fix remote_tmp test on 2.5.x. 6 years ago
David Wilson 34a1e3337f Fix get_module_via_sys_modules when running under unit2. 6 years ago
David Wilson 7a078a458c tests: run ansible with -vvv to catch copy hang 6 years ago
David Wilson 5b4d17dba8 tests: dump Ansible hosts after creating it 6 years ago
David Wilson 44f09a9912 tests: don't run MODE=ansible against localhost on Travis 6 years ago
David Wilson 5de72d378f tests: fix debops_tests username rename. 6 years ago
David Wilson b0d1cb4501 tests: fix DebOps tests for new image tag names. 6 years ago
David Wilson 6df796c7b6 tests: fix Ansible jobs to run on Debian/CentOS images too. 6 years ago
David Wilson c33394d49b tests: add TRAVIS_BUILD_DIR to PYTHONPATH for debops 6 years ago
David Wilson f20687db39 tests: fix permission error on Travis. 6 years ago
David Wilson c12ae16369 issue #159: tidy up service.py docstrings again. 6 years ago
David Wilson e2eac65347 tests: import mitogen_ansible_playbook.sh helper 6 years ago
David Wilson 89676b1257 tests: put unittest.skip() around fakessh tests for the time being 6 years ago
David Wilson 6390e36a4e tests: document selecting a target distribution. 6 years ago
David Wilson 15e30e8ac5 tests: Add a Travis target for CentOS images. 6 years ago
David Wilson f203a91e1a tests: support CentOS Docker images.
- namespace & document test accounts in README.md
- standardize the password format everywhere, and ensure the passwords
  differ everywhere.
- Add MITOGEN_TEST_DISTRO environment variable.
6 years ago
David Wilson 6aad45748b docs: typo 6 years ago
David Wilson 9f94fb78c8 issue #159: make LRU size configurable. 6 years ago
David Wilson a96969ee29 docs: concision 6 years ago
David Wilson cc980569a3 issue #159: initial context LRU implementation
Now Connection.close() *must* be called in the worker, to ensure the
reference count for a context drops correctly.

Remove 'discriminator' for now, I'm not using it for testing any more
and it complicated this code.

This code is a car crash, it needs rewritten again. Ideally some/most of
this behaviour could live on services.DeduplicatingService somehow, but
I couldn't come up with a sensible design.
6 years ago