Skip to contentSkip to conversation

Python (acceptance tests) queue, 2019-08-28

GIT PULL Applied Cleber Rosa 2 participants 5 messages Aug 29, 2019 – Sep 3, 2019

lore
Share & tools
lore
#0 lore raw

The following changes since commit 23919ddfd56135cad3cb468a8f54d5a595f024f4:

Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20190827' into staging (2019-08-27 15:52:36 +0100)

are available in the Git repository at:

git://github.com/clebergnu/qemu.git tags/python-next-pull-request

for you to fetch changes up to d19818e50e5286f878a76a286b76d29e57140dd4:

VNC Acceptance test: simplify test names (2019-08-28 20:42:16 -0400)

----------------------------------------------------------------

Cleber Rosa (4):
tests/requirements.txt: pin paramiko version requirement Acceptance tests: drop left over usage of ":avocado: enable" Boot Linux Console Test: add a test for ppc64 + pseries VNC Acceptance test: simplify test names

Satheesh Rajendran (1):
tests.acceptance.avocado_qemu: Add support for powerpc

 .travis.yml                               |  2 +-
 tests/acceptance/avocado_qemu/__init__.py |  3 +++
 tests/acceptance/boot_linux_console.py    | 19 +++++++++++++++++++
 tests/acceptance/migration.py             |  3 ---
 tests/acceptance/vnc.py                   |  4 ++--
 tests/requirements.txt                    |  2 +-
 6 files changed, 26 insertions(+), 7 deletions(-)
Signature · 1 line
2.21.0
#1 lore raw

[Qemu-devel] [PULL 2/5] tests/requirements.txt: pin paramiko version requirement

It's a good practice (I'd really say a must) to pin as much as possible of the software versions used during test, so let's apply that to paramiko.

According to https://pypi.org/project/paramiko/, 2.4.2 is the latest released version. It's also easily obtainable on systems such as Fedora 30.

Message-Id: <[email protected]>

---
 tests/requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/requirements.txt +1 -1
index 3ae0e29ad7..bd1f7590ed 100644
@@ -2,4 +2,4 @@
 # in the tests/venv Python virtual environment. For more info,
 # refer to: https://pip.pypa.io/en/stable/user_guide/#id1
 avocado-framework==68.0
-paramiko
+paramiko==2.4.2
Signature · 1 line
2.21.0
#2 lore raw

[Qemu-devel] [PULL 3/5] Acceptance tests: drop left over usage of ":avocado: enable"

In reply to Cleber Rosa

Commit 9531d26c10 removed all of ":avocado: enable" tags, but then a new entry was added with the introduction of migration.py.

Let's remove it for consistency.

Message-Id: <[email protected]>

---
 tests/acceptance/migration.py | 3 ---
 1 file changed, 3 deletions(-)
tests/acceptance/migration.py +0 -3
index 6115cf6c24..a44c1ae58f 100644
@@ -17,9 +17,6 @@ from avocado.utils import wait
 
 
 class Migration(Test):
-    """
-    :avocado: enable
-    """
 
     timeout = 10
 
Signature · 1 line
2.21.0
#3 lore raw

[Qemu-devel] [PULL 1/5] tests.acceptance.avocado_qemu: Add support for powerpc

In reply to Cleber Rosa

From: Satheesh Rajendran <[email protected]>

Current acceptance test will not run properly in powerpc environment due qemu target is different from arch, this usually matches, except with bi-endian architectures like ppc64. uname would return ppc64 or ppc64le based big or little endian but qemu target is always ppc64. Let's handle it.

Message-Id: <[email protected]>

---
 tests/acceptance/avocado_qemu/__init__.py | 3 +++
 1 file changed, 3 insertions(+)
tests/acceptance/avocado_qemu/__init__.py +3 -0
index aee5d820ed..bd41e0443c 100644
@@ -39,6 +39,9 @@ def pick_default_qemu_bin(arch=None):
     """
     if arch is None:
         arch = os.uname()[4]
+    # qemu binary path does not match arch for powerpc, handle it
+    if 'ppc64le' in arch:
+        arch = 'ppc64'
     qemu_bin_relative_path = os.path.join("%s-softmmu" % arch,
                                           "qemu-system-%s" % arch)
     if is_readable_executable_file(qemu_bin_relative_path):
Signature · 1 line
2.21.0
#4 lore raw
In reply to Cleber Rosa
Quoted 15 lines · Cleber Rosa

The following changes since commit 23919ddfd56135cad3cb468a8f54d5a595f024f4:

Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20190827' into staging (2019-08-27 15:52:36 +0100)

are available in the Git repository at:

git://github.com/clebergnu/qemu.git tags/python-next-pull-request

for you to fetch changes up to d19818e50e5286f878a76a286b76d29e57140dd4:

VNC Acceptance test: simplify test names (2019-08-28 20:42:16 -0400)

----------------------------------------------------------------

Quoted 8 lines

Cleber Rosa (4):
tests/requirements.txt: pin paramiko version requirement Acceptance tests: drop left over usage of ":avocado: enable" Boot Linux Console Test: add a test for ppc64 + pseries VNC Acceptance test: simplify test names

Satheesh Rajendran (1):
tests.acceptance.avocado_qemu: Add support for powerpc

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.2
for any user-visible changes.

-- PMM