[stable-2.16] ansible-test - Replace FreeBSD 13.2 with 13.3 (#85030)

* ansible-test - Replace FreeBSD 13.2 with 13.3

* Fix psutil integration test

* Remove outdated constraint for paramiko setup

(cherry picked from commit 2b1a5dd7a0)
pull/85058/head
Matt Clay 7 months ago committed by GitHub
parent 8082fb0424
commit cd23556e80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -91,8 +91,8 @@ stages:
test: rhel/9.2@3.9 test: rhel/9.2@3.9
- name: RHEL 9.2 py311 - name: RHEL 9.2 py311
test: rhel/9.2@3.11 test: rhel/9.2@3.11
- name: FreeBSD 13.2 - name: FreeBSD 13.3
test: freebsd/13.2 test: freebsd/13.3
groups: groups:
- 1 - 1
- 2 - 2
@ -105,8 +105,8 @@ stages:
test: rhel/8.8 test: rhel/8.8
- name: RHEL 9.2 - name: RHEL 9.2
test: rhel/9.2 test: rhel/9.2
- name: FreeBSD 13.2 - name: FreeBSD 13.3
test: freebsd/13.2 test: freebsd/13.3
groups: groups:
- 3 - 3
- 4 - 4

@ -0,0 +1,2 @@
minor_changes:
- ansible-test - Replace FreeBSD 13.2 remote with 13.3.

@ -167,9 +167,9 @@
- waitfor is not changed - waitfor is not changed
- "waitfor.port == http_port" - "waitfor.port == http_port"
- name: install psutil using pip (non-Linux only) - name: install psutil using pip (non-Linux)
pip: pip:
name: psutil==5.8.0 name: psutil==5.9.8
when: ansible_system != 'Linux' when: ansible_system != 'Linux'
- name: Copy zombie.py - name: Copy zombie.py

@ -2,7 +2,7 @@ alpine/3.18 python=3.11 become=doas_sudo provider=aws arch=x86_64
alpine become=doas_sudo provider=aws arch=x86_64 alpine become=doas_sudo provider=aws arch=x86_64
fedora/38 python=3.11 become=sudo provider=aws arch=x86_64 fedora/38 python=3.11 become=sudo provider=aws arch=x86_64
fedora become=sudo provider=aws arch=x86_64 fedora become=sudo provider=aws arch=x86_64
freebsd/13.2 python=3.9,3.11 python_dir=/usr/local/bin become=su_sudo provider=aws arch=x86_64 freebsd/13.3 python=3.9,3.11 python_dir=/usr/local/bin become=su_sudo provider=aws arch=x86_64
freebsd python_dir=/usr/local/bin become=su_sudo provider=aws arch=x86_64 freebsd python_dir=/usr/local/bin become=su_sudo provider=aws arch=x86_64
macos/13.2 python=3.11 python_dir=/usr/local/bin become=sudo provider=parallels arch=x86_64 macos/13.2 python=3.11 python_dir=/usr/local/bin become=sudo provider=parallels arch=x86_64
macos python_dir=/usr/local/bin become=sudo provider=parallels arch=x86_64 macos python_dir=/usr/local/bin become=sudo provider=parallels arch=x86_64

@ -168,19 +168,31 @@ bootstrap_remote_freebsd()
jinja2_pkg="py${python_package_version}-jinja2" jinja2_pkg="py${python_package_version}-jinja2"
cryptography_pkg="py${python_package_version}-cryptography" cryptography_pkg="py${python_package_version}-cryptography"
pyyaml_pkg="py${python_package_version}-yaml" pyyaml_pkg="py${python_package_version}-yaml"
packaging_pkg="py${python_package_version}-packaging"
# Declare platform/python version combinations which do not have supporting OS packages available. # Declare platform/python version combinations which do not have supporting OS packages available.
# For these combinations ansible-test will use pip to install the requirements instead. # For these combinations ansible-test will use pip to install the requirements instead.
case "${platform_version}/${python_version}" in case "${platform_version}/${python_version}" in
13.3/3.9)
# defaults above 'just work'TM
;;
13.3/3.11)
jinja2_pkg="" # not available
cryptography_pkg="" # not available
pyyaml_pkg="" # not available
;;
*) *)
# just assume nothing is available
jinja2_pkg="" # not available jinja2_pkg="" # not available
cryptography_pkg="" # not available cryptography_pkg="" # not available
pyyaml_pkg="" # not available pyyaml_pkg="" # not available
packaging_pkg="" # not available
;; ;;
esac esac
packages=" packages="
${packages} ${packages}
${packaging_pkg}
libyaml libyaml
${pyyaml_pkg} ${pyyaml_pkg}
${jinja2_pkg} ${jinja2_pkg}

Loading…
Cancel
Save