[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 09/13] tests/avocado/boot_xen.py: fetch kernel during test se
From: |
Cleber Rosa |
Subject: |
Re: [PATCH 09/13] tests/avocado/boot_xen.py: fetch kernel during test setUp() |
Date: |
Wed, 31 Jul 2024 23:24:58 -0400 |
On Mon, Jul 29, 2024 at 7:01 AM Daniel P. Berrangé <berrange@redhat.com> wrote:
>
> On Fri, Jul 26, 2024 at 09:44:34AM -0400, Cleber Rosa wrote:
> > The kernel is a common blob used in all tests. By moving it to the
> > setUp() method, the "fetch asset" plugin will recognize the kernel and
> > attempt to fetch it and cache it before the tests are started.
>
> The other tests don't call fetch_asset() from their setUp
> method - what's different about this test that prevents the
> asset caching working ?
>
The "wizardry" of the "fetch asset" plugin limits itself to analyzing
test methods and the setUp() method. This test currently does that in
the "fetch_guest_kernel()" method, which makes it blind to the "fetch
asset" plugin.
If there are other tests doing that (in custom methods), then a
similar change would be desirable.
Regards,
- Cleber.
- Re: [PATCH 06/13] tests/avocado: use more distinct names for assets, (continued)
- [PATCH 08/13] testa/avocado: test_arm_emcraft_sf2: handle RW requirements for asset, Cleber Rosa, 2024/07/26
- [PATCH 10/13] tests/avocado/tuxrun_baselines.py: use Avocado's zstd support, Cleber Rosa, 2024/07/26
- [PATCH 09/13] tests/avocado/boot_xen.py: fetch kernel during test setUp(), Cleber Rosa, 2024/07/26
- [PATCH 07/13] tests/avocado/kvm_xen_guest.py: cope with asset RW requirements, Cleber Rosa, 2024/07/26
- [PATCH 12/13] Bump avocado to 103.0, Cleber Rosa, 2024/07/26
- [PATCH 13/13] Avocado tests: allow for parallel execution of tests, Cleber Rosa, 2024/07/26
- Re: [PATCH 00/13] Bump Avocado to 103.0 LTS and update tests for compatibility and new features, Akihiko Odaki, 2024/07/28
- Re: [PATCH 00/13] Bump Avocado to 103.0 LTS and update tests for compatibility and new features, Philippe Mathieu-Daudé, 2024/07/29