All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 1897783] [NEW] avocado tests not running on aarch64 host
@ 2020-09-29 18:09 Philippe Mathieu-Daudé
  2020-09-29 19:27 ` [Bug 1897783] " Philippe Mathieu-Daudé
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-09-29 18:09 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:        20.04
Codename:       focal

$ make check-venv
  VENV    /home/phil/qemu/build/tests/venv
  PIP     /home/phil/qemu/tests/requirements.txt
  ERROR: Command errored out with exit status 1:
   command: /home/phil/qemu/build/tests/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ic25ctcg
       cwd: /tmp/pip-install-w1h2bh4a/pycdlib/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for pycdlib
$

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1897783

Title:
  avocado tests not running on aarch64 host

Status in QEMU:
  New

Bug description:
  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 20.04.1 LTS
  Release:        20.04
  Codename:       focal

  $ make check-venv
    VENV    /home/phil/qemu/build/tests/venv
    PIP     /home/phil/qemu/tests/requirements.txt
    ERROR: Command errored out with exit status 1:
     command: /home/phil/qemu/build/tests/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ic25ctcg
         cwd: /tmp/pip-install-w1h2bh4a/pycdlib/
    Complete output (6 lines):
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help
    
    error: invalid command 'bdist_wheel'
    ----------------------------------------
    ERROR: Failed building wheel for pycdlib
  $

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1897783/+subscriptions


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 1897783] Re: avocado tests not running on aarch64 host
  2020-09-29 18:09 [Bug 1897783] [NEW] avocado tests not running on aarch64 host Philippe Mathieu-Daudé
@ 2020-09-29 19:27 ` Philippe Mathieu-Daudé
  2020-09-29 20:37 ` Cleber Rosa
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 21+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-09-29 19:27 UTC (permalink / raw)
  To: qemu-devel

Eric Auger suggested the fix: 'pip install wheel'.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1897783

Title:
  avocado tests not running on aarch64 host

Status in QEMU:
  New

Bug description:
  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 20.04.1 LTS
  Release:        20.04
  Codename:       focal

  $ make check-venv
    VENV    /home/phil/qemu/build/tests/venv
    PIP     /home/phil/qemu/tests/requirements.txt
    ERROR: Command errored out with exit status 1:
     command: /home/phil/qemu/build/tests/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ic25ctcg
         cwd: /tmp/pip-install-w1h2bh4a/pycdlib/
    Complete output (6 lines):
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help
    
    error: invalid command 'bdist_wheel'
    ----------------------------------------
    ERROR: Failed building wheel for pycdlib
  $

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1897783/+subscriptions


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 1897783] Re: avocado tests not running on aarch64 host
  2020-09-29 18:09 [Bug 1897783] [NEW] avocado tests not running on aarch64 host Philippe Mathieu-Daudé
  2020-09-29 19:27 ` [Bug 1897783] " Philippe Mathieu-Daudé
@ 2020-09-29 20:37 ` Cleber Rosa
  2020-09-29 20:46 ` Cleber Rosa
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 21+ messages in thread
From: Cleber Rosa @ 2020-09-29 20:37 UTC (permalink / raw)
  To: qemu-devel

Looks like an installation problem.  On Ubuntu 20.04, python3-pip
depends on python3-wheel:


$ apt-cache show python3-pip | grep Depends
Depends: ca-certificates, python3-distutils, python3-setuptools, python3-wheel, python-pip-whl (= 20.0.2-5ubuntu1), python3:any


And it gets pulled during an installation attempt:

$ apt install python3-pip 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  binutils binutils-aarch64-linux-gnu binutils-common build-essential ca-certificates cpp cpp-9 dirmngr dpkg-dev fakeroot file g++ g++-9 gcc
  gcc-9 gcc-9-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libasn1-8-heimdal libassuan0 libatomic1 libbinutils libc-dev-bin libc6-dev
  libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libexpat1 libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-9-dev
  libgdbm-compat4 libgdbm6 libgomp1 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal
  libisl22 libitm1 libkrb5-26-heimdal libksba8 libldap-2.4-2 libldap-common liblocale-gettext-perl liblsan0 libmagic-mgc libmagic1 libmpc3
  libmpdec2 libmpfr6 libnpth0 libperl5.30 libpython3-dev libpython3-stdlib libpython3.8 libpython3.8-dev libpython3.8-minimal
  libpython3.8-stdlib libreadline8 libroken18-heimdal libsasl2-2 libsasl2-modules libsasl2-modules-db libsqlite3-0 libssl1.1 libstdc++-9-dev
  libtsan0 libubsan1 libwind0-heimdal linux-libc-dev make manpages manpages-dev mime-support netbase openssl patch perl perl-modules-5.30
  pinentry-curses python-pip-whl python3 python3-dev python3-distutils python3-lib2to3 python3-minimal python3-pkg-resources python3-setuptools
  python3-wheel python3.8 python3.8-dev python3.8-minimal readline-common xz-utils zlib1g-dev

