mbox series

[RFC,0/1] acceptance tests: bump Avocado version to 88.1

Message ID 20210520204747.210764-1-willianr@redhat.com (mailing list archive)
Headers show
Series acceptance tests: bump Avocado version to 88.1 | expand

Message

Willian Rampazzo May 20, 2021, 8:47 p.m. UTC
CI pipeline: https://gitlab.com/willianrampazzo/qemu/-/pipelines/306904401

Besides some internal changes, new features, and bug fixes, on the QEMU side,
this version fixes the following message seen when running the acceptance
tests: "Error running method "pre_tests" of plugin "fetchasset": 'bytes'
object has no attribute 'encode'".

The release notes are available at
https://avocado-framework.readthedocs.io/en/latest/releases/88_0.html.

Signed-off-by: Willian Rampazzo <willianr@redhat.com>

Willian Rampazzo (1):
  acceptance tests: bump Avocado version to 88.1

 tests/requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Willian Rampazzo May 20, 2021, 8:58 p.m. UTC | #1
It was not supposed to be an RFC, resending as PATCH.

On Thu, May 20, 2021 at 5:51 PM Willian Rampazzo <willianr@redhat.com> wrote:
>
> CI pipeline: https://gitlab.com/willianrampazzo/qemu/-/pipelines/306904401
>
> Besides some internal changes, new features, and bug fixes, on the QEMU side,
> this version fixes the following message seen when running the acceptance
> tests: "Error running method "pre_tests" of plugin "fetchasset": 'bytes'
> object has no attribute 'encode'".
>
> The release notes are available at
> https://avocado-framework.readthedocs.io/en/latest/releases/88_0.html.
>
> Signed-off-by: Willian Rampazzo <willianr@redhat.com>
>
> Willian Rampazzo (1):
>   acceptance tests: bump Avocado version to 88.1
>
>  tests/requirements.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --
> 2.31.1
>
>
>
Cleber Rosa May 24, 2021, 5:50 p.m. UTC | #2
On Thu, May 20, 2021 at 05:47:46PM -0300, Willian Rampazzo wrote:
> CI pipeline: https://gitlab.com/willianrampazzo/qemu/-/pipelines/306904401
>

While not related to change in Avocado version (I've verified the same
behavior with 85.0), we need to investigate (further) one of the jobs
getting stuck here:

   https://gitlab.com/willianrampazzo/qemu/-/jobs/1281481564#L79

Would you care to take that task?

Thanks,
- Cleber.
Philippe Mathieu-Daudé May 24, 2021, 6:17 p.m. UTC | #3
On 5/24/21 7:50 PM, Cleber Rosa wrote:
> On Thu, May 20, 2021 at 05:47:46PM -0300, Willian Rampazzo wrote:
>> CI pipeline: https://gitlab.com/willianrampazzo/qemu/-/pipelines/306904401
>>
> 
> While not related to change in Avocado version (I've verified the same
> behavior with 85.0), we need to investigate (further) one of the jobs
> getting stuck here:
> 
>    https://gitlab.com/willianrampazzo/qemu/-/jobs/1281481564#L79

Problem between QEMU/Avocado.

QEMU sets Avocado tags to restrict the set of jobs ran and uses
the @skip decorators to ignore jobs under some conditions, i.e.:

tests/acceptance/boot_linux.py:141:    @skipIf(os.getenv('GITLAB_CI'),
'Running on GitLab')
tests/acceptance/boot_linux_console.py:235:
@skipUnless(os.getenv('AVOCADO_ALLOW_UNTRUSTED_CODE'), 'untrusted code')
tests/acceptance/boot_linux_console.py:593:
@skipUnless(os.getenv('AVOCADO_TIMEOUT_EXPECTED'), 'Test might timeout')
tests/acceptance/boot_linux_console.py:795:
@skipUnless(os.getenv('AVOCADO_ALLOW_LARGE_STORAGE'), 'storage limited')

Avocado fetches artifacts *before* evaluating decorators / tags, so
we are currently trying to fetch artifacts known to break CI due to
their size.

Willian has been looking at it and it is not clear which project
should be modified. He might explain better ;)
Willian Rampazzo May 24, 2021, 6:55 p.m. UTC | #4
On Mon, May 24, 2021 at 2:55 PM Cleber Rosa <crosa@redhat.com> wrote:
>
> On Thu, May 20, 2021 at 05:47:46PM -0300, Willian Rampazzo wrote:
> > CI pipeline: https://gitlab.com/willianrampazzo/qemu/-/pipelines/306904401
> >
>
> While not related to change in Avocado version (I've verified the same
> behavior with 85.0), we need to investigate (further) one of the jobs
> getting stuck here:
>
>    https://gitlab.com/willianrampazzo/qemu/-/jobs/1281481564#L79
>
> Would you care to take that task?

Sure, I can do that!

>
> Thanks,
> - Cleber.
Willian Rampazzo May 26, 2021, 9:09 p.m. UTC | #5
On Mon, May 24, 2021 at 2:55 PM Cleber Rosa <crosa@redhat.com> wrote:
>
> On Thu, May 20, 2021 at 05:47:46PM -0300, Willian Rampazzo wrote:
> > CI pipeline: https://gitlab.com/willianrampazzo/qemu/-/pipelines/306904401
> >
>
> While not related to change in Avocado version (I've verified the same
> behavior with 85.0), we need to investigate (further) one of the jobs
> getting stuck here:
>
>    https://gitlab.com/willianrampazzo/qemu/-/jobs/1281481564#L79
>
> Would you care to take that task?

FYI: https://lists.gnu.org/archive/html/qemu-devel/2021-05/msg07958.html

>
> Thanks,
> - Cleber.