From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1F054C433EF for ; Fri, 8 Jul 2022 15:40:44 +0000 (UTC) Received: from localhost ([::1]:55258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9q5z-0006rx-5j for qemu-devel@archiver.kernel.org; Fri, 08 Jul 2022 11:40:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9q0n-0006xt-UK for qemu-devel@nongnu.org; Fri, 08 Jul 2022 11:35:25 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:24261) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9q0l-0007SW-2k for qemu-devel@nongnu.org; Fri, 08 Jul 2022 11:35:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1657294518; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zdVI21pILkuNzymX8f/FHb9lGvnDCiGMzLRXaWCvfzE=; b=aKAF6N6AcEyab4RrUGmDVjYaq1assSS20sMbr0tnjFclxJzvxntnxQfUG2Bs3v3nL37MqL 53MDi74cfS1QrVsVp+rHPQzf/TY5zsDc82lk3n5oCaRbZ4hFxVHSFjj+yP9iMcZrORDh/P +9c7fiiUTcDzHdxBYCxq5a+P/ji65VU= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-452-5crpSMgQOmis_F6uMN8qhQ-1; Fri, 08 Jul 2022 11:35:05 -0400 X-MC-Unique: 5crpSMgQOmis_F6uMN8qhQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2B269294EDFB; Fri, 8 Jul 2022 15:35:05 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.16.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id A027F18EB5; Fri, 8 Jul 2022 15:35:03 +0000 (UTC) From: John Snow To: qemu-devel@nongnu.org Cc: Hanna Reitz , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Daniel Berrange , Thomas Huth , Wainer dos Santos Moschetta , qemu-block@nongnu.org, Kevin Wolf , Beraldo Leal , Michael Roth , =?UTF-8?q?Alex=20Benn=C3=A9e?= , John Snow Subject: [PATCH v4 00/12] Improve reliability of VM tests Date: Fri, 8 Jul 2022 11:34:51 -0400 Message-Id: <20220708153503.18864-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 Received-SPF: pass client-ip=170.10.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Note: patches 10-12 are included for testing simplicity, they shouldn't=0D be merged. They will be included in a forthcoming block PR.=0D =0D V4:=0D =0D - Addressed concern by Marc-Andre in patch 01.=0D - Squashed Ubuntu patches (rth)=0D =0D This patch series attempts to improve the reliability of several of the=0D VM test targets. In particular, both CentOS 8 tests are non-functional=0D because CentOS 8 was EOL at the beginning of this calendar year, with=0D repositories and mirrors going offline.=0D =0D I also remove the ubuntu.i386 test because we no longer support Ubuntu=0D 18.04 nor do we have explicit need of an i386 build test.=0D =0D After this series, I am able to successfully run every VM target on an=0D x86_64 host, except:=0D =0D - ubuntu.aarch64: Hangs often during testing, see below.=0D - centos.aarch64: Hangs often during testing, see below.=0D - haiku.x86_64: Build failures not addressed by this series, see=0D https://lists.gnu.org/archive/html/qemu-devel/2022-06/msg02103.html=0D =0D The unit tests that I see fail most often under aarch64 are:=0D =0D - virtio-net-failover: Seems to like to hang on openbsd=0D - migration-test: Tends to hang under aarch64 tcg=0D =0D Future work (next version? next series?);=0D =0D - Try to get centos.aarch64 working reliably under TCG=0D - Upgrade ubuntu.aarch64 to 20.04 after fixing centos.aarch64=0D - Fix the Haiku build test, if possible.=0D - Ensure I can reliably run and pass "make vm-build-all".=0D (Remove VMs from this recipe if necessary.)=0D =0D John Snow (11):=0D qga: treat get-guest-fsinfo as "best effort"=0D tests/vm: use 'cp' instead of 'ln' for temporary vm images=0D tests/vm: switch CentOS 8 to CentOS 8 Stream=0D tests/vm: switch centos.aarch64 to CentOS 8 Stream=0D tests/vm: upgrade Ubuntu 18.04 VM to 20.04=0D tests/vm: remove ubuntu.i386 VM test=0D tests/vm: remove duplicate 'centos' VM test=0D tests/vm: add 1GB extra memory per core=0D tests/vm: Remove docker cross-compile test from CentOS VM=0D tests/qemu-iotests: hotfix for 307, 223 output=0D tests/qemu-iotests: skip 108 when FUSE is not loaded=0D =0D Vladimir Sementsov-Ogievskiy (1):=0D iotests: fix copy-before-write for macOS and FreeBSD=0D =0D qga/commands-posix.c | 10 +-=0D tests/qemu-iotests/108 | 5 +=0D tests/qemu-iotests/223.out | 4 +-=0D tests/qemu-iotests/307.out | 4 +-=0D tests/qemu-iotests/tests/copy-before-write | 5 +=0D tests/vm/Makefile.include | 5 +-=0D tests/vm/basevm.py | 5 +=0D tests/vm/centos | 9 +-=0D tests/vm/centos.aarch64 | 174 +++------------------=0D tests/vm/ubuntu.aarch64 | 10 +-=0D tests/vm/ubuntu.i386 | 40 -----=0D 11 files changed, 65 insertions(+), 206 deletions(-)=0D delete mode 100755 tests/vm/ubuntu.i386=0D =0D -- =0D 2.34.3=0D =0D