This is on:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:        20.04
Codename:       focal

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1897783

Title:
  avocado tests not running on aarch64 host

Status in QEMU:
  New

Bug description:
  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 20.04.1 LTS
  Release:        20.04
  Codename:       focal

  $ make check-venv
    VENV    /home/phil/qemu/build/tests/venv
    PIP     /home/phil/qemu/tests/requirements.txt
    ERROR: Command errored out with exit status 1:
     command: /home/phil/qemu/build/tests/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ic25ctcg
         cwd: /tmp/pip-install-w1h2bh4a/pycdlib/
    Complete output (6 lines):
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help
    
    error: invalid command 'bdist_wheel'
    ----------------------------------------
    ERROR: Failed building wheel for pycdlib
  $

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1897783/+subscriptions


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 1897783] Re: avocado tests not running on aarch64 host
  2020-09-29 18:09 [Bug 1897783] [NEW] avocado tests not running on aarch64 host Philippe Mathieu-Daudé
  2020-09-29 19:27 ` [Bug 1897783] " Philippe Mathieu-Daudé
  2020-09-29 20:37 ` Cleber Rosa
@ 2020-09-29 20:46 ` Cleber Rosa
  2020-09-29 20:52 ` Cleber Rosa
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 21+ messages in thread
From: Cleber Rosa @ 2020-09-29 20:46 UTC (permalink / raw)
  To: qemu-devel

This seems to happen on this specific machine, not because it's an
aarch64 machine, but because it has python3-minimal installed.  The docs
on the acceptance test state that:

---
Note: the build environment must be using a Python 3 stack, and have
the ``venv`` and ``pip`` packages installed.  If necessary, make sure
``configure`` is called with ``--python=`` and that those modules are
available.  On Debian and Ubuntu based systems, depending on the
specific version, they may be on packages named ``python3-venv`` and
``python3-pip``.
---

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1897783

Title:
  avocado tests not running on aarch64 host

Status in QEMU:
  New

Bug description:
  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 20.04.1 LTS
  Release:        20.04
  Codename:       focal

  $ make check-venv
    VENV    /home/phil/qemu/build/tests/venv
    PIP     /home/phil/qemu/tests/requirements.txt
    ERROR: Command errored out with exit status 1:
     command: /home/phil/qemu/build/tests/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ic25ctcg
         cwd: /tmp/pip-install-w1h2bh4a/pycdlib/
    Complete output (6 lines):
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help
    
    error: invalid command 'bdist_wheel'
    ----------------------------------------
    ERROR: Failed building wheel for pycdlib
  $

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1897783/+subscriptions


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 1897783] Re: avocado tests not running on aarch64 host
  2020-09-29 18:09 [Bug 1897783] [NEW] avocado tests not running on aarch64 host Philippe Mathieu-Daudé
                   ` (2 preceding siblings ...)
  2020-09-29 20:46 ` Cleber Rosa
@ 2020-09-29 20:52 ` Cleber Rosa
  2020-10-09 21:01 ` Cleber Rosa
  2020-12-10  9:05 ` Thomas Huth
  5 siblings, 0 replies; 21+ messages in thread
From: Cleber Rosa @ 2020-09-29 20:52 UTC (permalink / raw)
  To: qemu-devel

As a mitigation, I'm asking the pycdlib maintainer the possibility of
also shipping wheels:

https://github.com/clalancette/pycdlib/issues/53

** Bug watch added: github.com/clalancette/pycdlib/issues #53
   https://github.com/clalancette/pycdlib/issues/53

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1897783

Title:
  avocado tests not running on aarch64 host

Status in QEMU:
  New

Bug description:
  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 20.04.1 LTS
  Release:        20.04
  Codename:       focal

  $ make check-venv
    VENV    /home/phil/qemu/build/tests/venv
    PIP     /home/phil/qemu/tests/requirements.txt
    ERROR: Command errored out with exit status 1:
     command: /home/phil/qemu/build/tests/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ic25ctcg
         cwd: /tmp/pip-install-w1h2bh4a/pycdlib/
    Complete output (6 lines):
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help
    
    error: invalid command 'bdist_wheel'
    ----------------------------------------
    ERROR: Failed building wheel for pycdlib
  $

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1897783/+subscriptions


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [PATCH 0/3] Acceptance Tests: improve usage on GitLab CI
@ 2020-10-09 20:55 Cleber Rosa
  2020-10-09 20:55 ` [PATCH 1/3] Acceptance tests: bump pycdlib version for easier installation Cleber Rosa
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Cleber Rosa @ 2020-10-09 20:55 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, Eduardo Habkost, Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Willian Rampazzo, Cleber Rosa,
	Alex Bennée, Beraldo Leal

This attempts to improve a bit the execution of acceptance tests
in both GitLab CI, and in restricted Python environments.

For the GitLab's rendering of test results, a sample can be seen here:

  https://gitlab.com/cleber.gnu/qemu/-/pipelines/200639030/test_report

Cleber Rosa (3):
  Acceptance tests: bump pycdlib version for easier installation
  Acceptance tests: do not show canceled test logs on GitLab CI
  Acceptance tests: show test report on GitLab CI

 .gitlab-ci.yml         | 7 ++++++-
 tests/requirements.txt | 2 +-
 2 files changed, 7 insertions(+), 2 deletions(-)

-- 
2.25.4




^ permalink raw reply	[flat|nested] 21+ messages in thread

* [PATCH 1/3] Acceptance tests: bump pycdlib version for easier installation
  2020-10-09 20:55 [PATCH 0/3] Acceptance Tests: improve usage on GitLab CI Cleber Rosa
@ 2020-10-09 20:55 ` Cleber Rosa
  2020-10-10  7:36     ` [Bug 1897783] " Philippe Mathieu-Daudé
  2020-10-19 16:02     ` [Bug 1897783] " Willian Rampazzo
  2020-10-09 20:55 ` [PATCH 2/3] Acceptance tests: do not show canceled test logs on GitLab CI Cleber Rosa
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 21+ messages in thread
From: Cleber Rosa @ 2020-10-09 20:55 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, Eduardo Habkost, Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Bug 1897783, Willian Rampazzo,
	Cleber Rosa, Alex Bennée, Beraldo Leal

On with certain versions of "pip", package installations will attempt
to create wheels.  And, on environments without a "complete" Python
installation (as described in the acceptance tests requirements docs),
that will fail.

pycdlib, starting with version 1.11.0, is now being made available
as wheels, so its instalation on those constrained environments is
now possible.

Cc: Bug 1897783 <1897783@bugs.launchpad.net>
Buglink: https://bugs.launchpad.net/qemu/+bug/1880189
Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
 tests/requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/requirements.txt b/tests/requirements.txt
index 036691c922..a1c631fa59 100644
--- a/tests/requirements.txt
+++ b/tests/requirements.txt
@@ -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==81.0
-pycdlib==1.9.0
+pycdlib==1.11.0
-- 
2.25.4



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 2/3] Acceptance tests: do not show canceled test logs on GitLab CI
  2020-10-09 20:55 [PATCH 0/3] Acceptance Tests: improve usage on GitLab CI Cleber Rosa
  2020-10-09 20:55 ` [PATCH 1/3] Acceptance tests: bump pycdlib version for easier installation Cleber Rosa
@ 2020-10-09 20:55 ` Cleber Rosa
  2020-10-10  9:10   ` Philippe Mathieu-Daudé
  2020-10-09 20:55 ` [PATCH 3/3] Acceptance tests: show test report " Cleber Rosa
  2020-10-12 10:32 ` [PATCH 0/3] Acceptance Tests: improve usage " Thomas Huth
  3 siblings, 1 reply; 21+ messages in thread
From: Cleber Rosa @ 2020-10-09 20:55 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, Eduardo Habkost, Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Willian Rampazzo, Cleber Rosa,
	Alex Bennée, Beraldo Leal

Tests resulting in "CANCEL" in Avocado are usually canceled on
purpose, and are almost identical to "SKIP".  The logs for canceled
tests are adding a lot of noise to the logs being shown on GitLab CI,
and causing distraction from real failures.

As a side note, this "after script" is scheduled for removal once the
feature is implemented within Avocado itself.

Reference: https://github.com/avocado-framework/avocado/issues/4266
Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a51c89554f..bed5fe6161 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -63,7 +63,7 @@ include:
       fi
   after_script:
     - cd build
-    - python3 -c 'import json; r = json.load(open("tests/results/latest/results.json")); [print(t["logfile"]) for t in r["tests"] if t["status"] not in ("PASS", "SKIP")]' | xargs cat
+    - python3 -c 'import json; r = json.load(open("tests/results/latest/results.json")); [print(t["logfile"]) for t in r["tests"] if t["status"] not in ("PASS", "SKIP", "CANCEL")]' | xargs cat
     - du -chs ${CI_PROJECT_DIR}/avocado-cache
 
 build-system-ubuntu:
-- 
2.25.4



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 3/3] Acceptance tests: show test report on GitLab CI
  2020-10-09 20:55 [PATCH 0/3] Acceptance Tests: improve usage on GitLab CI Cleber Rosa
  2020-10-09 20:55 ` [PATCH 1/3] Acceptance tests: bump pycdlib version for easier installation Cleber Rosa
  2020-10-09 20:55 ` [PATCH 2/3] Acceptance tests: do not show canceled test logs on GitLab CI Cleber Rosa
@ 2020-10-09 20:55 ` Cleber Rosa
  2020-10-10  9:11   ` Philippe Mathieu-Daudé
  2020-10-12 10:32 ` [PATCH 0/3] Acceptance Tests: improve usage " Thomas Huth
  3 siblings, 1 reply; 21+ messages in thread
From: Cleber Rosa @ 2020-10-09 20:55 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, Eduardo Habkost, Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Willian Rampazzo, Cleber Rosa,
	Alex Bennée, Beraldo Leal

Avocado will, by default, produce JUnit files.  Let's ask GitLab
to present those in the web UI.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
 .gitlab-ci.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bed5fe6161..7d4b2ced9e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -53,6 +53,11 @@ include:
     paths:
       - ${CI_PROJECT_DIR}/avocado-cache
     policy: pull-push
+  artifacts:
+    paths:
+      - build/tests/results/latest/results.xml
+    reports:
+      junit: build/tests/results/latest/results.xml
   before_script:
     - mkdir -p ~/.config/avocado
     - echo "[datadir.paths]" > ~/.config/avocado/avocado.conf
-- 
2.25.4



^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [Bug 1897783] Re: avocado tests not running on aarch64 host
  2020-09-29 18:09 [Bug 1897783] [NEW] avocado tests not running on aarch64 host Philippe Mathieu-Daudé
                   ` (3 preceding siblings ...)
  2020-09-29 20:52 ` Cleber Rosa
@ 2020-10-09 21:01 ` Cleber Rosa
  2020-12-10  9:05 ` Thomas Huth
  5 siblings, 0 replies; 21+ messages in thread
From: Cleber Rosa @ 2020-10-09 21:01 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
     Assignee: (unassigned) => Cleber Rosa (cleber-gnu)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1897783

Title:
  avocado tests not running on aarch64 host

Status in QEMU:
  New

Bug description:
  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 20.04.1 LTS
  Release:        20.04
  Codename:       focal

  $ make check-venv
    VENV    /home/phil/qemu/build/tests/venv
    PIP     /home/phil/qemu/tests/requirements.txt
    ERROR: Command errored out with exit status 1:
     command: /home/phil/qemu/build/tests/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ic25ctcg
         cwd: /tmp/pip-install-w1h2bh4a/pycdlib/
    Complete output (6 lines):
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help
    
    error: invalid command 'bdist_wheel'
    ----------------------------------------
    ERROR: Failed building wheel for pycdlib
  $

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1897783/+subscriptions


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 1/3] Acceptance tests: bump pycdlib version for easier installation
@ 2020-10-10  7:36     ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 21+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-10-10  7:36 UTC (permalink / raw)
  To: Cleber Rosa, qemu-devel
  Cc: Thomas Huth, Eduardo Habkost, Bug 1897783,
	Wainer dos Santos Moschetta, Willian Rampazzo, Alex Bennée,
	Beraldo Leal

On 10/9/20 10:55 PM, Cleber Rosa wrote:
> On with certain versions of "pip", package installations will attempt
> to create wheels.  And, on environments without a "complete" Python
> installation (as described in the acceptance tests requirements docs),
> that will fail.
> 
> pycdlib, starting with version 1.11.0, is now being made available
> as wheels, so its instalation on those constrained environments is
> now possible.
> 
> Cc: Bug 1897783 <1897783@bugs.launchpad.net>
> Buglink: https://bugs.launchpad.net/qemu/+bug/1880189

This BZ is different. The correct URL is:
https://bugs.launchpad.net/qemu/+bug/1897783

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Signed-off-by: Cleber Rosa <crosa@redhat.com>
> ---
>   tests/requirements.txt | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/requirements.txt b/tests/requirements.txt
> index 036691c922..a1c631fa59 100644
> --- a/tests/requirements.txt
> +++ b/tests/requirements.txt
> @@ -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==81.0
> -pycdlib==1.9.0
> +pycdlib==1.11.0
> 



^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 1897783] Re: [PATCH 1/3] Acceptance tests: bump pycdlib version for easier installation
@ 2020-10-10  7:36     ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 21+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-10-10  7:36 UTC (permalink / raw)
  To: qemu-devel

On 10/9/20 10:55 PM, Cleber Rosa wrote:
> On with certain versions of "pip", package installations will attempt
> to create wheels.  And, on environments without a "complete" Python
> installation (as described in the acceptance tests requirements docs),
> that will fail.
> 
> pycdlib, starting with version 1.11.0, is now being made available
> as wheels, so its instalation on those constrained environments is
> now possible.
> 
> Cc: Bug 1897783 <1897783@bugs.launchpad.net>
> Buglink: https://bugs.launchpad.net/qemu/+bug/1880189

This BZ is different. The correct URL is:
https://bugs.launchpad.net/qemu/+bug/1897783

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Signed-off-by: Cleber Rosa <crosa@redhat.com>
> ---
>   tests/requirements.txt | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/requirements.txt b/tests/requirements.txt
> index 036691c922..a1c631fa59 100644
> --- a/tests/requirements.txt
> +++ b/tests/requirements.txt
> @@ -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==81.0
> -pycdlib==1.9.0
> +pycdlib==1.11.0
>

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1897783

Title:
  avocado tests not running on aarch64 host

Status in QEMU:
  New

Bug description:
  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 20.04.1 LTS
  Release:        20.04
  Codename:       focal

  $ make check-venv
    VENV    /home/phil/qemu/build/tests/venv
    PIP     /home/phil/qemu/tests/requirements.txt
    ERROR: Command errored out with exit status 1:
     command: /home/phil/qemu/build/tests/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ic25ctcg
         cwd: /tmp/pip-install-w1h2bh4a/pycdlib/
    Complete output (6 lines):
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help
    
    error: invalid command 'bdist_wheel'
    ----------------------------------------
    ERROR: Failed building wheel for pycdlib
  $

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1897783/+subscriptions


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 2/3] Acceptance tests: do not show canceled test logs on GitLab CI
  2020-10-09 20:55 ` [PATCH 2/3] Acceptance tests: do not show canceled test logs on GitLab CI Cleber Rosa
@ 2020-10-10  9:10   ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 21+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-10-10  9:10 UTC (permalink / raw)
  To: Cleber Rosa, qemu-devel
  Cc: Thomas Huth, Eduardo Habkost, Wainer dos Santos Moschetta,
	Willian Rampazzo, Alex Bennée, Beraldo Leal

On 10/9/20 10:55 PM, Cleber Rosa wrote:
> Tests resulting in "CANCEL" in Avocado are usually canceled on
> purpose, and are almost identical to "SKIP".  The logs for canceled
> tests are adding a lot of noise to the logs being shown on GitLab CI,
> and causing distraction from real failures.

Thanks, big improvement!!!

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> 
> As a side note, this "after script" is scheduled for removal once the
> feature is implemented within Avocado itself.
> 
> Reference: https://github.com/avocado-framework/avocado/issues/4266
> Signed-off-by: Cleber Rosa <crosa@redhat.com>
> ---
>   .gitlab-ci.yml | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index a51c89554f..bed5fe6161 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -63,7 +63,7 @@ include:
>         fi
>     after_script:
>       - cd build
> -    - python3 -c 'import json; r = json.load(open("tests/results/latest/results.json")); [print(t["logfile"]) for t in r["tests"] if t["status"] not in ("PASS", "SKIP")]' | xargs cat
> +    - python3 -c 'import json; r = json.load(open("tests/results/latest/results.json")); [print(t["logfile"]) for t in r["tests"] if t["status"] not in ("PASS", "SKIP", "CANCEL")]' | xargs cat
>       - du -chs ${CI_PROJECT_DIR}/avocado-cache
>   
>   build-system-ubuntu:
> 



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 3/3] Acceptance tests: show test report on GitLab CI
  2020-10-09 20:55 ` [PATCH 3/3] Acceptance tests: show test report " Cleber Rosa
@ 2020-10-10  9:11   ` Philippe Mathieu-Daudé
  2020-10-12 13:09     ` Alex Bennée
  0 siblings, 1 reply; 21+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-10-10  9:11 UTC (permalink / raw)
  To: Cleber Rosa, qemu-devel
  Cc: Thomas Huth, Eduardo Habkost, Wainer dos Santos Moschetta,
	Willian Rampazzo, Alex Bennée, Beraldo Leal

