fetch-subunit-output test: use ensure-pip

Call ensure-pip before installing the stest and subunit-output tools.
Use then ensure-pip virtualenv to create their environment.

Change-Id: I4c82867e29a8f3bdf902fac43b96cd6862fa9f48
This commit is contained in:
Ian Wienand 2020-04-08 06:38:05 +10:00 committed by Clark Boylan
parent c877323de3
commit 3fc3083456

View File

@ -9,6 +9,9 @@
directory: "/var/tmp/extratests"
test_pattern: "FailingTest.test_failure"
pre_tasks:
- name: Ensure pip
include_role:
name: ensure-pip
# Required packages; install them into a .tox path
# to cover the find-*.sh scripts in the role a bit more.
- name: Install stestr and subunit-output
@ -17,6 +20,7 @@
- stestr>=2.0.0,<2.6.0
- python-subunit
virtualenv: "{{ zuul_work_dir }}/.tox/utests/"
virtualenv_command: '{{ ensure_pip_virtualenv_command }}'
- name: Ensure that the test directories exists
file: