qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'make check-acceptance' odd error: "'bytes' object has no attribute


From: Willian Rampazzo
Subject: Re: 'make check-acceptance' odd error: "'bytes' object has no attribute 'encode'"
Date: Tue, 23 Mar 2021 12:49:34 -0300

Hi Peter,

On Tue, Mar 23, 2021 at 12:28 PM Peter Maydell <peter.maydell@linaro.org> wrote:
>
> I just got this running 'make check-acceptance': does it
> ring a bell with anybody?
>
> [etc]
> Fetching asset from
> tests/acceptance/replay_kernel.py:ReplayKernelSlow.test_mips64el_malta_5KEc_cpio
> Fetching asset from
> tests/acceptance/replay_kernel.py:ReplayKernelSlow.test_mips64el_malta_5KEc_cpio
> Fetching asset from
> tests/acceptance/replay_kernel.py:ReplayKernelSlow.test_mips_malta32el_nanomips_4k
> Fetching asset from
> tests/acceptance/replay_kernel.py:ReplayKernelSlow.test_mips_malta32el_nanomips_16k_up
> Fetching asset from
> tests/acceptance/replay_kernel.py:ReplayKernelSlow.test_mips_malta32el_nanomips_64k_dbg
> Fetching asset from
> tests/acceptance/reverse_debugging.py:ReverseDebugging_AArch64.test_aarch64_virt
> Fetching asset from
> tests/acceptance/virtio-gpu.py:VirtioGPUx86.test_virtio_vga_virgl
> Error running method "pre_tests" of plugin "fetchasset": 'bytes'
> object has no attribute 'encode'

The side effect of this bug is that when you run check-acceptance for
the first time, it won't download this specific image before the test
starts, but during the test execution. After the first run, the asset
is already on cache and will not be downloaded again, working as
expected.

This bug is fixed here
https://github.com/avocado-framework/avocado/pull/4416 and already
available on release 86.0 of Avocado.

It will reach the QEMU side as soon as we bump the version here.

> JOB ID     : 71b2d5569d9ccc8b68957d3ad2b2026bea437d66
> JOB LOG    : 
> /home/petmay01/linaro/qemu-from-laptop/qemu/build/clang/tests/results/job-2021-03-23T15.09-71b2d55/job.log
>  (001/142) tests/acceptance/boot_linux.py:BootLinuxX8664.test_pc_i440fx_tcg:
> PASS (465.84 s)
>  (002/142) tests/acceptance/boot_linux.py:BootLinuxX8664.test_pc_i440fx_kvm:
> PASS (27.46 s)
>  (003/142) tests/acceptance/boot_linux.py:BootLinuxX8664.test_pc_q35_tcg:
> PASS (99.43 s)
> [etc]
>
> thanks
> -- PMM
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]