On 10/9/20 10:55 PM, Cleber Rosa wrote:
> Avocado will, by default, produce JUnit files.  Let's ask GitLab
> to present those in the web UI.

https://gitlab.com/philmd/qemu/-/pipelines/200764992/test_report

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> 
> Signed-off-by: Cleber Rosa <crosa@redhat.com>
> ---
>   .gitlab-ci.yml | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index bed5fe6161..7d4b2ced9e 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -53,6 +53,11 @@ include:
>       paths:
>         - ${CI_PROJECT_DIR}/avocado-cache
>       policy: pull-push
> +  artifacts:
> +    paths:
> +      - build/tests/results/latest/results.xml
> +    reports:
> +      junit: build/tests/results/latest/results.xml
>     before_script:
>       - mkdir -p ~/.config/avocado
>       - echo "[datadir.paths]" > ~/.config/avocado/avocado.conf
> 



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 1/3] Acceptance tests: bump pycdlib version for easier installation
  2020-10-10  7:36     ` [Bug 1897783] " Philippe Mathieu-Daudé
  (?)
@ 2020-10-12  1:16     ` Cleber Rosa
  -1 siblings, 0 replies; 21+ messages in thread
From: Cleber Rosa @ 2020-10-12  1:16 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: Thomas Huth, Beraldo Leal, Bug 1897783, qemu-devel,
	Wainer dos Santos Moschetta, Willian Rampazzo, Alex Bennée,
	Eduardo Habkost

[-- Attachment #1: Type: text/plain, Size: 781 bytes --]

On Sat, Oct 10, 2020 at 09:36:17AM +0200, Philippe Mathieu-Daudé wrote:
> On 10/9/20 10:55 PM, Cleber Rosa wrote:
> > On with certain versions of "pip", package installations will attempt
> > to create wheels.  And, on environments without a "complete" Python
> > installation (as described in the acceptance tests requirements docs),
> > that will fail.
> > 
> > pycdlib, starting with version 1.11.0, is now being made available
> > as wheels, so its instalation on those constrained environments is
> > now possible.
> > 
> > Cc: Bug 1897783 <1897783@bugs.launchpad.net>
> > Buglink: https://bugs.launchpad.net/qemu/+bug/1880189
> 
> This BZ is different. The correct URL is:
> https://bugs.launchpad.net/qemu/+bug/1897783
>

Good catch, thanks!

- Cleber.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 0/3] Acceptance Tests: improve usage on GitLab CI
  2020-10-09 20:55 [PATCH 0/3] Acceptance Tests: improve usage on GitLab CI Cleber Rosa
                   ` (2 preceding siblings ...)
  2020-10-09 20:55 ` [PATCH 3/3] Acceptance tests: show test report " Cleber Rosa
@ 2020-10-12 10:32 ` Thomas Huth
  3 siblings, 0 replies; 21+ messages in thread
From: Thomas Huth @ 2020-10-12 10:32 UTC (permalink / raw)
  To: Cleber Rosa, qemu-devel
  Cc: Eduardo Habkost, Philippe Mathieu-Daudé,
	Wainer dos Santos Moschetta, Willian Rampazzo, Alex Bennée,
	Beraldo Leal

On 09/10/2020 22.55, Cleber Rosa wrote:
> This attempts to improve a bit the execution of acceptance tests
> in both GitLab CI, and in restricted Python environments.
> 
> For the GitLab's rendering of test results, a sample can be seen here:
> 
>   https://gitlab.com/cleber.gnu/qemu/-/pipelines/200639030/test_report
> 
> Cleber Rosa (3):
>   Acceptance tests: bump pycdlib version for easier installation
>   Acceptance tests: do not show canceled test logs on GitLab CI
>   Acceptance tests: show test report on GitLab CI
> 
>  .gitlab-ci.yml         | 7 ++++++-
>  tests/requirements.txt | 2 +-
>  2 files changed, 7 insertions(+), 2 deletions(-)
> 

Thanks, queued (with the bug URL fixed).

 Thomas



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 3/3] Acceptance tests: show test report on GitLab CI
  2020-10-10  9:11   ` Philippe Mathieu-Daudé
@ 2020-10-12 13:09     ` Alex Bennée
  2020-10-12 21:18       ` Cleber Rosa
  0 siblings, 1 reply; 21+ messages in thread
From: Alex Bennée @ 2020-10-12 13:09 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: Thomas Huth, Eduardo Habkost, qemu-devel,
	Wainer dos Santos Moschetta, Willian Rampazzo, Cleber Rosa,
	Beraldo Leal


