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/integration/runner
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
```
8 months ago
..
_etc_environment_global.yml tests: Improve Ansible fail_msg formatting 1 year ago
_etc_environment_user.yml tests: Improve Ansible fail_msg formatting 1 year ago
all.yml Revert "Revert "fixed tests for ansible 2.12"" 4 years ago
atexit.yml tests: Improve Ansible fail_msg formatting 1 year ago
builtin_command_module.yml tests: Improve Ansible fail_msg formatting 1 year ago
crashy_new_style_module.yml tests: Improve Ansible fail_msg formatting 1 year ago
custom_bash_hashbang_argument.yml tests: Improve Ansible fail_msg formatting 1 year ago
custom_bash_old_style_module.yml tests: Improve Ansible fail_msg formatting 1 year ago
custom_bash_want_json_module.yml tests: Improve Ansible fail_msg formatting 1 year ago
custom_binary_producing_json.yml tests: Improve Ansible fail_msg formatting 1 year ago
custom_binary_producing_junk.yml tests: Improve Ansible fail_msg formatting 1 year ago
custom_binary_single_null.yml tests: Improve Ansible fail_msg formatting 1 year ago
custom_perl_json_args_module.yml tests: Improve Ansible fail_msg formatting 1 year ago
custom_perl_want_json_module.yml tests: Improve Ansible fail_msg formatting 1 year ago
custom_python_json_args_module.yml tests: Improve Ansible fail_msg formatting 1 year ago
custom_python_new_style_missing_interpreter.yml tests: Improve Ansible fail_msg formatting 1 year ago
custom_python_new_style_module.yml tests: Improve Ansible fail_msg formatting 1 year ago
custom_python_prehistoric_module.yml tests: Improve Ansible fail_msg formatting 1 year ago
custom_python_want_json_module.yml tests: Improve Ansible fail_msg formatting 1 year ago
custom_script_interpreter.yml tests: Improve Ansible fail_msg formatting 1 year ago
environment_isolation.yml tests: Improve Ansible fail_msg formatting 1 year ago
etc_environment.yml tests: Replace uses of ``include:``, unify skipping of mitogen only tests 2 years ago
forking_active.yml tests: Improve Ansible fail_msg formatting 1 year ago
forking_correct_parent.yml tests: Improve Ansible fail_msg formatting 1 year ago
forking_inactive.yml tests: Improve Ansible fail_msg formatting 1 year ago
missing_module.yml CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 8 months ago