Open chunfuwen opened 2 years ago
@Yingshun @kylazhang @dzhengfy
@chunfuwen Did this command fail? or jut report error? I'm using master, which works after the test provider(local files) is set up correctly.
My steps:
@clebergnu Could you anyone from your team take a look at this issue?
@chunfuwen @clebergnu ,
If we bootstrap for the first time, we got above error in this issue description every time which is also displayed in every avocado-vt pr's cirrus-ci, for example pr 3349 , cirrus-ci job. So I guess this error is as expected. But it will be appreciated if cleber can give more detailed explanation.
@clebergnu , according to yingshun's step in https://github.com/avocado-framework/avocado-vt/issues/3346#issuecomment-1034508923 which is still used in our libvirt-ci currently. Our purpose is to avoid of tp-libvirt codes being copied from development folder to avocado installation folder. This benefits our debugging and development process. We do not like to modified the tp-libvirt codes in avocado installation folder every time. Could you help confirm if this is recommended usage from avocado side by --vt-no-downloads option?
@chunfuwen @clebergnu ,
- If we bootstrap for the first time, we got above error in this issue description every time which is also displayed in every avocado-vt pr's cirrus-ci, for example pr 3349 , cirrus-ci job. So I guess this error is as expected. But it will be appreciated if cleber can give more detailed explanation.
Yes, that is expected, and it's really a warning. Maybe we can turn the exception name or mechanism, but for now I'd just suggest it to be ignored.
- @clebergnu , according to yingshun's step in avocado vt-bootstrap report error #3346 (comment) which is still used in our libvirt-ci currently. Our purpose is to avoid of tp-libvirt codes being copied from development folder to avocado installation folder. This benefits our debugging and development process. We do not like to modified the tp-libvirt codes in avocado installation folder every time. Could you help confirm if this is recommended usage from avocado side by --vt-no-downloads option?
Yes, --vt-no-downloads
option is supposed to prevent any download, including any test provider. Then, one would have to set up the test providers (such as tp-libvirt) on their own.
@chunfuwen @clebergnu ,
- If we bootstrap for the first time, we got above error in this issue description every time which is also displayed in every avocado-vt pr's cirrus-ci, for example pr 3349 , cirrus-ci job. So I guess this error is as expected. But it will be appreciated if cleber can give more detailed explanation.
Yes, that is expected, and it's really a warning. Maybe we can turn the exception name or mechanism, but for now I'd just suggest it to be ignored.
- @clebergnu , according to yingshun's step in avocado vt-bootstrap report error #3346 (comment) which is still used in our libvirt-ci currently. Our purpose is to avoid of tp-libvirt codes being copied from development folder to avocado installation folder. This benefits our debugging and development process. We do not like to modified the tp-libvirt codes in avocado installation folder every time. Could you help confirm if this is recommended usage from avocado side by --vt-no-downloads option?
Yes,
--vt-no-downloads
option is supposed to prevent any download, including any test provider. Then, one would have to set up the test providers (such as tp-libvirt) on their own.
@clebergnu
[chunfu] Hi clebergnu,
Quote, "Then, one would have to set up the test providers (such as tp-libvirt) on their own" , what it exactly means specifically?
Since in my local environment, I install all from source, so tp-libvirt is already in my local environment.
Environment and setup steps: 1 install from source code in virtualenv 2 avocado(92lts) + avocado-vt(master)+tp-libvirt(master) 3 Install 92lts avocado release in virtualenv: python setup.py install 4 Go to avocado-vt folder, change uri: https://github.com/autotest/tp-libvirt.git
5 "Install avocado-vt :pip install . 6 "Bootstrap avocado-vt" : avocado vt-bootstrap --vt-type libvirt --vt-no-downloads
detailed error log follow as: