Skip to content

Commit

Permalink
CI: include the path of avocado-runner-avocado-vt on list
Browse files Browse the repository at this point in the history
This is a workaround for the fact that current Avocado will look for
the runner script while doing resolution (creating Runnables) because
it will populate the Runnable configuration with the "used
configuration" for that kind of runner.

If a change in Avocado will be needed is TBD, but this takes care of
the broken resolution in the CI environment.

Reference: avocado-framework#3457
Signed-off-by: Cleber Rosa <[email protected]>
  • Loading branch information
clebergnu committed Jul 13, 2022
1 parent 60d0409 commit e2d9920
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ fedora_35_task:
- python3 -c "from virttest.asset import ConfigLoader; cl = ConfigLoader('virttest/test-providers.d/io-github-autotest-libvirt.ini'); cl.set('provider', 'ref', 'e6af7700f879fe1547bfb1421439121d35c919bd'); cl.save()"
- python3 -m avocado vt-bootstrap --vt-type=$VT_TYPE --vt-skip-verify-download-assets --yes-to-all
list_script: &list_scr
- python3 -m avocado list --vt-save-config=/tmp/config --vt-type=$VT_TYPE -- boot | tee /tmp/list
- PATH=~/.local/bin:$PATH python3 -m avocado list --vt-save-config=/tmp/config --vt-type=$VT_TYPE -- boot | tee /tmp/list
- test $VT_TYPE == "qemu" || test $(wc -l < /tmp/list) -gt 50
- test $VT_TYPE == "libvirt" || test $(wc -l < /tmp/list) -eq 1
- python3 -m avocado list --vt-config=/tmp/config --vt-type=$VT_TYPE -- boot | tee /tmp/list_from_config
- PATH=~/.local/bin:$PATH python3 -m avocado list --vt-config=/tmp/config --vt-type=$VT_TYPE -- boot | tee /tmp/list_from_config
- diff /tmp/list /tmp/list_from_config
- python3 -m avocado vt-list-guests --vt-type=$VT_TYPE
- python3 -m avocado vt-list-archs --vt-type=$VT_TYPE
Expand Down

0 comments on commit e2d9920

Please sign in to comment.