Commit Graph

32 Commits (5ae5bb94ac0807b99280a0760c4a921fcff873eb)

Author SHA1 Message Date
Alex Willmer 3a1b5ec620 CI: Increase sshd MaxAuthRetries to 50 on macOS runners
refs #1186
2 weeks ago
Alex Willmer e9bddf0c03 CI: Use templated ansible_user for localhost Ansible tests
refs #1022, #1116
1 month ago
Alex Willmer 60f868290d
tests: Remove --limit when running Ansible localhost CI
Some tests were being incorrectly excluded. Including those that use
`add_host`.
refs #1066, #1069
7 months ago
Alex Willmer 5ad3d14ceb mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12
importlib.machinery.ModuleSpec and find_spec() were introduced in Python 3.4
under PEP 451. They replace the find_module() API of PEP 302, which was
deprecated from Python 3.4. They were removed in Python 3.12 along with the
imp module.

This change adds support for the PEP 451 APIs. Mitogen should no longer import
imp on Python versions that support ModuleSpec. Tests have been added to cover
the new APIs.

CI jobs have been added to cover Python 3.x on macOS.

Refs #1033
Co-authored-by: Witold Baryluk <witold.baryluk@gmail.com>
8 months ago
Alex Willmer 18c89de5a9 Remove unused module imports 3 years ago
Alex Willmer 0417d4d73a Replace os.system() with subprocess.check_call()
Non-zero return codes should raise an exception, not pass silently.
3 years ago
Alex Willmer c61c063b4f Support for Ansible 3 & 4
fixes #834

Co-authored-by: Claude Becker (@upekkha)
Co-authored-by: Dolph Mathews (@dolph)
3 years ago
Alex Willmer 3ba1625a99 ci: Reduce verbosity of Ansible integration tests 3 years ago
Steven Robertson 86e63fda85 don't run sshpass install through run 4 years ago
Steven Robertson ddb87f6b0c azure tests don't like sshpass v1.06 so pegging to 1.05 4 years ago
Steven Robertson b68d4e9a7f fix Error: Calling Non-checksummed download of sshpass formula file from an arbitrary URL is disabled 4 years ago
Steven Robertson 207e36194d try and get some visibility into test failures 4 years ago
Steven Robertson 2303bef7c8 any amount of v is too much v, even when viewing tests in raw log file mode 4 years ago
Steven Robertson d017b60f47 2 v freezes things...this is impossible to debug 4 years ago
Steven Robertson 40d53bcf96 3 v is too much v for azure devops to render 4 years ago
Steven Robertson f91cbf4d00 test cleanup and trying to replicate synchronize fails 4 years ago
Steven Robertson 55c5a274cc install community.general collection 4 years ago
Steven Robertson 3a3b8bcb80 oops, forgot a ) 4 years ago
Steven Robertson 437761ebef more test scripts 4 years ago
Steven Robertson bacc752ff2 Pegs python 2 version, removes unused imports, fixes sudden ssh dir with bad perms, generates key for sudo user as well in tests 4 years ago
Steven Robertson b4288f02c7 find out why mitogen__readonly_homedir works locally but not on azure 5 years ago
Steven Robertson 5c27e07d3c adding verbosity 5 years ago
Steven Robertson e138286185 remove verbosity 5 years ago
Steven Robertson 747a75a0e9 adding logging again 5 years ago
Steven Robertson 5fbcb9e28c reverting -vvv 5 years ago
Steven Robertson 868de4e5ba added ability to repro current virtualenv bug behind a proxy, and adding verbosity to see why azure is unhappy 5 years ago
David Wilson 57db3a36e1 issue #543: install virtualenv for Azure 5 years ago
David Wilson f3915b5f40 issue #543: disable host key checking 5 years ago
David Wilson edb745f434 issue #543: create ~/.ssh if it doesn't exist 5 years ago
David Wilson 92de2abeea issue #543: use key from Git, newer ssh-keygen unsupported by Paramiko 5 years ago
David Wilson 501cfca82b issue #543: make localhost_ansible_tests run locally 5 years ago
David Wilson 4ced885619 issue #543: localhost_ansible scripts. 5 years ago