From patchwork Fri Dec 1 15:12:23 2023 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: 748998 Delivered-To: patch@linaro.org Received: by 2002:adf:f9cb:0:b0:32d:baff:b0ca with SMTP id w11csp332079wrr; Fri, 1 Dec 2023 07:14:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IFmaXkTiFOKazcLUSlcdSfYFUggHF3EuUgwTYDNIyh8gRCn02FyXzucJNCNIw3KFMYf/Grm X-Received: by 2002:a05:6808:2a50:b0:3b8:3e7d:db75 with SMTP id fa16-20020a0568082a5000b003b83e7ddb75mr2844538oib.55.1701443682927; Fri, 01 Dec 2023 07:14:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701443682; cv=none; d=google.com; s=arc-20160816; b=qeaGb8JFvzg1LV/tbx/t5p7tFerejgtveDVxmLckzsIZ/ppAuaN5v80CWH9qemNuJN RR4sbh29yvAmkXAqUMvr6jWGj6bV1YAPP1im2Uih9wyls+4nMwiPVG8HDGQnBHw6Lf4D +uLzb8b1IrbCyIpFQ+PrONbu0pgHMb6x9DLM6zkafhbx/lkuwSaFM/ioiKOrU8PGSbki RNvNvXHKud98NiBf2L5e99B7d6iFi6KESVcoE7DOddYWxGqs63YzkdBIiJxo2vKtnKhT +rwwH9lX5AhlccKMSCVkkLD3Rs8EK4ORnUaemqn70P1cmr+C7ubvVDbT+2ABxKhG3ERd It0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=57x23omuVrExXgPDfxrIdHt1R1VqyRD4qvLTNT8D6tI=; fh=DIFnA2gnOkQcXehrWmw8CTqvvnWQSXzchOMXflrcMUw=; b=zGNHw09vWADGwbDG8jc/5bx2zQCIkEhlY+SBXgGRQ3n5+Qak8ELppcOnWufPbEW7dO kwwtSa+9HBQdzoFREGZcYlzRDobCM8KQ/ckbJ+l5YUc28xile4udX+3UqULc8AgFQATE JsU2TtpzoL91mU5pZFriCDUrUevffut9d+6WYXQmQts/ACae+dh8YucCmZbGcl5Q4KCD oqWqSvabmy8OQ/1V0u4cwnFyW9263+oFMlv+SkxF/AjDFMxoKbTgh4E3L0zIaxow/fCJ RFk/aUGJCNJFu8/FzHv8J+IfJ9fYSlR/uyQiKijWGfnHypgbnjxaIElpHJagqr1dUCvO VntQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eIKZVJhU; 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=pass (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 dc33-20020a05610255a100b0045f0a41b3fdsi835716vsb.606.2023.12.01.07.14.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Dec 2023 07:14:42 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=eIKZVJhU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r95Cq-000583-3H; Fri, 01 Dec 2023 10:13:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r95CX-00052l-HA for qemu-devel@nongnu.org; Fri, 01 Dec 2023 10:13:09 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r95CS-00053c-3m for qemu-devel@nongnu.org; Fri, 01 Dec 2023 10:13:09 -0500 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40b538d5c4eso17076035e9.1 for ; Fri, 01 Dec 2023 07:13:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701443580; x=1702048380; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=57x23omuVrExXgPDfxrIdHt1R1VqyRD4qvLTNT8D6tI=; b=eIKZVJhUzGBzmdGVEfWRhAZe+jQQWaxG5pHOSFyZBZsRCqmD2hmxF/P96rprv+H+T2 FBrlNtKQAfnMg6Il9UlW4V+kUHjdK63RrpYrPpjColwcyKqSJ16ie0H1OQYCyIYSy+IX JE3UbMYxhkxawEd14J/nSfWlxKjalrdyRe2g0wvVGqWQX9kVldW1pEUX2cWu/OS5fLsY ut0C7VEbpbNfKXTmqsdcZi0Sby65PD0RdtLs97ie2DwoilL/1FJYZZbZI6JSgg+r5bwX ZJjkS2H9RiC87Lm09mOu6B1/QU54guumXrEeUH+MSVJtAiEdyqxEgwpfnO2TsfLcePNs iv6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701443580; x=1702048380; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=57x23omuVrExXgPDfxrIdHt1R1VqyRD4qvLTNT8D6tI=; b=Xg2wNJbcV/1x1N8Pfg1m8VWXOfuue7XCKPAFA7/kg9LQOtZZwvL4JMz7R+m/u0DiOe YajROpmfEUUISacZ3Yk6zTAmWsvx99tBAtEBGznzjKJHNXBCelCvEtG6adWfqp3Q0neB SczBuGG3xePzlbflY0IeiZcRBYVUXKOuXuDm9FUJPi6ZbJTupddRlrWNDKYoXInAfc1Z E2shA3OeRcruDa7gi+I0WFKvrGPBCwovFTCHwvkzc9O59nuaQN2toOeRXCTmdy4uYjaZ by/k/nHUx31L4hxVk16ch94N8FecyLT7eecwG6SBkRICVC3n8uVUnJneHHVzenQlP/pA BRIA== X-Gm-Message-State: AOJu0YxliCxYdmEQ4N9ldC1YESuYNdIy5FV956kqncmUKtIvvlfxPQxI FSCYA+carQJRETZEgbVJ+2HCfg== X-Received: by 2002:adf:f48d:0:b0:333:2fd2:4add with SMTP id l13-20020adff48d000000b003332fd24addmr896006wro.89.1701443579792; Fri, 01 Dec 2023 07:12:59 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id v10-20020adfe4ca000000b00332f95ab451sm4390896wrm.58.2023.12.01.07.12.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 07:12:56 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 00BB45FB61; Fri, 1 Dec 2023 15:12:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Luis Machado , Richard Henderson , Stefan Hajnoczi , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PULL 1/6] gdbstub: use a better signal when we halt for IO reasons Date: Fri, 1 Dec 2023 15:12:23 +0000 Message-Id: <20231201151228.2610209-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231201151228.2610209-1-alex.bennee@linaro.org> References: <20231201151228.2610209-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x334.google.com 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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org The gdb description GDB_SIGNAL_IO is "I/O possible" and by default gdb will try and restart the guest, getting us nowhere. Report GDB_SIGNAL_STOP instead which should at least halt the session at the failure point. Reviewed-by: Luis Machado Reviewed-by: Richard Henderson Acked-by: Stefan Hajnoczi Signed-off-by: Alex Bennée Message-Id: <20231201093633.2551497-2-alex.bennee@linaro.org> diff --git a/gdbstub/internals.h b/gdbstub/internals.h index 465c24b36e..5c0c725e54 100644 --- a/gdbstub/internals.h +++ b/gdbstub/internals.h @@ -24,6 +24,7 @@ enum { GDB_SIGNAL_TRAP = 5, GDB_SIGNAL_ABRT = 6, GDB_SIGNAL_ALRM = 14, + GDB_SIGNAL_STOP = 17, GDB_SIGNAL_IO = 23, GDB_SIGNAL_XCPU = 24, GDB_SIGNAL_UNKNOWN = 143 diff --git a/gdbstub/system.c b/gdbstub/system.c index 783ac140b9..83fd452800 100644 --- a/gdbstub/system.c +++ b/gdbstub/system.c @@ -183,7 +183,7 @@ static void gdb_vm_state_change(void *opaque, bool running, RunState state) break; case RUN_STATE_IO_ERROR: trace_gdbstub_hit_io_error(); - ret = GDB_SIGNAL_IO; + ret = GDB_SIGNAL_STOP; break; case RUN_STATE_WATCHDOG: trace_gdbstub_hit_watchdog(); From patchwork Fri Dec 1 15:12:24 2023 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: 748997 Delivered-To: patch@linaro.org Received: by 2002:adf:f9cb:0:b0:32d:baff:b0ca with SMTP id w11csp331959wrr; Fri, 1 Dec 2023 07:14:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHUpXh5XIJKa8wT7r79f18ggsoXTnPAaPKRTsCDIkh13kDj6XU7pGsWoNhkkswYE3DOOuCV X-Received: by 2002:a05:6870:ff4b:b0:1fa:1db4:5923 with SMTP id qo11-20020a056870ff4b00b001fa1db45923mr21259256oab.43.1701443673447; Fri, 01 Dec 2023 07:14:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701443673; cv=none; d=google.com; s=arc-20160816; b=Ci7G08GYvfvEzBEwlSkATBIjhec4EUukdWN+0dlODlH1TMI1VT0yRkv0NS44rnQsAN Kiq3GC0IfPJpwjHJUh15vSaFPwdmIxm0RNMJh+4nJqZ8ceVkRLHqV5ySf0T1md8bwqBj akLKZwKpXeBOYph62NlmBQLiC+IaLJmoDo6wEC2a+xyIaLTdBWfErR2ay+7cTbicUC02 AVueJdjn8JiG4NrdEjCjxz7abvaBRgKw1Is9tf3g6GotPvvS1DI2tmypz9LEFTAGVTQK WxF8eSLvqWPxZ8bCHPLFVHUI9JuD7v9zzzHFiDtvQuz+Ff1RpMt85hHUv4AfQTp303PT SIKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CILzwn6E0PdXeCb4qj1dxi6nAuVedehhKSy9oJRmnFs=; fh=vCyRzBHHKxS6O7wXrYCjeDqwUM2U9IJyszfCw/rPtv8=; b=qdYlBXN3xw4wdrnqmOaNIDxBKN+I4xkZGP1V8XNh2Xn7MbaDRcNk/qzNYLwIVDROpn JxuCs/Y5CoHvautuhAF+8WSd0CRR4eojuzy5ZsviwvcqyQOcWRZH7t6YpfAUKodyiPGH UxAfbEUm6KnWp1oIoQDP1ZmDdbImNGqj9omYis/NkUTaaa6F5WPUITIJNlgxYtlR7Zh9 BLdICplHINlH7cGUw0MhTtTJcpN5nsHohRs7UBdGlyJV4d7TOSFlyxGsdECP2Z8EonxJ ikMUk0pLz/0OuEJcuYblNNkJ16EI/GhKwYIV8MMD37Ud4V1trL2n7NcNXAJyLHM7jCep FiuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iR1ax6Bh; 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=pass (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 e3-20020ab02b03000000b007c51db0c849si702906uar.27.2023.12.01.07.14.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Dec 2023 07:14:33 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=iR1ax6Bh; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r95CW-00050L-4T; Fri, 01 Dec 2023 10:13:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r95C1-0004rA-Gm for qemu-devel@nongnu.org; Fri, 01 Dec 2023 10:12:42 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r95Bv-0003ss-GO for qemu-devel@nongnu.org; Fri, 01 Dec 2023 10:12:37 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40b4f60064eso22260025e9.1 for ; Fri, 01 Dec 2023 07:12:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701443550; x=1702048350; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CILzwn6E0PdXeCb4qj1dxi6nAuVedehhKSy9oJRmnFs=; b=iR1ax6BhxVk5A5LGGuIFfntG9UKlZjzJU6vlxbSNtPpcG0Wa6lgYew7EuNZx8zLgGR ft0KoIuZc7ZD+FV+LiUff7eh8Z+cUttQCnUJHjS3X9pqRj5ZvyXyvaivcrNN5No9F7a7 GXCnyJOLcNujdEs3uGv0KlwiMaLNE9n+LXU2YvIjp1cmm+8MCPi3a1So7F6VLsx6+7cV vl6a4u64B/oWNTJn0LgyLaSwfZ3hLNBfxx2vQdYa2OW8X2wMxXzVEJRZg0CPz1mKhaJP iOgseyjFYJW6FWRwgDIh4f4y43n9JJ1O8G/RfQZT5psojQII5Dxndeh3iVlHgCk4bl5f nVAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701443550; x=1702048350; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CILzwn6E0PdXeCb4qj1dxi6nAuVedehhKSy9oJRmnFs=; b=a6+YSvW/IgAwDKzGsVgTIgBISohutr8JTi1MykhOsGloc46BvP/Cs8HUIN7D+hJn7+ m0YFCWoCkyHZa+j7DXiQNU96uWlJ44H19VS9lxpJWYBKDzR4q3ylJ5Q8yisSyPEH4fJI zc0P3ivcXSo03Py+tkUPT7My2/oH1F5sCs/NXsQKuy5p7Ynd2NvaKrQyQmoS4lqeCMKs O2dSUFPlDEUzcS/kCa62InjsQAQQUzZnleMhgkPD0Sfc4sI/QqiURLgZkjXYv7CPus2R x3NpiqPVBRzcWTHko0ZC5FZo+QoVVAcgs+fS2wZCL6wcFxkwfQoFUfmKNVvvj4dl0c3V meWQ== X-Gm-Message-State: AOJu0YzpNvp5wHdfhqFxXihwUlD624NEPmBJ3gyajHehnbEFDp4GPGWV 8n5MeNTKtk1idXZU06fTSOMDHQ== X-Received: by 2002:a7b:c45a:0:b0:40b:5f03:b42e with SMTP id l26-20020a7bc45a000000b0040b5f03b42emr219917wmi.336.1701443550024; Fri, 01 Dec 2023 07:12:30 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a13-20020a05600c348d00b0040b5377cf03sm9420700wmq.1.2023.12.01.07.12.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 07:12:29 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 218245FB63; Fri, 1 Dec 2023 15:12:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philipp?= =?utf-8?q?e_Mathieu-Daud=C3=A9?= , Richard Henderson , Stefan Hajnoczi , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal , Cleber Rosa , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Peter Maydell , Andrew Jeffery , Joel Stanley , Aurelien Jarno , Yoshinori Sato , Halil Pasic , Christian Borntraeger , Eric Farman , Pavel Dovgalyuk , Paolo Bonzini , Eric Auger , qemu-arm@nongnu.org (open list:ASPEED BMCs), qemu-s390x@nongnu.org (open list:S390 Virtio-ccw) Subject: [PULL 2/6] docs/devel: rationalise unstable gitlab tests under FLAKY_TESTS Date: Fri, 1 Dec 2023 15:12:24 +0000 Message-Id: <20231201151228.2610209-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231201151228.2610209-1-alex.bennee@linaro.org> References: <20231201151228.2610209-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x332.google.com 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org It doesn't make sense to have two classes of flaky tests. While it may take the constrained environment of CI to trigger failures easily it doesn't mean they don't occasionally happen on developer machines. As CI is the gating factor to passing there is no point developers running the tests locally anyway unless they are trying to fix things. While we are at it update the language in the docs to discourage the QEMU_TEST_FLAKY_TESTS becoming a permanent solution. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Acked-by: Stefan Hajnoczi Signed-off-by: Alex Bennée Message-Id: <20231201093633.2551497-3-alex.bennee@linaro.org> diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index 22218dbedb..76465b8f3d 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -1371,23 +1371,32 @@ conditions. For example, tests that take longer to execute when QEMU is compiled with debug flags. Therefore, the ``AVOCADO_TIMEOUT_EXPECTED`` variable has been used to determine whether those tests should run or not. -GITLAB_CI -^^^^^^^^^ -A number of tests are flagged to not run on the GitLab CI. Usually because -they proved to the flaky or there are constraints on the CI environment which -would make them fail. If you encounter a similar situation then use that -variable as shown on the code snippet below to skip the test: +QEMU_TEST_FLAKY_TESTS +^^^^^^^^^^^^^^^^^^^^^ +Some tests are not working reliably and thus are disabled by default. +This includes tests that don't run reliably on GitLab's CI which +usually expose real issues that are rarely seen on developer machines +due to the constraints of the CI environment. If you encounter a +similar situation then raise a bug and then mark the test as shown on +the code snippet below: .. code:: - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + # See https://gitlab.com/qemu-project/qemu/-/issues/nnnn + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') def test(self): do_something() -QEMU_TEST_FLAKY_TESTS -^^^^^^^^^^^^^^^^^^^^^ -Some tests are not working reliably and thus are disabled by default. -Set this environment variable to enable them. +Tests should not live in this state forever and should either be fixed +or eventually removed. + +To run such tests locally you will need to set the environment +variable. For example: + +.. code:: + + env QEMU_TEST_FLAKY_TESTS=1 ./pyvenv/bin/avocado run \ + tests/avocado/boot_linux.py:BootLinuxPPC64.test_pseries_tcg Uninstalling Avocado ~~~~~~~~~~~~~~~~~~~~ diff --git a/tests/avocado/boot_linux.py b/tests/avocado/boot_linux.py index be30dcbd58..9e9773e6e1 100644 --- a/tests/avocado/boot_linux.py +++ b/tests/avocado/boot_linux.py @@ -12,7 +12,7 @@ from avocado_qemu import LinuxTest, BUILD_DIR -from avocado import skipIf +from avocado import skipUnless class BootLinuxX8664(LinuxTest): @@ -93,7 +93,8 @@ class BootLinuxPPC64(LinuxTest): timeout = 360 - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_pseries_tcg(self): """ :avocado: tags=machine:pseries @@ -111,7 +112,8 @@ class BootLinuxS390X(LinuxTest): timeout = 240 - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_s390_ccw_virtio_tcg(self): """ :avocado: tags=machine:s390-ccw-virtio diff --git a/tests/avocado/boot_linux_console.py b/tests/avocado/boot_linux_console.py index 6eab515718..231b4f68e5 100644 --- a/tests/avocado/boot_linux_console.py +++ b/tests/avocado/boot_linux_console.py @@ -15,7 +15,7 @@ from avocado import skip from avocado import skipUnless -from avocado import skipIf +from avocado import skipUnless from avocado_qemu import QemuSystemTest from avocado_qemu import exec_command from avocado_qemu import exec_command_and_wait_for_pattern @@ -1419,7 +1419,8 @@ def test_ppc_mac99(self): # This test has a 6-10% failure rate on various hosts that look # like issues with a buggy kernel. As a result we don't want it # gating releases on Gitlab. - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_sh4_r2d(self): """ :avocado: tags=arch:sh4 diff --git a/tests/avocado/intel_iommu.py b/tests/avocado/intel_iommu.py index 77635ab56c..2dd11a6346 100644 --- a/tests/avocado/intel_iommu.py +++ b/tests/avocado/intel_iommu.py @@ -9,10 +9,11 @@ # later. See the COPYING file in the top-level directory. import os -from avocado import skipIf +from avocado import skipUnless from avocado_qemu import LinuxTest -@skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') +@skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + class IntelIOMMU(LinuxTest): """ :avocado: tags=arch:x86_64 diff --git a/tests/avocado/linux_initrd.py b/tests/avocado/linux_initrd.py index ba02e5a563..c40a987bd1 100644 --- a/tests/avocado/linux_initrd.py +++ b/tests/avocado/linux_initrd.py @@ -13,7 +13,7 @@ import tempfile from avocado_qemu import QemuSystemTest -from avocado import skipIf +from avocado import skipUnless class LinuxInitrd(QemuSystemTest): @@ -53,7 +53,8 @@ def test_with_2gib_file_should_exit_error_msg_with_linux_v3_6(self): max_size + 1) self.assertRegex(self.vm.get_log(), expected_msg) - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_with_2gib_file_should_work_with_linux_v4_16(self): """ QEMU has supported up to 4 GiB initrd for recent kernel diff --git a/tests/avocado/machine_aspeed.py b/tests/avocado/machine_aspeed.py index df31b2a8a8..258fb50c47 100644 --- a/tests/avocado/machine_aspeed.py +++ b/tests/avocado/machine_aspeed.py @@ -18,7 +18,7 @@ from avocado_qemu import interrupt_interactive_console_until_pattern from avocado_qemu import has_cmd from avocado.utils import archive -from avocado import skipIf +from avocado import skipUnless from avocado import skipUnless @@ -311,7 +311,8 @@ def do_test_arm_aspeed_sdk_start(self, image): self, 'boot', '## Loading kernel from FIT Image') self.wait_for_console_pattern('Starting kernel ...') - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_arm_ast2500_evb_sdk(self): """ :avocado: tags=arch:arm @@ -329,7 +330,8 @@ def test_arm_ast2500_evb_sdk(self): self.workdir + '/ast2500-default/image-bmc') self.wait_for_console_pattern('nodistro.0 ast2500-default ttyS4') - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_arm_ast2600_evb_sdk(self): """ :avocado: tags=arch:arm diff --git a/tests/avocado/machine_mips_malta.py b/tests/avocado/machine_mips_malta.py index 9bd54518bf..959dcf5602 100644 --- a/tests/avocado/machine_mips_malta.py +++ b/tests/avocado/machine_mips_malta.py @@ -11,7 +11,7 @@ import gzip import logging -from avocado import skipIf +from avocado import skipUnless from avocado import skipUnless from avocado.utils import archive from avocado_qemu import QemuSystemTest @@ -101,7 +101,8 @@ def test_mips_malta_i6400_framebuffer_logo_1core(self): """ self.do_test_i6400_framebuffer_logo(1) - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_mips_malta_i6400_framebuffer_logo_7cores(self): """ :avocado: tags=arch:mips64el @@ -111,7 +112,8 @@ def test_mips_malta_i6400_framebuffer_logo_7cores(self): """ self.do_test_i6400_framebuffer_logo(7) - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_mips_malta_i6400_framebuffer_logo_8cores(self): """ :avocado: tags=arch:mips64el diff --git a/tests/avocado/machine_rx_gdbsim.py b/tests/avocado/machine_rx_gdbsim.py index 6cd8704b01..350a73fbbb 100644 --- a/tests/avocado/machine_rx_gdbsim.py +++ b/tests/avocado/machine_rx_gdbsim.py @@ -10,7 +10,7 @@ import os -from avocado import skipIf +from avocado import skipUnless from avocado_qemu import QemuSystemTest from avocado_qemu import exec_command_and_wait_for_pattern from avocado_qemu import wait_for_console_pattern @@ -22,7 +22,8 @@ class RxGdbSimMachine(QemuSystemTest): timeout = 30 KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 ' - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_uboot(self): """ U-Boot and checks that the console is operational. @@ -46,7 +47,8 @@ def test_uboot(self): # FIXME limit baudrate on chardev, else we type too fast #exec_command_and_wait_for_pattern(self, 'version', gcc_version) - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_linux_sash(self): """ Boots a Linux kernel and checks that the console is operational. diff --git a/tests/avocado/machine_s390_ccw_virtio.py b/tests/avocado/machine_s390_ccw_virtio.py index ffd914ded9..61e75d8f9e 100644 --- a/tests/avocado/machine_s390_ccw_virtio.py +++ b/tests/avocado/machine_s390_ccw_virtio.py @@ -12,7 +12,7 @@ import os import tempfile -from avocado import skipIf +from avocado import skipUnless from avocado_qemu import QemuSystemTest from avocado_qemu import exec_command_and_wait_for_pattern from avocado_qemu import wait_for_console_pattern diff --git a/tests/avocado/replay_kernel.py b/tests/avocado/replay_kernel.py index 53cb7e5091..0d32cc280e 100644 --- a/tests/avocado/replay_kernel.py +++ b/tests/avocado/replay_kernel.py @@ -15,7 +15,7 @@ import time from avocado import skip -from avocado import skipIf +from avocado import skipUnless from avocado import skipUnless from avocado_qemu import wait_for_console_pattern from avocado.utils import archive @@ -82,6 +82,7 @@ def run_rr(self, kernel_path, kernel_command_line, console_pattern, class ReplayKernelNormal(ReplayKernelBase): + # See https://gitlab.com/qemu-project/qemu/-/issues/2010 @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test sometimes gets stuck') def test_x86_64_pc(self): """ @@ -179,7 +180,8 @@ def test_arm_virt(self): self.run_rr(kernel_path, kernel_command_line, console_pattern, shift=1) - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_arm_cubieboard_initrd(self): """ :avocado: tags=arch:arm diff --git a/tests/avocado/reverse_debugging.py b/tests/avocado/reverse_debugging.py index ed04e92bb4..9a468321e5 100644 --- a/tests/avocado/reverse_debugging.py +++ b/tests/avocado/reverse_debugging.py @@ -10,7 +10,7 @@ import os import logging -from avocado import skipIf +from avocado import skipUnless from avocado_qemu import BUILD_DIR from avocado.utils import datadrainer from avocado.utils import gdb @@ -206,7 +206,8 @@ def get_pc(self, g): + self.get_reg_le(g, self.REG_CS) * 0x10 # unidentified gitlab timeout problem - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_x86_64_pc(self): """ :avocado: tags=arch:x86_64 @@ -223,7 +224,8 @@ class ReverseDebugging_AArch64(ReverseDebugging): REG_PC = 32 # unidentified gitlab timeout problem - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_aarch64_virt(self): """ :avocado: tags=arch:aarch64 @@ -247,7 +249,8 @@ class ReverseDebugging_ppc64(ReverseDebugging): REG_PC = 0x40 # unidentified gitlab timeout problem - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_ppc64_pseries(self): """ :avocado: tags=arch:ppc64 @@ -260,7 +263,8 @@ def test_ppc64_pseries(self): self.reverse_debugging() # See https://gitlab.com/qemu-project/qemu/-/issues/1992 - @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + def test_ppc64_powernv(self): """ :avocado: tags=arch:ppc64 diff --git a/tests/avocado/smmu.py b/tests/avocado/smmu.py index b3c4de6bf4..05b34418a5 100644 --- a/tests/avocado/smmu.py +++ b/tests/avocado/smmu.py @@ -9,10 +9,11 @@ # later. See the COPYING file in the top-level directory. import os -from avocado import skipIf +from avocado import skipUnless from avocado_qemu import LinuxTest, BUILD_DIR -@skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') +@skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') + class SMMU(LinuxTest): """ :avocado: tags=accel:kvm diff --git a/tests/avocado/tuxrun_baselines.py b/tests/avocado/tuxrun_baselines.py index c99bea6c0b..5f859f4e6f 100644 --- a/tests/avocado/tuxrun_baselines.py +++ b/tests/avocado/tuxrun_baselines.py @@ -13,7 +13,7 @@ import time import tempfile -from avocado import skip, skipIf +from avocado import skip, skipUnless from avocado_qemu import QemuSystemTest from avocado_qemu import exec_command, exec_command_and_wait_for_pattern from avocado_qemu import wait_for_console_pattern @@ -551,7 +551,7 @@ def test_s390(self): haltmsg="Requesting system halt") # Note: some segfaults caused by unaligned userspace access - @skipIf(os.getenv('GITLAB_CI'), 'Skipping unstable test on GitLab') + @skipUnless(os.getenv('QEMU_TEST_FLAKY_TESTS'), 'Test is unstable on GitLab') def test_sh4(self): """ :avocado: tags=arch:sh4 From patchwork Fri Dec 1 15:12:25 2023 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: 748995 Delivered-To: patch@linaro.org Received: by 2002:adf:f9cb:0:b0:32d:baff:b0ca with SMTP id w11csp331875wrr; Fri, 1 Dec 2023 07:14:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHTYKIRahXdfE/raMc7rDqZC24YeGwXNotiOKCW94w7D/lXqMLg8BgkUoRzc65QOLE1HByw X-Received: by 2002:a05:6214:14b4:b0:67a:a3bd:8ca5 with SMTP id bo20-20020a05621414b400b0067aa3bd8ca5mr357285qvb.19.1701443665347; Fri, 01 Dec 2023 07:14:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701443665; cv=none; d=google.com; s=arc-20160816; b=oZx7HKK9JR3riz+TQO6sSDQfYqs1nlojVyAyXJkC6Gu6PwszjYwWM+sEulg6/6PKmH VewlEmUT8FBoqlxOy/BTDM3RN2HQhvrXqXDKBdNMWmuKpLqDBffikJ8HcvXduvfq/ico vlAjxecTZRKskJaWpFqnqLMl+pjQ8t4X6y47quz0XioiVqcogfCirU+soF5AyaXnG1Cf KxxBBA55n1GBwot6577JRuBBK1cey/WX+9WqKQM4V6Tafb5AS0QhZ7+GrATmj27B+EBd euXZljRSc1F7HQDsL/3/mYK2ItXfY4StmkuwazfwNWPqcJdBe5hoe0coVjIZtXlCovpJ 5qwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=kxGGSJ63Zm4VVOM52878zzwTuRazNRD8JON/droSv9Q=; fh=ZxYEY4tocwlJ3DYfO9lv7hSVd0Ioii1JD9ZaK8jd2Dg=; b=KfurklrrcvwwZorKID0LfMLx8R9qADJI9d1x6mJ3ZpLV6SDNS4U49qNYANoGA/TGNY 3ebL36PO3LMHWkUMhvlYZ67JGlczsob717pvEAC2m6/749Jm38ZUZ3cJmuLfqe9YyL2g ZQtPRm1tpHAGuD/C9gUm+v0GFeXbxerZpNWtSxDuNlFVpER+L/sGjeaGvTc+20dQEXcd g7DkRgJ6FaW3rNIWq/UOLPWUHKJHqyrwajAf9fPzUhYYEI8D6k7xoiMdMs05e4Ii3S7D G9FJznfEEFoV7axFfLzzQbgrn4mOM5mLEu84eyToCvB8CpTC4KqeUAi4dCTFVnesiGEU 2Rfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uIkYsq9y; 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=pass (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 m7-20020ad44d47000000b0067a943a8208si1854263qvm.410.2023.12.01.07.14.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Dec 2023 07:14:25 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=uIkYsq9y; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r95CW-00050R-6Y; Fri, 01 Dec 2023 10:13:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r95Bz-0004qj-7n for qemu-devel@nongnu.org; Fri, 01 Dec 2023 10:12:36 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r95Bv-0003so-GD for qemu-devel@nongnu.org; Fri, 01 Dec 2023 10:12:34 -0500 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40838915cecso21272695e9.2 for ; Fri, 01 Dec 2023 07:12:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701443550; x=1702048350; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kxGGSJ63Zm4VVOM52878zzwTuRazNRD8JON/droSv9Q=; b=uIkYsq9y9CCiTgWBsobFrWlsdq0TfKDz3GMb+fj9hlG+Yfpu8mmcE9/TKhFWwCMVlD kyHQ70D+GrEHQe5VRr76SACk664AvQp9mSjwtZdhB/n01aO7s4nvirl+GRVupYcoHues ytaZjhdqlfNiZcYAHCSQawIUmWswvi7NVBGz4h4dBvdQSunnkUMr6KNGCO/fqozeZSQV 1eeSb2JIq4oTfb+MfYbdL3Enz+Zwq5jcSaNk7qBTTggwZloLyHbJq2YpixmmVe6qrovX Xn3YS8zNOneX91I7y/285iQthW//rRqt9o4bOVG4GyjdIIFh6xlk68YfWUREsZarmehn XG5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701443550; x=1702048350; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kxGGSJ63Zm4VVOM52878zzwTuRazNRD8JON/droSv9Q=; b=iXuZ5TqhgLdUkMuHTPwsMGKc10lt4S9VqrqNdkU1WPHyTZjxzjldPa3VivAy9Swsrf xDgMu0OjfVNB51GckdIdMZhAy1CTagJa5M89KH6VPL2Bon8vV0ks08Air02OrltikrRR PTjbqH+vpWIDyRFWWRi6xPoY8KVAR+bGgo4rXWSo4+bNXDQitE+ius1CVsYGR02RospH 2lnKy4o9x3CtyaayBATmeYk8MAsZUdLYLM8uaCxbi5ekVgk7ooYaQoc/DYZn44LbWoB5 0a+STEBsDWi9BoCgzCG7W5nBicE1a3ABz8QioBMgfOTx/SEHFJjdBgFFkaHKZQtKp+bu u1Vg== X-Gm-Message-State: AOJu0YyLAYLR+bn+sqfZr3AMBTFQItMfDMOMYgeXvtg4+CbKA5vedxQ5 7j9hExc3Wm6UMD8pHczl9B7qpA== X-Received: by 2002:a05:600c:4296:b0:40b:5e59:daa9 with SMTP id v22-20020a05600c429600b0040b5e59daa9mr453832wmc.188.1701443549806; Fri, 01 Dec 2023 07:12:29 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id t3-20020adfe443000000b00332fcdafc22sm4466794wrm.70.2023.12.01.07.12.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 07:12:29 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 33A5A5FB65; Fri, 1 Dec 2023 15:12:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Stefan Hajnoczi , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Cleber Rosa , Wainer dos Santos Moschetta , Beraldo Leal , Jiaxun Yang Subject: [PULL 3/6] tests/avocado: drop BootLinuxConsole.test_mips_malta_cpio test Date: Fri, 1 Dec 2023 15:12:25 +0000 Message-Id: <20231201151228.2610209-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231201151228.2610209-1-alex.bennee@linaro.org> References: <20231201151228.2610209-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32f.google.com 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org The assets are no longer archived by Debian so we can't run this on CI. While some people may still have the test in their cache we do have more recent images from tuxrun so this isn't a great loss. Cc: Stefan Hajnoczi Cc: Philippe Mathieu-Daudé Acked-by: Stefan Hajnoczi Signed-off-by: Alex Bennée Message-Id: <20231201093633.2551497-4-alex.bennee@linaro.org> diff --git a/tests/avocado/boot_linux_console.py b/tests/avocado/boot_linux_console.py index 231b4f68e5..ba2f99b53a 100644 --- a/tests/avocado/boot_linux_console.py +++ b/tests/avocado/boot_linux_console.py @@ -191,47 +191,6 @@ def test_mips64el_fuloong2e(self): console_pattern = 'Kernel command line: %s' % kernel_command_line self.wait_for_console_pattern(console_pattern) - def test_mips_malta_cpio(self): - """ - :avocado: tags=arch:mips - :avocado: tags=machine:malta - :avocado: tags=endian:big - """ - deb_url = ('http://snapshot.debian.org/archive/debian/' - '20160601T041800Z/pool/main/l/linux/' - 'linux-image-4.5.0-2-4kc-malta_4.5.5-1_mips.deb') - deb_hash = 'a3c84f3e88b54e06107d65a410d1d1e8e0f340f8' - deb_path = self.fetch_asset(deb_url, asset_hash=deb_hash) - kernel_path = self.extract_from_deb(deb_path, - '/boot/vmlinux-4.5.0-2-4kc-malta') - initrd_url = ('https://github.com/groeck/linux-build-test/raw/' - '8584a59ed9e5eb5ee7ca91f6d74bbb06619205b8/rootfs/' - 'mips/rootfs.cpio.gz') - initrd_hash = 'bf806e17009360a866bf537f6de66590de349a99' - initrd_path_gz = self.fetch_asset(initrd_url, asset_hash=initrd_hash) - initrd_path = self.workdir + "rootfs.cpio" - archive.gzip_uncompress(initrd_path_gz, initrd_path) - - self.vm.set_console() - kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE - + 'console=ttyS0 console=tty ' - + 'rdinit=/sbin/init noreboot') - self.vm.add_args('-kernel', kernel_path, - '-initrd', initrd_path, - '-append', kernel_command_line, - '-no-reboot') - self.vm.launch() - self.wait_for_console_pattern('Boot successful.') - - exec_command_and_wait_for_pattern(self, 'cat /proc/cpuinfo', - 'BogoMIPS') - exec_command_and_wait_for_pattern(self, 'uname -a', - 'Debian') - exec_command_and_wait_for_pattern(self, 'reboot', - 'reboot: Restarting system') - # Wait for VM to shut down gracefully - self.vm.wait() - @skipUnless(os.getenv('AVOCADO_ALLOW_UNTRUSTED_CODE'), 'untrusted code') def test_mips64el_malta_5KEc_cpio(self): """ From patchwork Fri Dec 1 15:12:26 2023 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: 748994 Delivered-To: patch@linaro.org Received: by 2002:adf:f9cb:0:b0:32d:baff:b0ca with SMTP id w11csp331366wrr; Fri, 1 Dec 2023 07:13:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5sV/mf8LFB+qT4Hup75adUyO402+MQznnjyS9Rm9FP+AqM5cD9cVUwLunJT9YzAr6E+/n X-Received: by 2002:ad4:41c5:0:b0:67a:24fe:a5dc with SMTP id a5-20020ad441c5000000b0067a24fea5dcmr19088045qvq.34.1701443620640; Fri, 01 Dec 2023 07:13:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701443620; cv=none; d=google.com; s=arc-20160816; b=AcIBDqBxylyGrJVvyfiw3zaAbUUCbEhVENYnYM9JV+rMFS+BIYHn2AsHTn3Aj/em/u v3lgt0R0Q66m7V8UHtX0wnp+bajIYUTn7EqL96BhNrRa18INjRfnK7Ephv19ORE1VEQ4 5ZmOdmuIoMLuPbA5pH4pdd5iwBXctP5tqrwl3zRjo8L1r3PAZNcdXRPTrdpS77/QCOYm sVUYWxdekemjwHBhbuiz2mLBhZZFXnsGyFXyigyJr/nzBMvM7m3HNRzzOv46gBPKyf7K 81rPU6b132cHFhIolOWt5M1DTN+V2i4G+foIY9kSosu+Z9VROnEeXOydnaejmwvv99l2 q6LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=LTrDNbYJOBcXJe0QIsla+RGqqidagZ/wagIa9X/ca1U=; fh=3m3LQu/q8wyHLMLJwzxkd/k1z0MXLKIRTu0v/QbXI8w=; b=gVDAhSBpQntzRcib+QY+vi19az8q/18LmdIT0IcLpjcf6oeJkj54Sydg3WfORIJITy gsCyFqIIAwm2UBPkx0EEp99Y3J9bHDNo4NMiNdWls/Xrn1lF/qWKS7mNiz0GZEbCaKvM Zsp4P6oxoHJOYUZz8E5qNcC5eJYNNIQ0CFfXSN+VlbLee7uoJ+Tu0ecpBeWR9PP/IGPe 8JNe19NYcNF8kVHAaYgNt58bH3h11VtfIpbh6egDqPh+Qvy7jzRij6JdIyzBdkmaS3l8 5SLjkWEqJAzxjT9megzfynLaMAFC3C68+DftmPMaA1icFGyys/mNmKey5hQuZYoncSKh oAcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lQ0UGDds; 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=pass (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 w10-20020a056214012a00b0067aa13522f7si590454qvs.213.2023.12.01.07.13.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Dec 2023 07:13:40 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=lQ0UGDds; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r95CG-0004t6-Ug; Fri, 01 Dec 2023 10:12:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r95C0-0004qm-Lt for qemu-devel@nongnu.org; Fri, 01 Dec 2023 10:12:36 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r95By-0003tD-Kq for qemu-devel@nongnu.org; Fri, 01 Dec 2023 10:12:36 -0500 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40b595bf5d2so18221265e9.2 for ; Fri, 01 Dec 2023 07:12:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701443551; x=1702048351; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LTrDNbYJOBcXJe0QIsla+RGqqidagZ/wagIa9X/ca1U=; b=lQ0UGDdsVNJG2WGR7RUw95wjbmZfd9A3ORuVSilG/27w62yrkpEKOrKUBEkIPYxIae DaXav+08hmjhdwccp8RgonWA/qqBEUeZf5j5vz/qvz/iaCTKkNYgSBV22RNooEdAe/xq fnhxsBjKXrRuGYAjJHtJRuVxW38X7xwC9HjIiqSQFe9kEgSOX3yDH2i/5Zfcnyc0PU1E 0HERjNNFEntYO1sp7Uzfbbl15ZLkQe/y9WmwRfKM9D5XI3kmGkrTqjaZ48ufKcnGQJS9 3+x7+3OJO2IJubpfid2ySVuFU7AZ3lvOmUmKF3+oD+TMY5N3nJ+ntqFdpufj5lkTPS3h Ubxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701443551; x=1702048351; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LTrDNbYJOBcXJe0QIsla+RGqqidagZ/wagIa9X/ca1U=; b=G/VnmTyIKhqfGb90c3kBnoDSZQthiZ+S8lX84rG+yLQKaXUsiRXQ16Yv61a8fnkrRR FiGEOa04wCEelqE1Wp19nRnEm3Y+1zMncKJVWo6ACuO1pBFHpnryK6V15bCw4P8oYP5d /HY1OJG6P19VRGOdlG5mzgB/PZdGNSQ7MLhMgZomX0PrnrnMpuF09Vm5/cbmxNqCMoFI I22+v2ne4Rv4g4iiXUiMI5Q1P1Ic3kY8/ydVkTA9jKf0355sjqg5TlG2D4QYfKlNTiH6 N9ACsmG50DTMIzxN/YNxqzm9a2sjhBR4YntaI+XxnZFI9rr36F5g6ild5Z1kgXVZ7uyn Mpng== X-Gm-Message-State: AOJu0YxWe7CM4sVM4IB/uZzUQVwIRgjH+2YXhs4NsA4dKXyVa9IhyDrA E1mdDeLJ1csK5WfIH8LujW0azg== X-Received: by 2002:a5d:540b:0:b0:333:2fd2:3c0c with SMTP id g11-20020a5d540b000000b003332fd23c0cmr648167wrv.197.1701443551790; Fri, 01 Dec 2023 07:12:31 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id p8-20020adfcc88000000b0032f9688ea48sm4432922wrj.10.2023.12.01.07.12.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 07:12:29 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 453C65FB67; Fri, 1 Dec 2023 15:12:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philipp?= =?utf-8?q?e_Mathieu-Daud=C3=A9?= , Stefan Hajnoczi , Radoslaw Biernacki , Peter Maydell , Leif Lindholm , Marcin Juszkiewicz , Cleber Rosa , Wainer dos Santos Moschetta , Beraldo Leal , qemu-arm@nongnu.org (open list:SBSA-REF) Subject: [PULL 4/6] tests/avocado: tag sbsa tests as tcg only Date: Fri, 1 Dec 2023 15:12:26 +0000 Message-Id: <20231201151228.2610209-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231201151228.2610209-1-alex.bennee@linaro.org> References: <20231201151228.2610209-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32f.google.com 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org As firmware runs at a higher privilege level than the hypervisor we can only run these tests under TCG emulation. Reviewed-by: Philippe Mathieu-Daudé Acked-by: Stefan Hajnoczi Signed-off-by: Alex Bennée Message-Id: <20231201093633.2551497-6-alex.bennee@linaro.org> diff --git a/tests/avocado/machine_aarch64_sbsaref.py b/tests/avocado/machine_aarch64_sbsaref.py index bdd1efc768..528c7d2934 100644 --- a/tests/avocado/machine_aarch64_sbsaref.py +++ b/tests/avocado/machine_aarch64_sbsaref.py @@ -20,6 +20,10 @@ class Aarch64SbsarefMachine(QemuSystemTest): """ :avocado: tags=arch:aarch64 :avocado: tags=machine:sbsa-ref + :avocado: tags=accel:tcg + + As firmware runs at a higher privilege level than the hypervisor we + can only run these tests under TCG emulation. """ timeout = 180 From patchwork Fri Dec 1 15:12:27 2023 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: 748996 Delivered-To: patch@linaro.org Received: by 2002:adf:f9cb:0:b0:32d:baff:b0ca with SMTP id w11csp331913wrr; Fri, 1 Dec 2023 07:14:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IFG5VqFSy0PF43drzi8KTRTpHsba98MogumCBz2kC1sRkme+3Of2+f0fkQs19okFCaZWbr3 X-Received: by 2002:a05:6808:319a:b0:3b6:b069:80f8 with SMTP id cd26-20020a056808319a00b003b6b06980f8mr3147141oib.52.1701443668843; Fri, 01 Dec 2023 07:14:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701443668; cv=none; d=google.com; s=arc-20160816; b=q2hJhjWvwW1oNP4jB16/VYH+dyWmasUCFoKWWOFtMKcxgZD79iHv6IKp2AKAH4ykq3 VcB1Q4YG6jrpeEz/qngpy+BK40XktUddHavkwLyLpE1Qrw2Rat/kD6eIfQpytVzwgDyb LbMbAcuwNlIwHS2kwMiBwkF3aV4/HV3EvXL/nmgInffkrcIse26rW6ZKXSBKhh34MF52 wccU1DwCah+Ip8CutcGnaXvQhzHNUoggiFOAqzMoCJXZwBD8xhzXg6+piUh+jqLeMPa0 w7wrZAVtzHb/SVXtBcVriIWrgQrRmjc4xjWRhdBceDHnSRoWyGMRVbNeVy6uQg6AdEtm rpLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=x+4RIhvIWUcpCT7qUh814AJlZGLCqs4LOMeRimhH8r0=; fh=Aw7BFJEfCRH2J4EitQPvFS/pC8UrLR3nsTz8nlBdIG0=; b=yTYWBNaSa01JhvsLwIaxKzrQyuKJ+2kd9sUa0x8oHflK+Gw+MTKOKrrK989lUaQq7z sIqNI+Oa7oj+HVfluzDimNM3KL6K+q2+N28G8Dv6Z9IVrc52QJeQpG3sA8sl8zAdapUG U8BDtjNEzmZtCFvR5arKY2DKNZRDJgIvOMveYoKrv4cTTbfNv4ScpL6yOJs3gq3JQau0 aZFgXcZZBggpEP+fNht2LhGJgsN8MW3tUML23d1jUnfgz4dmKtXfMGAI+lDF4aa0sH6e hQIFOwwjDDqCNYt0l1HOFU/b+g17pUBnyWF48m3zKvX/2no5Ep67H0//KxO6EU2fNZQM uGvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fg2X59cz; 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=pass (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 b25-20020a67e999000000b00457bc910100si700171vso.256.2023.12.01.07.14.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Dec 2023 07:14:28 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=fg2X59cz; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r95Cc-00053w-AG; Fri, 01 Dec 2023 10:13:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r95C4-0004rF-50 for qemu-devel@nongnu.org; Fri, 01 Dec 2023 10:12:42 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r95Bz-00040A-DH for qemu-devel@nongnu.org; Fri, 01 Dec 2023 10:12:39 -0500 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40b40423df8so19504115e9.0 for ; Fri, 01 Dec 2023 07:12:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701443554; x=1702048354; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=x+4RIhvIWUcpCT7qUh814AJlZGLCqs4LOMeRimhH8r0=; b=fg2X59czmtDQxdrGIcVWNwFufWDX6/u5b0S7ERubPODP7cyt1YlbhlFPYGyPCkYieM FlhaqHaERwF98g0GVLDiTQclWzCAZoPqR6HpefsK8wMeqkHNow1EkT6ezLlT8GnCcrZw zo0mz6Rd10cvUYOCzfepmfbFvuU0teb0TjTrwGgDh3j5JHFuUnLpIKHbaiU4KQ+TYH5o d1QXzeXHud39iWcqnKLFDhFCK7n2i6xnhMQwv1C0Rwd9sutLY055LheLX0TcTSC0G1dr 2Jk+7NeynbWtxUqbZe80U3kMRlkHm7ZZS6RAWdnjFPSDbofy3ifaW2MBHypnDRL6lLP5 /BcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701443554; x=1702048354; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=x+4RIhvIWUcpCT7qUh814AJlZGLCqs4LOMeRimhH8r0=; b=Q/xwIQ0AH2uxo1MG2+wdHKmRVp132jRlGKBRTQv4SNzBTRCnxfLihnDKV50v5ti/Fq /BEXLvPA9p0ZB+c5ff66BlAspNB8kGedisEdJIcYkeeSfT9DyL3lsdMIPHRlNxxhmQLo Z7E4AxzROh5PNLNbWI0I6JikuncfaksCT6+k3qSrnnEMqb/bkdx/0SLotHX3ea7aswUL caEDKjr63/iQ1HNQlp3pKzxXA7SqpBZ+H4MLbwhfBAJ9sdlCuCqdihDsZJDGjcC38y7t +xBclfA9akPl5XLFDzOrIEOnzUm1c4P7jDp++M8sRK4iM6ozyoULrDG5AAgUl2gVFvE+ Rg+w== X-Gm-Message-State: AOJu0Yw8eCqky4vTw9iTxHl3mzXyUk2kRZACsHXPGkT0rySR6Y50x6wH YL0DdTuyi9Z0NiEJSQ0lXzbKcg== X-Received: by 2002:a05:600c:2317:b0:40b:5e4a:409a with SMTP id 23-20020a05600c231700b0040b5e4a409amr347344wmo.186.1701443553654; Fri, 01 Dec 2023 07:12:33 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id bg36-20020a05600c3ca400b003fe1fe56202sm5800283wmb.33.2023.12.01.07.12.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 07:12:31 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 568205FB69; Fri, 1 Dec 2023 15:12:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philipp?= =?utf-8?q?e_Mathieu-Daud=C3=A9?= , Stefan Hajnoczi , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL 5/6] gitlab: build the correct microblaze target Date: Fri, 1 Dec 2023 15:12:27 +0000 Message-Id: <20231201151228.2610209-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231201151228.2610209-1-alex.bennee@linaro.org> References: <20231201151228.2610209-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32b.google.com 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org We inadvertently built the LE target for BE tests. Fixes: 78ebc00b06 (gitlab: shuffle some targets and reduce avocado noise) Reviewed-by: Philippe Mathieu-Daudé Acked-by: Stefan Hajnoczi Signed-off-by: Alex Bennée Message-Id: <20231201093633.2551497-7-alex.bennee@linaro.org> diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml index 7f9af83b10..62b5379a5e 100644 --- a/.gitlab-ci.d/buildtest.yml +++ b/.gitlab-ci.d/buildtest.yml @@ -41,7 +41,7 @@ build-system-ubuntu: variables: IMAGE: ubuntu2204 CONFIGURE_ARGS: --enable-docs - TARGETS: alpha-softmmu microblazeel-softmmu mips64el-softmmu + TARGETS: alpha-softmmu microblaze-softmmu mips64el-softmmu MAKE_CHECK_ARGS: check-build check-system-ubuntu: From patchwork Fri Dec 1 15:12:28 2023 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: 748999 Delivered-To: patch@linaro.org Received: by 2002:adf:f9cb:0:b0:32d:baff:b0ca with SMTP id w11csp332174wrr; Fri, 1 Dec 2023 07:14:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IG3QlInQepw9zV60GKw/EYhU+xn49ngn6HvJaBjQxiJAlaGy5+J4BoysTyyzZmnJhrKAieR X-Received: by 2002:a05:6102:4a9:b0:464:4e2b:55e8 with SMTP id r9-20020a05610204a900b004644e2b55e8mr9010395vsa.33.1701443692485; Fri, 01 Dec 2023 07:14:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701443692; cv=none; d=google.com; s=arc-20160816; b=jOSDZqhZWP2xEYqL21Bzo/JjRfrt5TM+VYYQmHkCP3UJfi2bPIe9z9jIjCdPmnGr5o JSPBr3mFTbRArUej9Zvr88vFDY/oM5gEnBwqrRL1x56Y1417e3kLik6P5LgjyBWz6qWS IMCpQApv+SPDIymEM/rCxKDRdhTN+lKnS6v1XEoEpO1gK8I/Ll/hdCcoIQ5mm51uXU1F JexpwMAsLrHjz7EKx9pQjRqaJ5dTCK5gusRRb8pqsO3M2J6UK4994ax/drEOyFEoZC83 pDEKBynBuBlMhP03eJbBKygfl5/jAyhrJmf/H/5pRTBNx6CPnukNbii+yzQ0htLt2eDZ Dy0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=5LRig+tQmW4bH55Vbco9n1/RCIy3/FKKNzzRuQiv8bw=; fh=OP/WzVpCQMNcqN2ohnefVAU1Iwu+pKeugK/8oBq396s=; b=HD0dsx2RSwIvxitvsXS/3QM4sIDVDTjaEYx47Ge7lmPAnD4NmFQDA7Zc2w+I4IlIrp IU1uHUL6RsrOur6pu3pwGjLfaTToNfgGM0DZnjTPX+Oy2doMTtjV9/3JXFRbWhJBApxm JKs8X1ve62fKAQurwKHmipGZT0oJmXptSsyjY+GNfMMfFHem/e4bkX+JbuDCBcfuOHvn aeztVjWAzY89BV04O0YVpd3iBIssev9eWh+lZh3OsSlcV9r+/j9SD4sU9lUZY/MoH1Qy p6bBnrPjwrhBm82PmW58ap5pmK5IUuUz6MvusvsZukiqS4hL/WdVnoi+Ccylskskhc1D Gp3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yeOsBj9j; 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=pass (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 n9-20020a67fb89000000b004644db177a6si752490vsr.718.2023.12.01.07.14.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Dec 2023 07:14:52 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=yeOsBj9j; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r95CY-000532-6J; Fri, 01 Dec 2023 10:13:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r95C4-0004rE-36 for qemu-devel@nongnu.org; Fri, 01 Dec 2023 10:12:42 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r95By-0003tc-Uo for qemu-devel@nongnu.org; Fri, 01 Dec 2023 10:12:39 -0500 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-40a4848c6e1so19382795e9.1 for ; Fri, 01 Dec 2023 07:12:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701443552; x=1702048352; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5LRig+tQmW4bH55Vbco9n1/RCIy3/FKKNzzRuQiv8bw=; b=yeOsBj9jqQQnk0Vn7/s1MOPC/2JGV4/VZn7dq4YUlRLNURJP7ua3GSqbINEz7/CrZk 8pQhfkjKS6jGM+WAOISQYj2qxZEjFL3Q614HQT12XjfhwiB5bPGzRXnemFBkhr1+t+e2 kTq8yzcT+9PnmBt6zzVIVy4r9DE6OJ3GHZfjVLrXRwgLa0SsfJzoQOwNgj8KE89Np0gy /J1eKwC3U15UTUbi4r6WE9Yq4UGEzrVjcmgFUa4nVKViBBlYF92VyM80Eebdf5LLvTBh x8bjHnLlD2u7yvb4y2m8QSXb8Kg5qUzq8CL0u2aQ0DDTu0h9YGDkIe1UYipC/1ZnG6Uy x1UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701443552; x=1702048352; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5LRig+tQmW4bH55Vbco9n1/RCIy3/FKKNzzRuQiv8bw=; b=U1ZBh6OUm+ycq27kglortlHSTKQ2et1o5oamrqMzmU52qs7z2IGBfVsvFWMutblYMb 5OmmT8QKnw1yNMM5mRWqpXnqB9NUBc1ff2RDM0seAOhCTs2P+gd7gHZdzc5/yWFBrRXL J8gDFcSZHlOvXTqogW+U3Ufb7c4iptGLFjUIBa7OT4nvu6FtapXyvoJyFo2F6IKeQ9qs KuY7Jyo3tbC+qYgCEma9P/pP0J3U8Ibx4mPBrAZrkMuFJ/KH7Js+rpgI2ySfW9/StCQo AhzJ5c1ouyya4jypBHo7xkmMXhWX3pAAqIUUsQW0PThKXZWU8ia1R8NBngRqBBvak0CO kjjA== X-Gm-Message-State: AOJu0YwvPeZ0KKGbIjDxl/sUzgkqSiz+J+jAwwo9k7jBtdF1DWznRdHs alif3aJVbEy+yxjNFiamQCHs4w== X-Received: by 2002:a05:600c:4f46:b0:40b:5e4a:4068 with SMTP id m6-20020a05600c4f4600b0040b5e4a4068mr376375wmq.136.1701443552133; Fri, 01 Dec 2023 07:12:32 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id j7-20020a5d4527000000b00332fda15056sm4387336wra.110.2023.12.01.07.12.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 07:12:31 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 782DF5FB6B; Fri, 1 Dec 2023 15:12:29 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson , Stefan Hajnoczi , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal , Cleber Rosa , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Peter Maydell , Andrew Jeffery , Joel Stanley , Aurelien Jarno , Yoshinori Sato , Halil Pasic , Christian Borntraeger , Eric Farman , Pavel Dovgalyuk , Paolo Bonzini , Eric Auger , qemu-arm@nongnu.org (open list:ASPEED BMCs), qemu-s390x@nongnu.org (open list:S390 Virtio-ccw) Subject: [PULL 6/6] gitlab: add optional job to run flaky avocado tests Date: Fri, 1 Dec 2023 15:12:28 +0000 Message-Id: <20231201151228.2610209-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231201151228.2610209-1-alex.bennee@linaro.org> References: <20231201151228.2610209-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x335.google.com 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, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org One problem with flaky tests is they often only fail under CI conditions which makes it hard to debug. We add an optional allow_fail job so developers can trigger the only the flaky tests in the CI environment if they are debugging. Reviewed-by: Richard Henderson Acked-by: Stefan Hajnoczi Signed-off-by: Alex Bennée Message-Id: <20231201093633.2551497-8-alex.bennee@linaro.org> diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index 76465b8f3d..bd132306c1 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -1387,16 +1387,17 @@ the code snippet below: def test(self): do_something() -Tests should not live in this state forever and should either be fixed -or eventually removed. - -To run such tests locally you will need to set the environment -variable. For example: +You can also add ``:avocado: tags=flaky`` to the test meta-data so +only the flaky tests can be run as a group: .. code:: - env QEMU_TEST_FLAKY_TESTS=1 ./pyvenv/bin/avocado run \ - tests/avocado/boot_linux.py:BootLinuxPPC64.test_pseries_tcg + env QEMU_TEST_FLAKY_TESTS=1 ./pyvenv/bin/avocado \ + run tests/avocado -filter-by-tags=flaky + +Tests should not live in this state forever and should either be fixed +or eventually removed. + Uninstalling Avocado ~~~~~~~~~~~~~~~~~~~~ diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml index 62b5379a5e..91663946de 100644 --- a/.gitlab-ci.d/buildtest.yml +++ b/.gitlab-ci.d/buildtest.yml @@ -217,6 +217,36 @@ avocado-system-opensuse: MAKE_CHECK_ARGS: check-avocado AVOCADO_TAGS: arch:s390x arch:x86_64 arch:aarch64 +# +# Flaky tests. We don't run these by default and they are allow fail +# but often the CI system is the only way to trigger the failures. +# + +build-system-flaky: + extends: + - .native_build_job_template + - .native_build_artifact_template + needs: + job: amd64-debian-container + variables: + IMAGE: debian + QEMU_JOB_OPTIONAL: 1 + TARGETS: aarch64-softmmu arm-softmmu mips64el-softmmu + ppc64-softmmu rx-softmmu s390x-softmmu sh4-softmmu x86_64-softmmu + MAKE_CHECK_ARGS: check-build + +avocado-system-flaky: + extends: .avocado_test_job_template + needs: + - job: build-system-flaky + artifacts: true + allow_failure: true + variables: + IMAGE: debian + MAKE_CHECK_ARGS: check-avocado + QEMU_JOB_OPTIONAL: 1 + QEMU_TEST_FLAKY_TESTS: 1 + AVOCADO_TAGS: flaky # This jobs explicitly disable TCG (--disable-tcg), KVM is detected by # the configure script. The container doesn't contain Xen headers so diff --git a/tests/avocado/boot_linux.py b/tests/avocado/boot_linux.py index 9e9773e6e1..7c4769904e 100644 --- a/tests/avocado/boot_linux.py +++ b/tests/avocado/boot_linux.py @@ -99,6 +99,7 @@ def test_pseries_tcg(self): """ :avocado: tags=machine:pseries :avocado: tags=accel:tcg + :avocado: tags=flaky """ self.require_accelerator("tcg") self.vm.add_args("-accel", "tcg") @@ -118,6 +119,7 @@ def test_s390_ccw_virtio_tcg(self): """ :avocado: tags=machine:s390-ccw-virtio :avocado: tags=accel:tcg + :avocado: tags=flaky """ self.require_accelerator("tcg") self.vm.add_args("-accel", "tcg") diff --git a/tests/avocado/boot_linux_console.py b/tests/avocado/boot_linux_console.py index ba2f99b53a..7487337f46 100644 --- a/tests/avocado/boot_linux_console.py +++ b/tests/avocado/boot_linux_console.py @@ -1384,6 +1384,7 @@ def test_sh4_r2d(self): """ :avocado: tags=arch:sh4 :avocado: tags=machine:r2d + :avocado: tags=flaky """ tar_hash = 'fe06a4fd8ccbf2e27928d64472939d47829d4c7e' self.vm.add_args('-append', 'console=ttySC1') diff --git a/tests/avocado/intel_iommu.py b/tests/avocado/intel_iommu.py index 2dd11a6346..f04ee1cf9d 100644 --- a/tests/avocado/intel_iommu.py +++ b/tests/avocado/intel_iommu.py @@ -22,6 +22,7 @@ class IntelIOMMU(LinuxTest): :avocado: tags=machine:q35 :avocado: tags=accel:kvm :avocado: tags=intel_iommu + :avocado: tags=flaky """ IOMMU_ADDON = ',iommu_platform=on,disable-modern=off,disable-legacy=on' diff --git a/tests/avocado/linux_initrd.py b/tests/avocado/linux_initrd.py index c40a987bd1..aad5b19bd9 100644 --- a/tests/avocado/linux_initrd.py +++ b/tests/avocado/linux_initrd.py @@ -57,6 +57,8 @@ def test_with_2gib_file_should_exit_error_msg_with_linux_v3_6(self): def test_with_2gib_file_should_work_with_linux_v4_16(self): """ + :avocado: tags=flaky + QEMU has supported up to 4 GiB initrd for recent kernel Expect guest can reach 'Unpacking initramfs...' """ diff --git a/tests/avocado/machine_aspeed.py b/tests/avocado/machine_aspeed.py index 258fb50c47..6fa5459a07 100644 --- a/tests/avocado/machine_aspeed.py +++ b/tests/avocado/machine_aspeed.py @@ -317,6 +317,7 @@ def test_arm_ast2500_evb_sdk(self): """ :avocado: tags=arch:arm :avocado: tags=machine:ast2500-evb + :avocado: tags=flaky """ image_url = ('https://github.com/AspeedTech-BMC/openbmc/releases/' @@ -336,6 +337,7 @@ def test_arm_ast2600_evb_sdk(self): """ :avocado: tags=arch:arm :avocado: tags=machine:ast2600-evb + :avocado: tags=flaky """ image_url = ('https://github.com/AspeedTech-BMC/openbmc/releases/' diff --git a/tests/avocado/machine_mips_malta.py b/tests/avocado/machine_mips_malta.py index 959dcf5602..99bee49e9a 100644 --- a/tests/avocado/machine_mips_malta.py +++ b/tests/avocado/machine_mips_malta.py @@ -109,6 +109,7 @@ def test_mips_malta_i6400_framebuffer_logo_7cores(self): :avocado: tags=machine:malta :avocado: tags=cpu:I6400 :avocado: tags=mips:smp + :avocado: tags=flaky """ self.do_test_i6400_framebuffer_logo(7) @@ -120,6 +121,7 @@ def test_mips_malta_i6400_framebuffer_logo_8cores(self): :avocado: tags=machine:malta :avocado: tags=cpu:I6400 :avocado: tags=mips:smp + :avocado: tags=flaky """ self.do_test_i6400_framebuffer_logo(8) diff --git a/tests/avocado/machine_rx_gdbsim.py b/tests/avocado/machine_rx_gdbsim.py index 350a73fbbb..412a7a5089 100644 --- a/tests/avocado/machine_rx_gdbsim.py +++ b/tests/avocado/machine_rx_gdbsim.py @@ -31,6 +31,7 @@ def test_uboot(self): :avocado: tags=arch:rx :avocado: tags=machine:gdbsim-r5f562n8 :avocado: tags=endian:little + :avocado: tags=flaky """ uboot_url = ('https://acc.dl.osdn.jp/users/23/23888/u-boot.bin.gz') uboot_hash = '9b78dbd43b40b2526848c0b1ce9de02c24f4dcdb' @@ -56,6 +57,7 @@ def test_linux_sash(self): :avocado: tags=arch:rx :avocado: tags=machine:gdbsim-r5f562n7 :avocado: tags=endian:little + :avocado: tags=flaky """ dtb_url = ('https://acc.dl.osdn.jp/users/23/23887/rx-virt.dtb') dtb_hash = '7b4e4e2c71905da44e86ce47adee2210b026ac18' diff --git a/tests/avocado/machine_s390_ccw_virtio.py b/tests/avocado/machine_s390_ccw_virtio.py index 61e75d8f9e..26e938c9e9 100644 --- a/tests/avocado/machine_s390_ccw_virtio.py +++ b/tests/avocado/machine_s390_ccw_virtio.py @@ -167,6 +167,7 @@ def test_s390x_fedora(self): :avocado: tags=device:virtio-gpu :avocado: tags=device:virtio-crypto :avocado: tags=device:virtio-net + :avocado: tags=flaky """ kernel_url = ('https://archives.fedoraproject.org/pub/archive' diff --git a/tests/avocado/replay_kernel.py b/tests/avocado/replay_kernel.py index 0d32cc280e..af086eab08 100644 --- a/tests/avocado/replay_kernel.py +++ b/tests/avocado/replay_kernel.py @@ -88,6 +88,7 @@ def test_x86_64_pc(self): """ :avocado: tags=arch:x86_64 :avocado: tags=machine:pc + :avocado: tags=flaky """ kernel_url = ('https://archives.fedoraproject.org/pub/archive/fedora' '/linux/releases/29/Everything/x86_64/os/images/pxeboot' @@ -186,6 +187,7 @@ def test_arm_cubieboard_initrd(self): """ :avocado: tags=arch:arm :avocado: tags=machine:cubieboard + :avocado: tags=flaky """ deb_url = ('https://apt.armbian.com/pool/main/l/' 'linux-5.10.16-sunxi/linux-image-current-sunxi_21.02.2_armhf.deb') diff --git a/tests/avocado/reverse_debugging.py b/tests/avocado/reverse_debugging.py index 9a468321e5..4cce5a5598 100644 --- a/tests/avocado/reverse_debugging.py +++ b/tests/avocado/reverse_debugging.py @@ -255,6 +255,7 @@ def test_ppc64_pseries(self): """ :avocado: tags=arch:ppc64 :avocado: tags=machine:pseries + :avocado: tags=flaky """ # SLOF branches back to its entry point, which causes this test # to take the 'hit a breakpoint again' path. That's not a problem, @@ -269,6 +270,7 @@ def test_ppc64_powernv(self): """ :avocado: tags=arch:ppc64 :avocado: tags=machine:powernv + :avocado: tags=flaky """ self.endian_is_le = False self.reverse_debugging() diff --git a/tests/avocado/smmu.py b/tests/avocado/smmu.py index 05b34418a5..21ff030ca7 100644 --- a/tests/avocado/smmu.py +++ b/tests/avocado/smmu.py @@ -22,6 +22,7 @@ class SMMU(LinuxTest): :avocado: tags=machine:virt :avocado: tags=distro:fedora :avocado: tags=smmu + :avocado: tags=flaky """ IOMMU_ADDON = ',iommu_platform=on,disable-modern=off,disable-legacy=on' diff --git a/tests/avocado/tuxrun_baselines.py b/tests/avocado/tuxrun_baselines.py index 5f859f4e6f..a936a3b780 100644 --- a/tests/avocado/tuxrun_baselines.py +++ b/tests/avocado/tuxrun_baselines.py @@ -561,6 +561,7 @@ def test_sh4(self): :avocado: tags=image:zImage :avocado: tags=root:sda :avocado: tags=console:ttySC1 + :avocado: tags=flaky """ sums = { "rootfs.ext4.zst" : "3592a7a3d5a641e8b9821449e77bc43c9904a56c30d45da0694349cfd86743fd",