From 14584b261d57671b07a4bdf6f7683a8c070d7702 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sun, 23 Apr 2023 18:13:26 +0200 Subject: [PATCH] [PR #6414/69d7f19c backport][stable-4] Restrict jail tests for sysrc to certain FreeBSD versions (#6419) Restrict jail tests for sysrc to certain FreeBSD versions (#6414) Restrict jail tests for sysrc to certain FreeBSD versions. (cherry picked from commit 69d7f19c7443645f68e8c273c9f2896077aed398) Co-authored-by: Felix Fontein --- tests/integration/targets/sysrc/tasks/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/integration/targets/sysrc/tasks/main.yml b/tests/integration/targets/sysrc/tasks/main.yml index b8292f785b..41e0b77315 100644 --- a/tests/integration/targets/sysrc/tasks/main.yml +++ b/tests/integration/targets/sysrc/tasks/main.yml @@ -135,10 +135,12 @@ ## - name: Test within jail # - # NOTE: FreeBSD 12.0 test runner receives a "connection reset by peer" after ~20% downloaded so we are - # only running this on 12.1 or higher + # NOTE: currently fails with FreeBSD 12 with minor version less than 4 + # NOTE: currently fails with FreeBSD 13 with minor version less than 1 # - when: ansible_distribution_version is version('12.01', '>=') + when: >- + ansible_distribution_version is version('12.4', '>=') and ansible_distribution_version is version('13', '<') + or ansible_distribution_version is version('13.1', '>=') block: - name: Setup testjail include: setup-testjail.yml