Received: by 2002:ac2:5cd0:0:0:0:0:0 with SMTP id f16csp2063100lfq; Fri, 25 Feb 2022 13:03:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7ypOS4t1h3h0Fz0/trxSWJmOU3MjrwUlYpkkDlJRRPJD9pzPa/i6MX1QzJqvOTGggL45r X-Received: by 2002:ad4:5cec:0:b0:432:75f1:3fa2 with SMTP id iv12-20020ad45cec000000b0043275f13fa2mr7355513qvb.24.1645822986010; Fri, 25 Feb 2022 13:03:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645822986; cv=none; d=google.com; s=arc-20160816; b=t63C/80YBHSok8SWJ+E7s9UgljLvcfjB7Us5hHhf0uwZs5POFTVYdV6LanP3DBBO3L Us6o4Fo6XJ+HKZm/+Xgh47Ckw39BSZVOdgRXxPbsVlJSlpSHm6mPJiiapWmnfxL7TXpU x7m5j3JjXDOnwwN9uBx4g4EMQD3XS8ft/HmIAjrI0HvlMqtElvBS5A2F93bq+YeZuvnb wBGcfSAjzOcUPuwKJ3TnOmCe0jy7JqCaqBloGjJVNjg25yFNKLOdDxRao6E6Lx68eTEE W8JUHK8C/qCETt2I9T+twKy2ks6VmyUGUXoPxWo+q0i5Wj+BVfEAxjzl762QeNg4cHvh AfgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=+2Dt1lT9Scd1l2FLzZxR50BVG4rXXdKWj0GOBfUSf6Y=; b=eCnsN9XDH7U9o5gvHeQNwFq+zusO7dNBb3GQhlUmqQ1WfrCdg/SlEq4lqsvmZIPGt6 11o6GAM0iSFtVhgScyyO/TpK2tNIwFsQvGsR6Qn6lI3opabLJACIkCvEqx5W5KcRNLsA dlwffud7iSeW6GrCL4P0STPtCpe8ggU5xgPftORWL7hjvXmTQqTKqmUqccNeAOsZMXCB Si6TQixIUjXly3saLAtQ+AfdFMf5EZKi9JmjTdvcuMBZUOnQD9sFPChCz+1CJksr9LlW CnGI7xoVU/7E+EyL6ilRvwLSoUI7G4fUC1ce82VobhTAwdJyafgu93/k4ceQ4jyqIhsx q1SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TradzdrV; spf=pass (google.com: domain of crosa@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=crosa@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com. [170.10.129.124]) by mx.google.com with ESMTPS id x1-20020a05620a448100b006492139a4ccsi1921165qkp.495.2022.02.25.13.03.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Feb 2022 13:03:05 -0800 (PST) Received-SPF: pass (google.com: domain of crosa@redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TradzdrV; spf=pass (google.com: domain of crosa@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=crosa@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645822985; 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=+2Dt1lT9Scd1l2FLzZxR50BVG4rXXdKWj0GOBfUSf6Y=; b=TradzdrVoapNEqTaf3h+xOzRtKOSTiHlC4kSR5fQWCg7VLUzxlcUsOm8yRDoVJLh8fyzVB 4q8fdE2doV1I7mXuc+3tH6cDAgeWyOX2o4jRZanoXHMFPBPYho52wOK/DwH7WFZBzy62OR bUB2fk8Wf/C58yr5tejQcFEL0W4TrnM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-407-ov4IEeldP0yszeT4MjFVsA-1; Fri, 25 Feb 2022 16:03:00 -0500 X-MC-Unique: ov4IEeldP0yszeT4MjFVsA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 740D11006AA5; Fri, 25 Feb 2022 21:02:55 +0000 (UTC) Received: from p50.localhost.localdomain.com (unknown [10.22.16.50]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CB4B32ED79; Fri, 25 Feb 2022 21:02:01 +0000 (UTC) From: Cleber Rosa To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Peter Maydell Cc: Thomas Huth , Halil Pasic , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Mark Cave-Ayland , Christian Borntraeger , Paolo Bonzini , qemu-ppc@nongnu.org, Fabien Chouteau , Antony Pavlov , Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-arm@nongnu.org, Eric Auger , Michael Rolnik , Greg Kurz , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Wainer dos Santos Moschetta , Aurelien Jarno , Pavel Dovgalyuk , David Gibson , Mahmoud Mandour , Daniel Henrique Barboza , Beraldo Leal , Jiaxun Yang , KONRAD Frederic , Alexandre Iooss , qemu-s390x@nongnu.org, "Edgar E. Iglesias" , Huacai Chen , Yoshinori Sato , Eric Farman Subject: [PATCH 0/9] Avocado tests: filter out tests using TCG booting full blown distros Date: Fri, 25 Feb 2022 16:01:47 -0500 Message-Id: <20220225210156.2032055-1-crosa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=crosa@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-TUID: 7iiLyFhu779d It was previously reported[1] and discussed that tests booting full=0D blown distros and relying on TCG would take too much time to run,=0D especially in the environments given by GitLab CI's shared runners.=0D =0D This is an implementation of a proposal to exclude those tests from=0D being run by default on `make check-avocado` invocations. To make it=0D extra clear, all tests are still available, but those that are tagged=0D with "accel:tcg" and "boots:distro", are filtered out by default on=0D `make check-avocado`.=0D =0D This is the situation of the Avocado GitLab CI jobs with and without=0D the changes in this PS:=0D =0D +------------------+--- ----------------+=0D | Now[2] | Before[3] |=0D +------------------------+------------------+--------------------+=0D | Job | Length | Tests | Length | Tests |=0D | Name | (mm:ss) | Run | (mm:ss) | Run |=0D +------------------------+------------------+-------------------+=0D |avocado-system-alpine | 06:33 16 | 20:30 18 |=0D |avocado-system-debian | 12:06 24 | 13:05 24 |=0D |avocado-system-centos | 09:58 41 | 24:15 44 |=0D |avocado-system-fedora | 08:50 35 | 08:59 35 |=0D |avocado-system-opensuse | 08:09 38 | 27:21 42 |=0D |avocado-system-ubuntu | 06:52 16 | 18:52 18 |=0D |avocado-cfi-x86_64 | 05:43 27 | 15:07 29 |=0D +------------------------+------------------+--------------------+=0D |TOTALS | 58:11 197 | 2:08:09 210 |=0D +------------------------+------------------+--------------------+=0D =0D Assuming the jobs run in parallel, the overall wait time for all the=0D Avocado jobs to complete is now ~12 minutes.=0D =0D [1] https://lists.gnu.org/archive/html/qemu-devel/2021-07/msg07271.html=0D [2] https://gitlab.com/cleber.gnu/qemu/-/pipelines/479720240=0D [3] https://gitlab.com/qemu-project/qemu/-/pipelines/478580581=0D =0D Cleber Rosa (9):=0D Avocado GitLab CI jobs: don't reset TARGETS and simplify commands=0D Avocado tests: use logging namespace that is preserved in test logs=0D Avocado migration test: adapt to "utils.network" API namespace change=0D Avocado: bump to version 95.0=0D tests/avocado/linux_ssh_mips_malta.py: add missing accel (tcg) tag=0D tests/avocado/virtiofs_submounts.py: shared_dir may not exist=0D Avocado tests: improve documentation on tag filtering=0D Avocado tests: classify tests based on what it's booted=0D Avocado tests: don't run tests with TCG that boot full blown distros=0D =0D .gitlab-ci.d/buildtest-template.yml | 3 ++=0D .gitlab-ci.d/buildtest.yml | 9 ----=0D docs/devel/testing.rst | 22 +++++++++=0D tests/Makefile.include | 6 ++-=0D tests/avocado/avocado_qemu/__init__.py | 10 ++---=0D tests/avocado/boot_linux.py | 4 ++=0D tests/avocado/boot_linux_console.py | 54 +++++++++++++++++++++++=0D tests/avocado/boot_xen.py | 3 ++=0D tests/avocado/hotplug_cpu.py | 1 +=0D tests/avocado/intel_iommu.py | 1 +=0D tests/avocado/linux_initrd.py | 5 ++-=0D tests/avocado/linux_ssh_mips_malta.py | 5 +++=0D tests/avocado/machine_arm_canona1100.py | 1 +=0D tests/avocado/machine_arm_integratorcp.py | 7 ++-=0D tests/avocado/machine_arm_n8x0.py | 2 +=0D tests/avocado/machine_avr6.py | 1 +=0D tests/avocado/machine_m68k_nextcube.py | 1 +=0D tests/avocado/machine_microblaze.py | 1 +=0D tests/avocado/machine_mips_fuloong2e.py | 1 +=0D tests/avocado/machine_mips_loongson3v.py | 1 +=0D tests/avocado/machine_mips_malta.py | 6 ++-=0D tests/avocado/machine_rx_gdbsim.py | 2 +=0D tests/avocado/machine_s390_ccw_virtio.py | 4 ++=0D tests/avocado/machine_sparc64_sun4u.py | 1 +=0D tests/avocado/machine_sparc_leon3.py | 1 +=0D tests/avocado/migration.py | 4 +-=0D tests/avocado/multiprocess.py | 4 ++=0D tests/avocado/ppc_405.py | 2 +=0D tests/avocado/ppc_bamboo.py | 2 +=0D tests/avocado/ppc_mpc8544ds.py | 1 +=0D tests/avocado/ppc_prep_40p.py | 1 +=0D tests/avocado/ppc_pseries.py | 1 +=0D tests/avocado/ppc_virtex_ml507.py | 1 +=0D tests/avocado/replay_kernel.py | 33 ++++++++++++--=0D tests/avocado/replay_linux.py | 6 +--=0D tests/avocado/reverse_debugging.py | 6 +--=0D tests/avocado/smmu.py | 1 +=0D tests/avocado/tcg_plugins.py | 3 ++=0D tests/avocado/tesseract_utils.py | 6 +--=0D tests/avocado/virtio-gpu.py | 2 +=0D tests/avocado/virtio_check_params.py | 3 +-=0D tests/avocado/virtiofs_submounts.py | 8 ++--=0D tests/requirements.txt | 2 +-=0D 43 files changed, 197 insertions(+), 41 deletions(-)=0D =0D --=20=0D 2.35.1=0D =0D