* origin/ci280:
ci: Another round of fixes for random Ansible UI breakage in 2.7/2.8
ci: work around various broken aspects of Travis VM image
Use virtualenv Python for stub connections to workaround problem
ci: Ansible 2.8 requires Python 2.7.
tests: add 2.8 format async error timeout message
ansible: prevent tempfile.mkstemp() leaks.
update gitignore again
ci: try bumping more Travis jobs to Ansible 2.8.
add .*.pid to gitignore
tests: allow running without hdrhistograms library.
issue #578: update Changelog.
travis: exclude docs-master from CI
issue #589: ensure real FileService/PushFileService are in the docs
issue #589: ensure real FileService/PushFileService are in the docs
docs: add new contributor entry
issue #589: remove outdated/incomplete examples
issue #589: split services example out and make it run.
- Symlink broken Ubuntu Python package pieces back together. See many
Google hits about this issue.
- Remove apt sources that can no longer be updated.
../data/stubs/stub-kubectl.py exec -it localhost -- /usr/bin/python -c "...":
Traceback (most recent call last):
File "<string>", line 1, in <module>
LookupError: unknown encoding: base64
It's not clear why this is happening. "stub-kubectl.py" is executed with
the 2.7 virtualenv, while the exec() that happens inside stub-kubectl
was for "/usr/bin/python".
That second Python can't find chunks of its stdlib:
stat("/usr/lib/python2.7/encodings/base64", 0x7ffde8744c60) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/encodings/base64.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/encodings/base64module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/encodings/base64.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/encodings/base64.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Traceback (most recent call last):\n", 35) = 35
write(2, " File \"<string>\", line 1, in <module>\n", 39) = 39
* origin/issue590:
issue #590: disable distro test on vanilla
ci: Ansible 2.8 jobs aren't running against all host types.
tests: Py3.x fix.
issue #590: fix test for <2.8 Ansibles.
tests: Py3.x fix.
issue #590: actually run Ansible test.
tests: Py3.x fix.
master: sysconfig did not exist until 2.7.
tests: rearrange test modules again, they're used in multiple places
module_finder_test: mask one more difference between unit2 vs. direct start
master: fix _is_stdlib_path() failure on Ubuntu.
issue #590: add dummy package for new test.
issue #590: add FinderMethod docstrings.
issue #590: update comment to indicate the hack is permanent
issue #590: move example modules to module_finder/, fix/add tests
issue #590: refactor ModuleFinder and teach it a new special case.
issue #590: Ansible test for module_utils.distro use.
issue #590: teach importer to handle self-replacing modules
Now it's possible to find both packages and modules when the
sys.modules[...] state for the package/module is junk. Previously only
modules were possible.
This also refactors things to make writing better tests for all these
cases much simpler.