Philippe Mathieu-Daudé <philmd@redhat.com> writes:

> On 10/9/20 10:55 PM, Cleber Rosa wrote:
>> Avocado will, by default, produce JUnit files.  Let's ask GitLab
>> to present those in the web UI.
>
> https://gitlab.com/philmd/qemu/-/pipelines/200764992/test_report
>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>

That's awesome - I wonder if the tap reports can also be read?

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

-- 
Alex Bennée


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 3/3] Acceptance tests: show test report on GitLab CI
  2020-10-12 13:09     ` Alex Bennée
@ 2020-10-12 21:18       ` Cleber Rosa
  0 siblings, 0 replies; 21+ messages in thread
From: Cleber Rosa @ 2020-10-12 21:18 UTC (permalink / raw)
  To: Alex Bennée
  Cc: Thomas Huth, Beraldo Leal, qemu-devel,
	Wainer dos Santos Moschetta, Willian Rampazzo,
	Philippe Mathieu-Daudé,
	Eduardo Habkost

[-- Attachment #1: Type: text/plain, Size: 1299 bytes --]

On Mon, Oct 12, 2020 at 02:09:22PM +0100, Alex Bennée wrote:
> 
> Philippe Mathieu-Daudé <philmd@redhat.com> writes:
> 
> > On 10/9/20 10:55 PM, Cleber Rosa wrote:
> >> Avocado will, by default, produce JUnit files.  Let's ask GitLab
> >> to present those in the web UI.
> >
> > https://gitlab.com/philmd/qemu/-/pipelines/200764992/test_report
> >
> > Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> > Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> 
> That's awesome - I wonder if the tap reports can also be read?
>

Not according to:

   https://docs.gitlab.com/ee/ci/pipelines/job_artifacts.html#artifactsreports

But, I'm working on further integrating Avocado to other types of
tests in QEMU, so users can choose to run test jobs with any
combination of test types.

A very rough PoC with some unit tests (that generate TAP) being run
by Avocado, and the JUnit report being displayed, can be seen here:

   https://gitlab.com/cleber.gnu/qemu/-/pipelines/201609047/test_report

The grand vision is, among other things, to be able run tests related
to a given subsystem or feature, say "migration", no matter what type
of tests they are.

Cheers,
- Cleber.

> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
> 
> -- 
> Alex Bennée
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PATCH 1/3] Acceptance tests: bump pycdlib version for easier installation
@ 2020-10-19 16:02     ` Willian Rampazzo
  0 siblings, 0 replies; 21+ messages in thread
From: Willian Rampazzo @ 2020-10-19 16:02 UTC (permalink / raw)
  To: Cleber Rosa
  Cc: Thomas Huth, Beraldo Leal, Philippe Mathieu-Daudé,
	qemu-devel, Wainer dos Santos Moschetta, Bug 1897783,
	Alex Bennée, Eduardo Habkost

On Fri, Oct 9, 2020 at 5:55 PM Cleber Rosa <crosa@redhat.com> wrote:
>
> On with certain versions of "pip", package installations will attempt
> to create wheels.  And, on environments without a "complete" Python
> installation (as described in the acceptance tests requirements docs),
> that will fail.
>
> pycdlib, starting with version 1.11.0, is now being made available
> as wheels, so its instalation on those constrained environments is
> now possible.
>
> Cc: Bug 1897783 <1897783@bugs.launchpad.net>
> Buglink: https://bugs.launchpad.net/qemu/+bug/1880189
> Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Signed-off-by: Cleber Rosa <crosa@redhat.com>
> ---
>  tests/requirements.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/requirements.txt b/tests/requirements.txt
> index 036691c922..a1c631fa59 100644
> --- a/tests/requirements.txt
> +++ b/tests/requirements.txt
> @@ -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==81.0
> -pycdlib==1.9.0
> +pycdlib==1.11.0
> --
> 2.25.4
>

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



^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 1897783] Re: [PATCH 1/3] Acceptance tests: bump pycdlib version for easier installation
@ 2020-10-19 16:02     ` Willian Rampazzo
  0 siblings, 0 replies; 21+ messages in thread
From: Willian Rampazzo @ 2020-10-19 16:02 UTC (permalink / raw)
  To: qemu-devel

