mbox series

[v1,00/18] testing/next (vm, gitlab)

Message ID 20200622143204.12921-1-alex.bennee@linaro.org
Headers show
Series testing/next (vm, gitlab) | expand

Message

Alex Bennée June 22, 2020, 2:31 p.m. UTC
Hi,

This is the current state of my testing/next queue. In brief:

  - tests/vm updates for aarch64 VMs
  - moving check-acceptance to gitlab
  - some minor fixes going in via other trees

Most of tests/vm are well reviewed but I added a few clean-ups that
need review alongside the gitlab stuff:

 - .gitlab: add avocado asset caching
 - .gitlab: tag remaining jobs as builds
 - .gitlab: split fedora-misc-disabled
 - .gitlab: add acceptance testing to system builds
 - .gitignore: un-ignore .gitlab-ci.d
 - tests/docker: check for an parameters not empty string
 - tests/vm: allow us to take advantage of MTTCG
 - tests/vm: switch from optsparse to  argparse

Alex Bennée (8):
  tests/vm: switch from optsparse to  argparse
  tests/vm: allow us to take advantage of MTTCG
  tests/docker: check for an parameters not empty string
  .gitignore: un-ignore .gitlab-ci.d
  .gitlab: add acceptance testing to system builds
  .gitlab: split fedora-misc-disabled
  .gitlab: tag remaining jobs as builds
  .gitlab: add avocado asset caching

Philippe Mathieu-Daudé (1):
  iotests: Fix 051 output after qdev_init_nofail() removal

Robert Foley (9):
  tests/vm: pass args through to BaseVM's __init__
  tests/vm: Add configuration to basevm.py
  tests/vm: Added configuration file support
  tests/vm: Add common Ubuntu python module
  tests/vm: Added a new script for ubuntu.aarch64.
  tests/vm: Added a new script for centos.aarch64.
  tests/vm: change scripts to use self._config
  python/qemu: Add ConsoleSocket for optional use in QEMUMachine
  tests/vm: Add workaround to consume console

 configure                         |  29 +++
 .gitignore                        |   2 +-
 .gitlab-ci.yml                    | 149 +++++++++++++-
 .travis.yml                       |  23 ---
 python/qemu/console_socket.py     | 110 ++++++++++
 python/qemu/machine.py            |  23 ++-
 tests/docker/common.rc            |   2 +-
 tests/qemu-iotests/051.pc.out     |   4 +-
 tests/vm/Makefile.include         |  22 ++
 tests/vm/aarch64vm.py             | 106 ++++++++++
 tests/vm/basevm.py                | 332 ++++++++++++++++++++++--------
 tests/vm/centos-8-aarch64.ks      |  51 +++++
 tests/vm/centos.aarch64           | 227 ++++++++++++++++++++
 tests/vm/conf_example_aarch64.yml |  51 +++++
 tests/vm/conf_example_x86.yml     |  50 +++++
 tests/vm/fedora                   |  17 +-
 tests/vm/freebsd                  |  16 +-
 tests/vm/netbsd                   |  19 +-
 tests/vm/openbsd                  |  17 +-
 tests/vm/ubuntu.aarch64           |  68 ++++++
 tests/vm/ubuntu.i386              |  46 ++---
 tests/vm/ubuntuvm.py              |  60 ++++++
 22 files changed, 1230 insertions(+), 194 deletions(-)
 create mode 100644 python/qemu/console_socket.py
 create mode 100644 tests/vm/aarch64vm.py
 create mode 100644 tests/vm/centos-8-aarch64.ks
 create mode 100755 tests/vm/centos.aarch64
 create mode 100644 tests/vm/conf_example_aarch64.yml
 create mode 100644 tests/vm/conf_example_x86.yml
 create mode 100755 tests/vm/ubuntu.aarch64
 create mode 100644 tests/vm/ubuntuvm.py

-- 
2.20.1

Comments

Philippe Mathieu-Daudé June 22, 2020, 2:46 p.m. UTC | #1
On 6/22/20 4:31 PM, Alex Bennée wrote:
> Reported-by: Philippe Mathieu-Daudé <philmd@redhat.com>


Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>


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

> ---

>  tests/docker/common.rc | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/tests/docker/common.rc b/tests/docker/common.rc

> index 02cd67a8c5e..b27ce17e333 100755

> --- a/tests/docker/common.rc

> +++ b/tests/docker/common.rc

> @@ -47,7 +47,7 @@ build_qemu()

>  check_qemu()

>  {

>      # default to make check unless the caller specifies

> -    if test -z "$@"; then

> +    if [ $# == 0 ]; then

>          INVOCATION="check"

>      else

>          INVOCATION="$@"

>