aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCleber Rosa <crosa@redhat.com>2021-08-30 08:34:45 -0400
committerJake Hunsaker <jhunsake@redhat.com>2021-08-31 11:49:42 -0400
commit7d025933c2cdc7bf07a7b6b9c0d8b2637ade372b (patch)
treebf39fe1cb0282763cc4ebba83fdfad44cc6923d3
parente2ca3d02f36c0db4efaacfb2c1b7d502f38e371c (diff)
downloadsos-7d025933c2cdc7bf07a7b6b9c0d8b2637ade372b.tar.gz
[tests] Pin avocado test runner to known working version
Avocado has been developing a new test runner (dubbed nrunner) and the upcoming release 91.0 will activate the new runner as the default one. While most of the tests and jobs should work under the new runner, there are a few caveats, and possibly unknown issues. To avoid regressions in the test execution and CI status, let's pin the test runner to the known working version. A switch to use the new runner may be done as a separate future change after compatibility is fully investigated and validated. Reference: https://avocado-framework.readthedocs.io/en/90.0/releases/90_0.html#important-announcement Signed-off-by: Cleber Rosa <crosa@redhat.com>
-rw-r--r--.cirrus.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 38f10d42..cf7f77ba 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -123,7 +123,7 @@ report_stageone_task:
dnf -y remove sos
fi
setup_script: &setup 'pip3 install avocado-framework'
- main_script: PYTHONPATH=tests/ avocado run -t stageone tests/{cleaner,collect,report,vendor}_tests
+ main_script: PYTHONPATH=tests/ avocado run --test-runner=runner -t stageone tests/{cleaner,collect,report,vendor}_tests
# IFF the stage one tests all pass, then run stage two for latest distros
report_stagetwo_task:
@@ -153,7 +153,7 @@ report_stagetwo_task:
dnf -y install python3-pexpect
fi
setup_script: *setup
- main_script: PYTHONPATH=tests/ avocado run -t stagetwo tests/{cleaner,collect,report,vendor}_tests
+ main_script: PYTHONPATH=tests/ avocado run --test-runner=runner -t stagetwo tests/{cleaner,collect,report,vendor}_tests
report_foreman_task:
skip: "!changesInclude('.cirrus.yml', '**/{__init__,apache,foreman,foreman_tests,candlepin,pulp,pulpcore}.py')"
@@ -174,4 +174,4 @@ report_foreman_task:
FOREMAN_VER: "2.5 - Debian 10"
remove_sos_script: *remove_sos
setup_script: *setup
- main_script: PYTHONPATH=tests/ avocado run -t foreman tests/product_tests/foreman/
+ main_script: PYTHONPATH=tests/ avocado run --test-runner=runner -t foreman tests/product_tests/foreman/