From patchwork Sat Jul 11 17:07:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 235296 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp1464842ilg; Sat, 11 Jul 2020 10:08:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4vEfnof686sb8o5q8O+b7O/mUip5a+M5KBlhp+PYevID48dE0/ZPhvmZphXw64TmXunQj X-Received: by 2002:a25:c711:: with SMTP id w17mr39778663ybe.465.1594487296238; Sat, 11 Jul 2020 10:08:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594487296; cv=none; d=google.com; s=arc-20160816; b=wsRePA/3kjkGonLU7oJA3+yJWje0X6ef5ldWlCFrbzcxnqX927SlWvzs1E8fri4pjI PPLTypIHZUCXBaXdhOL4YeCeBb/laB75Bjpg5DE9zg3zziNSVWMj7XoVeGTIWKKtu6g5 ObiuDIJxhXWkA944uoUiqVXVEO7PF5wXJa8aeCIgYBn0HzvzFJpjqBuw/TTP3Q9GtLRz ta8puP22jLhL2QymGHyTvtJG9/BiLqrzAl8ZYPX7L55lnGy5Qv4TXuzaqyQTB6KYnvVR bgbBZJFY6eTDnCZh6L2S8LfR2IZTTO3ncgx0GbVnKWPddVmva4lPddzbRg/cdk2erEuT /UPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=+lXl4Szpjg/YT2Ax3s+QJTh2PasxIDSCopx/Q97cD3I=; b=ZTDH4K9y+Zwm60JjLE+zY8Yxnl+6S4coZo4Zu3L/gPZpj6ZRyi89eW8fT5gmJvyHUV ItxSIPEf9dlSqnFKxrtpgORuzZRuzVgwzdd3BS5Ly0IZLjkuoGdVS5wR52GctoKs/h+E 6R99fI9OrvnIuTPY6KNOf+LsKCx25TfXWSAOGhMPCojVg1/kdgY/hymB8HG1jY17O8UY NKPPCxcqgy3AtRtBojDiuqVGHl1bHPaGUZ6I2rw2EAaSLnZUSeFAFOPOFd91BS5g8V0k ONRaOg+lmrmhr82+vM9DIWk3JMIU85SSThsI6YokZGDsK1qdwTKwP65dlowHTU3lqO59 Kz3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Fr9YMsMR; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s127si9795072ybc.279.2020.07.11.10.08.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 11 Jul 2020 10:08:16 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Fr9YMsMR; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:40476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juIz1-0003Nm-MN for patch@linaro.org; Sat, 11 Jul 2020 13:08:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juIyQ-0003N8-Rr for qemu-devel@nongnu.org; Sat, 11 Jul 2020 13:07:38 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:38600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1juIyO-0006h4-FY for qemu-devel@nongnu.org; Sat, 11 Jul 2020 13:07:38 -0400 Received: by mail-wm1-x331.google.com with SMTP id f18so8938396wml.3 for ; Sat, 11 Jul 2020 10:07:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+lXl4Szpjg/YT2Ax3s+QJTh2PasxIDSCopx/Q97cD3I=; b=Fr9YMsMR0HeJ1JHXAinhTG73biNDt3Kqxjc+16iDdJnCS4/Nn8+m70j0Kgf/2f4CDr FFydgDDPkhnB24CrT1AuCf0SgFQVzNuiVMlEvjDTGhV7tQdq1Gr2+/aaGmaNjsGH0mTK +vJp/LyUoFRHgrS9qOKPGdkE+Kvi/mtQFhd1yas9EKzhYzWAzLas3ERV2A/MYVmsskTW gHoM0MJrXW2cbv63D2wqN7NHI0Gi+Bu9Rcq4/HPYpXkmty6ShJKTlqSeFYenKZxgopkm Dn5FlJakP63z5UpBD0hnhDzjnsxnSqTaZeRiw7yivNFmNKSo51gkAStDSNlqd69J2uO+ rgWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+lXl4Szpjg/YT2Ax3s+QJTh2PasxIDSCopx/Q97cD3I=; b=eDVXWKX/2VsZjQFFAri+ZsizjD/GqlDn+bbeyBwZ6vq3KsDMHdZCxVehJ+xxLFPAZH kcNDxJsLjmfxTN36AhZXi89bINjxD6hE5haYoyHdc4LfJYQI8q2CcBGiRt1yi9bgHj70 WZMeNGZ+gK0n1j3CcrJUWO73AFrzhofIXcl4lTWyysx92cUcMpFNp7wM6eXJPnfZT4cS lBBS6fyJlKJ3ZPcQUMl0kWMHDcbJHqkKLBZ0klaf0KEtG1M3qpj5uibYtUBVlYKd6O+u bPXr1AtiXsVsdwiuAqY85LcrjBog6nHWi6JiNXzSiZ8Q7aw9TKcFaKLVAHOuP0Kd1FDi znng== X-Gm-Message-State: AOAM530H9D67VB+CToWEz8ogkOhzHYyQ7iuAuE3dETMoAaF4V3KSoPki uhFdBIar5R1SgD5/iTKyZmdVDg== X-Received: by 2002:a1c:dfd6:: with SMTP id w205mr11389704wmg.118.1594487254233; Sat, 11 Jul 2020 10:07:34 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z8sm14903892wmg.39.2020.07.11.10.07.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jul 2020 10:07:32 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 23DDE1FF7E; Sat, 11 Jul 2020 18:07:32 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL v2 00/50] testing updates (vm, gitlab, misc build fixes) Date: Sat, 11 Jul 2020 18:07:22 +0100 Message-Id: <20200711170732.26213-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Fixed a few, dropped a few, added a few --- The following changes since commit 827937158b72ce2265841ff528bba3c44a1bfbc8: Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20200710' into staging (2020-07-11 13:56:03 +0100) are available in the Git repository at: https://github.com/stsquad/qemu.git tags/pull-testing-and-misc-110720-2 for you to fetch changes up to 4a40f561d5ebb5050a8c6dcbdcee85621056590a: iotests: Set LC_ALL=C for sort (2020-07-11 15:53:29 +0100) ---------------------------------------------------------------- Testing and misc build updates: - tests/vm support for aarch64 VMs - tests/tcg better cross-compiler detection - update docker tooling to support registries - update docker support for xtensa - gitlab build docker images and store in registry - gitlab use docker images for builds - a number of skipIf updates to support move - linux-user MAP_FIXED_NOREPLACE fix - qht-bench compiler tweaks - configure fix for secret keyring - tsan fiber annotation clean-up - doc updates for mttcg/icount/gdbstub - fix cirrus to use brew bash for iotests - revert virtio-gpu breakage - fix LC_ALL to avoid sorting changes in iotests ---------------------------------------------------------------- Alex Bennée (26): 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 tests/docker: change tag naming scheme of our images .gitignore: un-ignore .gitlab-ci.d gitlab: build containers with buildkit and metadata tests/docker: add --registry support to tooling tests/docker: add packages needed for check-acceptance tests/acceptance: skip s390x_ccw_vrtio_tcg on GitLab tests/acceptance: fix dtb path for machine_rx_gdbsim tests/acceptance: skip multicore mips_malta tests on GitLab tests/acceptance: skip LinuxInitrd 2gib with v4.16 on GitLab gitlab: add acceptance testing to system builds tests/tcg: add more default compilers to configure.sh tests/docker: add a linux-user testing focused image linux-user/elfload: use MAP_FIXED_NOREPLACE in pgb_reserved_va gitlab: enable check-tcg for linux-user tests gitlab: add avocado asset caching gitlab: limit re-builds of the containers containers.yml: build with docker.py tooling testing: add check-build target shippable: pull images from registry instead of building docs/devel: convert and update MTTCG design document docs/devel: add some notes on tcg-icount for developers tests/docker: fall back more gracefully when pull fails .cirrus.yml: add bash to the brew packages Daniel P. Berrangé (4): gitlab: introduce explicit "container" and "build" stages gitlab: build all container images during CI gitlab: convert jobs to use custom built containers tests: improve performance of device-introspect-test David Edmondson (1): crypto/linux_keyring: fix 'secret_keyring' configure test Gerd Hoffmann (2): tests: fix "make check-qtest" for modular builds Revert "vga: build virtio-gpu as module" Jon Doron (1): docs: Add to gdbstub documentation the PhyMemMode Max Filippov (1): tests/docker: update toolchain set in debian-xtensa-cross Max Reitz (1): iotests: Set LC_ALL=C for sort Richard Henderson (2): tests/qht-bench: Adjust testing rate by -1 tests/qht-bench: Adjust threshold computation Robert Foley (10): util/coroutine: Cleanup start_switch_fiber_ for TSAN. 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 Thomas Huth (2): gitlab-ci: Fix the change rules after moving the YML files travis.yml: Test also the other targets on s390x docs/devel/index.rst | 2 + .../{multi-thread-tcg.txt => multi-thread-tcg.rst} | 52 ++-- docs/devel/tcg-icount.rst | 97 ++++++ docs/system/gdb.rst | 20 ++ configure | 31 +- linux-user/elfload.c | 10 +- tests/qht-bench.c | 40 ++- tests/qtest/device-introspect-test.c | 60 ++-- util/coroutine-ucontext.c | 52 ++-- util/module.c | 6 - .cirrus.yml | 4 +- .gitignore | 1 + .gitlab-ci.d/containers.yml | 263 ++++++++++++++++ .gitlab-ci.d/edk2.yml | 5 +- .gitlab-ci.d/opensbi.yml | 5 +- .gitlab-ci.yml | 265 ++++++++++------ .shippable.yml | 8 +- .travis.yml | 62 ++-- hw/display/Makefile.objs | 23 +- python/qemu/console_socket.py | 110 +++++++ python/qemu/machine.py | 23 +- tests/Makefile.include | 19 +- tests/acceptance/boot_linux.py | 2 + tests/acceptance/linux_initrd.py | 3 + tests/acceptance/machine_mips_malta.py | 3 + tests/acceptance/machine_rx_gdbsim.py | 2 +- tests/acceptance/replay_kernel.py | 2 +- tests/docker/Makefile.include | 17 +- tests/docker/common.rc | 2 +- tests/docker/docker.py | 47 ++- .../dockerfiles/debian-all-test-cross.docker | 53 ++++ tests/docker/dockerfiles/debian-alpha-cross.docker | 2 +- tests/docker/dockerfiles/debian-amd64-cross.docker | 2 +- tests/docker/dockerfiles/debian-amd64.docker | 2 +- tests/docker/dockerfiles/debian-arm64-cross.docker | 2 +- .../dockerfiles/debian-arm64-test-cross.docker | 2 +- tests/docker/dockerfiles/debian-armel-cross.docker | 2 +- tests/docker/dockerfiles/debian-armhf-cross.docker | 2 +- tests/docker/dockerfiles/debian-hppa-cross.docker | 2 +- tests/docker/dockerfiles/debian-m68k-cross.docker | 2 +- tests/docker/dockerfiles/debian-mips-cross.docker | 2 +- .../docker/dockerfiles/debian-mips64-cross.docker | 2 +- .../dockerfiles/debian-mips64el-cross.docker | 2 +- .../docker/dockerfiles/debian-mipsel-cross.docker | 2 +- .../docker/dockerfiles/debian-powerpc-cross.docker | 2 +- tests/docker/dockerfiles/debian-ppc64-cross.docker | 2 +- .../docker/dockerfiles/debian-ppc64el-cross.docker | 2 +- .../docker/dockerfiles/debian-riscv64-cross.docker | 2 +- tests/docker/dockerfiles/debian-s390x-cross.docker | 2 +- tests/docker/dockerfiles/debian-sh4-cross.docker | 2 +- .../docker/dockerfiles/debian-sparc64-cross.docker | 2 +- .../docker/dockerfiles/debian-tricore-cross.docker | 2 +- tests/docker/dockerfiles/debian-win32-cross.docker | 2 +- tests/docker/dockerfiles/debian-win64-cross.docker | 2 +- .../docker/dockerfiles/debian-xtensa-cross.docker | 6 +- tests/docker/dockerfiles/debian9-mxe.docker | 2 +- tests/docker/dockerfiles/fedora.docker | 7 + tests/docker/dockerfiles/ubuntu2004.docker | 10 +- tests/qemu-iotests/common.filter | 2 +- tests/qtest/Makefile.include | 1 + tests/tcg/Makefile.qemu | 4 +- tests/tcg/configure.sh | 21 +- tests/vm/Makefile.include | 22 ++ tests/vm/aarch64vm.py | 106 +++++++ tests/vm/basevm.py | 344 +++++++++++++++------ 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 ++++ 76 files changed, 2034 insertions(+), 448 deletions(-) rename docs/devel/{multi-thread-tcg.txt => multi-thread-tcg.rst} (90%) create mode 100644 docs/devel/tcg-icount.rst create mode 100644 .gitlab-ci.d/containers.yml create mode 100644 python/qemu/console_socket.py create mode 100644 tests/docker/dockerfiles/debian-all-test-cross.docker 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