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

Willian Rampazzo posted 1 patch 2 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/next-importer-push tags/patchew/20210520204747.210764-1-willianr@redhat.com
There is a newer version of this series
tests/requirements.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[RFC 0/1] acceptance tests: bump Avocado version to 88.1
Posted by Willian Rampazzo 2 years, 10 months ago
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



Re: [RFC 0/1] acceptance tests: bump Avocado version to 88.1
Posted by Willian Rampazzo 2 years, 10 months ago
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
>
>
>


Re: [RFC 0/1] acceptance tests: bump Avocado version to 88.1
Posted by Cleber Rosa 2 years, 10 months ago
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.
Re: [RFC 0/1] acceptance tests: bump Avocado version to 88.1
Posted by Philippe Mathieu-Daudé 2 years, 10 months ago
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 ;)


Re: [RFC 0/1] acceptance tests: bump Avocado version to 88.1
Posted by Willian Rampazzo 2 years, 10 months ago
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.


Re: [RFC 0/1] acceptance tests: bump Avocado version to 88.1
Posted by Willian Rampazzo 2 years, 10 months ago
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.