Skip to contentSkip to conversation

acceptance tests: bump Avocado version to 88.1

RFC In review Willian Rampazzo 4 participants 8 messages May 20, 2021 – May 26, 2021

lore
Share & tools
lore
#0 lore raw

cover acceptance tests: bump Avocado version to 88.1

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.

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

 tests/requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.31.1
#1 lore raw

RFC 1/1 acceptance tests: bump Avocado version to 88.1

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.

---
 tests/requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/requirements.txt +1 -1
index 91f3a343b9..a21b59b443 100644
@@ -1,5 +1,5 @@
 # Add Python module requirements, one per line, to be installed
 # in the tests/venv Python virtual environment. For more info,
 # refer to: https://pip.pypa.io/en/stable/user_guide/#id1
-avocado-framework==85.0
+avocado-framework==88.1
 pycdlib==1.11.0
Signature · 1 line
2.31.1
Acked-by on v1 1/1
#2 lore raw
Quoted 27 lines · Willian Rampazzo

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.

---
 tests/requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/requirements.txt +1 -1
index 91f3a343b9..a21b59b443 100644
@@ -1,5 +1,5 @@
 # Add Python module requirements, one per line, to be installed
 # in the tests/venv Python virtual environment. For more info,
 # refer to: https://pip.pypa.io/en/stable/user_guide/#id1
-avocado-framework==85.0
+avocado-framework==88.1
 pycdlib==1.11.0
Signature · 1 line
2.31.1

I'll be including that bump (and discarding the previous one) on my upcoming PR.

#3 lore raw
In reply to Willian Rampazzo

It was not supposed to be an RFC, resending as PATCH.

Quoted 24 lines · Willian Rampazzo

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.

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

#5 lore raw
Quoted 9 lines · Cleber Rosa
Quoted 2 lines · Willian Rampazzo

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 ;)

#6 lore raw
In reply to Cleber Rosa
Quoted 5 lines · Cleber Rosa
Quoted 2 lines · Willian Rampazzo

CI pipeline: https://gitlab.com/willianrampazzo/qemu/-/pipelines/306904401

Quoted 7 lines

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!

Quoted 3 lines

Thanks,
- Cleber.

#7 lore raw
In reply to Cleber Rosa
Quoted 5 lines · Cleber Rosa
Quoted 2 lines · Willian Rampazzo

CI pipeline: https://gitlab.com/willianrampazzo/qemu/-/pipelines/306904401

Quoted 7 lines

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

Quoted 3 lines

Thanks,
- Cleber.