Commit Graph

1592 Commits

Author SHA1 Message Date
David Wilson 498db57ec8 issue #360: ansible: missing lock around ContextService.put(). 2018-10-02 19:19:30 +01:00
David Wilson f8bf780e21 issue #362: Py3.x fixes. 2018-10-02 19:19:30 +01:00
David Wilson 9fadd22396 docs: update Changelog; closes #362. 2018-10-02 19:19:30 +01:00
David Wilson f8b6c774dd issue #362: cap max open files in children. 2018-10-02 19:19:30 +01:00
David Wilson 86ff2cc768 bodge. 2018-10-02 19:19:30 +01:00
David Wilson 2eb3ea78d6 tests: remove a bunch of stray debug 2018-10-02 19:19:30 +01:00
David Wilson 21a7aac220 tests: import custom binaries for tests
Same for async tests.
2018-10-02 19:19:30 +01:00
David Wilson dfb4930fce tests: import custom binaries for tests
It means Linux<->OS X runs work fine without manual hackery.
2018-10-02 19:19:30 +01:00
David Wilson 564113874b tests: explicitly define localhost in common-hosts 2018-10-02 19:19:30 +01:00
David Wilson e58b6a8f05 tests: correct path for common-hosts 2018-10-02 19:19:30 +01:00
David Wilson 5521945bd2 ansible: temporary files take 5. 2018-10-02 19:19:30 +01:00
David Wilson f6b74992e1 tests: fix apparently erroneous localhost delegation.
The stack delegates to localhost, which has ansible_python_interpreter
set.
2018-10-02 19:19:30 +01:00
David Wilson e85760477b tests: fix connection/_put_file.yml
Was statting wrong destination path, and comparing floats that don't
roundtrip serialization reliably.
2018-10-02 19:19:30 +01:00
David Wilson 0cf908661e tests: set Docker hostname for more readable exceptions 2018-10-02 19:19:30 +01:00
David Wilson 638e473ff1 tests: hacksmash synchronize test to work
Avoid password typing idiocy.
2018-10-02 19:19:30 +01:00
David Wilson 43ad23946e docs: tidy up wording. 2018-10-02 19:19:30 +01:00
David Wilson 3660febeb2 docs: add inline subscribe form to installation instructions 2018-10-02 19:19:30 +01:00
dw 1a5dadf732
Merge pull request #383 from moreati/pytz-2018.05
Update pytz to 2018.05 (needed by babel 2.6.0)
2018-10-01 21:27:27 +01:00
dw c408395182
Merge pull request #381 from moreati/ssh-7.5-permission-denied
Match "user@host: Permission denied ..." messages
2018-10-01 20:24:29 +01:00
dw 860618945b
Merge pull request #382 from moreati/docs-build-ignore
Ignore built doc artifacts
2018-10-01 20:23:52 +01:00
dw 8ee4303d1c
Merge pull request #384 from moreati/test-utils-cast
tests: Add tests of mitogen.utils.cast()
2018-10-01 20:23:33 +01:00
Alex Willmer 03be0afeeb tests: Add tests of mitogen.utils.cast() 2018-09-30 21:37:15 +01:00
Alex Willmer 9fbcb67665 Update pytz to 2018.05 (needed by babel 2.6.0)
On Ubuntu 18.04 (others not tested) installing the dev requirements
fails with the following error

babel 2.6.0 has requirement pytz>=0a, but you'll have pytz 2012d which
is incompatible.

Despite the comment in dev_requirements.txt pytz-2012d is not the most
recent version to support Python 2.6. In fact the latest release of pytz
supports Python 2.6.
2018-09-30 21:34:25 +01:00
Alex Willmer b3d8c947c7 Ignore built doc artifacts 2018-09-30 21:26:34 +01:00
Alex Willmer 2c2878012d Match "user@host: Permission denied ..." messages
OpenSSH 7.5 changed the text of the permission denied message. As a
result ssh_test.SshTest.test_password_required and test_pubkey_required
were failing on an Ubuntu 18.04 client, which ships OpenSSH 7.6.

Refs
- https://bugzilla.mindrot.org/show_bug.cgi?id=2720
2018-09-30 21:23:10 +01:00
dw 4356fdf027
Merge pull request #376 from Yannig/kubectl
Kubernetes connection support for mitogen.
2018-09-19 19:39:10 +01:00
dw 67af073f4e
Merge pull request #372 from candlerb/candlerb/371
Use `lxc exec --mode=noninteractive` which is more widely compatible
2018-09-19 19:37:49 +01:00
Yannig Perré 6828926a36 Kubernetes connection support for mitogen. 2018-09-19 16:52:20 +02:00
Brian Candler d1c84552ec Use `lxc exec --mode=noninteractive` which is more widely compatible
Closes #371
2018-09-18 09:10:43 +01:00
David Wilson 49399dfa1a Merge remote-tracking branch 'origin/dmw'
Important FileService fix.
2018-09-10 19:11:17 +01:00
David Wilson 638b196a45 ansible: fix put_file() for large temporary files.
Reverts 49736b3a, large file copies can't avoid the RTT.

The parent stack must be blocked while FileService progresses, as unlike
the small file path, it does not make a snapshot of the (possibly
temporary) file passed by the action plug-in. So we need to keep that
file alive while the service runs.

Add a new integration test and a new soak test to cover both.
2018-09-10 19:09:37 +01:00
David Wilson 530fd18e4c service: wake FileService client on file open failure.
Previously client would hang and excption woud be dumped to logger.
2018-09-10 18:59:29 +01:00
David Wilson dfc67b89fd docs: some more cleanups
- add faulthandler/thread stacks to changelog.
- various api.rst cleanups.
- docs: explain chain_id in howitworks.
2018-09-10 18:33:44 +01:00
David Wilson 001b63074c tests: fix another typo. 2018-09-10 03:18:57 +01:00
David Wilson 6cb0e422e9 docs: changelog typo. 2018-09-10 02:34:05 +01:00
David Wilson 9ff34afafe ansible: fix regression. 2018-09-10 02:28:29 +01:00
David Wilson d5524178bf tests: fix bonehead syntax error. 2018-09-10 02:27:19 +01:00
David Wilson 65f03e03f5 tests: remote_tmp test fixes. 2018-09-10 02:17:01 +01:00
David Wilson 5eb41751f5 tests: import missing connection_passthrough 2018-09-10 01:40:49 +01:00
David Wilson 8e9605db02 ssh: fix another 3.x regression. 2018-09-10 01:34:04 +01:00
David Wilson 90f89f95fb ansible: fix exec_command() regression. 2018-09-10 01:31:15 +01:00
David Wilson 7cd4d0828d tests: data/fakessh.py 3.x fixes. 2018-09-10 01:23:29 +01:00
David Wilson b3be182795 ssh: fix 2/3 regression. 2018-09-10 01:13:27 +01:00
David Wilson 294f17e491 core: fix econtext on_start parameter, used by fork_test. 2018-09-10 01:07:58 +01:00
David Wilson cc4835ce99 docs: update changelog. 2018-09-10 00:44:56 +01:00
David Wilson f0f828033f docs: update changelog. 2018-09-10 00:41:52 +01:00
David Wilson ae446ad7c8 docs: fix changelog 2018-09-10 00:37:24 +01:00
David Wilson c9596568be docs: update changelog. 2018-09-10 00:33:54 +01:00
David Wilson 49736b3ae8 ansible: fix FileService call, and remove another roundtrip. 2018-09-10 00:31:16 +01:00
David Wilson 24a44499ca tests: verify Connection.put_file() for small/large files. 2018-09-10 00:26:14 +01:00