You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/tests/ansible/regression
Alex Willmer 27b4b77bba CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04
Python 2.7 (distro package) and 3.6 (pyenv managed) jobs run on Ubuntu 22.04.
More recent Pythons (distro or Github provided) run on 24.04.

fixes #1256

Ansible tasks that run locally (e.g. `connection: local`, `delegate_to:
localhost`) must now specify their `ansible_python_interpreter`, typically as
`{{ ansible_playbook_python }}`; otherwise the system Python on the controller
(e.g. `/usr/bin/python`) is likely to be used and this is often outside the
version range supported by the Ansible verison under test. If this occurs then
the symptom is often a failure to import a builtin from
`ansible.module_utils.six.moves`, e.g.

```
fatal: [target-centos6-1]: FAILED! => changed=true
  cmd:
  - ansible
  - -m
  - shell
  - -c
  - local
  - -a
  - whoami
  - -i
  - /tmp/mitogen_ci_ansibled3llejls/hosts
  - test-targets
  delta: '0:00:02.076385'
  end: '2025-04-17 17:27:02.561500'
  msg: non-zero return code
  rc: 8
  start: '2025-04-17 17:27:00.485115'
  stderr: |-
  stderr_lines: <omitted>
  stdout: |-
    An exception occurred during task execution. To see the full traceback,
    use -vvv. The error was:     from ansible.module_utils.six.moves import
    map, reduce, shlex_quote
```
7 months ago
..
files ci: Configure package managers using a role 9 months ago
scripts tests: Pythonize print_env.sh. 7 years ago
templates ansible_mitogen: Add regression test for ActionModuleMixin._remote_chmod() 1 year ago
_mitogen_only.yml tests: Replace uses of ``include:``, unify skipping of mitogen only tests 2 years ago
all.yml Add regression tests for the new connection logic. 11 months ago
become_test.yml ansible_mitogen: Fix --ask-become-pass, add test coverage 2 years ago
issue_109__target_has_old_ansible_installed.yml ansible_mitogen: Templated connection timeout 12 months ago
issue_113__duplicate_module_imports.yml tests: Improve Ansible fail_msg formatting 1 year ago
issue_118__script_not_marked_exec.yml tests: Tag Ansible tests 4 years ago
issue_122__environment_difference.yml tests: Tag Ansible tests 4 years ago
issue_140__thread_pileup.yml CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 7 months ago
issue_152__local_action_wrong_interpreter.yml CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 7 months ago
issue_152__virtualenv_python_fails.yml tests: Improve Ansible fail_msg formatting 1 year ago
issue_154__module_state_leaks.yml tests: Improve Ansible fail_msg formatting 1 year ago
issue_177__copy_module_failing.yml tests: Name tasks 3 years ago
issue_332_ansiblemoduleerror_first_occurrence.yml tests: Improve Ansible fail_msg formatting 1 year ago
issue_558_unarchive_failed.yml tests: Name tasks 3 years ago
issue_590__sys_modules_crap.yml tests: Improve Ansible fail_msg formatting 1 year ago
issue_591__setuptools_cwd_crash.yml CI: Migrate macOS integration tests to macOS 12, drop Python 2.7 jobs 1 year ago
issue_615__streaming_transfer.yml tests: Fix duplicate local task executions 2 years ago
issue_655__wait_for_connection_error.yml Add regression tests for the new connection logic. 11 months ago
issue_766__get_with_context.yml Add regression tests for the new connection logic. 11 months ago
issue_776__load_plugins_called_twice.yml ci: Configure package managers using a role 9 months ago
issue_952__ask_become_pass.yml CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 7 months ago
issue_1066__add_host__host_key_checking.yml Ansible 10 (ansible-core 2.17) support 1 year ago
issue_1079__wait_for_connection_timeout.yml ansible_mitogen: Fix templated python interpreter with `meta: reset_connection` 12 months ago
issue_1087__template_streamerror.yml CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 7 months ago
template_test.yml ansible_mitogen: Add regression test for ActionModuleMixin._remote_chmod() 1 year ago