On Fri, Oct 9, 2020 at 5:55 PM Cleber Rosa <crosa@redhat.com> wrote:
>
> On with certain versions of "pip", package installations will attempt
> to create wheels.  And, on environments without a "complete" Python
> installation (as described in the acceptance tests requirements docs),
> that will fail.
>
> pycdlib, starting with version 1.11.0, is now being made available
> as wheels, so its instalation on those constrained environments is
> now possible.
>
> Cc: Bug 1897783 <1897783@bugs.launchpad.net>
> Buglink: https://bugs.launchpad.net/qemu/+bug/1880189
> Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Signed-off-by: Cleber Rosa <crosa@redhat.com>
> ---
>  tests/requirements.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/requirements.txt b/tests/requirements.txt
> index 036691c922..a1c631fa59 100644
> --- a/tests/requirements.txt
> +++ b/tests/requirements.txt
> @@ -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==81.0
> -pycdlib==1.9.0
> +pycdlib==1.11.0
> --
> 2.25.4
>

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

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1897783

Title:
  avocado tests not running on aarch64 host

Status in QEMU:
  New

Bug description:
  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 20.04.1 LTS
  Release:        20.04
  Codename:       focal

  $ make check-venv
    VENV    /home/phil/qemu/build/tests/venv
    PIP     /home/phil/qemu/tests/requirements.txt
    ERROR: Command errored out with exit status 1:
     command: /home/phil/qemu/build/tests/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ic25ctcg
         cwd: /tmp/pip-install-w1h2bh4a/pycdlib/
    Complete output (6 lines):
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help
    
    error: invalid command 'bdist_wheel'
    ----------------------------------------
    ERROR: Failed building wheel for pycdlib
  $

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1897783/+subscriptions


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 1897783] Re: avocado tests not running on aarch64 host
  2020-09-29 18:09 [Bug 1897783] [NEW] avocado tests not running on aarch64 host Philippe Mathieu-Daudé
                   ` (4 preceding siblings ...)
  2020-10-09 21:01 ` Cleber Rosa
@ 2020-12-10  9:05 ` Thomas Huth
  5 siblings, 0 replies; 21+ messages in thread
From: Thomas Huth @ 2020-12-10  9:05 UTC (permalink / raw)
  To: qemu-devel

Released with QEMU v5.2.0.

** Changed in: qemu
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1897783

Title:
  avocado tests not running on aarch64 host

Status in QEMU:
  Fix Released

Bug description:
  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 20.04.1 LTS
  Release:        20.04
  Codename:       focal

  $ make check-venv
    VENV    /home/phil/qemu/build/tests/venv
    PIP     /home/phil/qemu/tests/requirements.txt
    ERROR: Command errored out with exit status 1:
     command: /home/phil/qemu/build/tests/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"'; __file__='"'"'/tmp/pip-install-w1h2bh4a/pycdlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ic25ctcg
         cwd: /tmp/pip-install-w1h2bh4a/pycdlib/
    Complete output (6 lines):
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help
    
    error: invalid command 'bdist_wheel'
    ----------------------------------------
    ERROR: Failed building wheel for pycdlib
  $

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1897783/+subscriptions


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2020-12-10  9:46 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-29 18:09 [Bug 1897783] [NEW] avocado tests not running on aarch64 host Philippe Mathieu-Daudé
2020-09-29 19:27 ` [Bug 1897783] " Philippe Mathieu-Daudé
2020-09-29 20:37 ` Cleber Rosa
2020-09-29 20:46 ` Cleber Rosa
2020-09-29 20:52 ` Cleber Rosa
2020-10-09 21:01 ` Cleber Rosa
2020-12-10  9:05 ` Thomas Huth
2020-10-09 20:55 [PATCH 0/3] Acceptance Tests: improve usage on GitLab CI Cleber Rosa
2020-10-09 20:55 ` [PATCH 1/3] Acceptance tests: bump pycdlib version for easier installation Cleber Rosa
2020-10-10  7:36   ` Philippe Mathieu-Daudé
2020-10-10  7:36     ` [Bug 1897783] " Philippe Mathieu-Daudé
2020-10-12  1:16     ` Cleber Rosa
2020-10-19 16:02   ` Willian Rampazzo
2020-10-19 16:02     ` [Bug 1897783] " Willian Rampazzo
2020-10-09 20:55 ` [PATCH 2/3] Acceptance tests: do not show canceled test logs on GitLab CI Cleber Rosa
2020-10-10  9:10   ` Philippe Mathieu-Daudé
2020-10-09 20:55 ` [PATCH 3/3] Acceptance tests: show test report " Cleber Rosa
2020-10-10  9:11   ` Philippe Mathieu-Daudé
2020-10-12 13:09     ` Alex Bennée
2020-10-12 21:18       ` Cleber Rosa
2020-10-12 10:32 ` [PATCH 0/3] Acceptance Tests: improve usage " Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.