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
2024-05-10 15:58:17 +02:00
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>
2024-03-17 14:57:57 +00:00
Alex Willmer
18c89de5a9
Remove unused module imports
2022-04-23 10:01:06 +01:00
Alex Willmer
0417d4d73a
Replace os.system() with subprocess.check_call()
...
Non-zero return codes should raise an exception, not pass silently.
2022-04-21 20:19:51 +01:00
Alex Willmer
c61c063b4f
Support for Ansible 3 & 4
...
fixes #834
Co-authored-by: Claude Becker (@upekkha)
Co-authored-by: Dolph Mathews (@dolph)
2021-11-12 22:10:53 +00:00
Alex Willmer
3ba1625a99
ci: Reduce verbosity of Ansible integration tests
2021-11-09 19:22:37 +00:00
Steven Robertson
86e63fda85
don't run sshpass install through run
2020-10-20 23:30:07 -07:00
Steven Robertson
ddb87f6b0c
azure tests don't like sshpass v1.06 so pegging to 1.05
2020-10-20 22:16:28 -07:00
Steven Robertson
b68d4e9a7f
fix Error: Calling Non-checksummed download of sshpass formula file from an arbitrary URL is disabled
2020-10-20 21:27:07 -07:00
Steven Robertson
207e36194d
try and get some visibility into test failures
2020-09-27 12:36:34 -07:00
Steven Robertson
2303bef7c8
any amount of v is too much v, even when viewing tests in raw log file mode
2020-09-20 20:02:50 -07:00
Steven Robertson
d017b60f47
2 v freezes things...this is impossible to debug
2020-09-20 17:36:25 -07:00
Steven Robertson
40d53bcf96
3 v is too much v for azure devops to render
2020-09-20 16:33:41 -07:00
Steven Robertson
f91cbf4d00
test cleanup and trying to replicate synchronize fails
2020-09-20 15:40:07 -07:00
Steven Robertson
55c5a274cc
install community.general collection
2020-09-03 22:20:51 -07:00
Steven Robertson
3a3b8bcb80
oops, forgot a )
2020-09-03 21:59:46 -07:00
Steven Robertson
437761ebef
more test scripts
2020-09-03 21:56:08 -07:00
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
2020-07-30 19:44:29 -07:00
Steven Robertson
b4288f02c7
find out why mitogen__readonly_homedir works locally but not on azure
2020-02-18 16:15:12 -08:00
Steven Robertson
5c27e07d3c
adding verbosity
2020-02-16 00:52:49 -08:00
Steven Robertson
e138286185
remove verbosity
2020-02-14 17:05:27 -08:00
Steven Robertson
747a75a0e9
adding logging again
2020-02-14 16:46:00 -08:00
Steven Robertson
5fbcb9e28c
reverting -vvv
2020-02-12 16:12:03 -08:00
Steven Robertson
868de4e5ba
added ability to repro current virtualenv bug behind a proxy, and adding verbosity to see why azure is unhappy
2020-02-12 12:25:23 -08:00
David Wilson
57db3a36e1
issue #543 : install virtualenv for Azure
2019-07-31 01:14:34 +01:00
David Wilson
f3915b5f40
issue #543 : disable host key checking
2019-07-31 01:14:34 +01:00
David Wilson
edb745f434
issue #543 : create ~/.ssh if it doesn't exist
2019-07-31 01:14:34 +01:00
David Wilson
92de2abeea
issue #543 : use key from Git, newer ssh-keygen unsupported by Paramiko
2019-07-31 00:15:05 +01:00
David Wilson
501cfca82b
issue #543 : make localhost_ansible_tests run locally
2019-07-31 00:15:05 +01:00
David Wilson
4ced885619
issue #543 : localhost_ansible scripts.
2019-07-30 22:11:04 +01:00