From patchwork Thu Nov 21 16:57:28 2024 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: 844676 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2382393wrx; Thu, 21 Nov 2024 08:59:03 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWNYtG3eJNdmVyn+4YW5ERgHXEOZE1jMYor9bf0qIEKPRQIgxbak9NQ1j1dGqZwlftLMPlLmw==@linaro.org X-Google-Smtp-Source: AGHT+IFb6xeNPEbcZZEHfOX4g2XF7RtOm70ulw7oR899+EqvPH05jpR5hwIVRCS4N+TbKCn/6XlM X-Received: by 2002:a05:622a:494:b0:45f:890c:5f49 with SMTP id d75a77b69052e-4652f4584cbmr58520591cf.24.1732208343262; Thu, 21 Nov 2024 08:59:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208343; cv=none; d=google.com; s=arc-20240605; b=XJ+ZeU597rYw0jF5a/1AuGsLlhKtoa2zgO4zfX6QSPmYQj7tb61jvc1Ez/5AVqJ89c /KinGcqqfAiL+ZJ1YKQdZwPlU9u9e3C1zQz4HKom9kmcq5ZqiFqNVBe6iZOY6XrxUnCf aU9JEzv5p//Vr0h7iRwMgoVqkIwTDKT++lv1oJuEpqo6tPJvOdQw7IBep9+GRX/MqlqC 2T9VIvaoBDicM0DsG6+M3kz5iP93P1UgKHur5gX3zBBiADCoh/n9us6xHgFmvDYjIWST b7U1C9cv3TmLWmQmMxT3unhGPnk9oShziZ5NqAf/wuxrXr3uTiCrdWrUxq3gd17mbEh2 2Z8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=VMCy7EhA7nNoXN4BB2O8qdNc46ZWyWADLDGmK+DUhKU=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=ko20U0sLmwsHuu49Gb9tr1RGuUCGgKS/RUT8b715ORltj7YWIM4WKlcrjoCKAUnVAM EgJcklHMbGchfXtC18lnpNw28mYxG8eooppj22N2zgtUxDaj/zIs8kik7uHhF8YkSONU birZ8k8c7s7l1oUsaN9AhRLh0mBkl3Y1uVNCNaIebebwMsHHy5bYJT3ogqeOR9x3EpVI 9If1xHHpHnJyLH7isOtRdVdalwqVSIlmKSK75PbHmVEkr9X4jKvPfB7wmgFFhCrh8ZFr Aa8yjW2Vuyo6jsNE7Mk9uMaCpxFmhcTlc82G/aqlLHQZg8EdKXjpTHZtI9pCgB2Gu/V8 qxCA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="mh/pMQsc"; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-4653c3f27c9si1082341cf.164.2024.11.21.08.59.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 08:59:03 -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="mh/pMQsc"; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAVh-0004g5-P0; Thu, 21 Nov 2024 11:58:29 -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 1tEAVY-0004Wk-S7 for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:22 -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 1tEAVQ-0007zE-7s for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:20 -0500 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-431481433bdso9628835e9.3 for ; Thu, 21 Nov 2024 08:58:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208290; x=1732813090; 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=VMCy7EhA7nNoXN4BB2O8qdNc46ZWyWADLDGmK+DUhKU=; b=mh/pMQscgda3GBpKKZrTP77SMcDtIQAa4M2gSFFXRGf3U6HW2sE9lhCkuT8Fh58kjx HOCUNd+xI3MPs6RWXgUkYFv+Fw5GUOivptbIndw8f2rbzt1s3H4WrwzYWYRXgqKIO0Ez nMQF2xAKTwyVLbqJMHCQH+YEwZTjOznHidTJt9JjVy4ykZjHi+gcr010Nj10/NtNDx57 aSKVyrNK8vTYBFxz4Q74Ytf0ZDljDPKUIp1qBQ5DKUyodS7DtAuTvFjLgHR88GFoU06P Mv8NlCiLqOxq/epobvrRW3REUh2cG9JUp1hmN72Z22Dgznw29ggdiDilGmXj5j/xWcQU 5bOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208290; x=1732813090; 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=VMCy7EhA7nNoXN4BB2O8qdNc46ZWyWADLDGmK+DUhKU=; b=kjm5vHLLY60B3rGzJnVbpSQzGa2nqNFGB3iKuZsSGu9ntBtvZS3Ih+458imCvOjnd4 6QOaOlWCZYvsvtady0Q/6t2qcfsMjxut+2BlpGUZGtyhjsFh8O5aYujq3bWI7cxV0NUV lAITCKjBlRnzgHWyUCo3nWj4QKmbJfZiHYYoLAuCOhEBVcdYGrHCGjlP19/RjM/cAaWE 0uxZ4oMdQbJqhk9s3SwqasKvBxNT0KrVs+5vBLJ/o2Pl+prasqqQgykqzroI4OOj2jW2 c9mA4zS1TwOeFTTlaSoVjMtok/mYZsj+V5aXIrz3aJIzMUWQwg4QY50rjIfl9ZdYW4Wv CnKg== X-Gm-Message-State: AOJu0YxVohZ8dk3N9WG6/xqtAqPWEtoRUcOcau5EcLN0kI1Czn6xx/+f 5uLDD2WaZpcoODmIXNO747avaljHr97/4UHuxaCuiSlzwL/fY87DIERs9qXrBus= X-Gm-Gg: ASbGnct8edKgpYkKUAXqKiP36in7Qk++Qp69mIM7V8kNaxumVzczYP6crAe4YeQa8uV Fh5C8pFoBylS2yuuGyKIL3XZSya4p/RF7+lIqvx/kmcDUZz5tdc/fsI+HVDu68fXcba/r/ulfXE MkVdtDPjyXM20jwSmhSOJlgXxxA/x6K+6P7adtjPpt8Loc8N1Kv61hwicl5AMUY/dbyM+EMvJEJ xS7MgMh9g0ylBYK79dKwkI+I2llIZVa3JpwNTAb0unti/R4 X-Received: by 2002:a5d:6da9:0:b0:382:30a5:c377 with SMTP id ffacd0b85a97d-38254b01509mr5296140f8f.32.1732208290382; Thu, 21 Nov 2024 08:58:10 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43366cbcd17sm45828635e9.1.2024.11.21.08.58.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:08 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 863075F92B; Thu, 21 Nov 2024 16:58:06 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 01/39] tests/functional: fix mips64el test to honour workdir Date: Thu, 21 Nov 2024 16:57:28 +0000 Message-Id: <20241121165806.476008-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-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 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 From: Daniel P. Berrangé The missing directory separator resulted in the kernel file being created 1 level higher than expected. Reviewed-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-2-berrange@redhat.com> Signed-off-by: Alex Bennée --- tests/functional/test_mips64el_malta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/test_mips64el_malta.py b/tests/functional/test_mips64el_malta.py index 6c6355b131..24ebcdb9c1 100755 --- a/tests/functional/test_mips64el_malta.py +++ b/tests/functional/test_mips64el_malta.py @@ -129,7 +129,7 @@ def do_test_i6400_framebuffer_logo(self, cpu_cores_count): screendump_path = os.path.join(self.workdir, 'screendump.pbm') kernel_path_gz = self.ASSET_KERNEL_4_7_0.fetch() - kernel_path = self.workdir + "vmlinux" + kernel_path = self.workdir + "/vmlinux" gzip_uncompress(kernel_path_gz, kernel_path) tuxlogo_path = self.ASSET_TUXLOGO.fetch() From patchwork Thu Nov 21 16:57:29 2024 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: 844678 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2382452wrx; Thu, 21 Nov 2024 08:59:12 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCU/06o0Qu/Pws814/juRfQ05DVNgwvllEQkTFR6o+WqWb1q7TwwrJMUeVB5VlHbrQHW/W9C9A==@linaro.org X-Google-Smtp-Source: AGHT+IFUDXan1U+cDIZSQWPEUCQTn37f+ik5eBcVsRSgZbM6YJY6RlPDRM94trDLWtVdwEhIQowz X-Received: by 2002:a05:6830:1e55:b0:718:43b6:b0a0 with SMTP id 46e09a7af769-71ab314922amr7064030a34.4.1732208351865; Thu, 21 Nov 2024 08:59:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208351; cv=none; d=google.com; s=arc-20240605; b=LzQgnWGcnbYkrE1g6Zxi11XeRycBKOYzmS7ciZVBgMESh2S/M4riSOW4iLlWXjjwP2 9oDW1drZT6gu7oOlfztMYUKmCLp4Vpu+4g3qjRY6ww/1kePAVrEw/kSq6qfeM4Zueh2x al0RVKE/05c92zVMTncNyB2RWwW3LTRQPAKM6600Kef7qT0ebH57ZoKGgLYlxDasys/N wROZkpdARwAWzt8JWD0azYjkIlJ9bZASjfLavaYcHUNJmxXoXLsZ89PKUQ8QXiJNxCqS D+BwsGONWQrMwNBq4rDqDr7n7f7tdlqazjsLZ6cJUcnFXog1np65xRPSSBETkkjJUtwC ZsQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=yY9M4nXaCJ2neB5ZRMCPvZw3DACi8uIco1VZWqAc51U=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=Mp3+Cdiwsf+ho0kotC8fS+y+e7Y8uj1rkCIISs6VCk+GVEQHzvzCwiS1vZDkPuilXY qBV+Koi8rh2FWK/wrhJgEs8F56p41fulfb0jsBnjKsi84HSS5kHHaW3Q9CBctk00AIa5 kjVobD2YQ+zEQn3HXZ3IN/kD8MQgyOd0e1AxFiKNTc9m5EVnVREA1AVKCyjymnBoGdgX 9T1toSR+BWja3LXrpxXKwwxBRoGykwBxrOnDfJRcbaFJBWV8KVlvkNB19GzvckJvda8N X4q/WGdGblt+oVO8Z2IqLRe/+6Anu+RZCvnAt8bHuCOgqhgU9PZnHQ2wK2JePFGK9di4 xNJw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RVW+Sp+B; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6d44fa17a98si1435046d6.190.2024.11.21.08.59.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 08:59:11 -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=RVW+Sp+B; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAVY-0004Wa-Jd; Thu, 21 Nov 2024 11:58:20 -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 1tEAVT-0004SV-Jz for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:15 -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 1tEAVO-0007yE-VB for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:15 -0500 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4315df7b43fso10078145e9.0 for ; Thu, 21 Nov 2024 08:58:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208289; x=1732813089; 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=yY9M4nXaCJ2neB5ZRMCPvZw3DACi8uIco1VZWqAc51U=; b=RVW+Sp+BhRGH1OLGo4Qvw8zhS01M8U8JnIsmK60orhZx5jryg3rXg+00/xiJTAyX3B iV/cjhxcmuhI2Xefv77N/YTy7vgcMx4RKh6Ii3G1mdcEu6n9wLfcz9ZQ25sWhW6/LAMb 7AAAxKRmHTD61LYr+PkHhOkLglqKfBE9/twfj60M+q+abWZnBW5VxiF1uRgFk/2BhI6H ZNXSMjMsHjkqS/++j7XqRxaqkebpc32h/oN6tPW2FBHKNbfJ60Aw2RMPIUiozv3521Oa LD+qNeEN1UP3E6y+RgG14Qj2mpM9PhwDt5M/rcmH9gdvlAhyNKz5iQ1agxm0ulcEqn9/ ec3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208289; x=1732813089; 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=yY9M4nXaCJ2neB5ZRMCPvZw3DACi8uIco1VZWqAc51U=; b=VT+Ov0Tk8pentKDLzINmW14+xppslqaKh0GXW4K/2vLxMkyDz3jyPS4/JXBoMRPU25 Y+XlLj78miK2WSnHsGTLS5VZfa4UqKDPkDxnFy5WxwSuvs3pTwH/mADdB33TGkbLMexL BfvOesLw37sF/f37ij5t31XuK6uHP2x2/jLvFBUn4MMe7ObNToIC2QYo+QGG1KGot+XW X60xuXbxBgCcouq4QEvxzVvBXcaQ55Ih/m05hhVQrremyDG3264id6zt7iHB1Dbr97WV dtzGfvxvmsEfmQDLUWqUhAzeDrCMH2v6o7cKv+Nd6S8ipwp1PA1hpd7XtC2RpEqJ5ywG XDBA== X-Gm-Message-State: AOJu0YxDi8t2hYGJURR5RxLhNl4654vih+FoKB7dGmjNKmTCzh16tQL9 PF1x3AvPn9ozidt4q1xKrYSKhXUdKZ6LZyt9wQmls3XoyvNy/b5HuYC3aBD7uA4= X-Gm-Gg: ASbGncvY2lekoTzUAryEXVqQeKyW72UXbFUfVbP4gWpi/0kYtSF93uqfb1l6IFutmzF CZiTcp/p35O2i8g7DFkhor0aboCfj91j7uxkR1/B8uanh3EgpETywVU2LW5GRBGxH+a2XKFMRDC 99I6LBDJpFvdYkqAP87QPF0RvsHHIMnDRxqj1Z9WSpiDDcGCbfRaWfBrB6u6wXTQqDDsmKEkeT/ ly4kdAFRU3ma9yrSip+WsPL0TYk32eTQtzxXVRXg9G95l4L X-Received: by 2002:a05:6000:2c8:b0:37d:4389:e9de with SMTP id ffacd0b85a97d-38254adecefmr6619313f8f.1.1732208289215; Thu, 21 Nov 2024 08:58:09 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fad5f59sm38965f8f.10.2024.11.21.08.58.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:08 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 9B2825F940; Thu, 21 Nov 2024 16:58:06 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 02/39] tests/functional: automatically clean up scratch files after tests Date: Thu, 21 Nov 2024 16:57:29 +0000 Message-Id: <20241121165806.476008-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-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 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 From: Daniel P. Berrangé The build/tests/functional subdirectories are consuming huge amounts of disk space. Split the location for scratch files into a 'scratch' sub-directory, separate from log files, and delete it upon completion of each test. The new env variable QEMU_TEST_KEEP_SCRATCH can be set to preserve this scratch dir for debugging access if required. Reviewed-by: Alex Bennée Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-3-berrange@redhat.com> Signed-off-by: Alex Bennée --- docs/devel/testing/functional.rst | 6 ++++++ tests/functional/qemu_test/testcase.py | 14 +++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/docs/devel/testing/functional.rst b/docs/devel/testing/functional.rst index bf6f1bb81e..6b5d0c5b98 100644 --- a/docs/devel/testing/functional.rst +++ b/docs/devel/testing/functional.rst @@ -65,6 +65,12 @@ to the QEMU binary that should be used for the test, for example:: $ export QEMU_TEST_QEMU_BINARY=$PWD/qemu-system-x86_64 $ python3 ../tests/functional/test_file.py +The test framework will automatically purge any scratch files created during +the tests. If needing to debug a failed test, it is possible to keep these +files around on disk by setting ```QEMU_TEST_KEEP_SCRATCH=1``` as an env +variable. Any preserved files will be deleted the next time the test is run +without this variable set. + Overview -------- diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py index 411978b5ef..b9418e2ac0 100644 --- a/tests/functional/qemu_test/testcase.py +++ b/tests/functional/qemu_test/testcase.py @@ -13,8 +13,9 @@ import logging import os -import subprocess import pycotap +import shutil +import subprocess import sys import unittest import uuid @@ -40,11 +41,12 @@ def setUp(self, bin_prefix): self.assertIsNotNone(self.qemu_bin, 'QEMU_TEST_QEMU_BINARY must be set') self.arch = self.qemu_bin.split('-')[-1] - self.workdir = os.path.join(BUILD_DIR, 'tests/functional', self.arch, - self.id()) + self.outputdir = os.path.join(BUILD_DIR, 'tests', 'functional', + self.arch, self.id()) + self.workdir = os.path.join(self.outputdir, 'scratch') os.makedirs(self.workdir, exist_ok=True) - self.logdir = self.workdir + self.logdir = self.outputdir self.log_filename = os.path.join(self.logdir, 'base.log') self.log = logging.getLogger('qemu-test') self.log.setLevel(logging.DEBUG) @@ -56,6 +58,8 @@ def setUp(self, bin_prefix): self.log.addHandler(self._log_fh) def tearDown(self): + if "QEMU_TEST_KEEP_SCRATCH" not in os.environ: + shutil.rmtree(self.workdir) self.log.removeHandler(self._log_fh) def main(): @@ -108,7 +112,7 @@ def setUp(self): console_log = logging.getLogger('console') console_log.setLevel(logging.DEBUG) - self.console_log_name = os.path.join(self.workdir, 'console.log') + self.console_log_name = os.path.join(self.logdir, 'console.log') self._console_log_fh = logging.FileHandler(self.console_log_name, mode='w') self._console_log_fh.setLevel(logging.DEBUG) From patchwork Thu Nov 21 16:57:30 2024 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: 844677 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2382392wrx; Thu, 21 Nov 2024 08:59:03 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVqySQ49UjPpbj5S0cQ6Ne1OYBdN05jMnzJtMYrgXASgz7Ep1QeIWHTIDxGCE5bbra8zXR2+g==@linaro.org X-Google-Smtp-Source: AGHT+IFHLjBhW9KA2Xd0c0j3iv/kEspGppRXpvQlnL0O97uTszGwB3ezW2No74BMAj2jHzFjrPV4 X-Received: by 2002:ad4:5f8c:0:b0:6d4:ac4:c1cd with SMTP id 6a1803df08f44-6d44240d344mr62248206d6.8.1732208343259; Thu, 21 Nov 2024 08:59:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208343; cv=none; d=google.com; s=arc-20240605; b=FCY129Cy+LgKjVZNfTeJA8+LZJc4BXqGEdF2Ue8ZILKbQwYmR8bP4SnmD7EB6rZUqf puUqI2snKRGvxkLIsvk+pnjdPv0lGAiyUbBDwmI6W/fjDioPwya3He7EPDiL3KeNee1x ysVKmw8J8okaHFMBHayDQcL6b3hZc4/qEWW/DsP4zgKXllSpCISSQAiRM4NXYD3iuVRi pf7fft6Ae8FeLKO0HMRDM6jD0cxmd2g7IE/oNQcrm89ju9yal8pIGdfTYLwd0GwN61h7 LHSWF5KtX2TlR0KmmibkI/ULmjJ96uUf58169KG6m3CeqUZ9l2F5OziwzCCUO9OByEUx BjFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=9C+LM+SP4iK6e01k9p7dSlvLPJtgfpCtu4sPK/ZhGgc=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=C+rKMUmE0MD4vayzYf2BwblF5uYmc0fMJIWdP7TTxBbCZj3AlE7j4vJH55uP0kJjql rhu1px9KhDOksewzZUvr7pVTZ2GM7O4hs7AdJ3iJTXUdeABiYK/OhyaWiaGGA70zSVcp t8wV91uKAVl5pdItswk1wV0J3B3vtRZNnPQ3kUm5DmtJhET1Kv6VqcVI82l7GA+6ClIE P5DLaiVtoSHEbuLcQ7dbrabIXhxoIoFNQuT8QD4jfat46Oil+8pDJyOAh74YpLClNTAV lEHaKlGPI0HrAVdEhXtfDjiCbxvhxtwAgGjsLs3UJVTT1NuFORT0o65MPsbkslbHEsOl WKqw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eMEqRRwt; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6d44f982b20si1773856d6.20.2024.11.21.08.59.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 08:59:03 -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=eMEqRRwt; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAVU-0004TA-Lo; Thu, 21 Nov 2024 11:58:16 -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 1tEAVR-0004RI-Ve for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:14 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAVO-0007xy-SO for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:13 -0500 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-3823194a879so753209f8f.0 for ; Thu, 21 Nov 2024 08:58:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208289; x=1732813089; 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=9C+LM+SP4iK6e01k9p7dSlvLPJtgfpCtu4sPK/ZhGgc=; b=eMEqRRwtBQOBPz0zt8rcOID41O1JV7wbjLQ9R1iO/rDX13pXs12IO+n3Smafz4LVqB q6y3xntBuCOwlN31EnkIkz1XkShTQC3iT6yTsDC9kCV9i4d6mkwqVhCwlcUg2iP68wnw BxQrQ5xw0YPD1XuRWzxs+qVhANJ7FSR86KSQLyiOeShUXbfiMsExpTGg9HPz7Hlrd6ZG /U0yIxLgexjCPagVDZR8gqz7pu29YH6HWm11/+13r04dZZE2YZUmaJbrnmu/Rf63LSSO 79olmcw/JPw8YvYYofNEZxmZ/3KFKM8JbU6qOVhBUmXtcNuSJBP/j474Q2ptUgqV1cZK eyaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208289; x=1732813089; 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=9C+LM+SP4iK6e01k9p7dSlvLPJtgfpCtu4sPK/ZhGgc=; b=ab3RyRCtCHpikdlPQnUqwxOcxXbMXV3yGYRo5YgbABkCvZ8BtCmdI2DCIhc9uRftuy 0ud76+8GNfhi4bF6x6jEOLUUwab+WUaLGplhgK1I971IHXb2vXCG+hfXYnnYLzFzo4zc 2VuIhegDq4/Al+7EERb/1t50A74u8d71gQSM2R/AglZY/F7RTwz7NTFqDcqTmRgrRI2e b35oLW8FTZgNwONYMjVJ5SWRghgTIaLZFDUhVANYXUQA+Nw6rmFNMTFnEFFCQ57OugoO 3DuLpHAlUMJyCffwpvplLoaTXE6/wFbJOlwhEeyr4lv6RWRvcQvfj0x7Pc7yvru9ra4j bnrA== X-Gm-Message-State: AOJu0YzUSvvocoUYyOq1eFgh+P0hHuba6vsbB2ai2UBQtMDugR5ZHkrJ GFLCX6QkKPN6LHXExYKE5YSp3LifGu3CJnRk3jpOxFeUgaQlmet7CsujiHfMyN0= X-Gm-Gg: ASbGncteEdH35icwmjIplUOr9qYPln0mj4fYmoaOYWHiWUy4TT5mjXvbYaHivBYOAw0 xsJMGEK6GTJfx66vWAXWh5Rxn0HSEIRh4i5OARvvWqWxCaVQbBHrtGv9kUobVYiiN53DjZzoC7K sBjnUNhMkGrLgv2tMJFm6ccf97L+YgttDuEOyGzUeblG9yGIzc/taySTeVsHInAvrIYxuRU/JBr rC+hleffZyXgHmxLqEaw+CsUM51HloVBPpfoT0CDzgpr5JL X-Received: by 2002:a5d:5f8f:0:b0:382:4fa4:e52f with SMTP id ffacd0b85a97d-38254ae55b2mr5975518f8f.13.1732208288870; Thu, 21 Nov 2024 08:58:08 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fb27386sm32027f8f.51.2024.11.21.08.58.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:08 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id B0C2E5F95A; Thu, 21 Nov 2024 16:58:06 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 03/39] tests/functional: remove "AVOCADO" from env variable name Date: Thu, 21 Nov 2024 16:57:30 +0000 Message-Id: <20241121165806.476008-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42d.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 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 From: Daniel P. Berrangé This env variable is a debugging flag to save screendumps in the mips64el malta tests. Reviewed-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-4-berrange@redhat.com> Signed-off-by: Alex Bennée --- tests/functional/test_mips64el_malta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/test_mips64el_malta.py b/tests/functional/test_mips64el_malta.py index 24ebcdb9c1..6d1195d362 100755 --- a/tests/functional/test_mips64el_malta.py +++ b/tests/functional/test_mips64el_malta.py @@ -159,7 +159,7 @@ def do_test_i6400_framebuffer_logo(self, cpu_cores_count): loc = np.where(result >= match_threshold) tuxlogo_count = 0 h, w = tuxlogo_bgr.shape[:2] - debug_png = os.getenv('AVOCADO_CV2_SCREENDUMP_PNG_PATH') + debug_png = os.getenv('QEMU_TEST_CV2_SCREENDUMP_PNG_PATH') for tuxlogo_count, pt in enumerate(zip(*loc[::-1]), start=1): logger.debug('found Tux at position (x, y) = %s', pt) cv2.rectangle(screendump_bgr, pt, From patchwork Thu Nov 21 16:57:31 2024 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: 844691 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2388741wrx; Thu, 21 Nov 2024 09:07:09 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVUo1PyOOfizibKDfus/g0XDekYF4jBweokSAUJ0T48g7PbW0GIVNnfMGOwekqKdkUwgAzm5Q==@linaro.org X-Google-Smtp-Source: AGHT+IGpVu7j+PLEP3/u4C7Wh3ryCkVBf2hgQZHXGVa86LJn8D0iQvqeYkKLBEssODVeFtgG5kCq X-Received: by 2002:a05:6358:690d:b0:1c3:7358:3d17 with SMTP id e5c5f4694b2df-1ca664e2a32mr568799755d.23.1732208829512; Thu, 21 Nov 2024 09:07:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208829; cv=none; d=google.com; s=arc-20240605; b=ANV5n65QAqM66HNsZJnx4CW6ArRttrFaHdAC3Wmd4Y2oxPy3W/xFxDTYgS8Ep77i8r k7aXrCEwLuAo18Od3FYmdK7yeeZBpMsL4FrwIQr7nGASsNseY6162NUiDpfE7nBkyn+1 PrfrqkX985xSS0cfbDhBUPxUw06ALe5X9PxwFX4yPgekN4I15CzxqLPmLvEAPonLihf1 Af2nDltdqWykoKQI3uiS2PipRftNbgvgPTefilz2HrBYAbxbDy11LWYOxaH1WXQbS3/A dnaoRh4dweCXiPtheaO1UxBLIaA/4hFJ9OzGHOIjUrIUZCk+Lr66xL9cPsb/wd6KCWOr W+tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=lPIFW+MIDvbZvhF0n5YdU4sfYa070860/v3aIWKALYk=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=dikCyaRM4EtF3k7GSGvYM3CBUPFO0NRKq/kAMmz0PNqfvRHvYNdDYhPAycrKFzplfS Iwonh+djQWY5Xj3Hl4TmkJBLpdKICPY5DqQiBkk49809AcIFeEpu2oSUiItII3NnFNrW uaB33IcyWCNoeim6EEWR6beYcjCBcoOywQISjG7wV/W2A7rHCzY79oFGF4k5D0Wep/9/ BBQzpIm5uXYccolNxLl6SWdPgOL4C3ewwZSsZNtgMHtYQQchGbk52SBV5TQ2BWnr8GP8 mr8X9lk7S6KTx28KZaoZZMSw/Z00G7fnA9ZgdpgKzenEy2ZlZv0Ujeoys1BrtKM3376a JA5w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SLKr4RkF; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a1e0cc1a2514c-85752616d54si1202157241.23.2024.11.21.09.07.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:07:09 -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=SLKr4RkF; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAVi-0004gZ-64; Thu, 21 Nov 2024 11:58:30 -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 1tEAVa-0004XK-C2 for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:22 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAVQ-0007zQ-HH for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:21 -0500 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-382423e1f7aso722830f8f.2 for ; Thu, 21 Nov 2024 08:58:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208291; x=1732813091; 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=lPIFW+MIDvbZvhF0n5YdU4sfYa070860/v3aIWKALYk=; b=SLKr4RkFcLb2obpzzxC7+3N7f1KG4Y5OwUynXwd4cCsHXAqhEUc6AirO3tHicsTn7J FNmNc3OOHxyFer8PNL3kNPTNlYG4D+SnSq9UDjn3Q9Oxx0v+JE9FzDGEPlhvdmbRhcRu V3Zm7+4vFnZ+TxJdU/Z6HjahlOVAZYMjiKTt7NQsxkIHyLGb6rrIgAtjaWhqFqSxg/m8 rq/5G8GjfzADoRZ+RLiSCMxIg9Z+mFqbVWslVSPrkzSd9o/x1D5RZQvTkNJkm6XzkoEz ZQNLoeIJI1rd9oS107yRTM48CJhbSIgbNzbpOcbSfDlQaqCZ/9bEqJHrKR6Sgb/Q3GQT c/rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208291; x=1732813091; 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=lPIFW+MIDvbZvhF0n5YdU4sfYa070860/v3aIWKALYk=; b=HrdjHFNgJ04mJk1uffsQKs9EUoqiuzJVHvhMLLOiKzf0wWYRE8PbqRk49RdPS388tx KMNqHGPrnlQ/0iKjVdYwRr3Nw0agqXXLc5Is46CR4Kq0nTOSAqHaeaV7vmiOhTi9yyi2 ri0V+I6V3XKNMrDDyhnhG4qb0pwzelQpghXMCJttJPZFGIsszdkM43Jm3l6g96kyYe4w tvzKBf65c1bD9bRDGP/s4y3KnxFkIcjOY1+ua4DJTq824bWqr8fMKClRXAlF4ig65/gj YOOO4gVK1zo/3UT3nzzFP2JUr5+aYxOpawwF8LSsgh9BKJocPeY2LthBY9OKHDV5MLjw POQQ== X-Gm-Message-State: AOJu0YxAgky+BuRDgBdokArxp9Us5KZgbEjRxTaObMcvlxTGBrL76tj5 dPvp+lrD3kXdCN+mKM6Zj5LnNkCPgeoNPYLFjumK+agJcylUUMjtgLPHUv0bbZs= X-Gm-Gg: ASbGncuf3/6pvC1k3D8+1ZoonTwPdPEb0bYUuf09gow4TcK4rdnMPADMlXcSil2jlwq bz3ZNBQ0axLGcszmU+/pDucUzJ9lD4jlg9yYrOZ+m3at60W/qf5KxJoxuRbfhtqnOvEKGzuHDdO VwRlEo+YFbDO3R+IFP5SipMYuwVGgYaDmQVl5f6VzebxOADRJVg0Y9I3W0FXYsD4M2BkaxmBKi6 7O9p0khINLRtfspYMG/BO0Tghf2sKbqsGt+LWF0VoYY9D5m X-Received: by 2002:a05:6000:154e:b0:382:542d:39ab with SMTP id ffacd0b85a97d-38254adf714mr6452872f8f.3.1732208290915; Thu, 21 Nov 2024 08:58:10 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fbc38afsm17867f8f.67.2024.11.21.08.58.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:08 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id C8B1F5FA88; Thu, 21 Nov 2024 16:58:06 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 04/39] tests/functional: remove todo wrt avocado.utils.wait_for Date: Thu, 21 Nov 2024 16:57:31 +0000 Message-Id: <20241121165806.476008-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.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 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 From: Daniel P. Berrangé We're not using avocado anymore, so while the TODO item is still relevant, suggesting use of avocado.utils is not. Reviewed-by: Alex Bennée Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-5-berrange@redhat.com> Signed-off-by: Alex Bennée --- tests/functional/test_m68k_nextcube.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/functional/test_m68k_nextcube.py b/tests/functional/test_m68k_nextcube.py index 89385a134a..0124622c40 100755 --- a/tests/functional/test_m68k_nextcube.py +++ b/tests/functional/test_m68k_nextcube.py @@ -37,8 +37,7 @@ def check_bootrom_framebuffer(self, screenshot_path): self.vm.launch() self.log.info('VM launched, waiting for display') - # TODO: Use avocado.utils.wait.wait_for to catch the - # 'displaysurface_create 1120x832' trace-event. + # TODO: wait for the 'displaysurface_create 1120x832' trace-event. time.sleep(2) self.vm.cmd('human-monitor-command', From patchwork Thu Nov 21 16:57:32 2024 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: 844685 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2386534wrx; Thu, 21 Nov 2024 09:04:07 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVXC17/CmTjf2C8s1KCeWEcrbVZIa5vW0JxLqUxWfHXSBIWFXVayVdnOzZvhA3GDCPiEfWcww==@linaro.org X-Google-Smtp-Source: AGHT+IHFzG1oKcWWfFmgsh+tLqDcbsPoozVhh1GSixss7vc2/CrwexOWXZmfCrYbB50ge0zQBoNX X-Received: by 2002:a05:600c:4f0f:b0:430:4db0:3fef with SMTP id 5b1f17b1804b1-433489d3269mr73973525e9.15.1732208646128; Thu, 21 Nov 2024 09:04:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208646; cv=none; d=google.com; s=arc-20240605; b=kGLhOgblQjoH3FYkyoX1CPVoj936C5s92OS3KWyX01EAaS8ur5mm8LbQ0+MRawsRJT XffYXJyoULpSxBKNPL2IIAzLRGraCEfbf2DtfsT09wxghrrlw3kk3d0/quPUuTacEIrA PXVaNlMQld1gZKscTG70mUrZsLcEfhvrv/WurbGJud1yeIgXgy5/h6vJ4AApeEZ88oMv pi0m17y9uTE7iX7CXcxlsUAqD8XvB0U72nnMEa6RZRJuA+P6oEHiswWxX7pFIkldGch6 nZsRVnz/HjWu0YxGfeT9sjTf1kdyj6OFuJ1TxL2FlaeK771vf+0nAZHXIsAvoXIOVFce EV3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=wxsyHUj0CjMAJckEMjfPh5iL1r4gSQpQMh/4JVL/FpM=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=e7YIRT8ord5+sBg6uvmgFhyKxxTi4wz/b36pKgATC6LxDpECsQtOxCqccqD5wcy3H2 JFZJ1nTAzJB+ijSt6yswBZK1zI2b+xe6R48+kLwKLXBHE98o8BNzC5+XhA+5lfs2S0PU 1db8PN9BR62T0hUy+Ma3Rgh73mICH/YErQ3JvqavBRhpcQypsF9Wcp2QSyE2gX48bSHd N4jfpb0SYBnEEsXpQfONZm7RSAEfGdWCRjIY8UZPrAJ8pX7q0WOsSO9OTuB+XBKRSkuC OjP+fOechzc5OeTkwgwyUywGnTnw4YA5D3/k0//AezQRNWI8iey8jUhGEN3Vpb4aqBE6 dZww==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TVw1RAAd; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 5b1f17b1804b1-433b01c341bsi25846425e9.8.2024.11.21.09.04.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:04:06 -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=TVw1RAAd; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAW3-0004sa-AB; Thu, 21 Nov 2024 11:58:52 -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 1tEAVc-0004af-FB for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:25 -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 1tEAVR-000804-6n for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:23 -0500 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4316f3d3c21so9434465e9.3 for ; Thu, 21 Nov 2024 08:58:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208292; x=1732813092; 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=wxsyHUj0CjMAJckEMjfPh5iL1r4gSQpQMh/4JVL/FpM=; b=TVw1RAAdkmIVxDk2qaRteHdksauV2Hx8LTy494uHuv6I2tlpSC61l3ewGt898NKUp9 +HmZ7biyynRKCiPxI66c7dnokhiS3dp6nD4h4RY9lfzgtpVOj3+ET0RW+sB5skSPkhVJ lXyZ42gfE8oq8oZ8keqm9Bpr8nGUbmxtD7uixWqdkZwpcIKRqPsOBMCrzb6WgXjz4tTS tqBZ+Ht7oy/+coL95Y2AnKlZ6MIsVpb2/PTwQvp8s4MKYN+srxWwIa9L8I5Bz8dmI+K+ i2Bj7wLY1nz4B00U1zWNqXHu124zbxxk8qpcz493RbiP5BJkJfyfQhQuGLu+jT467Dsh vxiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208292; x=1732813092; 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=wxsyHUj0CjMAJckEMjfPh5iL1r4gSQpQMh/4JVL/FpM=; b=cVbeAStF8DZtMzhaRslbfYeaoJeEJobLbzT6kOUw3m8q6XAdnKjWwR7vQn0n59nt8Q W+TDnHrhZ3hZYwj0IrwVqJycDTy67a0W1dPpre9KQXnQOD8x6j0t5Ylkp1mygXnQZNHQ BR4FaVAv6hPGJSXkyrjOCA3WhH29fGVT6WKTbF58ilfBqx7NCYuqYVvjpZfHQM9JBtlN OpMCBZY0DfX6zEawLlK9oDjb1um8Su89ON4o0/EtIfnOMteUQ12xyxXCobnzlj39EIQ6 BUJbT1efmkZUSKGJ2smPToQbRWdyjG89byyNOm+GSq/O/bEkv1ebw8iusTdJ8upQgsXS R1qQ== X-Gm-Message-State: AOJu0YxWVpbYhfng2fJQzW5CHg92vXrwPMKgmSAr65EPrwZ9wGqV0W0w HxhuO17Px+OC2Jr517hTN0t0uvuDpG0zEdXLMMjL+rzfyTpMu4bF0O29FKf5EuM= X-Gm-Gg: ASbGnctzc1mwQhbEcrFQFPY51ED/niZD0b1k6l0KmGMnXFvC7GlxucAi9M9IggeUcZb sP5N2h1HtjjUcKlnr53ZKfYWdQHdwDJL4Ybf0fFwtod25cVghEfrZiIyjpE8538YoEsySSyTCTw AWYEq+ODL2HeQjnzlSZpbY80e1LUl5hyxWcoBHvL0UZVcuN+gxL/TZfGo//j+omSzbkknEyG0ZB ltO716Aqc8lWaIVj4AUfbrkazFEaUlfd1VFcMDKy2QFqEu6 X-Received: by 2002:a05:600c:3b25:b0:431:680e:95ff with SMTP id 5b1f17b1804b1-433489b1b15mr67531905e9.9.1732208291580; Thu, 21 Nov 2024 08:58:11 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b463aba6sm61641465e9.34.2024.11.21.08.58.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:10 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id E10F05FBC0; Thu, 21 Nov 2024 16:58:06 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 05/39] tests/functional: remove leftover :avocado: tags Date: Thu, 21 Nov 2024 16:57:32 +0000 Message-Id: <20241121165806.476008-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-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 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 From: Daniel P. Berrangé These tags are not honoured under the new functional test harness. Reviewed-by: Alex Bennée Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-6-berrange@redhat.com> Signed-off-by: Alex Bennée --- tests/functional/test_arm_bpim2u.py | 20 -------------------- tests/functional/test_arm_orangepi.py | 27 --------------------------- 2 files changed, 47 deletions(-) diff --git a/tests/functional/test_arm_bpim2u.py b/tests/functional/test_arm_bpim2u.py index 2f9fa145e3..35ea58d46c 100755 --- a/tests/functional/test_arm_bpim2u.py +++ b/tests/functional/test_arm_bpim2u.py @@ -37,11 +37,6 @@ class BananaPiMachine(LinuxKernelTest): '5b41b4e11423e562c6011640f9a7cd3bdd0a3d42b83430f7caa70a432e6cd82c') def test_arm_bpim2u(self): - """ - :avocado: tags=arch:arm - :avocado: tags=machine:bpim2u - :avocado: tags=accel:tcg - """ self.set_machine('bpim2u') deb_path = self.ASSET_DEB.fetch() kernel_path = self.extract_from_deb(deb_path, @@ -64,11 +59,6 @@ def test_arm_bpim2u(self): os.remove(dtb_path) def test_arm_bpim2u_initrd(self): - """ - :avocado: tags=arch:arm - :avocado: tags=accel:tcg - :avocado: tags=machine:bpim2u - """ self.set_machine('bpim2u') deb_path = self.ASSET_DEB.fetch() kernel_path = self.extract_from_deb(deb_path, @@ -105,11 +95,6 @@ def test_arm_bpim2u_initrd(self): os.remove(initrd_path) def test_arm_bpim2u_gmac(self): - """ - :avocado: tags=arch:arm - :avocado: tags=machine:bpim2u - :avocado: tags=device:sd - """ self.set_machine('bpim2u') self.require_netdev('user') @@ -160,11 +145,6 @@ def test_arm_bpim2u_gmac(self): @skipUnless(os.getenv('QEMU_TEST_ALLOW_LARGE_STORAGE'), 'storage limited') def test_arm_bpim2u_openwrt_22_03_3(self): - """ - :avocado: tags=arch:arm - :avocado: tags=machine:bpim2u - :avocado: tags=device:sd - """ self.set_machine('bpim2u') # This test download a 8.9 MiB compressed image and expand it # to 127 MiB. diff --git a/tests/functional/test_arm_orangepi.py b/tests/functional/test_arm_orangepi.py index d2ed5fcc82..6d57223a03 100755 --- a/tests/functional/test_arm_orangepi.py +++ b/tests/functional/test_arm_orangepi.py @@ -49,11 +49,6 @@ class BananaPiMachine(LinuxKernelTest): '20d3e07dc057e15c12452620e90ecab2047f0f7940d9cba8182ebc795927177f') def test_arm_orangepi(self): - """ - :avocado: tags=arch:arm - :avocado: tags=machine:orangepi-pc - :avocado: tags=accel:tcg - """ self.set_machine('orangepi-pc') deb_path = self.ASSET_DEB.fetch() kernel_path = self.extract_from_deb(deb_path, @@ -75,11 +70,6 @@ def test_arm_orangepi(self): os.remove(dtb_path) def test_arm_orangepi_initrd(self): - """ - :avocado: tags=arch:arm - :avocado: tags=accel:tcg - :avocado: tags=machine:orangepi-pc - """ self.set_machine('orangepi-pc') deb_path = self.ASSET_DEB.fetch() kernel_path = self.extract_from_deb(deb_path, @@ -115,12 +105,6 @@ def test_arm_orangepi_initrd(self): os.remove(initrd_path) def test_arm_orangepi_sd(self): - """ - :avocado: tags=arch:arm - :avocado: tags=accel:tcg - :avocado: tags=machine:orangepi-pc - :avocado: tags=device:sd - """ self.set_machine('orangepi-pc') self.require_netdev('user') deb_path = self.ASSET_DEB.fetch() @@ -167,11 +151,6 @@ def test_arm_orangepi_sd(self): @skipUnless(os.getenv('QEMU_TEST_ALLOW_LARGE_STORAGE'), 'storage limited') def test_arm_orangepi_armbian(self): - """ - :avocado: tags=arch:arm - :avocado: tags=machine:orangepi-pc - :avocado: tags=device:sd - """ self.set_machine('orangepi-pc') # This test download a 275 MiB compressed image and expand it # to 1036 MiB, but the underlying filesystem is 1552 MiB... @@ -208,12 +187,6 @@ def test_arm_orangepi_armbian(self): @skipUnless(os.getenv('QEMU_TEST_ALLOW_LARGE_STORAGE'), 'storage limited') def test_arm_orangepi_uboot_netbsd9(self): - """ - :avocado: tags=arch:arm - :avocado: tags=machine:orangepi-pc - :avocado: tags=device:sd - :avocado: tags=os:netbsd - """ self.set_machine('orangepi-pc') # This test download a 304MB compressed image and expand it to 2GB deb_path = self.ASSET_UBOOT.fetch() From patchwork Thu Nov 21 16:57:33 2024 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: 844688 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2387948wrx; Thu, 21 Nov 2024 09:05:58 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWdZeoNJRiu1JIYNCLrCHNF+tbaAQfnHv6O76w3DFXamF3kST0g0/4M5RQ2UNOKXwjajc0W+g==@linaro.org X-Google-Smtp-Source: AGHT+IGfqucKvM9AsN5Nizw+lMGO3FpbzYiB2ifpiOKHSQmqMk8GwUa3MghjOO+ID+pDQ4By4yj1 X-Received: by 2002:a05:6214:f6e:b0:6cb:600f:568b with SMTP id 6a1803df08f44-6d43778e24fmr83012416d6.8.1732208758442; Thu, 21 Nov 2024 09:05:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208758; cv=none; d=google.com; s=arc-20240605; b=Ej6rEP9OgPj9OmWcXHFic1xh7K98Vk4VDp9SxvwRXY1wx2xIDSXhUbW8kEYlPJl0a7 0NMnHZnDk3LsbDKMY+2xwle3SPn0CEzv7LJmceS/TanBiNrlc43MsUid5t6H3RQxVU8X K0SSMlQzHMkqZ3KrBZ8ENdIjsCy2JtlhU9+zXuL30vt5KBvxDosJ9oWuC5P0oAf1GC9D ee6sg7+CUh9n79KW03EiLF0RyIRwK+g+ccJ7I9/X5dHIOJ/7mpl/mCi2iVmXM5+caZZA KV+i+ef4En+x3PTjDpfxZYEx5EswaweSmeF0lkW1cqkAOEU+EsNqV7+87tfI9jOffEo9 lM6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=HBO8uUfv3fFiWiD+w6s2aaOdqrCx/cKUKIQ69stTmio=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=ZIbjEEjW+AEVSIRESP/8I2I+3ryUDljnorVRgMPdVRfdhyDh1OmmpttUuQB3YhlOYV k5Yves0rPL3eRZtby3jcgYLVdiUWVrngl+rFV/PZiIw9aTGEWK61Reb6N/jyGLL/F3ry 2moCEwSGpnF3HMkyh+7enPhWxN4Pa1KCaP6CBbMawkEEjng4Ra5b+n1OJb3v9U+Vcoa/ 8vRhbq+5bcgTYQ3OK4BJDQD/wHmbUbYy5Sxud0ldUcanlSw9OUBTFFo4Awh+11Is8j9q fjpZZDzwjBFBHOPkG7a9MVlLiLztjjmsYHDdJ1w//iO4X5jtqt7R1ZqeKnvTGTr8oSPW RILQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DwaFEwJl; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b4852921afsi519304285a.322.2024.11.21.09.05.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:05:58 -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=DwaFEwJl; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWJ-0005Ld-Nw; Thu, 21 Nov 2024 11:59:07 -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 1tEAVi-0004j3-Nl for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:31 -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 1tEAVT-000827-Kh for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:30 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4316cce103dso13217555e9.3 for ; Thu, 21 Nov 2024 08:58:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208294; x=1732813094; 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=HBO8uUfv3fFiWiD+w6s2aaOdqrCx/cKUKIQ69stTmio=; b=DwaFEwJl8uXmUrxBuuoIpwShiSd8kLbeCY1SVFRk7Bux1bcVUntwOMcEXK+7cwKj9D 9x5UN6q96+gBlx43RJFi8XftlTx577QVFC6FGPYGyRral+zlf6vz7wje/AEMBPLMa/Vb FMv4G1sGxz/ErofVDB5yC0IkW0rOUGyCj7mqo4tpOAkb3A/8x4Eem9v0GPpJ2Q+bGUjh zipKoytRdqIrc2gG5XGaz6huLq3+/HRq0FUpwE0zbcngsTM1Fxi+5dAeWseudRUZAYMt y/38NFrxoTX/AddzfcpZv2u9nRy8sQVWrRNMfEfboLqviG2zJL3Hlik33NvkBU5JDo+g BMnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208294; x=1732813094; 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=HBO8uUfv3fFiWiD+w6s2aaOdqrCx/cKUKIQ69stTmio=; b=UfFkdKUBMFdm/ikUFm1RF9cPUEMoKC3EhCQ1QX1lAbYr5KOhSl1F7YI/Rirnj7Qjmy 8EwmA1zc/KuPWj2dVQDYPv+tbVmbOBs0IAgK8+wKK32zBO74q/+QETRtNPLb4c657abm DaMNtkO4OnuRArKgdzjxZzFVb4uSXhSuQ99uPYaow+dzG9JoOU4U9w8jUrKsjrffH+NT GHyQV9TlI93C+DdQwOlGoBRAnxmUSp/Hz6B7zzoTa3crXlF+TnQhf1g6ab+OTlsfPwio 019eCP1JJZJqHgtWHfL5Czgcj3gcjxc2wuZwF2GB1HrVPh2jUnjeC7gU52gLsKng9FAf bg/g== X-Gm-Message-State: AOJu0Yw/j5f01uwru5K4jR00y9HtNMRVDofkVc6izYJQ8jR476Udw0ec g1ZTHOwLWLA35/VcJNt0UTsNRMlDqHMd9d9qn5ewCRBwGTAJSmdbv58kbP159Is= X-Gm-Gg: ASbGncs3qtaLutcYfXPDsbX5p6UTZimaE+xmCIAT5Bb3Kie0s+a5WGylZmJyuaAZyFk 2b84kXrh+E/TK+yPWmzdQbk6rSi9BV5XShPhlXyXESjkc88AGuD7MfUhVjg8cYdqKUCNR+mTCfZ DohAohGakvu5hDqNac9hiGhZ+FWkzLP5VedB4pfYNsvDdhBQDhAqAfI3s7nY9OnnzmLCaMxKguS xp72ASp8CpnCkOO87jkYBJe8LlTqQVZseXvGxVhykVh+A5G X-Received: by 2002:a05:600c:4690:b0:431:5ba1:a520 with SMTP id 5b1f17b1804b1-4334898172emr85435285e9.3.1732208293966; Thu, 21 Nov 2024 08:58:13 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fbed99dsm7650f8f.94.2024.11.21.08.58.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:10 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 04FE25FBE1; Thu, 21 Nov 2024 16:58:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 06/39] tests/functional: remove obsolete reference to avocado bug Date: Thu, 21 Nov 2024 16:57:33 +0000 Message-Id: <20241121165806.476008-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-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 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 From: Daniel P. Berrangé Historical bugs in avocado related to zstd support are not relevant to the code now that it uses QEMU's native test harness. Reviewed-by: Alex Bennée Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-7-berrange@redhat.com> Signed-off-by: Alex Bennée --- tests/functional/qemu_test/tuxruntest.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/functional/qemu_test/tuxruntest.py b/tests/functional/qemu_test/tuxruntest.py index f05aa96ad7..ed2b238c92 100644 --- a/tests/functional/qemu_test/tuxruntest.py +++ b/tests/functional/qemu_test/tuxruntest.py @@ -39,7 +39,6 @@ def setUp(self): super().setUp() # We need zstd for all the tuxrun tests - # See https://github.com/avocado-framework/avocado/issues/5609 (has_zstd, msg) = has_cmd('zstd') if has_zstd is False: self.skipTest(msg) From patchwork Thu Nov 21 16:57:34 2024 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: 844686 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2386898wrx; Thu, 21 Nov 2024 09:04:38 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWeq8943C7KjiIyfDg+irymCvvjHE9+07Wlim/kwNHQJcrtIjK6k9dkJnwJsYJfRAeAEplsJw==@linaro.org X-Google-Smtp-Source: AGHT+IGTvFtKkTFr5VO6AKhvTGJDdYubn6GYRbqP+5NXRct2MGAPbporrZbIyejKXORqS4x9CJYQ X-Received: by 2002:a05:6000:1561:b0:382:4a84:674 with SMTP id ffacd0b85a97d-38254ade09emr6318039f8f.6.1732208672608; Thu, 21 Nov 2024 09:04:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208672; cv=none; d=google.com; s=arc-20240605; b=HrzvfdDirbJFVAymGY/BAtFm7FyU9QLYSJgeqiSO1DsDpuqjI50CczWRtdVfl9YVuu KVh4N7ok9EButyX+vy5dOWWBinjS7lemABsU8slMaH99etanGu5w/1BNsaHiqxNm2mff VouQ4p8KK1UgyJ4zvaHzh74ihhGYUh0Qlhgkc0bMp3ydWu1BU1fcUjeZF2yS1zTPLw3O eMYKhkEq+t9HF+0UReuBn7qGLXSV8dP5zHez/J6StMuLvcY1KJAmupdFl+93yWxPM2Jz e9RGh0S9+pu/y5jx6sMnoz7piOhpE8oRefO7Tuaub25QoVOEoZvX07yAPaBYhfpRP8YK tuGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=Dp3O7OQ3MnV8QkUA7aQUHJMfCFG23foe3+ZfbczUD2I=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=MW8grg2bSpClYwDJzJbAgfElJpTSoOoy2v505d6ocsKguYIA2LhmKc5mNgQzpl+1X5 ac2p4se4Bbpz9+PBt7Z2hQtTcyqTSBfuIkgXkLI6ePyXOQ7vQ+DTZ0azKdHIocenvJO/ MZgZef39eqoaAqJJXXLugpYBXJv5GNgFytbI5brBcfoV6T+KF1vl1CW8QEhNUjf/TBJi kgSlCm3lg77sdSCioMDlHXp4AgJRfb5JkMPVyGZpBPAuInyCEbVBdAoy2Xo6ogtMeFRj pafaCEV3C9SP47B5akjBrLZl35U6jiCLne7IM0T7pgKvkhUXICk1I7t01M7ZMr2APvxs C3fA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qjPbzcrJ; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fd55379si16320f8f.583.2024.11.21.09.04.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:04:31 -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=qjPbzcrJ; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWH-0005HZ-NT; Thu, 21 Nov 2024 11:59:06 -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 1tEAVe-0004dN-K9 for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:26 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAVR-00080W-V0 for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:24 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-431695fa98bso8976275e9.3 for ; Thu, 21 Nov 2024 08:58:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208292; x=1732813092; 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=Dp3O7OQ3MnV8QkUA7aQUHJMfCFG23foe3+ZfbczUD2I=; b=qjPbzcrJqARFYgAJ6NjiJ/gasr8RR2l6p+Q+qWsKaMdFb3NRwi7BFEc5ybPYULBqTM suoE8rVlrj9BbPg90XZmrn0X/z8A7xML/A8ywmLxxLYdF85IuSayhbWRR0NLRNl6pbJy 99eRQnsfqJtmBUPCm68OOvcbGY1vqSnN3GpPaNJ0I7EEFTR38RgN6zg04GAWlMNuPaqv mR7jMMzPRYAxxPcP3iXlGXLVFPTTHphtaaMk6fGVvjt4T74EOWd2TLU2EISvobhYlc7M kYQ32h56KywLhO0TIvEJC81ybpDi08SwWwF2TO+ZOLHmKLg9pioh9V8Xau+SLv+6T3xL /asg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208292; x=1732813092; 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=Dp3O7OQ3MnV8QkUA7aQUHJMfCFG23foe3+ZfbczUD2I=; b=wa3umxDt19pOl2h5MEkp2WLklSUCoGYEZJ3eStmCze/tB398KpF5zh7ADsTkRYbo68 5Mu59XUePy9p7ukEtqbtfTOI/JvddimOnxvDv+YA50XRm2IpAeZJlUklel5AFjsvfXLJ wn6YISXVc/dp8Bt8/xXEHkMRUbVldVYt6rOwi4g6MOCqPHIJ6SnOgzjwXNCZq/KQIpCn Tfh6zYrFUEQq9xp1hDj+2tbpfxFlzbfTSUI0CrwdItQUwUpKaKow2bwcZObuyHmSP6W9 PlZUTI7Bh1Dq7ifWNla5jeK12NTdpwsgP94WspGmFVZmav8to7vwp6xuwLhNQQ0AfpFt /ESg== X-Gm-Message-State: AOJu0YwA+sV6fS5vOCxqCPUmV/gTmNkmDc8FxqBdLK+uPLd8N3Ul0plY HvH3gEum/88rS65rD9fP+mus5eCe+9tE4tLr5pHEXYfkCTR5q1mz/e0PXTPupGg= X-Gm-Gg: ASbGncunJXx5csO0mVEIVyVMKIYnPkfq0A0Q6jcbMx+/AhtkfFqtuLoSVq/JUKP7d8z 3r91r7mkCip+2umXBeQnuabQ0Fmy6tfeK/r52kzhArtZzBx974fA/gzDKaWDR7qkfnJAwltaGiW 0zls8r6D99JTCOBwUwjaCat7ZaOC8kVTVlMzoyY7JqlyWoQRFQ8xH4Tpo2pWWd1YrXEB4QsahNL YGIbOe3E1Mc4C8cE1116ghF6nHB38QxNBn3z+TVXWGM9l9p X-Received: by 2002:a05:600c:3507:b0:42c:de2f:da27 with SMTP id 5b1f17b1804b1-433489869ccmr71250345e9.2.1732208292149; Thu, 21 Nov 2024 08:58:12 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b4616fc2sm61385585e9.22.2024.11.21.08.58.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:10 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 1C1525FC6C; Thu, 21 Nov 2024 16:58:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 07/39] tests/functional: remove comments talking about avocado Date: Thu, 21 Nov 2024 16:57:34 +0000 Message-Id: <20241121165806.476008-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x336.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 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 From: Daniel P. Berrangé The first comment is still relevant but should talk about our own test harness instead. The second comment adds no value over reading the code and can be removed. Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-8-berrange@redhat.com> Signed-off-by: Alex Bennée Reviewed-by: Pierrick Bouvier --- tests/functional/test_acpi_bits.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tests/functional/test_acpi_bits.py b/tests/functional/test_acpi_bits.py index ee40647d5b..4c192d95cc 100755 --- a/tests/functional/test_acpi_bits.py +++ b/tests/functional/test_acpi_bits.py @@ -196,11 +196,12 @@ def copy_test_scripts(self): for filename in os.listdir(bits_test_dir): if os.path.isfile(os.path.join(bits_test_dir, filename)) and \ filename.endswith('.py2'): - # all test scripts are named with extension .py2 so that - # avocado does not try to load them. These scripts are - # written for python 2.7 not python 3 and hence if avocado - # loaded them, it would complain about python 3 specific - # syntaxes. + # All test scripts are named with extension .py2 so that + # they are not run by accident. + # + # These scripts are intended to run inside the test VM + # and are written for python 2.7 not python 3, hence + # would cause syntax errors if loaded ouside the VM. newfilename = os.path.splitext(filename)[0] + '.py' shutil.copy2(os.path.join(bits_test_dir, filename), os.path.join(target_test_dir, newfilename)) @@ -399,8 +400,6 @@ def test_acpi_smbios_bits(self): # biosbits has been configured to run all the specified test suites # in batch mode and then automatically initiate a vm shutdown. - # Set timeout to BITS_TIMEOUT for SHUTDOWN event from bits VM at par - # with the avocado test timeout. self._vm.event_wait('SHUTDOWN', timeout=BITS_TIMEOUT) self._vm.wait(timeout=None) self.logger.debug("Checking console output ...") From patchwork Thu Nov 21 16:57:35 2024 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: 844679 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2382490wrx; Thu, 21 Nov 2024 08:59:18 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCU2hV4t/B0Eg33IS/HSVYbiQpJOL3tOF5N0ESVNc5gFymtEzKgo4ZiF9+TqYohfpr4ugzhtfg==@linaro.org X-Google-Smtp-Source: AGHT+IFiEQXJLocnsLpwsnwpq7bwIiZhauzHGRuJslaDN9z6dWftLclPjh8e4YaFO19MvUnSrge4 X-Received: by 2002:a05:622a:13d0:b0:458:34fb:5d59 with SMTP id d75a77b69052e-464783a7aedmr85940761cf.29.1732208358064; Thu, 21 Nov 2024 08:59:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208358; cv=none; d=google.com; s=arc-20240605; b=Gl16TUj834MXu+IbGJF7e8Ixg2tDfcLMddOsS6Du2YG8hzJyVVK8o/0bcmNbdPS1YG p4xJR8JAy/hAE5O2NqphJlH9bTEPamYKrUPrh3M11iEF0DHFAu6+anGLKqC4GmOsXUun VgLKEEVNRy5kVY2FUeDkU32fQmqnjGNmmwFQ2pEpziO/2CoTZbfO+QT9wP3KyMNZZb+H tEyH6uAwWtqRdPBo8UdP0AnGicdMPHuz+1NFb5sx0TXE1Pb/U5LZybTjGtUlEUS/4pW9 DCzfA8LgV9xSU+TsywTC+hbvR3WGVYdV1zXZtuNGC8PkqZwtsxb4GTs3PYLH5Y5cMmxp w4Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=4ZyRU/wbphexjcfx9boVViUiFcAlCnY6CkVEXtnxhu4=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=cikXvJ4keSuxFs7YBqlYEbylgX9b5YUKac5um7zuVEvzOSmKE/xS6gFmg5OdIZVwF+ oiwDNr/FvEub1JrA06VjgWAdYVIfTGgMCRAi/PhjaXefntvgx1pz1tl0Htdard+kRQhD WLsche0XC2TFOrrT5NhAHoO0F3OcweaPhfAXg4Ph36rW7yLMzeEuzF5UkqrbvyBsYvER GZ5AjiAd1qZ1Gs0zB8lw2HhMdfyO49iscaZc0j1fcesFL2qtz9WNN1T6t5TYlqHG51bt ngCJGHzVWSd2bJJpPTOjcO5hSfeheC609RQQfa7E4e0kv+DRiLeiIA3A3vUlhmAdggxp 1ymQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hhYGvOSP; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-4653c3d5f7fsi941141cf.14.2024.11.21.08.59.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 08:59:18 -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=hhYGvOSP; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWF-0005EX-Pn; Thu, 21 Nov 2024 11:59:03 -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 1tEAVh-0004gO-DW for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:29 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAVT-00081h-9c for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:29 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-4315e62afe0so10238575e9.1 for ; Thu, 21 Nov 2024 08:58:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208293; x=1732813093; 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=4ZyRU/wbphexjcfx9boVViUiFcAlCnY6CkVEXtnxhu4=; b=hhYGvOSPNGsw9Jepc46UN4BQPqIEj54M9ukqOJKUEAY42KlRfdXWlHM2RKF4JFxyQj cBxoFBvXOPEa3vPbj5iFtL7XdxVJMsBFXpKXgYNDaITDdsZfFBczlblJ/lpxsvUStiQE cGefjNPx+o4S3k8OfElo4V0qgBjMtB2N586oG8yeWhSCMfEpszE3RQV3V7u1gND5Cn97 zNHJB3CAp2t/X8ZrrLymGKauOc2ClQZludwLPFEZ0kQFHVrkfaemyEdOjR0pzS5JkVxy PeuHrLESl2ZMfaUDSLtQ4QRG7B1WJTUvgbb18m5peCdh0RUrOS7NOjK8M6Ikr7qjjLWp F1zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208293; x=1732813093; 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=4ZyRU/wbphexjcfx9boVViUiFcAlCnY6CkVEXtnxhu4=; b=W0mdwKrADiWHQbGpsJFVxDLGWOkjm68uPLHrX1xYWwFD4D0n7QiP6JH2EQYGbGxwpA Wp0Ne1zPNgeHh9fVvDorV7zqd08psb6ylElV64dsjjpvFW80nV7NCKIqnzlqoMvPHeO9 PYfWVFOcEWGTEu4zsqAA2UPNjqmV+vrFN3I00llGEbTG8xCA4xX6qfuRso9yIt2BfjDd yGh630l27tw4WmHo9erNEVfGBHuXz3hsGA+5yBRZjQ5HFjp/NfG3Fqke/TpZ7mxBqB0e u9bbWYjnBwvKKouKdbgvdVExPIQduBXuEKEse6J+ZveQlkw2nEXZOU4RavbJzc/8Ipz9 BvDg== X-Gm-Message-State: AOJu0Yz8boaYPzft8jrZ+S7DNdb010wDu7vrfh9ijFVcbeiviXKP7GgM BReWXri+NHbblmWQgPzsI33rKf2u3NbCClvYhBtYRtPro2IPIMNeSf5Ar4Nn3Ss= X-Gm-Gg: ASbGnctUW5u9E2Ob2k94HRVz3IeXe/9jiZeRDNH0Kw7dh+qGndtGPJUXiAuHB8OAYie uC1QmdmavhrYcYfRZnZenk3+m/wQcoHGqsuI6GqW0Utlrtw1orK96L8SVET3mICd4AcZizEE2u7 FCXIUYJChjLFIIexlXGyoIU7AiCdJ5LjEagwLp+W2RHlxSY9e34jtcTT4MVORfwVnRBWnqikRzp KAHiOxEyxLXSe/yL5hsG2aHiPVUo9eIxC2Ml7Eq0JYKBa74 X-Received: by 2002:a05:6000:4604:b0:382:5aae:87cf with SMTP id ffacd0b85a97d-3825aae8da4mr2729457f8f.31.1732208293386; Thu, 21 Nov 2024 08:58:13 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b463bd19sm61028815e9.44.2024.11.21.08.58.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:10 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 342085FC75; Thu, 21 Nov 2024 16:58:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 08/39] tests/functional: honour self.workdir in ACPI bits tests Date: Thu, 21 Nov 2024 16:57:35 +0000 Message-Id: <20241121165806.476008-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x336.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 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 From: Daniel P. Berrangé The ACPI bits test sets up its own private temporary directory into it creates scratch files. This is justified by a suggestion that we need to be able to preserve the scratch files. We have the ability to preserve the scratch dir with our functional harness, so there's no reason to diverge from standard practice in file placement. Reviewed-by: Alex Bennée Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-9-berrange@redhat.com> Signed-off-by: Alex Bennée --- tests/functional/test_acpi_bits.py | 44 +++++++++--------------------- 1 file changed, 13 insertions(+), 31 deletions(-) diff --git a/tests/functional/test_acpi_bits.py b/tests/functional/test_acpi_bits.py index 4c192d95cc..3498b96787 100755 --- a/tests/functional/test_acpi_bits.py +++ b/tests/functional/test_acpi_bits.py @@ -150,7 +150,6 @@ class AcpiBitsTest(QemuBaseTest): #pylint: disable=too-many-instance-attributes def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self._vm = None - self._workDir = None self._baseDir = None self._debugcon_addr = '0x403' @@ -169,7 +168,7 @@ def copy_bits_config(self): config_file = 'bits-cfg.txt' bits_config_dir = os.path.join(self._baseDir, 'acpi-bits', 'bits-config') - target_config_dir = os.path.join(self._workDir, + target_config_dir = os.path.join(self.workdir, 'bits-%d' %self.BITS_INTERNAL_VER, 'boot') self.assertTrue(os.path.exists(bits_config_dir)) @@ -186,7 +185,7 @@ def copy_test_scripts(self): bits_test_dir = os.path.join(self._baseDir, 'acpi-bits', 'bits-tests') - target_test_dir = os.path.join(self._workDir, + target_test_dir = os.path.join(self.workdir, 'bits-%d' %self.BITS_INTERNAL_VER, 'boot', 'python') @@ -225,8 +224,8 @@ def fix_mkrescue(self, mkrescue): the directory where we have extracted our pre-built bits grub tarball. """ - grub_x86_64_mods = os.path.join(self._workDir, 'grub-inst-x86_64-efi') - grub_i386_mods = os.path.join(self._workDir, 'grub-inst') + grub_x86_64_mods = os.path.join(self.workdir, 'grub-inst-x86_64-efi') + grub_i386_mods = os.path.join(self.workdir, 'grub-inst') self.assertTrue(os.path.exists(grub_x86_64_mods)) self.assertTrue(os.path.exists(grub_i386_mods)) @@ -247,11 +246,11 @@ def generate_bits_iso(self): """ Uses grub-mkrescue to generate a fresh bits iso with the python test scripts """ - bits_dir = os.path.join(self._workDir, + bits_dir = os.path.join(self.workdir, 'bits-%d' %self.BITS_INTERNAL_VER) - iso_file = os.path.join(self._workDir, + iso_file = os.path.join(self.workdir, 'bits-%d.iso' %self.BITS_INTERNAL_VER) - mkrescue_script = os.path.join(self._workDir, + mkrescue_script = os.path.join(self.workdir, 'grub-inst-x86_64-efi', 'bin', 'grub-mkrescue') @@ -290,17 +289,7 @@ def setUp(self): # pylint: disable=arguments-differ self._baseDir = Path(__file__).parent - # workdir could also be avocado's own workdir in self.workdir. - # At present, I prefer to maintain my own temporary working - # directory. It gives us more control over the generated bits - # log files and also for debugging, we may chose not to remove - # this working directory so that the logs and iso can be - # inspected manually and archived if needed. - self._workDir = tempfile.mkdtemp(prefix='acpi-bits-', - suffix='.tmp') - self.logger.info('working dir: %s', self._workDir) - - prebuiltDir = os.path.join(self._workDir, 'prebuilt') + prebuiltDir = os.path.join(self.workdir, 'prebuilt') if not os.path.isdir(prebuiltDir): os.mkdir(prebuiltDir, mode=0o775) @@ -321,10 +310,10 @@ def setUp(self): # pylint: disable=arguments-differ # extract the bits software in the temp working directory with zipfile.ZipFile(bits_zip_file, 'r') as zref: - zref.extractall(self._workDir) + zref.extractall(self.workdir) with tarfile.open(grub_tar_file, 'r', encoding='utf-8') as tarball: - tarball.extractall(self._workDir) + tarball.extractall(self.workdir) self.copy_test_scripts() self.copy_bits_config() @@ -334,7 +323,7 @@ def parse_log(self): """parse the log generated by running bits tests and check for failures. """ - debugconf = os.path.join(self._workDir, self._debugcon_log) + debugconf = os.path.join(self.workdir, self._debugcon_log) log = "" with open(debugconf, 'r', encoding='utf-8') as filehandle: log = filehandle.read() @@ -360,25 +349,18 @@ def tearDown(self): """ if self._vm: self.assertFalse(not self._vm.is_running) - if not os.getenv('BITS_DEBUG') and self._workDir: - self.logger.info('removing the work directory %s', self._workDir) - shutil.rmtree(self._workDir) - else: - self.logger.info('not removing the work directory %s ' \ - 'as BITS_DEBUG is ' \ - 'passed in the environment', self._workDir) super().tearDown() def test_acpi_smbios_bits(self): """The main test case implementation.""" - iso_file = os.path.join(self._workDir, + iso_file = os.path.join(self.workdir, 'bits-%d.iso' %self.BITS_INTERNAL_VER) self.assertTrue(os.access(iso_file, os.R_OK)) self._vm = QEMUBitsMachine(binary=self.qemu_bin, - base_temp_dir=self._workDir, + base_temp_dir=self.workdir, debugcon_log=self._debugcon_log, debugcon_addr=self._debugcon_addr) From patchwork Thu Nov 21 16:57:36 2024 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: 844710 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2393153wrx; Thu, 21 Nov 2024 09:13:42 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUzqIfg93d1NDEEeK0GlNMIo26/J61gKbNyT1wsc5X+t8VMtEWHMrxKbI98y7L7aR9S0+tN7Q==@linaro.org X-Google-Smtp-Source: AGHT+IFVKXmfmUtaK9+bF2/9Z6rbP3C9apDjdDNp/M5ud8l5DU8IlheAjxJXDB+kK+cPHEJswvYi X-Received: by 2002:a5d:6daf:0:b0:367:8e57:8 with SMTP id ffacd0b85a97d-38259d2b7e8mr3382499f8f.19.1732209221929; Thu, 21 Nov 2024 09:13:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209221; cv=none; d=google.com; s=arc-20240605; b=ZovvLSJZ1wTL3GdqhLKQ9soXomDsbnRCgR1Ju7rz2RFJzNN++IF/yN2OcrrMa9GOcl QK1sclBAmH15bdeTF1qVGh3ekkGAPmzgscH/L8wGQOasLEUQOyicy7atTPd9lL4WNjdv oulYhBKapbtpqBnrWPmKzcX+VZFSDSjzJ/HlvA2YsnFoGezMDRq9uQuVzp5Gmlt7AzLJ kbAmTPhzIiuSdNx4rUu4mMh95YEUxALVMFe3tsfWfz1k4CdFlj6196jAKCY06mpBW2uQ vYlCOlerNAUhFzes6FmA8AuhH7YgfE8IJG58DZouatsamNdBwYPE2uIeiCsI2q3c3qUK Wx2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=wHupEt0CMdn1N9WNkjjRD7wPBLmfP5+19fW5G6FBBAc=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=LZhplt/BR4NV/As9mHrdESjMjTNPmZ5AKcTxanfpdPrPwFRJ6lj6bwNRt3fXuQk/Lu CO4lRhNNv2AzmPc/ZC6MveDv8q/dhhjx10kQEqx2KoohhTECcbJzlc1/39UdeGC+PdsK ubVFk16KOM+XanKiG4uhtFa12KdpAi0mo8+gQ0U8Dg+UEeyZ99Wyq1wRqKDGTryOA9ds zwUCq2X/2MzjKX0uVDs0wkoidPJdsdhYGxjz7cY7CJ1fui/kIvOVaesrPhxvgSs6AOlD V6IFHFnxxq8iurlMQHxXxwwynyo4DEOBboHUHmI76lEDUMAyFtEcTf+qSXEI3SrkAP7z hXKA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=drebOzxZ; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fb59906si40143f8f.105.2024.11.21.09.13.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:13:41 -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=drebOzxZ; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWN-0005Rg-5r; Thu, 21 Nov 2024 11:59:11 -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 1tEAVk-0004js-3e for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:32 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAVU-00082d-CM for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:31 -0500 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-382411ea5eeso677693f8f.0 for ; Thu, 21 Nov 2024 08:58:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208294; x=1732813094; 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=wHupEt0CMdn1N9WNkjjRD7wPBLmfP5+19fW5G6FBBAc=; b=drebOzxZX3rONQbSLx90vr2hsHISTBOz7gP4szoS/Ru020Y+XhIpj/2g7o6Zle1szM trXZeo+ZzSC+GFlgO2skbkjrRc19dz4eEMV4UPKdsbo3SaBL8uPNg2fSbb1lDgKYWaUH Gb1irWkJepsVBn2pkVUq6ajpe1nAoeYew37rRMSiQcYnO87pYnR9fQYnjZn6GcKB4pnw zKNf5NsJj/osubHvWgyodhlY6Dt7sEmaj6Q1hw2RC1ez+hnqsCk5IPIXQ8/WB0S8yqk+ 9i9VfuC5utpOk5+272oj/Lytqqiv2GCHeCAfWYz+kno+x1KMCfcGRb1QNqpupThNT+Fc M+yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208294; x=1732813094; 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=wHupEt0CMdn1N9WNkjjRD7wPBLmfP5+19fW5G6FBBAc=; b=AmY74de/gXAI1hgZ98sbkfswVPIRorXaryZkH5297hyIqbr9pOvsAXmaxNW8YIsFc9 4XgHciS8LE4cSD1BOscVtSiEUOskPTzS3vLLy0PKKqovAmrjdDRguJ/aZvRlTMXyNz2i lngPeKXevT+8LqSIWko7dQwItjsjV92AZMJjvYgB8POZDYaSIUUiDbEr4t8wfIJKVebW 1Avgr9Y8a7J1lH4E6HyBoKCmCxlb3zTTjNxThex5OlyRVnnoSOAmgHEWKhwb+ZNlQRGv P7/u1wsEmwsTZGg/q7ejhYznN9yYLByliSi/IaSVzZMu5loqRLDlfOwhoQZoTyfDYQe9 fUdg== X-Gm-Message-State: AOJu0YxAU1xEv0IP84Z7epXxwna/+gnMGrVG5tIyZaXwm9twnkDkSJdd eu2CxAtrE/E7k7Ge7nq0xzQXRF/PCH1cgrgqxBxYgWm0NDNfLzaOAI7tyLdy3JM= X-Gm-Gg: ASbGnctcC/E5yv4oZb9zl4KrhpzUSD+TVsZ2napAGE+/LRT1e7QXrVD60vZEx8gbU4b vpR0XFVgfsNDHGx4l4iO9pWizMQ3DPSHUd5WOu0E+6+1HAb94rgLVnDPrwyK+oClZ49KloFcWW5 /NHoHGm/w1CJxtgV65cENkzdxituu8fdJRuNbVGgsFZaBg1hcbL46Dlb36olp9CBWm0NXvcIkW0 Ebs4VITSJjT8wYQ2fSa3x5+809EtgqhUtnWfTJGUX1sLqaw X-Received: by 2002:a5d:59a3:0:b0:37d:43a8:dee0 with SMTP id ffacd0b85a97d-38259d1b10cmr3258327f8f.17.1732208294543; Thu, 21 Nov 2024 08:58:14 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fb30bfdsm30067f8f.56.2024.11.21.08.58.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:10 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 4C84E5FC95; Thu, 21 Nov 2024 16:58:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 09/39] tests/functional: put QEMUMachine logs in testcase log directory Date: Thu, 21 Nov 2024 16:57:36 +0000 Message-Id: <20241121165806.476008-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x431.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 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 From: Daniel P. Berrangé We are not passing the 'log_dir' parameter to QEMUMachine, so the QEMU stdout/err logs are being placed in a temp directory and thus deleted after execution. This makes them inaccessible as gitlab CI artifacts. Pass the testcase log directory path into QEMUMachine to make the logs persistent. Reviewed-by: Alex Bennée Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-10-berrange@redhat.com> Signed-off-by: Alex Bennée --- tests/functional/qemu_test/testcase.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py index b9418e2ac0..ca13af244b 100644 --- a/tests/functional/qemu_test/testcase.py +++ b/tests/functional/qemu_test/testcase.py @@ -163,10 +163,11 @@ def require_device(self, devicename): self.skipTest('no support for device ' + devicename) def _new_vm(self, name, *args): - vm = QEMUMachine(self.qemu_bin, base_temp_dir=self.workdir) + vm = QEMUMachine(self.qemu_bin, + base_temp_dir=self.workdir, + log_dir=self.logdir) self.log.debug('QEMUMachine "%s" created', name) self.log.debug('QEMUMachine "%s" temp_dir: %s', name, vm.temp_dir) - self.log.debug('QEMUMachine "%s" log_dir: %s', name, vm.log_dir) if args: vm.add_args(*args) return vm From patchwork Thu Nov 21 16:57:37 2024 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: 844690 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2388666wrx; Thu, 21 Nov 2024 09:07:01 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWzcc84gevLfFOVxptwBJzcZXCgu0ITfWMXQmRYa/QEJcodrpkrrTEOBy/uM3gDwEDXtJuYIQ==@linaro.org X-Google-Smtp-Source: AGHT+IGvf8sTVggGpPG1uZhH51qoGM6FgPvycUbRjBA2DJRbvNkeIEvipvxoLdzhLNqlNLL1H7PA X-Received: by 2002:a05:6102:3fa6:b0:4ad:63ff:2a7e with SMTP id ada2fe7eead31-4adaf4cfcc3mr10908146137.12.1732208820779; Thu, 21 Nov 2024 09:07:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208820; cv=none; d=google.com; s=arc-20240605; b=ksZf3+MFszGh+TJGsvyeJ0O7Ey1lCIso/3IKXE7NaNDoYaiW8qmPOgaLkUM6nqFjQW 2pYSwTgjON39gb92nwXDWjrrqw3NEPo+maA+rO7yabmNebn0FAT+Vn7U8oVDRrBCTit8 0Yd+UeyLRB8ErZZI8Zdk+qvNcl/wpumCVhZvf+A0JKn0ELF1rDbP0XHJV/O4keMy8hh0 wy+Pqju0h3CkcVkfJpOyOExi79wSr27/zMM6W8YxZ1XQe9Tr1Z2e4h7iYaFBQqc7VmwI 5tLThMMPVlCIQrFQv/78qpVzUZGs0AVzr/0CMLpyxuhOJxZq3CaYd8v5OwIc7RBlceou OAag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=YGcTlsR7h0uL9l7JMzB9rSwqOcrfMiHg81PqrjL5LmY=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=BirzjKmOFSpG5Se7sKYJed2CxF+gEpvkLU2Ybhyd6qWuemOw75tK0PNbOWJpnesLz7 SQi3tKlAuZ9oDl0Bp1SSgc8xlVceUiwjliZS6121NOd+XWMsDHpFNwIrN8ThdSccqltn ESbsvIaGfYKE8Un4E3BR7Tph0tRsg2LEgVNM27UtQ+R2ASK7Nj/pH/ee0CDOebxHAHmc 5JrOczBc74iUrUnTfe/tJ/lGi0gD1iZ9P/dKSHEoq/qO6SERcTFzZaokUT3b14+N6mkv lneG9Niggwk+7odSv4oYnOTo0cS9M7qkSfRVDaHxNs54qPqbuY53ydBFbnab7yDfeVBV crZg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xX42+2L8; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ada2fe7eead31-4add63c2880si407313137.416.2024.11.21.09.07.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:07:00 -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=xX42+2L8; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWJ-0005Kx-2w; Thu, 21 Nov 2024 11:59:07 -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 1tEAVf-0004ev-AQ for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:28 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAVS-00080z-Qc for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:27 -0500 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-432d9bb168cso13391685e9.1 for ; Thu, 21 Nov 2024 08:58:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208293; x=1732813093; 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=YGcTlsR7h0uL9l7JMzB9rSwqOcrfMiHg81PqrjL5LmY=; b=xX42+2L8GenXbFOnmeMFRQ6m20v6+DmGPoVE3IClm0GsABI2rvgBi28mUIAeAgfI6K pMgBbSL3suh8MaCLO3aD9VayEInpGIFfglWXLwpg5nUiafamuVsll6/gz0UgfEJbV+ka Os5rkom0lnkfVyyvHAvdFhqrwpLX/VDhElBrJ40fiyr5agxQFBinfx5ZIpe1UHlwZmzl JSLhT3kJ7DFNCxB5/tHEmvhyoX2Jcm7wGCeIXItRL9Fj1IfZ21XLEZtWtRC5WSRlwa6k 8OSPAtDscwcaZsdMphCQhqNmIyhJAgsstfQqPPw+rDEYWBYBD/y4Nv4psGCtxRyIIjmw 8Fdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208293; x=1732813093; 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=YGcTlsR7h0uL9l7JMzB9rSwqOcrfMiHg81PqrjL5LmY=; b=Nde2srTLYmI885csj6IUJGxEPvkNXLqMYFNcZe6Etu391JNCr619hqHlDNN9UGY85g uN/rR7mOPeYKMzEGtJQW8j7Tkr36bOM/8bgMUHe2WjKy6OX6PrmlhSYKA0wKs8CseDqQ hFIp749iSp/aYlhdXsPgqxn4XDQuDS6K0406P0gU/NE4TzoSmsPkrKGGMHtUBnYeTBNT txoXDRhklnyoWRgLfff2bfM16flzKgF4BaxXjJqKdcxfFASbedrOQR6EmCiEXr2pof6n UqWWXSkytGLf3oGnOCmH+Wnk4Nagft3O32vdIdrSck11J24dpucGzXW0XU0flE6pbhyO lasA== X-Gm-Message-State: AOJu0YyQqKQO1ywTL4SfZEr8V77+9zLqJf0pLb4KjqsDAj9G9g25hCjO JWPTpNjkkjraK8NmJKzqcySXl/2Mz7jK8WLVyyMMndBF1cITVZYvFkHnLBObnnM= X-Gm-Gg: ASbGncv2I403x2PduqTcj577j3X45o5DSQdoC2YbPDHlUYBPXQfT3xaGxxYOfzXZFSG F9HLOpegM38b8r7xisHU3jTDMULBjyWDdfLbfy+V22szpabIm7su6sU7hBYApY1GR8QeOh8au3t HsB6wBUns32SKsIDCqpiZdHPyL64mqNnVHKycYZmf5Se8v81w6iKSkONGoO29cO3Wf9vY1jrCHr 5QMFYn/QDTXrNOpmNKn+0zjfjq0D5+ndT9Y/BufejCVAuZK X-Received: by 2002:a05:6000:184f:b0:382:3210:a965 with SMTP id ffacd0b85a97d-38259d4f8dcmr3665940f8f.24.1732208292676; Thu, 21 Nov 2024 08:58:12 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fbedebfsm14660f8f.100.2024.11.21.08.58.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:10 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 6426B5FCD7; Thu, 21 Nov 2024 16:58:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 10/39] tests/functional: honour requested test VM name in QEMUMachine Date: Thu, 21 Nov 2024 16:57:37 +0000 Message-Id: <20241121165806.476008-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32c.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 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 From: Daniel P. Berrangé The functional test case class is going to the trouble of passing around a machine name, but then fails to give this QEMUMachine. As a result, QEMUMachine will create a completely random name. Since log file names match the machine name, this results in log files accumulating over time. Reviewed-by: Thomas Huth Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-11-berrange@redhat.com> Signed-off-by: Alex Bennée --- tests/functional/qemu_test/testcase.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py index ca13af244b..f9c9de1166 100644 --- a/tests/functional/qemu_test/testcase.py +++ b/tests/functional/qemu_test/testcase.py @@ -164,6 +164,7 @@ def require_device(self, devicename): def _new_vm(self, name, *args): vm = QEMUMachine(self.qemu_bin, + name=name, base_temp_dir=self.workdir, log_dir=self.logdir) self.log.debug('QEMUMachine "%s" created', name) From patchwork Thu Nov 21 16:57:38 2024 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: 844684 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2386488wrx; Thu, 21 Nov 2024 09:04:04 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUMYN9z9pFbB0kw9dxYcDDp7b0+A2sGtFgp43AgnFI+4TKaUEcpVpWhxGNNDi4BJ+INE7S5Aw==@linaro.org X-Google-Smtp-Source: AGHT+IHsbkWvazJdMHBRD0O4LsqSN6XZphl96t572Wu58sAo/CrSEqqEOd0iiG6fuvF7M13YOMd7 X-Received: by 2002:a05:6000:1fa5:b0:37d:3b31:7a9d with SMTP id ffacd0b85a97d-38259d2c161mr3537734f8f.23.1732208643032; Thu, 21 Nov 2024 09:04:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208643; cv=none; d=google.com; s=arc-20240605; b=J6LH00vNgWNCemnJYxkR6ennc2rFF8wgJx8LfJixQ9HWbOmL4rt2BYHze2T/K4jtDO Bocije3lmcBd3kKbuV/HL3dcuz0iHlty18O4bVeBnOKPpt6zetdYVayJ58DWbk9WqBzF hFKpRc4X1di7QhHZXk3EVDWsKVjy8DAtVEkkcBeZz5GGZ57UQkdvuRIi7mjqChseXCqZ 1/KMo+pwMbUl9WD7J8vXyLgH8J1aVHGd8zphqE854TDH7YX6bwtMoiV0QlEeEEwmbsEZ Wggqe5TabQOkDsc3cnQvFwt89dvJJls6qJea04QyuD8MDH68eqNZhhbwQZ8rJFDBXOGZ ht6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=e2HZ23XNFOLk981JEHm7evbs/KcDQehVIWxXpboMiiM=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=KKz9inmzENsw/HMBNxfAP1vXGFfw/48b/c4GsSwyAbftS6Y/BU3UQP/WfQV88e/irB krmpg6tjZeJS7WflMrBtfLpPK2UgZW3x9fJT2WCvaALW0mC9Eqw7qib1YRJjdoJvKYxS crWKvc9hhDvnosJ3rfT7vKcrNWQu5Zy3muNm/Nciby3Z68PH0rXf0b30aZhuTe+7ApSa bgyCU7Vz2Uta3HnfUhNTpBLynNhul8P0UwI8Mekm2Y4SVVfuxBsxZKwhUNS7Tmga5dAf K2G5o5KEokL5ltSpYLDlICCPcaKD0OKjW4Dnzd08gff9fPKpAeSBNy20uVbtfST5ukBw oz8Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZrMbeQ3Z; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fd7189esi12326f8f.663.2024.11.21.09.04.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:04:02 -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=ZrMbeQ3Z; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWS-0005gv-1N; Thu, 21 Nov 2024 11:59:16 -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 1tEAVo-0004nO-P1 for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:38 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAVW-00084N-AD for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:36 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-431616c23b5so6661075e9.0 for ; Thu, 21 Nov 2024 08:58:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208296; x=1732813096; 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=e2HZ23XNFOLk981JEHm7evbs/KcDQehVIWxXpboMiiM=; b=ZrMbeQ3ZJE61lgT5ynpIQkaQfqe1xdVyuEnHHbFuJj9nPfIBt+0toE4IoWWE0nfiVV M8IPHu9iKWjej8FWPzFtAEaBoz6+tvp5It3nrgd4sxTE9deqv/c5EJ6BkmBRvNsuKckp OP1jN+UDk9YrCyaFaFIPiqMJMA5pzz1LSauiE42G4UI3p6U0QkrdSL0oZDCEhHkPwpx4 ML8NO+VBTqOGxkwItP8TuWkr8kGOrfCWAXIy5FRT4tP/eK9Cfq70FEPxQcP8hMsD6B6q Pk/WVT9TDtRvtJbh0pB+7tuseOI4hSfpoF1H4Fay58Fp4gL6TGMGJbvvUkIRkXPNDRZJ b3mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208296; x=1732813096; 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=e2HZ23XNFOLk981JEHm7evbs/KcDQehVIWxXpboMiiM=; b=sgPFMKWkZbhZLzWFfF7Z87qwIwXFoado5PfiCZwYsrGpi4Nt2h4p93dQOoQQEXKssl GQKNePTWXZMSkRke6153PU+3bJ82Ar3quD9IRJcDsv3lCOqYldX3X7x9S0Aoi1AauMfu Xch39pNrRDEuMuh0xOLigcZE7hKG2QaXdckS72ITloBttGmrl8xBiHZonNAAQpI6srYE 0O/UH30gwGMhSwvJjpwK3aXGJaZ+x2DckfNlTpjFhwX19YruLubRsVcbEIMIPr7k1XTs auvg6psYO2cZOX+jTMeUFtHvFwveG5h+MCn+vvCuALZJAPGU+3e/Xg2jp+kDWDpS9rRW 1l+A== X-Gm-Message-State: AOJu0YwJYuPu5SPOYyWx/8ghQuo9Z6Vp4WymWW5ta/5T6jKx4qYh8jkx iw96rx1NEnTzPx/XjtkXAftepQ1uUOBEhhdkx2GAwdX1ZvmNt7myl8ZR8IpknUo= X-Gm-Gg: ASbGncu9JB4SW7c0uhvwJWq99nw3nGdC6nMw0AjyHje4NlwBXIZJyF6hyAo2FDYzrul iZ0eBefVoJzaTzHR9cHCpUswSQE63vKkaiESfcgKji+iaHSmp53nPSyKvidR7F4hVYWS9tLsr35 cYvkRj02V0MSsWmDT7ol+cxbcnf3KlXOajAKw88l3pQJmmJgVQnFwajXt6uWd2RpJMZ/aoP00yN 0RK1ep5oDpEqXWzrF4YDq9OMXOA5VHUpD91e7YEy3ih1EeK X-Received: by 2002:a05:600c:a4b:b0:42c:b166:913 with SMTP id 5b1f17b1804b1-433c5cb049dmr36104345e9.11.1732208296361; Thu, 21 Nov 2024 08:58:16 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fbc44f7sm18708f8f.82.2024.11.21.08.58.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:14 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 7AA3D60357; Thu, 21 Nov 2024 16:58:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 11/39] tests/functional: enable debug logging for QEMUMachine Date: Thu, 21 Nov 2024 16:57:38 +0000 Message-Id: <20241121165806.476008-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> 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-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 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 From: Daniel P. Berrangé Set the 'qemu.machine' logger to 'DEBUG' level, to ensure we see log messages related to the QEMUMachine class. Most importantly this ensures we capture the full QEMU command line args for instances we spawn. Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-12-berrange@redhat.com> Signed-off-by: Alex Bennée Tested-by: Thomas Huth Reviewed-by: Thomas Huth --- tests/functional/qemu_test/testcase.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py index f9c9de1166..e2a329c3e5 100644 --- a/tests/functional/qemu_test/testcase.py +++ b/tests/functional/qemu_test/testcase.py @@ -57,9 +57,15 @@ def setUp(self, bin_prefix): self._log_fh.setFormatter(fileFormatter) self.log.addHandler(self._log_fh) + # Capture QEMUMachine logging + self.machinelog = logging.getLogger('qemu.machine') + self.machinelog.setLevel(logging.DEBUG) + self.machinelog.addHandler(self._log_fh) + def tearDown(self): if "QEMU_TEST_KEEP_SCRATCH" not in os.environ: shutil.rmtree(self.workdir) + self.machinelog.removeHandler(self._log_fh) self.log.removeHandler(self._log_fh) def main(): From patchwork Thu Nov 21 16:57:39 2024 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: 844682 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2384710wrx; Thu, 21 Nov 2024 09:01:59 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVCBt4+GHdnTEK7uKalkzv+wlsOfryK7+C66qkL30jDx3pKOpivMuojZ2ukmHY99zOnVeoCTg==@linaro.org X-Google-Smtp-Source: AGHT+IGROfv2uJebWz+yIDvf+DcauOG7s7AqPMKlC2MXsLMadbL6HOH8kPU80CBrUYtwD8w/Fe97 X-Received: by 2002:ad4:576f:0:b0:6d3:faee:a79c with SMTP id 6a1803df08f44-6d43785b701mr79469296d6.32.1732208519368; Thu, 21 Nov 2024 09:01:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208519; cv=none; d=google.com; s=arc-20240605; b=UbI1RUHC277UxqqoALRQGxL7MJRSi6VFxVOKMu1ZPYT0RZ4tCLTxOrrRl6YbOKJ/Lz A6gHOPCf8ftf62V4vNF5yW/1/NuT7vf+e74lgnEimaJo/CT38TzYm86ctSNY7KdCwV+O wA4T9IJJwcLu80PxHBEPZ6VMMosZmslJerEsQ8f1clFk/D8wVpJ1sZnYwlglz8ZiTl6l EDVXLSqNArxXIO9zLD8hLDESpbgSSmbg0xXnpETI82WDC5G3odLVkpkukHtMcLcOoRke s5JlVaGR12PJYPn4WKcmzIJ54xDIVU3mqRUY3tfZ94fOrD/mSBCY3IUiVXsr7QB732Tc P1RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=u0LTmbM5U57S+h1nWuC/fSCXp7HsRQ6Vc+lwzcBVXy4=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=VWzOjCxLD6k9IaoV9cLDDWpoMu7ub6w5d0YbET3Mr3FN4DMUGc642q4LBMF0idP2+W pIzKs3HjW4jYLeG+iXOxAfZTRtziOyQSSgxSvajohCzpnF555ZcvSRDiSsDvr1/XhUy9 97+MytbBbELNMNRYleQBfv1P5BKQSp612WA7PMo/PRPcik/FHD9rA8X5doKT5CIGZG6w N4V5Qb7FfnAxciNjE7rIZA8EBkJAsuIAizbaxTUtfhNmuSzJikA6k17kzSmaw6au9PDr le/dvZ/6IrntictgDJZfsQoCK4J/3EsKKaLRhY4i27mdxj8LwOrVNa+dI145IXUWwxA1 px9g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kP+6mnjB; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b479dbb827si536710185a.129.2024.11.21.09.01.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:01:59 -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=kP+6mnjB; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWJ-0005LX-KA; Thu, 21 Nov 2024 11:59:07 -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 1tEAVk-0004jp-0p for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:32 -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 1tEAVU-00083N-Py for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:31 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4319399a411so10175845e9.2 for ; Thu, 21 Nov 2024 08:58:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208295; x=1732813095; 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=u0LTmbM5U57S+h1nWuC/fSCXp7HsRQ6Vc+lwzcBVXy4=; b=kP+6mnjBGfR6CwDHbCceIMj1ePq5gdh7a6SiyTbwjpRfbbArXbLD5m4ur+a4Xda4MV yUqZQbw7U/BhUqUbS1xx0veUwSjJ9Qt5Nsu2u+iS7y/tcp8mc+BidRicWkgTJJbQKDB3 IefrUXH2sb8a4HoPebeKn/x/kdJnAndgkS1a96rFmDUIEoZO6P8VMPz+L/DPeQefl4m7 OpD1T387tbKByyYAEzf6pImmz9pJvhS+dLcWHvPhMCRDx0MmGQDbzK+JjqDYmgcyVVus Kunulp5jcX6BHMtuRiRQyh88yLsHaLzxWpjyiSfbgSOZ2PX1v3ZWgWaQvjrdj/Hhvg2p S2Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208295; x=1732813095; 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=u0LTmbM5U57S+h1nWuC/fSCXp7HsRQ6Vc+lwzcBVXy4=; b=RYBkEIblkpaWjL/yDy7z0GSMeBftqklHNXzHidIgVyEHExalXcEnFpe4KKgtw+RTYQ jwJAdXdaNZ48Q3zSsy5REJw6Aan8m84t87AjGdNpNjR5fmeQh8dNYYMcuynODd79kay6 bdp8tWx42R/CKZtwFAlU2nyonag3Bw7NYj7AgWEtqHwhf03sKbPpGBKzsM5s8Z1qOvMw eVPOAvNAcuroCZzvBl6BcREjj3XOMWNiXAB49xDIH6rWcYTqjdcvgdk3IRnZ23yjgfRT rMOiy0GZR2oE3dkQzS0cT/VnZ6nD6xcWVZnREg+tl5GXzIlgW9K/QmtvKWQyqi7PCErB +Fiw== X-Gm-Message-State: AOJu0Yyj6wtedSizJzDToxmDOJsHkYRdHsp+7VxvsFFlmBfm0hJhM6q/ FvWWKkV4e7l7nSezyszt02AwFM0gJxCcCueJME7XIF+dkansEeC67csNCLdhb7c= X-Gm-Gg: ASbGncsnTHlc3ckfSW10H6CaMUk5Tp0qPLizhUEw0jC8cgexU4+EUTLbg8RbQj+eW7t 5il3OH5So0HpJqQTiSGmppIy4bb1zUyN5ov2c4dxXt0ypURP9vm/hDvlRcbA7x9cskDKa9vl8vQ PorNSBIY6Xgm1pipZWAQTa2tFQ/5KmeuUafzfIeLG71ACFZDaaJZegXGs8mmmgvzqCPUty+1Pu+ K4IGVzU/BScpwxtujCniBWuRD6KW4qQ0CSwdfBkUNZ7gIJY X-Received: by 2002:a05:600c:4f10:b0:431:40ca:ce6e with SMTP id 5b1f17b1804b1-4334f021f0emr70165475e9.31.1732208295278; Thu, 21 Nov 2024 08:58:15 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b01e117bsm65328985e9.8.2024.11.21.08.58.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:14 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 8DF18603C1; Thu, 21 Nov 2024 16:58:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 12/39] tests/functional: logs details of console interaction operations Date: Thu, 21 Nov 2024 16:57:39 +0000 Message-Id: <20241121165806.476008-13-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-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 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 From: Daniel P. Berrangé When functional tests go wrong, it will often be related to the console interaction wait state. By logging the messages that we're looking for, and data we're about to be sending, it'll be easier to diagnose where tests are getting stuck. Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-13-berrange@redhat.com> Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- tests/functional/qemu_test/cmd.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/functional/qemu_test/cmd.py b/tests/functional/qemu_test/cmd.py index cbabb1ceed..98722a9cf6 100644 --- a/tests/functional/qemu_test/cmd.py +++ b/tests/functional/qemu_test/cmd.py @@ -85,6 +85,9 @@ def _console_interaction(test, success_message, failure_message, vm = test.vm console = vm.console_file console_logger = logging.getLogger('console') + test.log.debug( + f"Console interaction: success_msg='{success_message}' " + + f"failure_msg='{failure_message}' send_string='{send_string}'") while True: if send_string: vm.console_socket.sendall(send_string.encode()) From patchwork Thu Nov 21 16:57:40 2024 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: 844713 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2393597wrx; Thu, 21 Nov 2024 09:14:25 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXpPHqGMCZM6BmEGGAZCrmJrYodsKEKDQ/YZhtOrpFpln3jmEhS0hU5XH1P6p+SPgXL4QC+mw==@linaro.org X-Google-Smtp-Source: AGHT+IFmrOZjSFtxTCpmv8biPF2YcF1tKPWrg9KiMTQlJ1/xjjML07AtG9ZgwJ6ucExqzAhIRk1j X-Received: by 2002:a5d:6c66:0:b0:382:4fb2:cca2 with SMTP id ffacd0b85a97d-38254a84cdamr6534544f8f.0.1732209265105; Thu, 21 Nov 2024 09:14:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209265; cv=none; d=google.com; s=arc-20240605; b=exlwcId8XSK6vGAqwocCtX2bLa3K7/xXxHf1K/SHaZ5XeeUxspGvOecKYkafbJZ1Dw +5/ja1lOlHKWvtb+RNY3Dfi6jh0K7BtF625ZRI6Pwgo0yI2EqkDkraZarDC2ZNfzJWjD 9LHlkkT+4qNMmeZv08I+kz67TmI6te6/x2Lf/aB0cMSUdlG/RqKvlbWSLp0VD17Ui7rK PNvlFnoJr9XmjZJFubauGUE0L9Zg/m1e7pS1+vVQRnx5jFw+QaEPlBbE3R2cTcGqQsoU e8BgSKktuwgib5R56vxs3XG+hw3maFaztcstH1u8Jr1kOtSwkVcI4mBr0Rod+c3j0YzX LQzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=Nh1HSCE0LYEGDQ7X1d/mpdCNk3qVcIIVFU2nc2OFGiU=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=NoA0Q89uzyVAG4eWQ9Zb5EsKJDz1R3SeS1K9neQRflTeFxtjK/6osb5OR1/GLExlz6 lvLqa00VRbfG2cIDj7bmMFHtHmrhqeiTie72OpDqIAvYULCHjFm0bqR+/694KkrGrGf/ n6zQC43IkKJSUzyEtgVvswHb7dgL3B3WyimpvTWQqSiWquHionsCjUqs6ToLLvolgZ0A rO6LL/Bjri0rOzPKv2rPnHFu6OeFqeY0cju1/VY9JDJvfteu2OaH9aPEF0DTOdQqbtOG OTIo5lop2Yj7IZPQqoCLbd+IXo/oMeUA84jlXljAM8YEjhNnVJw+XEPBd3Z6tOHkFZY2 yMuw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZKHge06x; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fd604desi37559f8f.633.2024.11.21.09.14.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09: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=ZKHge06x; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWP-0005Ya-Dq; Thu, 21 Nov 2024 11:59:13 -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 1tEAVm-0004lh-FV for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:35 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAVW-00083m-1S for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:34 -0500 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-3823cf963f1so681202f8f.1 for ; Thu, 21 Nov 2024 08:58:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208296; x=1732813096; 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=Nh1HSCE0LYEGDQ7X1d/mpdCNk3qVcIIVFU2nc2OFGiU=; b=ZKHge06xXU6MZrVT9TqS6+IbdPLQp1KUiJnIQKDsDHCJqp6cdjshAZdiRBL63CMzpb bZS3DETY776OCU2HIFes4MDXlPSOlWiyuatX40GXzcteSYTLT9jt3K5MhVSdCAlt5MKr Fu0+NEB9u0N93S7Ua182Nnl5zn5EsHyyCesKOodmesn34bdhfBFGjTuuPiPuGJs/3ryI wMhZ6kzfZe12RJtWSZ4Ys6SUQs/M2FzPQ/bMiyredIFKdqeXwoXVsd5SOT0VyvABR31F Nv9rck7eQenBXK798SrJ28FZ6ba0Ukwk9C52INTg2JyJap1xF83UHHnPwI+Pj7feUD4N NE/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208296; x=1732813096; 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=Nh1HSCE0LYEGDQ7X1d/mpdCNk3qVcIIVFU2nc2OFGiU=; b=NIgifisSNAw8BEhDu3Vh5BZZ+hvt0VZvGoe4DRudytUHB8dG0CRIWjCXmSeg/A1jbC nhfxdsjyj1/StnF+kiRQ2CjyGdbGv4V1TMyzfULNRpv0YrRlLcHZLYEhwdyQRTQRQNhB WGOmdI51/LAo8ysQhzlXif9Bt/3mjklocm2c6Btfk5Sa6JWgg+RUpuVHzJKgJJfqpAn1 xNr9o1bZOymAR49FfcUy/Yc3bUYqdLczIt7SsB9VKNgM098OYtRX0rnzLBUistE3fQcQ QZ4HMY4zGa1zm2Boc8cbd7+OWzQ/rzXj8BizDX9NsXfYqp31iYZBzb1eqbI5SjtRcYg4 pfyA== X-Gm-Message-State: AOJu0YxAjk+fqyxL/ETso9QizdTBH44aVXVjVhRvLHUhUbkyoRClbdiU CG+syaIc4NwGQr/eQPd38BqKfwOjNgqZAX3CvSZbQYix1O+zGGKuv+BsGvTozh8= X-Gm-Gg: ASbGncs8vkWvc2R3xmRrjjacQs64tqt0blHlhcmvEX9thr2y/al6QcQa4Xca7OQlCWF +uwH5F5qsIq8eK9yqA4MRm5aGnxfMGxqCXxMg3BN2bhCzABmPlK3Z77+qZykge8dFV+RnpaKEdC /wXP0mbp+TywPtrw/MfYCV1CdaOIX4NoWkNIvJQVabAT/VJBKaZwuFg3ER7+NTvqE1GITI4G/Uq Z7NU7KVpXt1VsmP6+Y+F3MgRARSLQyKhi6igWdTMFUiPFSF X-Received: by 2002:a5d:6489:0:b0:382:4ff5:61f with SMTP id ffacd0b85a97d-38254b28759mr6329427f8f.59.1732208295832; Thu, 21 Nov 2024 08:58:15 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fb25d74sm31746f8f.47.2024.11.21.08.58.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:14 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id A119E603D2; Thu, 21 Nov 2024 16:58:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 13/39] tests/functional: don't try to wait for the empty string Date: Thu, 21 Nov 2024 16:57:40 +0000 Message-Id: <20241121165806.476008-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x431.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 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 From: Daniel P. Berrangé Telling exec_command_wand_wait_for_pattern to wait for the empty string does not make any conceptual sense, as a check for empty string will always succeed. It makes even less sense when followed by a call to wait_for_console_pattern() with a real match. Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-14-berrange@redhat.com> Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- tests/functional/test_virtio_gpu.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/functional/test_virtio_gpu.py b/tests/functional/test_virtio_gpu.py index 441cbdcf2d..d5027487ac 100755 --- a/tests/functional/test_virtio_gpu.py +++ b/tests/functional/test_virtio_gpu.py @@ -80,9 +80,8 @@ def test_virtio_vga_virgl(self): self.wait_for_console_pattern("as init process") exec_command_and_wait_for_pattern( - self, "/usr/sbin/modprobe virtio_gpu", "" + self, "/usr/sbin/modprobe virtio_gpu", "features: +virgl +edid" ) - self.wait_for_console_pattern("features: +virgl +edid") def test_vhost_user_vga_virgl(self): # FIXME: should check presence of vhost-user-gpu, virgl, memfd etc From patchwork Thu Nov 21 16:57:41 2024 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: 844712 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2393287wrx; Thu, 21 Nov 2024 09:13:55 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWDJCTqBZFEq2HzU9VTHdAlWPwW1IXr/LxoCPaCxX3GxhXBHW1uy/t61Am9f6le765Qvzn9tQ==@linaro.org X-Google-Smtp-Source: AGHT+IH6EX7237n44Oj78jlKgUTfhsdw7fLn9GcuCaTLc9OdhE0snNn9yVkZvTX1TsT2wf2pG/7i X-Received: by 2002:a5d:5985:0:b0:37d:4d3f:51e6 with SMTP id ffacd0b85a97d-38254ae5bb8mr7035761f8f.14.1732209235449; Thu, 21 Nov 2024 09:13:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209235; cv=none; d=google.com; s=arc-20240605; b=G8N5R4fg2OA0sImcfHfqXB7YmF7Ra4Ajjv7gRGyOxQYvxl30+VBciq82+euonY11CU e7HMgpbO8SA5WT+ixeGfxDgZ0nYcJWavlJYMNCn2UV1gORTbX8FpIqk/nWDpd6i7RBG/ S259zRbZf8RUFK5Bng4mpivC6BoCY/GZfFBR0Uz/Qbhwqvto75EQdasmCKcxTO9eWQff ipWUrc06u2ZZSVXS0nF/8zLquJg++MbtQTcy8AglKFo5JLBevjiz06SGqYMwnPg5HVjc fhWfdc0PN72bAA/UPzm0ek+zp3vQKoQsaCAVExSxOimVrGgtf32EtKhk0pH5+hevNVPg YR+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=nvB0S+SuI5gT8c9EFIym95gTJAjNroOOQ4+Yq08R388=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=cqXNf2usO7Q1ubtEgfAK50MVZUfG9PnDet4J2slZt43C/BaB2a34l1lj4uhl+Ao+Yv EWDtgQKDRHSSOeoMVOabkYB3nM2Wpvid4jYWZKhsukR6sE2LTtehuB/uy1e59Wkuw4ZD m9dX8q7W1rQTnPA4I5NF22TK+bMNozzM5FDWP088toi0Kc7TlZ03ibda0DkEcv+WtHIS wCmpyg3jZ/wG51JnN5aTI3L3wLMI8ocfcF7IV2InzLG2FZGO7wRjT8rRvQ1xNsXPgLcz Jr8H/zQNTmsuwEdF8/7TR4c6Qw1CvsRUtO2fTF8LEGKAJYOpZtT2lEnm/Gvv5GcIE+hb BZjA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xo9Kdtkt; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fd70a66si29011f8f.652.2024.11.21.09.13.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:13:55 -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=xo9Kdtkt; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWP-0005YU-EV; Thu, 21 Nov 2024 11:59:13 -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 1tEAVs-0004qq-2S for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:41 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAVX-00085S-8H for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:39 -0500 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-38231f84dccso794580f8f.1 for ; Thu, 21 Nov 2024 08:58:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208297; x=1732813097; 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=nvB0S+SuI5gT8c9EFIym95gTJAjNroOOQ4+Yq08R388=; b=xo9Kdtktd9NXpw6xO/IyMs45YoVfmkzxkTq3+0KmHFOV62FEJ/XaWtM02xCvNFFBTL 8Kdt7rxrW2UsfCUzJ7uUvAcAXJkAc9YKlToGVXooqnTZlVzc2hefYpNrDa3gUKU3pT7N BGUNoaSsRuUQ/ONp4t6fCNlvtWSHoECFegrScaaZDxNhqRTdZKvz3I+6B0Kf7fwXbnte iE3sg4OfVDAMOP0rpchUwuD1LbZzSY+mXaFagJz1mLZYtP9/Dv1/eEJdMlCrgBi9u3mI ox79p4phw9Is1OLsJEx48sOu8IP9bB6PBjmtZtnbDRmRaNiEyRVgvd1aFzdSu52uZuiy Iysw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208297; x=1732813097; 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=nvB0S+SuI5gT8c9EFIym95gTJAjNroOOQ4+Yq08R388=; b=YeDEQ7GiOcCz7pHqnxNS4OJEZsJ5JpdhKRrrcyIeAH9KwPceANZ+/VOA/b+UheIoJm rr3sM+ZbSd6a/FutDuqEAhYg0GOoVKYOILWs418uMd8YXKG8VBJQ1RYUAkP0blq3tq4a C2dwUVywzLelw7VTNFULj9RyQfC0L64nffFrjzwZZxHK03zvDx6e6H4mo/Yp4vDUPHVn 5L0GoNoKLrBkkg6Nt9Vi5YkcEt8rkrTbiIORBs8smoUaVXdWee2GeHNoO/AaBHYhLIji C/rKLGLqA1Os4BsnddU2HVK4HmGnVxAm0uCY/ViA+Bfu9UouRbyhnFozKmvIQCAIg5yT my+w== X-Gm-Message-State: AOJu0YzeN9vli/gPwLly2Py1v188Hf21UPALuQueK6xPHZYhs3th6IvB sacZ9e2jHD37z83GbbFya16xQUWf1bvkTi+xyPTWqWq0e9Ig3a/QKtuOpxBcZrI= X-Gm-Gg: ASbGncvnJd/sjJRyCrR8twz6mF2mdVMhbMaQBKWrWVJRfJGiiqDREMS0w/9DZyJsUFI wO/2flsG68KMwMUV8u4go5jZPl0Dj8I+PM121PsV1gmuxFdTwoWz5iFZsoXk8wl9Vm0sKif7w2f umKkq0RRAXxOJmNQgJFx44yvcmXXhs5d96CtxZDV1L5S7k0Le/nnaL0eEYAVMemvsgdiNA9cZ2c 86eMeWI7U8yy4XiDGcXQua0frCwOs6HkKhcKFhcdeHyRxMX X-Received: by 2002:a05:6000:178e:b0:382:424:94fe with SMTP id ffacd0b85a97d-38254b15734mr6840684f8f.36.1732208297548; Thu, 21 Nov 2024 08:58:17 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fbedfccsm14917f8f.101.2024.11.21.08.58.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:14 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id B718F603D3; Thu, 21 Nov 2024 16:58:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 14/39] tests/functional: require non-NULL success_message for console wait Date: Thu, 21 Nov 2024 16:57:41 +0000 Message-Id: <20241121165806.476008-15-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x434.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 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 From: Daniel P. Berrangé When waiting for expected output, the 'success_message' is a mandatory parameter, with 'failure_message' defaulting to None. The code has logic which indicates it was trying to cope with 'success_message' being None and 'failure_message' being non-None but it does not appear able to actually do anything useful. The check for 'success_message is None' will break out of the loop before any check for 'failure_message' has been performed. IOW, for practcal purposes 'success_message' must be non-None unless 'send_string' is set. Assert this expectation and simplify the loop logic. Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-15-berrange@redhat.com> Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- tests/functional/qemu_test/cmd.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/functional/qemu_test/cmd.py b/tests/functional/qemu_test/cmd.py index 98722a9cf6..f6c4e4dda1 100644 --- a/tests/functional/qemu_test/cmd.py +++ b/tests/functional/qemu_test/cmd.py @@ -81,6 +81,8 @@ def is_readable_executable_file(path): def _console_interaction(test, success_message, failure_message, send_string, keep_sending=False, vm=None): assert not keep_sending or send_string + assert success_message or send_string + if vm is None: vm = test.vm console = vm.console_file @@ -95,7 +97,7 @@ def _console_interaction(test, success_message, failure_message, send_string = None # send only once # Only consume console output if waiting for something - if success_message is None and failure_message is None: + if success_message is None: if send_string is None: break continue @@ -107,7 +109,7 @@ def _console_interaction(test, success_message, failure_message, if not msg: continue console_logger.debug(msg) - if success_message is None or success_message in msg: + if success_message in msg: break if failure_message and failure_message in msg: console.close() @@ -138,6 +140,7 @@ def interrupt_interactive_console_until_pattern(test, success_message, :param interrupt_string: a string to send to the console before trying to read a new line """ + assert success_message _console_interaction(test, success_message, failure_message, interrupt_string, True) @@ -152,6 +155,7 @@ def wait_for_console_pattern(test, success_message, failure_message=None, :param success_message: if this message appears, test succeeds :param failure_message: if this message appears, test fails """ + assert success_message _console_interaction(test, success_message, failure_message, None, vm=vm) def exec_command(test, command): @@ -180,6 +184,7 @@ def exec_command_and_wait_for_pattern(test, command, :param success_message: if this message appears, test succeeds :param failure_message: if this message appears, test fails """ + assert success_message _console_interaction(test, success_message, failure_message, command + '\r') def get_qemu_img(test): From patchwork Thu Nov 21 16:57:42 2024 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: 844696 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2390872wrx; Thu, 21 Nov 2024 09:10:16 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUZCJh5amNrOm1545rx3Khy5v7dHyLbEmcESQNuVnH0H+0yF71sbvHRKSVXeHuqEmwedAKDJQ==@linaro.org X-Google-Smtp-Source: AGHT+IEdID3vMmU4sZOCfeo6lC7PuKxN2IE7Fkc+8v8csRz0Z11VxazYOn23EFcELftlxeiab8jQ X-Received: by 2002:a05:600c:4589:b0:431:2460:5574 with SMTP id 5b1f17b1804b1-4334f020e51mr63504575e9.27.1732209016130; Thu, 21 Nov 2024 09:10:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209016; cv=none; d=google.com; s=arc-20240605; b=Z4CMksZoWkuyGwQI/IioU0ZnP2niJbdCTcEV1iIV+d6Do6cgYAuqeMxkfTMJwT3kKa 0OhVujLDO0cPE5FUkKYNZXjiG+Eay/AvQRvpz18TBLiY3miWEaVj3cK3gF8JmJsoo/YF mEQytUHLfTY1veyXP8z836n+cp2e59ydpx+xW5Kv+hL9BdGsYoomBJd8TpFZndiNKOpM xBchSnWsG7Bqg/Xj2BQG0wVN6/fgJwgp5kyMNgqfZlsoYrb+p/BHYC2QXQqUqkAKG7Ce FnZZJnVAQysHxBqPYbZEIrAEJYERG7xaC6AJbVO+dZOoYeRCrABUoxs5jIMQSt3EMgHV 4k1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=hUv3cBNBzhQbXwOzZFuKXMqW5Ms3TH+C7tVVsyL8z3E=; fh=iRUVWHLFpMUbqwtI85SDYWBYL9awSxutHASXoz2WPqs=; b=Zpbx/xoXIADut1LO2eT0nu3KkbBvN709ygAjhID5z1P5jQll0rgT7AllMAtZEsQwoS WMHYRdH8maWDNC10W0G9GQRZC/nSSllkIHbLDb/aKjNB3Ijj/NBvfJfVG14YFL0E3Mp4 /JOghxaYUym979hvXNiGDfbtZtIkfmKg2CSt2yU8wqBY951lZ8yyYIY6QnAiHTe/4LQT tW1Ti5hEhwDdJn6KD0klZT9Y1xhrUmdJSm9VxYJ2mSzUIr/sF6jjqF45VFuyG88Vc0J1 X1pfbmDSxYYPGgG3s0ahMbT6MNBPHPCYCV9YzWcW/OaFeuDWt0DoaxbmPojGZAml2yOd j1jw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GNwPzxiN; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 5b1f17b1804b1-433b46172c9si25691965e9.191.2024.11.21.09.10.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:10:16 -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=GNwPzxiN; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAfz-0005CR-U6; Thu, 21 Nov 2024 12:09:07 -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 1tEAdw-0000p0-J5 for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:07:01 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdX-0001gk-CR for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:07:00 -0500 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-43161e7bb25so9532285e9.2 for ; Thu, 21 Nov 2024 09:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208793; x=1732813593; 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=hUv3cBNBzhQbXwOzZFuKXMqW5Ms3TH+C7tVVsyL8z3E=; b=GNwPzxiNkSGl39NCmnRT42wk/ETCQGsfAXfDoKtroHGGdjR48oXaiY54uD/QCQBL/Q Uxz2XV3CT7t7aQho7UGPo3hlleE+Cd7RIsMjQhuQVAb6w4LLELRML4L8Rs09XbPy6Zu7 ppd8a7gP9J52OAezO2LAfGax2adsbM23wN6S+MMZcYtGrlJsOeBGEQ92/ULVL952bek5 raGQFq7TUcI0BlMz5jXnVrvSm6GdCDP/LGlpn2vyrUjg5PYIksOc1k9DykciHycDcd09 sFRRarwn0d6KIX+XvRegXcRIrLeo1vHdaKkRm34DRbna+On18zJrvasDLb/MkmLTBToK YLQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208793; x=1732813593; 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=hUv3cBNBzhQbXwOzZFuKXMqW5Ms3TH+C7tVVsyL8z3E=; b=TjJy39I7QWlrIs8P4nrHgyqVXy85UsxcoNU4hc4U1CHnBa829Z3srJcTJ499FwLbLw 6sR5mLuDw3IQFCSwNEB4zytB4jI41vF/0Ak5X82eIJfD1lbzUxoe8p/8GFYlaH7/Iv0R lX7RAPN8+rjSQi4S/0g9IC1InF+PTlO9RmVpG5VvhWOiFkSg67O1E4ckMGDnuqQljcPf N78zArkrZqfytpXWbOeiS2NZh3z4LD+639aDmuzoh0auTZQbDwN1cnfOKy0OiyajuGna SpBJV9SEwIzM1Q7I7IGlxpdBNNCrEpCmP9wKxUod5CdQxlZyX1fduulBvOVpqyxt+XPi K6eA== X-Gm-Message-State: AOJu0Yy3c/yxxQmJ+ftei86jIcYSuEBjGoeS/jRkTlFAfKZuMTMTKjcF +6KB3vhHcK7wZNNBP1vRO2uWJcmV2Wr9dsHCmmChiqL4p//A05iTH3P3YQL0Qlo= X-Gm-Gg: ASbGncsA4Pz9Sy+QwYlarFbQhRRuKm+pwgqxcb9S6iMIvUbJ1oMh3wzbS8rXkPuvrQI HgUOwJXH3nsghRrGRpeJL78NHCKoRRiJeK6fQdpwiEpT6mANMF8eLx77htdZ72TXaa2/G2oqjim xSRqiSZ0UtCWbqYQI4MCUgH6vDW2YOeGVF/CKnrd2TgTEpmPF/Jx2SomzOzzAk4MCgNvaUsVI7S SNna6E8vOdkmho6JGiQaTFL8Fjteh3ihWxNWE/YXQZZqPnF X-Received: by 2002:a05:600c:4e94:b0:431:60ac:9aef with SMTP id 5b1f17b1804b1-4334f02123bmr62233425e9.29.1732208792014; Thu, 21 Nov 2024 09:06:32 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fbee043sm33245f8f.104.2024.11.21.09.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:28 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id CB893603DB; Thu, 21 Nov 2024 16:58:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , =?utf-8?q?C=C3=A9dric_Le_Goate?= =?utf-8?q?r?= Subject: [PATCH 15/39] tests/functional: rewrite console handling to be bytewise Date: Thu, 21 Nov 2024 16:57:42 +0000 Message-Id: <20241121165806.476008-16-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32e.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 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 From: Daniel P. Berrangé The console interaction that waits for predicted strings uses readline(), and thus is only capable of waiting for strings that are followed by a newline. This is inconvenient when needing to match on some things, particularly login prompts, or shell prompts, causing tests to use time.sleep(...) instead, which is unreliable. Switch to reading the console 1 byte at a time, comparing against the success/failure messages until we see a match, regardless of whether a newline is encountered. The success/failure comparisons are done with the python bytes type, rather than strings, to avoid the problem of needing to decode partially received multibyte utf8 characters. Heavily inspired by a patch proposed by Cédric, but written again to work in bytes, rather than strings. Co-developed-by: Cédric Le Goater Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-16-berrange@redhat.com> Signed-off-by: Alex Bennée --- tests/functional/qemu_test/cmd.py | 79 +++++++++++++++++++++++++------ 1 file changed, 64 insertions(+), 15 deletions(-) diff --git a/tests/functional/qemu_test/cmd.py b/tests/functional/qemu_test/cmd.py index f6c4e4dda1..11c8334a7c 100644 --- a/tests/functional/qemu_test/cmd.py +++ b/tests/functional/qemu_test/cmd.py @@ -78,6 +78,54 @@ def run_cmd(args): def is_readable_executable_file(path): return os.path.isfile(path) and os.access(path, os.R_OK | os.X_OK) +# @test: functional test to fail if @failure is seen +# @vm: the VM whose console to process +# @success: a non-None string to look for +# @failure: a string to look for that triggers test failure, or None +# +# Read up to 1 line of text from @vm, looking for @success +# and optionally @failure. +# +# If @success or @failure are seen, immediately return True, +# even if end of line is not yet seen. ie remainder of the +# line is left unread. +# +# If end of line is seen, with neither @success or @failure +# return False +# +# If @failure is seen, then mark @test as failed +def _console_read_line_until_match(test, vm, success, failure): + msg = bytes([]) + done = False + while True: + c = vm.console_socket.recv(1) + if c is None: + done = True + test.fail( + f"EOF in console, expected '{success}'") + break + msg += c + + if success in msg: + done = True + break + if failure and failure in msg: + done = True + vm.console_socket.close() + test.fail( + f"'{failure}' found in console, expected '{success}'") + + if c == b'\n': + break + + console_logger = logging.getLogger('console') + try: + console_logger.debug(msg.decode().strip()) + except: + console_logger.debug(msg) + + return done + def _console_interaction(test, success_message, failure_message, send_string, keep_sending=False, vm=None): assert not keep_sending or send_string @@ -85,11 +133,22 @@ def _console_interaction(test, success_message, failure_message, if vm is None: vm = test.vm - console = vm.console_file - console_logger = logging.getLogger('console') + test.log.debug( f"Console interaction: success_msg='{success_message}' " + f"failure_msg='{failure_message}' send_string='{send_string}'") + + # We'll process console in bytes, to avoid having to + # deal with unicode decode errors from receiving + # partial utf8 byte sequences + success_message_b = None + if success_message is not None: + success_message_b = success_message.encode() + + failure_message_b = None + if failure_message is not None: + failure_message_b = failure_message.encode() + while True: if send_string: vm.console_socket.sendall(send_string.encode()) @@ -102,20 +161,10 @@ def _console_interaction(test, success_message, failure_message, break continue - try: - msg = console.readline().decode().strip() - except UnicodeDecodeError: - msg = None - if not msg: - continue - console_logger.debug(msg) - if success_message in msg: + if _console_read_line_until_match(test, vm, + success_message_b, + failure_message_b): break - if failure_message and failure_message in msg: - console.close() - fail = 'Failure message found in console: "%s". Expected: "%s"' % \ - (failure_message, success_message) - test.fail(fail) def interrupt_interactive_console_until_pattern(test, success_message, failure_message=None, From patchwork Thu Nov 21 16:57:43 2024 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: 844683 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2385112wrx; Thu, 21 Nov 2024 09:02:26 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCV6hR+k0HPT5muQpAtjxl3lbv28SSU6SxBerlKNJGqN/6KUI1gZv08UKPr5W775JvyyrcgHqA==@linaro.org X-Google-Smtp-Source: AGHT+IGw2SyjprUNlM9UGb5A1mRvBwsFcXnKVIB8SmxzEVPeHpfNd+Sq3unIBJTwIVsi4T9P4KJ6 X-Received: by 2002:ac8:7f0e:0:b0:45f:20b:c1c8 with SMTP id d75a77b69052e-464777e1648mr77634751cf.9.1732208546507; Thu, 21 Nov 2024 09:02:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208546; cv=none; d=google.com; s=arc-20240605; b=EXkpegsrsFDkLaCxv19o0xVfYIBdkbGPsVQ1x8dxOJ1iJ6SHo8gJKb3FFfWyYJ8ghb ja4xVUJaU0IR8mCb2WysRM2JHkTLcqxDI8K2C2rERjcH48twgx3EUOwBoYCsrNqmM8uc F4FC45Ipelbu0fdNZ5gfwQNOo+n1KfJBxL4FPLjav9ucnReyleO0D1Ni3fYHihfYFHlA kwkpn58RArbtaO/Xihmrl43QeV/w1s+sKwA8vZjDR3y9CdQTEbKYT51lZOEyUcWUbTLR 5+QylRSIODxd2FL94b0hrmmvM/gGflwR/XPR7T2fgvWHnz3ObIWArTXsRRjhFC9hEL+e 4XBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=KjYXio7sBTQrYDC2ySSBbQ9mNKNL4IwihX3wcslKJhg=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=bopdViRHT/iY4tyupiSbmtehv1LUPmYLuiAWouHXMJvXa29n1XRCWx1C5RzeUfYO6I jV0N2XIZPoBPkufDrRD6kYbmLqWShFNNj7LSrw1FAKq8jg0xwcaPRqCtrxC2ni4Mm2c3 Tn33JoGiSusoWh8q48ZVzJRoap+tRYzAO5EJw/8k0aePxOomflHrjF6lFHmgTGV2/HOC hkm2Is/L6Hgr8EKpoFlFPSncE2x2bJ58SE/CvDVHYF8BbxcwvaX1i7PJe/Nj6odDj7dy /yjL4foHzFiL3LV3rBtuMpEv6Z9d+llio5ylKe1dN7nbRl7T0hDYR58ORo4/8N0s4WWu kC5g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cutSNmQx; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-4653c486630si943771cf.372.2024.11.21.09.02.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:02:26 -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=cutSNmQx; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWT-0005kv-43; Thu, 21 Nov 2024 11:59: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 1tEAVq-0004nr-T1 for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:39 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAVW-00084w-TW for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:38 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-4315df7b43fso10079385e9.0 for ; Thu, 21 Nov 2024 08:58:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208297; x=1732813097; 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=KjYXio7sBTQrYDC2ySSBbQ9mNKNL4IwihX3wcslKJhg=; b=cutSNmQxpdR0O3gRXmcF7OuN0CB961t2alKds9f1HPP+qFT1EJVYdAz5CiETZvYNCL Lf1IdtcHw8/Y9BGmWd7e3bO6lsNvHdWjIa8oSAi/+ccJ7EpaGtLglDySdpUswazpCeYK 7HNNuRrqQ7RD18Q1L7P5XU48L3bBcWr/TXmdGz2k7jmgu24I1Mz9ZfyqJrp0Zjy5LUq/ fpNObBzEgbf0yyARJ0DGxGV8i/5+KYTORvhJjBkqmFkdddslokgftS92cKPsX2VsfAEM hoFLF4dn6ssz5B37uEKuV7Lka2GTv5QbKMZmDJmJB8RgH4iqiLOztiOCSmDpnNIZXxFQ 9p8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208297; x=1732813097; 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=KjYXio7sBTQrYDC2ySSBbQ9mNKNL4IwihX3wcslKJhg=; b=t2QbK4s1AhkG77xmsdoTFMS+ovRJwOWsTCURQ+uKmlEVVTBVTcD06EdNiXAf7EVvdU wbJmz0YMEuX1I7OOjRaRsgujB2iIXEkl15wZEO/TrVkmiweV1LqEZ3QSSF7g3t/Bk0UW wqLMWuT5FXgGSjuamJscmkOn5bANMnKX1kWkN4aUtFUsxYXdapeMN/ZCpMUqIjACy0si Nz8lA1t4GoWQ4rs9hEHzGATDRH1VH7H2JY2U2cW/qV/27dNN7QM2hk+A3l+UfKX0kNG4 rXdVZmjRCD2/Uh+AKlN4nUgNZh0nuCwkOCkA5xXN9H55T7qxIs5dP2hdnHUlN3PmhwFJ FNWQ== X-Gm-Message-State: AOJu0YxtHbHJqtyNV8LAa6XyBCMuvFJd7ktAxScrbNt3qFZV9rDcgOf7 UV552uFtEgwp/ZXnzBgZt4QZsdBNLi1yNfsYyxNWo/9QhkQ5sByHyAVhI4Ugxg0= X-Gm-Gg: ASbGncvq3rI/tQQcPpZi9cGm9rosqnSD6/mLVrd5PxVipQtmZjZV2NxLCh12DsegMHy 9ksSpR+fGqOtx6dzMQYu9FCrao+uymjakzmoPcV15ZfqgCeVPDcWpAdl7Qqniz4oBR3m0vunVWT 63Lab4uT9LVuss7M6AlMQxqRZtGyXVmQ5lDKO76AmkHzCrCIJ2+Md2E9PkV4RJGrsM8PO1wFp8I U2X32847gNkIpxog5pqBOgW83I+iACcowfpW6wmXqR1MqRs X-Received: by 2002:a05:600c:1e23:b0:431:157a:986e with SMTP id 5b1f17b1804b1-4334f016fccmr59644595e9.20.1732208296970; Thu, 21 Nov 2024 08:58:16 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fb2679dsm31790f8f.45.2024.11.21.08.58.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:14 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id DF4D1603EA; Thu, 21 Nov 2024 16:58:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 16/39] tests/functional: remove time.sleep usage from tuxrun tests Date: Thu, 21 Nov 2024 16:57:43 +0000 Message-Id: <20241121165806.476008-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x336.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 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 From: Daniel P. Berrangé The tuxrun tests send a series of strings to the guest to login and then run commands. Since we have been unable to match on console output that isn't followed by a newline, the test used many time.sleep() statements to pretend to synchronize with the guest. This has proved to be unreliable for the aarch64be instance of the tuxrun tests, with the test often hanging. The hang is a very subtle timing problem, and it is suspected that some (otherwise apparently harmless) I/O error messages could be resulting in full FIFO buffers, stalling interaction with the guest. With the newly rewritten console interaction able to match strings that don't have a following newline, the tux run tests can now match directly on the login prompt, and/or shell PS1 prompt. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2689 Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-17-berrange@redhat.com> Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- tests/functional/qemu_test/tuxruntest.py | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/tests/functional/qemu_test/tuxruntest.py b/tests/functional/qemu_test/tuxruntest.py index ed2b238c92..ab3b27da43 100644 --- a/tests/functional/qemu_test/tuxruntest.py +++ b/tests/functional/qemu_test/tuxruntest.py @@ -124,16 +124,12 @@ def run_tuxtest_tests(self, haltmsg): then do a few things on the console. Trigger a shutdown and wait to exit cleanly. """ - self.wait_for_console_pattern("Welcome to TuxTest") - time.sleep(0.2) - exec_command(self, 'root') - time.sleep(0.2) - exec_command(self, 'cat /proc/interrupts') - time.sleep(0.1) - exec_command(self, 'cat /proc/self/maps') - time.sleep(0.1) - exec_command(self, 'uname -a') - time.sleep(0.1) + ps1='root@tuxtest:~#' + self.wait_for_console_pattern('tuxtest login:') + exec_command_and_wait_for_pattern(self, 'root', ps1) + exec_command_and_wait_for_pattern(self, 'cat /proc/interrupts', ps1) + exec_command_and_wait_for_pattern(self, 'cat /proc/self/maps', ps1) + exec_command_and_wait_for_pattern(self, 'uname -a', ps1) exec_command_and_wait_for_pattern(self, 'halt', haltmsg) # Wait for VM to shut down gracefully if it can From patchwork Thu Nov 21 16:57:44 2024 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: 844702 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2392465wrx; Thu, 21 Nov 2024 09:12:35 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCX+bI7hebwUG1D2lgQeqMuBTDoG0MpAMe2f+7WrKzPqzZnuMsjtzvjaR5ICJvgjX1bmS9h04w==@linaro.org X-Google-Smtp-Source: AGHT+IEbztYzdvn5PEZva8lM9qrKZMtrh5Ir3hmMmfFEG45k595ErrCzPoJmiYNW9bMYCE6OwDdQ X-Received: by 2002:a5d:64c5:0:b0:382:4f6e:a57a with SMTP id ffacd0b85a97d-38254b18c73mr6024806f8f.54.1732209155535; Thu, 21 Nov 2024 09:12:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209155; cv=none; d=google.com; s=arc-20240605; b=fxVVqiTMpp8m+zyUoV7WQ9JNaOnT2c/H+2+Qm0pjbe6bxadpsGrdhQLIGJTQdjJNHf 5VsqfzG1l3VCpDShHQk2wVZyqzqDfQf1UlqFvyGbMoqoDqJgXtbf+9OeWtoSy7hVLJuu HEvhz0ib49iDx5Jb4qMc6M93XPnYsd/aSk7Yg8kqlAGxVm/HmaKZRx/yiI0JEoYPPW5U RMVcWDqT6w6aL2TxhtQfdKx90kjDwQNwBJhnDCKFEmfHoBBEGqo8tXAI4PAGBPvo0JW1 NLBHCaGaggf8OFu/2ORBYvTDyu0LrtCUehy2izGqtohrde8jTwSSXqXdKHw5zKDAWiLz eEVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=VAGsBPtTmpGlZjFjwkSGWhc1on1nGzftLOgY8SHHshk=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=GVFlyyhPBMmQvoCamzd7iPccT6ov8vHCo/45GG/B0wECkEAEBEGqs6PcXznbFAmCn3 UGk6a1QSUpyloN7tcQ30b3Kej5S6j3lomdeToYkcJ29kerGaooqGNCuhS0m+adudOZP6 U7eIE4V0ppBeBqT7mDz6cyJNgtbFxBf1crNBEUANrJ+QpZKWa5tcUqhBpi5joaGXBlEn SLQTgbjIN1qrU1EmRKybGI4m37Y1MG1dHiMYtV9Yjrq650zYcb7B3mIB4Qgvoj1484uq nfeFLroGjtPk/5vROZBRBGTu6ixBw3T+uBDfQOMSHV1yfE1+NYXg5Ibl96aloJ0Tc6F/ o+Cg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=diIj3p6b; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fd27fcfsi28199f8f.455.2024.11.21.09.12.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:12:35 -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=diIj3p6b; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAeb-0001k2-Sh; Thu, 21 Nov 2024 12:07:42 -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 1tEAdl-0000Ty-JR for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:50 -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 1tEAdT-0001cb-0d for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:49 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-43161c0068bso9764035e9.1 for ; Thu, 21 Nov 2024 09:06:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208789; x=1732813589; 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=VAGsBPtTmpGlZjFjwkSGWhc1on1nGzftLOgY8SHHshk=; b=diIj3p6bBvvxD4wu5dFjlXyphXZ7EY4EAx5vg8FwOifWkmfwPh7vVIfIvNy7CdmbdG BJOApOhrWdMvOsVMX7VKHrGToMCkfDG10LIhCzHC51ofUxnh61zK81SgAvJ7DbVg7qlD kusIzlScLOVnYpN9bpH+wAwnT9OsHLKigaGzns2m1wnIqE6QQEI3xx1uco5Fc6RCsf0K 3d8HvnNiBYztI3Qv+Y4DeMYArlGDHidcdwrjTjw9MCkVRMxNhDpB7AuD4MvW3mgSs2Kc NRM/b/0FNftMBIPVI/XCvYfoKVjz4sQr/tjv9oRLevgT6XdP4j6OkJ5xJ8Ux8vohNkbN 8Hag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208789; x=1732813589; 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=VAGsBPtTmpGlZjFjwkSGWhc1on1nGzftLOgY8SHHshk=; b=YIzo/mACzNO1i4DhsnS+XSgjjfvrC+3qB1sWJUgPru6zFoM+TfMa14bI20qCOzd77X AxrkslIyJpE3f5bLoQVmd9PElxw4L3SzV96g6N3k8DD7AnfzwokY1YvH/AQ0Gblwiy69 VZ1VluBcOiE1K666bXUoiEHsM/MaOoEj5ZMAPRjB7U+1lhi0DI/Y/z/LBXrwKVn8QF1O nxUFdeB2V+w7p8qYpuXdSNCkOehq+9Lilbi4NZkbOMpPNt5Il9INTD7xQFM3M9VHxPi0 iP5v0SmEyGQwerpYCw3IZweIPmqs4IBGECYWEZogbExm6J8rGFxVNQM0clOJL0KSwdUT c80w== X-Gm-Message-State: AOJu0YxfHm4+G6HmanW1UtH5CAU+cXYHs1vQXESDga2O8xfotHevdV5E dsDILTPexjtVNy7qGMuqATbBKlhU+yM8H4JirPNlsgb//CmZTKu6TCWJE2gt4mA= X-Gm-Gg: ASbGnctG8TiOdtSR/2865fSaqtBErdGr5mDYed3WN3jAR9vjDXnbsIkrAPowxbMu1CY c76tyV8Yay24UqMB48oLIykxJBSZAwTvOreSVE+eXS/RPLItvw9CPqmTDOkUAftMZv250ZWH07k 10cOB6jQWpdfRMY5Ks/rmQOQPaMOEc+umsWiLLDMFLncvE6F5mXijKigquBkxsw0Ukvd8Pxg+AV eu2rXslMiMnOuqyP8QI9ClCiQ547uU9RaIX1iimlNpKosa/ X-Received: by 2002:a05:600c:314b:b0:431:51c0:c90f with SMTP id 5b1f17b1804b1-4334f0202damr60948965e9.21.1732208787559; Thu, 21 Nov 2024 09:06:27 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b4616636sm61146695e9.19.2024.11.21.09.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:25 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id F412A603F4; Thu, 21 Nov 2024 16:58:07 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 17/39] tests/functional: add a QMP backdoor for debugging stalled tests Date: Thu, 21 Nov 2024 16:57:44 +0000 Message-Id: <20241121165806.476008-18-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-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 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 From: Daniel P. Berrangé Support the QEMU_TEST_QMP_BACKDOOR=backdoor.sock env variable as a way to get a QMP backdoor for debugging a stalled QEMU test. Most typically this would be used if running the tests directly: $ QEMU_TEST_QMP_BACKDOOR=backdoor.sock \ QEMU_TEST_QEMU_BINARY=./build/qemu-system-arm \ PYTHONPATH=./python \ ./tests/functional/test_arm_tuxrun.py And then, when the test stalls, in a second shell run: $ ./scripts/qmp/qmp-shell backdoor.sock Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-18-berrange@redhat.com> Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- docs/devel/testing/functional.rst | 10 ++++++++++ tests/functional/qemu_test/testcase.py | 7 +++++++ 2 files changed, 17 insertions(+) diff --git a/docs/devel/testing/functional.rst b/docs/devel/testing/functional.rst index 6b5d0c5b98..b8ad7b0bf7 100644 --- a/docs/devel/testing/functional.rst +++ b/docs/devel/testing/functional.rst @@ -176,6 +176,16 @@ primarily depend on the value of the ``qemu_bin`` class attribute. If it is not explicitly set by the test code, its default value will be the result the QEMU_TEST_QEMU_BINARY environment variable. +Debugging hung QEMU +^^^^^^^^^^^^^^^^^^^ + +When test cases go wrong it may be helpful to debug a stalled QEMU +process. While the QEMUMachine class owns the primary QMP monitor +socket, it is possible to request a second QMP monitor be created +by setting the ``QEMU_TEST_QMP_BACKDOOR`` env variable to refer +to a UNIX socket name. The ``qmp-shell`` command can then be +attached to the stalled QEMU to examine its live state. + Attribute reference ------------------- diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py index e2a329c3e5..fceafb32b0 100644 --- a/tests/functional/qemu_test/testcase.py +++ b/tests/functional/qemu_test/testcase.py @@ -175,6 +175,13 @@ def _new_vm(self, name, *args): log_dir=self.logdir) self.log.debug('QEMUMachine "%s" created', name) self.log.debug('QEMUMachine "%s" temp_dir: %s', name, vm.temp_dir) + + sockpath = os.environ.get("QEMU_TEST_QMP_BACKDOOR", None) + if sockpath is not None: + vm.add_args("-chardev", + f"socket,id=backdoor,path={sockpath},server=on,wait=off", + "-mon", "chardev=backdoor,mode=control") + if args: vm.add_args(*args) return vm From patchwork Thu Nov 21 16:57:45 2024 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: 844699 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2391791wrx; Thu, 21 Nov 2024 09:11:33 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVpYiNzgtwRHYXxwRo6pKRoAn20Hv3X5kmToMPmf7ynV2S9p5ER1flo6I+lTCz9PE0BMPK62Q==@linaro.org X-Google-Smtp-Source: AGHT+IHvPpUN076Xc0kK5BmZrJfyD+1qQlMNtU+RGQTjT2xitP/mJwDOxJkTEth7FygHUdqy9piI X-Received: by 2002:a5d:64a3:0:b0:382:4a4e:25bb with SMTP id ffacd0b85a97d-38254b20f51mr5786131f8f.46.1732209092936; Thu, 21 Nov 2024 09:11:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209092; cv=none; d=google.com; s=arc-20240605; b=Fo/F88M3//7mtQIV43Duhhr21Lb0JMqZRZH2UJQVIf8bhudvty7g4FyJoqNAJpS5Zx ZGuygUf5p3zzrJxfLAobfOGjtF3o6Be4R0qKVwb9FLmOQfhntF59XRPJ40/4IAtCqje2 ZgZXRwKzugZ+ZKwT5rQPuiJRDjAjcDpVSSWv+CDMdF3eivgqCsiyi7lDu/yUq11qRxyC htpWEL0Os+qW2j6Com2O2ARU6omJv43kswmG3G7ZrAN90ceStAYMjdPOBa9pEZNtOvgs STvuUXUN26ZFanJq3f5iz0NnQcAYNMLZbp5mdYEhIvdZvbRHYDaV1FKcgpFCCV5nbq+X fWMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=oX7juP8P3Dz3dam5JbBdnNQ9MZQFT/0pRbnxh9O9VZE=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=P8fk8cXY9bGIpK/eeOJSXiYtJ76kuBzjztcBNjek6wRQD/Y/gGVQpfof9BbPHLk+B7 CclZOiQNpHGn08sb8ELzY8g07Rm4aBG4tG58E827YpZfszIYWNBXNcj26PRN9ZWiCMi9 49vJuohnAKkga2JQtt8+cct9aoqFJK73P1CTTARFfrb0cZUumJjZLvw5FUEwNfjE05eT 5lGUjtZDnHyrEvRzHF36mNpgw5IDfYnETe/kkUqfPrqlG3rNH3miDqz8lYHPqhEASqBP SwS95seNLDUDXUJJ63MJhBmAP0iJYgAHlHr457n6yKGiNIKG2USsNytIKFRGE6BSqRVR XsgA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AOeE2Lal; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fb5a393si39596f8f.154.2024.11.21.09.11.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:11:32 -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=AOeE2Lal; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAeh-00023a-RN; Thu, 21 Nov 2024 12:07:48 -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 1tEAdj-0000RS-3r for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:48 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdS-0001cG-Af for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:45 -0500 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-3823cf963f1so687004f8f.1 for ; Thu, 21 Nov 2024 09:06:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208788; x=1732813588; 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=oX7juP8P3Dz3dam5JbBdnNQ9MZQFT/0pRbnxh9O9VZE=; b=AOeE2LaluN/ICVffAKIU064Nj9823lG3+p66XiA+bR6mSsZyDgzvwiRKXTH7CZoaGb WKSggR55H6Gf2lh6P0q8SknNqaabevu1LgKayiVTHtD6L3TKv1Jt2fTT3LcC1BoEfE+z B9ZOpHuU8v8t/fHFDlPuNU5UbLPVIgmJ9HEP2oYg29MXNsD1SMwoKFzCpLeS2AD0mvTi mOqzWODjCd/GY/hwaJKwzORFhzEe+xsxdocz+Efi4fFqVRbXnEBzlwKXJFrKEVY3dO13 GuX/z03wNvhV1lWdYgjsMZZauyWHgo4ziUzvL7+pleGFNbIJNMw5kkjgkUqUsuPAxo6m DMYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208788; x=1732813588; 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=oX7juP8P3Dz3dam5JbBdnNQ9MZQFT/0pRbnxh9O9VZE=; b=VYs9WxGMOPXRb08Lgu0SEjqO/RBlPCpG1a719OCS44YlUE3kSjrZ2KywdwYc7qL/+1 GfmgGDowkP9SSzLvqwm2z8KS/rbg5sVvPMI4Xkicj8/4iHioDkDGi2PlEs7RSSqh0wAv 49T5FH0ET3JIkArfkJ806W5I5zftH52yI5VtkGNZyfdF/o7Lvkx1elAfeNjSG2YyMuLb TFo16RHuF5WrP4wo/FXItybL578uDS4jyzlyiQXxirfii57Qw6+9uvVczAE6TrhG8nNn rys/PnUAbhtJ+kFp+GgYLoA809+ylVx00IiFpOaukIdhmtMsDISI9/wc6Ie+uRIorZkG RqEQ== X-Gm-Message-State: AOJu0YxQl2io2lvgxSbfrnN6X4p+5CQcKGpK468ofwzdV993P45lt44O VOTMsjTfhTrVaWW9GxNv4iZ6peGG14j2tAfWEu3dWLEyDmkiMQLSOLaZCdgg1iA= X-Gm-Gg: ASbGnctOdN0UEHI5RjPu1BryN8oaBg1Ft0evqcPk+egrdQKGsOCW1VHE5I/uhIboimy 5ItTOFHFDgsCOusQ9Tmtqorqn1uvhIMtMaN/KvPwv2Wi9JSFpnx1W66sy+foepdeZOKFsyMdjYN znMvQLSGUcp2vyaRYzfc1pdOGFbj/Xfj9epDon7ESv/kpa1DLvOIVtfkKGdgO1u4zTcPLOmbnEL go0+/2geKwYZOnWIjnLoVeoF68WpK2iYvSXaMcgFfcqY8kl X-Received: by 2002:a5d:6c6d:0:b0:382:3afd:125d with SMTP id ffacd0b85a97d-38254b0422dmr5944667f8f.34.1732208787943; Thu, 21 Nov 2024 09:06:27 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fad627bsm56549f8f.12.2024.11.21.09.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:25 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 13BE460406; Thu, 21 Nov 2024 16:58:08 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 18/39] tests/functional: avoid accessing log_filename on earlier failures Date: Thu, 21 Nov 2024 16:57:45 +0000 Message-Id: <20241121165806.476008-19-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42f.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 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 From: Daniel P. Berrangé If a failure occurs early in the QemuBaseTest constructor, the 'log_filename' object atttribute may not exist yet. This happens most notably if the QEMU_TEST_QEMU_BINARY is not set. We can't initialize 'log_filename' earlier as we use the binary to identify the architecture which is then used to build the path in which the logs are stored. Signed-off-by: Daniel P. Berrangé Message-Id: <20241121154218.1423005-19-berrange@redhat.com> Signed-off-by: Alex Bennée --- tests/functional/qemu_test/testcase.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py index fceafb32b0..90ae59eb54 100644 --- a/tests/functional/qemu_test/testcase.py +++ b/tests/functional/qemu_test/testcase.py @@ -81,10 +81,12 @@ def main(): res = unittest.main(module = None, testRunner = tr, exit = False, argv=["__dummy__", path]) for (test, message) in res.result.errors + res.result.failures: - print('More information on ' + test.id() + ' could be found here:' - '\n %s' % test.log_filename, file=sys.stderr) - if hasattr(test, 'console_log_name'): - print(' %s' % test.console_log_name, file=sys.stderr) + + if hasattr(test, "log_filename"): + print('More information on ' + test.id() + ' could be found here:' + '\n %s' % test.log_filename, file=sys.stderr) + if hasattr(test, 'console_log_name'): + print(' %s' % test.console_log_name, file=sys.stderr) sys.exit(not res.result.wasSuccessful()) From patchwork Thu Nov 21 16:57:46 2024 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: 844701 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2392304wrx; Thu, 21 Nov 2024 09:12:17 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXtMg53fZ5zE/bI9zcV2PGoee1YrbO79+om2R3ohpfUKHuifPg/a4nCvyF+9/Ow6D6oOlSvfA==@linaro.org X-Google-Smtp-Source: AGHT+IHrYLxaIoSYzowNs6F0wMP7mZ8MtHmqc0t7KEE0mvfiBfAgiGVn2QV8yaUQgzO02IJ20Z3g X-Received: by 2002:a2e:bd0e:0:b0:2f9:cc40:6afe with SMTP id 38308e7fff4ca-2ff8db2b40cmr44302971fa.14.1732209137529; Thu, 21 Nov 2024 09:12:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209137; cv=none; d=google.com; s=arc-20240605; b=a4YGLhscqfdt75gFGA7CCtkD9PuG45tGvQYIhP1Ir78lfSd/1h8d9rDDeOGTUDpjuS orl/VtFoLx8qug5SIxVWYm2d1XVbhgwYKPRXZVzVfgfuPzgZFpCvhSOMj/DEZ+l289Ot VabD79zDO9EXSEdVcTItf18E52lab/mo7PMN12abdJ8Ni1Ro3B0++oRqs6/xWMzH8Oaw ZTJj0DyAF/JeRWRwqFDxADj3FBJdK64YPvJNZCoXjfC/Ma4BmjBJJJHz+0ypTiRfMkKp 3XBnPk95Czfltfm8HcIlFzO3f7XMWLMBuN6tmH2mRsIbeH7K4q8ieF+fAilyeU1K2Pwt lC6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=oG7FK+9uNuDoISaiQgpe1bkbw5opJoX9LITP7xFmjV8=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=A8wg74HlEGTfdz/4C+9wFXBsR05aDq2nUWkTOdWs5YAe3duQlom+okg5YtOnpwe8rd VI0T7Qvu/PXZmA6+Lg8AZqHTecxtvpoTAYR+ml3lMuk9MX1qoFYF4Boaw3osLqCxV8nO kNhmOl5567C2D1mmNfc6c+l+FmLnQ4gHfM6DHwmt1/k4pFxgSSTafCJRc4Pwxj1+Njpb 9SqoO4HZys6GrmrsmpTulA7dsOQO4+Hz9W0j3Sf8SEnWjb902dvs4Su0qLkWdL6r4GjO jFiyHMaH7Y19qzGEoTeWDMXWym7tJQbw5fDdbxIe6atiirhXVXnNASPq/yZjTDltiojr vAGQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=omUO+98b; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 5b1f17b1804b1-433b01ded32si21936775e9.76.2024.11.21.09.12.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:12:17 -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=omUO+98b; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAe0-0000xr-LS; Thu, 21 Nov 2024 12:07:04 -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 1tEAdd-00008p-Dq for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:42 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdR-0001Za-C4 for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:41 -0500 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3823e45339bso920977f8f.0 for ; Thu, 21 Nov 2024 09:06:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208785; x=1732813585; 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=oG7FK+9uNuDoISaiQgpe1bkbw5opJoX9LITP7xFmjV8=; b=omUO+98bhsUQ6O693QPKgykZ7gd+NCYL7EqJpJMgxUzuZwRh++6gPfSP2Ic6aY7Z+1 DmMIMogGhoJBMamLL7k8rY55tTV07lm2oIR9AXO6BsZgfEXdfi4tCayDrAKu81wxAezj ePyZAhNZuCsW6SPPYS+i80e7XgICsRsS7O9nVqgv+LwY2hKOI2dSf2ilD9fW7dBfQ/3/ UknqhdT2IyBsEhMZjB+mLSYGXPbgFsW3u8p7M+6zlHNYU650lJa6mdLlCQ1nJS4c2Bc4 xauIIWB0MJIcWOMWWgOiPW+mKH8JosIz2z8cfr5SBtc5hqP3h0UQFNBucjJ1XcY/nMkL gcAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208785; x=1732813585; 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=oG7FK+9uNuDoISaiQgpe1bkbw5opJoX9LITP7xFmjV8=; b=sr2RhDXHKmqVg8qo2KMRdgB3JgWoUge6HI35MXyXluSDncVpAMxP8/7x8MoZeL2T5x gSWPmlUnGc0vmZEOGH4z24Ot2ly8nOneMuoamUDNm2A4dgKwQuL1ItckoRN9u4vI6+N2 uLYO2IVtOBCbi4LLvM8cmMKeXc39GyccHYbLQwH2uJLimozcypo5J1hGgIeoVAgRsKoy /6SvIdHjSHiUAdgccJ75WroA/gl6uS7jMhWY48tdNXt2GssavcbQlww7ap1gsWNEmNe0 hVibvAqQ058C++lyAtN4s+RkStBjVDLrmf0F2psJvH96N+VR3qRiLCeSNeLX1kxZPrhO Wi1Q== X-Gm-Message-State: AOJu0Yw8Z/LNTc+eL3kWw3Y/adVJ3AJuL2T7FSi6kFdRCrgOs2gjmS4Y uXPHa/KYD8KyRE2U4X6LiyhszK9QFO+H7TScAfsBcXIx+Nq8RZFKg28+7RzUJOk= X-Gm-Gg: ASbGncsI24V48eMEMvw7dtSN8LGkK4d/uEilzF9qw6cvn2O92y4H138phiZIvCO6jh/ LRgooZThsyaiTyiusEyd/Ai/wX30FATKQ78pUcp6aV504RY9zU3/5d4om+HXjLVnzrMZ47pYbBi AnSYWKwd9YmZmYa2L3ZrPaOFCLHu3iqWduG+5ezPS3ptB48zed4nxZWgClhWnw62yY7Phb2r9CN wP7qzNV6GiWa+66OlOKmw/wJ7OiEd//r4Inv9HhG+KqBsVa X-Received: by 2002:a05:6000:184d:b0:37d:50e1:b3d3 with SMTP id ffacd0b85a97d-38254ae51efmr5366540f8f.20.1732208784643; Thu, 21 Nov 2024 09:06:24 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fafeceesm53626f8f.37.2024.11.21.09.06.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:23 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 2CCA560423; Thu, 21 Nov 2024 16:58:08 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 19/39] tests/functional: Convert the Avocado aarch64 tuxrun tests Date: Thu, 21 Nov 2024 16:57:46 +0000 Message-Id: <20241121165806.476008-20-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.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 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 From: Thomas Huth Move the tests to a new file so that they can be run via qemu-system-aarch64 in the functional framework. Since these were the last tests in tests/avocado/tuxrun_baselines.py, we can now remove that file, too. Signed-off-by: Thomas Huth --- MAINTAINERS | 3 +- tests/avocado/tuxrun_baselines.py | 224 ------------------------ tests/functional/meson.build | 2 + tests/functional/test_aarch64_tuxrun.py | 50 ++++++ 4 files changed, 54 insertions(+), 225 deletions(-) delete mode 100644 tests/avocado/tuxrun_baselines.py create mode 100755 tests/functional/test_aarch64_tuxrun.py diff --git a/MAINTAINERS b/MAINTAINERS index acc7405aed..eb7149bf1a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -994,6 +994,7 @@ F: hw/arm/virt* F: include/hw/arm/virt.h F: docs/system/arm/virt.rst F: tests/functional/test_aarch64_virt.py +F: tests/functional/test_aarch64_tuxrun.py F: tests/functional/test_arm_tuxrun.py Xilinx Zynq @@ -4129,7 +4130,7 @@ F: scripts/ci/ F: tests/docker/ F: tests/vm/ F: tests/lcitool/ -F: tests/avocado/tuxrun_baselines.py +F: tests/functional/test_*_tuxrun.py F: scripts/archive-source.sh F: docs/devel/testing.rst W: https://gitlab.com/qemu-project/qemu/pipelines diff --git a/tests/avocado/tuxrun_baselines.py b/tests/avocado/tuxrun_baselines.py deleted file mode 100644 index 38064840da..0000000000 --- a/tests/avocado/tuxrun_baselines.py +++ /dev/null @@ -1,224 +0,0 @@ -# Functional test that boots known good tuxboot images the same way -# that tuxrun (www.tuxrun.org) does. This tool is used by things like -# the LKFT project to run regression tests on kernels. -# -# Copyright (c) 2023 Linaro Ltd. -# -# Author: -# Alex Bennée -# -# SPDX-License-Identifier: GPL-2.0-or-later - -import os -import time -import tempfile - -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 -from avocado.utils import process -from avocado.utils.path import find_command - -class TuxRunBaselineTest(QemuSystemTest): - """ - :avocado: tags=accel:tcg - """ - - KERNEL_COMMON_COMMAND_LINE = 'printk.time=0' - # Tests are ~10-40s, allow for --debug/--enable-gcov overhead - timeout = 100 - - def get_tag(self, tagname, default=None): - """ - Get the metadata tag or return the default. - """ - utag = self._get_unique_tag_val(tagname) - print(f"{tagname}/{default} -> {utag}") - if utag: - return utag - - return default - - def setUp(self): - super().setUp() - - # We need zstd for all the tuxrun tests - # See https://github.com/avocado-framework/avocado/issues/5609 - zstd = find_command('zstd', False) - if zstd is False: - self.cancel('Could not find "zstd", which is required to ' - 'decompress rootfs') - self.zstd = zstd - - # Process the TuxRun specific tags, most machines work with - # reasonable defaults but we sometimes need to tweak the - # config. To avoid open coding everything we store all these - # details in the metadata for each test. - - # The tuxboot tag matches the root directory - self.tuxboot = self.get_tag('tuxboot') - - # Most Linux's use ttyS0 for their serial port - self.console = self.get_tag('console', "ttyS0") - - # Does the machine shutdown QEMU nicely on "halt" - self.shutdown = self.get_tag('shutdown') - - # The name of the kernel Image file - self.image = self.get_tag('image', "Image") - - self.root = self.get_tag('root', "vda") - - # Occasionally we need extra devices to hook things up - self.extradev = self.get_tag('extradev') - - self.qemu_img = super().get_qemu_img() - - def wait_for_console_pattern(self, success_message, vm=None): - wait_for_console_pattern(self, success_message, - failure_message='Kernel panic - not syncing', - vm=vm) - - def fetch_tuxrun_assets(self, csums=None, dt=None): - """ - Fetch the TuxBoot assets. They are stored in a standard way so we - use the per-test tags to fetch details. - """ - base_url = f"https://storage.tuxboot.com/20230331/{self.tuxboot}/" - - # empty hash if we weren't passed one - csums = {} if csums is None else csums - ksum = csums.get(self.image, None) - isum = csums.get("rootfs.ext4.zst", None) - - kernel_image = self.fetch_asset(base_url + self.image, - asset_hash = ksum, - algorithm = "sha256") - disk_image_zst = self.fetch_asset(base_url + "rootfs.ext4.zst", - asset_hash = isum, - algorithm = "sha256") - - cmd = f"{self.zstd} -d {disk_image_zst} -o {self.workdir}/rootfs.ext4" - process.run(cmd) - - if dt: - dsum = csums.get(dt, None) - dtb = self.fetch_asset(base_url + dt, - asset_hash = dsum, - algorithm = "sha256") - else: - dtb = None - - return (kernel_image, self.workdir + "/rootfs.ext4", dtb) - - def prepare_run(self, kernel, disk, drive, dtb=None, console_index=0): - """ - Setup to run and add the common parameters to the system - """ - self.vm.set_console(console_index=console_index) - - # all block devices are raw ext4's - blockdev = "driver=raw,file.driver=file," \ - + f"file.filename={disk},node-name=hd0" - - kcmd_line = self.KERNEL_COMMON_COMMAND_LINE - kcmd_line += f" root=/dev/{self.root}" - kcmd_line += f" console={self.console}" - - self.vm.add_args('-kernel', kernel, - '-append', kcmd_line, - '-blockdev', blockdev) - - # Sometimes we need extra devices attached - if self.extradev: - self.vm.add_args('-device', self.extradev) - - self.vm.add_args('-device', - f"{drive},drive=hd0") - - # Some machines need an explicit DTB - if dtb: - self.vm.add_args('-dtb', dtb) - - def run_tuxtest_tests(self, haltmsg): - """ - Wait for the system to boot up, wait for the login prompt and - then do a few things on the console. Trigger a shutdown and - wait to exit cleanly. - """ - self.wait_for_console_pattern("Welcome to TuxTest") - time.sleep(0.2) - exec_command(self, 'root') - time.sleep(0.2) - exec_command(self, 'cat /proc/interrupts') - time.sleep(0.1) - exec_command(self, 'cat /proc/self/maps') - time.sleep(0.1) - exec_command(self, 'uname -a') - time.sleep(0.1) - exec_command_and_wait_for_pattern(self, 'halt', haltmsg) - - # Wait for VM to shut down gracefully if it can - if self.shutdown == "nowait": - self.vm.shutdown() - else: - self.vm.wait() - - def common_tuxrun(self, - csums=None, - dt=None, - drive="virtio-blk-device", - haltmsg="reboot: System halted", - console_index=0): - """ - Common path for LKFT tests. Unless we need to do something - special with the command line we can process most things using - the tag metadata. - """ - (kernel, disk, dtb) = self.fetch_tuxrun_assets(csums, dt) - - self.prepare_run(kernel, disk, drive, dtb, console_index) - self.vm.launch() - self.run_tuxtest_tests(haltmsg) - - - # - # The tests themselves. The configuration is derived from how - # tuxrun invokes qemu (with minor tweaks like using -blockdev - # consistently). The tuxrun equivalent is something like: - # - # tuxrun --device qemu-{ARCH} \ - # --kernel https://storage.tuxboot.com/{TUXBOOT}/{IMAGE} - # - - def test_arm64(self): - """ - :avocado: tags=arch:aarch64 - :avocado: tags=cpu:cortex-a57 - :avocado: tags=machine:virt - :avocado: tags=tuxboot:arm64 - :avocado: tags=console:ttyAMA0 - :avocado: tags=shutdown:nowait - """ - sums = {"Image" : - "ce95a7101a5fecebe0fe630deee6bd97b32ba41bc8754090e9ad8961ea8674c7", - "rootfs.ext4.zst" : - "bbd5ed4b9c7d3f4ca19ba71a323a843c6b585e880115df3b7765769dbd9dd061"} - self.common_tuxrun(csums=sums) - - def test_arm64be(self): - """ - :avocado: tags=arch:aarch64 - :avocado: tags=cpu:cortex-a57 - :avocado: tags=endian:big - :avocado: tags=machine:virt - :avocado: tags=tuxboot:arm64be - :avocado: tags=console:ttyAMA0 - :avocado: tags=shutdown:nowait - """ - sums = { "Image" : - "e0df4425eb2cd9ea9a283e808037f805641c65d8fcecc8f6407d8f4f339561b4", - "rootfs.ext4.zst" : - "e6ffd8813c8a335bc15728f2835f90539c84be7f8f5f691a8b01451b47fb4bd7"} - self.common_tuxrun(csums=sums) diff --git a/tests/functional/meson.build b/tests/functional/meson.build index 758145d1e5..923f9e7078 100644 --- a/tests/functional/meson.build +++ b/tests/functional/meson.build @@ -14,6 +14,7 @@ test_timeouts = { 'aarch64_raspi4' : 480, 'aarch64_sbsaref_alpine' : 720, 'aarch64_sbsaref_freebsd' : 720, + 'aarch64_tuxrun' : 240, 'aarch64_virt' : 720, 'acpi_bits' : 420, 'arm_aspeed' : 600, @@ -52,6 +53,7 @@ tests_aarch64_system_thorough = [ 'aarch64_sbsaref', 'aarch64_sbsaref_alpine', 'aarch64_sbsaref_freebsd', + 'aarch64_tuxrun', 'aarch64_virt', 'multiprocess', ] diff --git a/tests/functional/test_aarch64_tuxrun.py b/tests/functional/test_aarch64_tuxrun.py new file mode 100755 index 0000000000..da56aee4ed --- /dev/null +++ b/tests/functional/test_aarch64_tuxrun.py @@ -0,0 +1,50 @@ +#!/usr/bin/env python3 +# +# Functional test that boots known good tuxboot images the same way +# that tuxrun (www.tuxrun.org) does. This tool is used by things like +# the LKFT project to run regression tests on kernels. +# +# Copyright (c) 2023 Linaro Ltd. +# +# Author: +# Alex Bennée +# +# SPDX-License-Identifier: GPL-2.0-or-later + +from qemu_test import Asset +from qemu_test.tuxruntest import TuxRunBaselineTest + +class TuxRunAarch64Test(TuxRunBaselineTest): + + ASSET_ARM64_KERNEL = Asset( + 'https://storage.tuxboot.com/20230331/arm64/Image', + 'ce95a7101a5fecebe0fe630deee6bd97b32ba41bc8754090e9ad8961ea8674c7') + ASSET_ARM64_ROOTFS = Asset( + 'https://storage.tuxboot.com/20230331/arm64/rootfs.ext4.zst', + 'bbd5ed4b9c7d3f4ca19ba71a323a843c6b585e880115df3b7765769dbd9dd061') + + def test_arm64(self): + self.set_machine('virt') + self.cpu='cortex-a57' + self.console='ttyAMA0' + self.wait_for_shutdown=False + self.common_tuxrun(kernel_asset=self.ASSET_ARM64_KERNEL, + rootfs_asset=self.ASSET_ARM64_ROOTFS) + + ASSET_ARM64BE_KERNEL = Asset( + 'https://storage.tuxboot.com/20230331/arm64be/Image', + 'e0df4425eb2cd9ea9a283e808037f805641c65d8fcecc8f6407d8f4f339561b4') + ASSET_ARM64BE_ROOTFS = Asset( + 'https://storage.tuxboot.com/20230331/arm64be/rootfs.ext4.zst', + 'e6ffd8813c8a335bc15728f2835f90539c84be7f8f5f691a8b01451b47fb4bd7') + + def test_arm64be(self): + self.set_machine('virt') + self.cpu='cortex-a57' + self.console='ttyAMA0' + self.wait_for_shutdown=False + self.common_tuxrun(kernel_asset=self.ASSET_ARM64BE_KERNEL, + rootfs_asset=self.ASSET_ARM64BE_ROOTFS) + +if __name__ == '__main__': + TuxRunBaselineTest.main() From patchwork Thu Nov 21 16:57:47 2024 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: 844694 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2390692wrx; Thu, 21 Nov 2024 09:10:00 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCViBwFZyIAdN5XfZtT1XEXoMcZNrQA/PAtsFUkcBGaFiXUoQmG0Fyvsj4Wuy6FxnDTGNhziUA==@linaro.org X-Google-Smtp-Source: AGHT+IFw8wfzM+ApdmrEaMfm+bCy9T2WCmjo/BoILvmm9xAx48xW8xG7LSq1xEAiOfBrE5NwwStQ X-Received: by 2002:a05:600c:4e4a:b0:431:57d2:d7b4 with SMTP id 5b1f17b1804b1-4334f02294emr61576835e9.26.1732208999944; Thu, 21 Nov 2024 09:09:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208999; cv=none; d=google.com; s=arc-20240605; b=HgW1P2dWEEAj+Rj4HFQpG60Q2ghJhjvh71WnsCsETirqKSBu4Z1zLWEAb8kT6+dX6R YHmtAe/pqqLnNxCXub1BQiaFJ/Yuzf043ywyai3Pzstcsakm/99fXv9rcJv0muvVuK/n hEKqqjg3uBhabkO/qqzX9Z3mMPv6200ty/ZB4/3fN83m6Ki+UP6uu9eSuWDakauY7N5/ cQlOLaU8c1LjaPPWj+7aDdJmBaH6tYG1yxFy/3h6O+UiK3Cve6wI6jp/uO+iNZ1lk8jP If/LWxoSTuBu8LwlDc+Cht0TmFXVX1B5DQWZW6OsODOX/21weTyc6cAmF2vuujDFpdKK PR7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=IhQHGIGbKjjF/rJemisQit4H2DXSe2wbtt+hqfzYfDw=; fh=O4X9R2Rw+8ZqGyJgv9RJvfohzEfB5HF9Op6l7pT1ByE=; b=fDOBF2AJdOoeMKVoN4CWCZVNpBReDuPBrZTU3tS6t1M9TRpk5bUqU8qRVcRTpcoOi1 ZYDTAPl8nzrvosdEAvA3+aGS9scxt59VMnOwuiQV/dkJjsyibueAGIoBYTNDnvbcMlXF bzXpZG0NZGLbPbFFAywZiAmvXBVx1HVmc+FqyCUHaNorF+k4Ax7VO+MrKM6Rl1Dd9c9/ D9Gb10iPBgb0qvRKfs5g42EOpUX6+iLBtGjnOVK0XjwLFeoC8MmNbYMKnd0biKgnTHuA GJ7tCHxp/BwF+cq8Gp46fI9QuXvheNhoG5Rx8GNwwk2ou/Nq+GVh/cjzykjPbDA5TVNE lcVg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qdgpodn9; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 5b1f17b1804b1-433b01c345csi27044265e9.25.2024.11.21.09.09.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:09:59 -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=Qdgpodn9; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAfK-0002xM-H2; Thu, 21 Nov 2024 12:08:27 -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 1tEAdo-0000d4-Ku for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:54 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdT-0001cr-17 for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:50 -0500 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-3822ba3cdbcso802811f8f.0 for ; Thu, 21 Nov 2024 09:06:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208789; x=1732813589; 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=IhQHGIGbKjjF/rJemisQit4H2DXSe2wbtt+hqfzYfDw=; b=Qdgpodn9kLXkyvSVSR/uWjC73OF1ERq0en5jiZ66Ruu/J47MZXqSAI7s1rzs6q8x0B EDveN0O/Metgl5gsujD+vcPQNupWdexa/wZLMObkeLmlLdYcIh90uBsf26SYP5FcTyW2 s4TjQeXXxux4zUMiXC/5dAj5324ZzGwy98J4i1Eg6GHLkqn4xQMlcJ5kJA/zRxJkB6aD QvNIQYWYQkRV8uL1ywf5S83WSOf5wxrNwfs3bqcf2/N1NTbCZtSwjc3C1QA5CwafnWoV k0IPpMwkWwig4ylC1K+ZqvkzVDNoQ7tzDl/a8ZnXf4g5pZ1PrGriyfFbIuQdZIXvTxZC nDyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208789; x=1732813589; 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=IhQHGIGbKjjF/rJemisQit4H2DXSe2wbtt+hqfzYfDw=; b=eRdviZ7esUvWrlefs/Y/tjJnWNiKLFLypm4Ug19zLZ7F4/NRRX9AKWY1C0WOoqFi6H iGuft1OLlRNKQ2yF1TrERCdJtuGZi6o2Nj4HNh5/KWWXhZ8782C+EiThmnW1ZPsdcudf 7DFsocvVcLS846ad1D6BRV908NKZXIyiutjBnOQFR7VA6FWExLcG3n6rKERy+rqjrxXE VzyLXsuE+viC3SGQfukd6g30C/p1C8BXydC494ckKcLYSxEyTqIfs+sxsQrAcbH9kbKw vu7zwrytZ6+OWo6TadZxNLCycrkQbC67iqIGeh8SoDSJtymlgbdPHFoIdCpTpe8E+uPM 7j7g== X-Gm-Message-State: AOJu0Yx+MDrvvPIjIx9eP6NmKYiR2iRLXcdF+jfsoHHpH5H+DYR3FIQh rwwWm7OHiN+acfK83yo4CPPa9AWxYpz2VF/GgQcIW+wiVF5zTbBK1HyY0fIVt3Q= X-Gm-Gg: ASbGncsaiinaaqRiuwegfz446LgzDTAm1dvqHMWatP/JgITYievouNdEOe/rQtk1AL8 pPMd/SadJ0U6CIZwJl6cRfIqs6IUJE67Vlv0s5dcJ2dyaMX9r5tfiJW2Pne1V+3pOrzyjSDqC6a Nl0mU/9bFiksk7g0UyxzBWqsCTg0ZGBhw/b6IOUpLUxl7zaAwnttqMxjXGLX/uZJ74d8RsWs6ka /g6gB3lPID6HGMvJUeZt/VT+kHLcxy1F/A7cPktIFKegc8V X-Received: by 2002:a05:6000:2709:b0:37d:5282:1339 with SMTP id ffacd0b85a97d-38254af52cbmr3969400f8f.22.1732208788884; Thu, 21 Nov 2024 09:06:28 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fbedeb3sm32587f8f.95.2024.11.21.09.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:27 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 3FBB860431; Thu, 21 Nov 2024 16:58:08 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Anders Roxell Subject: [PATCH 20/39] tests/functional: update the arm tuxrun tests Date: Thu, 21 Nov 2024 16:57:47 +0000 Message-Id: <20241121165806.476008-21-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x433.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 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 Now there are new upto date images available we should update to them. Signed-off-by: Alex Bennée Cc: Anders Roxell --- tests/functional/test_arm_tuxrun.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/functional/test_arm_tuxrun.py b/tests/functional/test_arm_tuxrun.py index 944f0756e1..4ac85f48ac 100755 --- a/tests/functional/test_arm_tuxrun.py +++ b/tests/functional/test_arm_tuxrun.py @@ -17,14 +17,14 @@ class TuxRunArmTest(TuxRunBaselineTest): ASSET_ARMV5_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/armv5/zImage', - 'c95af2f27647c12265d75e9df44c22ff5228c59855f54aaa70f41ec2842e3a4d') + 'https://storage.tuxboot.com/buildroot/20241119/armv5/zImage', + '3931a3908dbcf0ec0fe292d035ffc4dfed95f797dedd4a59ccfcf7a46e6f92d4') ASSET_ARMV5_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/armv5/rootfs.ext4.zst', - '17177afa74e7294da0642861f08c88ca3c836764299a54bf6d1ce276cb9712a5') + 'https://storage.tuxboot.com/buildroot/20241119/armv5/rootfs.ext4.zst', + '60ff78b68c7021df378e4fc2d66d3b016484d1acc7e07fb8920c1d8e30f4571f') ASSET_ARMV5_DTB = Asset( - 'https://storage.tuxboot.com/20230331/armv5/versatile-pb.dtb', - '0bc0c0b0858cefd3c32b385c0d66d97142ded29472a496f4f490e42fc7615b25') + 'https://storage.tuxboot.com/buildroot/20241119/armv5/versatile-pb.dtb', + '50988e69ef3f3b08bfb9146e8fe414129990029e8dfbed444953b7e14809530a') def test_armv5(self): self.set_machine('versatilepb') @@ -37,11 +37,11 @@ def test_armv5(self): drive="virtio-blk-pci") ASSET_ARMV7_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/armv7/zImage', - '4c7a22e9f15875bec06bd2a29d822496571eb297d4f22694099ffcdb19077572') + 'https://storage.tuxboot.com/buildroot/20241119/armv7/zImage', + '1377bc3d90de5ce57ab17cd67429fe8b15c2e9964248c775c682b67e6299b991') ASSET_ARMV7_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/armv7/rootfs.ext4.zst', - 'ab1fbbeaddda1ffdd45c9405a28cd5370c20f23a7cbc809cc90dc9f243a8eb5a') + 'https://storage.tuxboot.com/buildroot/20241119/armv7/rootfs.ext4.zst', + 'ed2cbc69bd6b3fbd5cafb5ee961393c7cfbe726446f14301c67d6b1f28bfdb51') def test_armv7(self): self.set_machine('virt') @@ -52,11 +52,11 @@ def test_armv7(self): rootfs_asset=self.ASSET_ARMV7_ROOTFS) ASSET_ARMV7BE_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/armv7be/zImage', - '7facc62082b57af12015b08f7fdbaf2f123ba07a478367853ae12b219afc9f2f') + 'https://storage.tuxboot.com/buildroot/20241119/armv7be/zImage', + 'a244e6da99f1bbd254827ec7681bd4aac9eb1aa05aaebc6b15e5d289ebb683f3') ASSET_ARMV7BE_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/armv7be/rootfs.ext4.zst', - '42ed46dd2d59986206c5b1f6cf35eab58fe3fd20c96b41aaa16b32f3f90a9835') + 'https://storage.tuxboot.com/buildroot/20241119/armv7be/rootfs.ext4.zst', + 'd4f9c57860a512163f30ecc69b2174d1a1bdeb853a43dc49a09cfcfe84e428ea') def test_armv7be(self): self.set_machine('virt') From patchwork Thu Nov 21 16:57:48 2024 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: 844695 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2390850wrx; Thu, 21 Nov 2024 09:10:15 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCW2V8z1HfZaNCBjt2guuq31tc8m754w1buNZ+M20umIt33oiND409sIYT5vd5sp+iy4a1DJ3g==@linaro.org X-Google-Smtp-Source: AGHT+IF0DTetpRmbg3wJIcz1/R5r8RJlnpLwvROxokf74/L1+KaYW26WhT4qNxccq3wrJJY9SoSJ X-Received: by 2002:a2e:be9a:0:b0:2fb:44ca:801c with SMTP id 38308e7fff4ca-2ff8dcda8damr54397001fa.35.1732209014928; Thu, 21 Nov 2024 09:10:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209014; cv=none; d=google.com; s=arc-20240605; b=fVpn7HbPnn8TS5RGPg/HO7ue+PmZekhGXeRAave+57lUEI/0ClJWNgd9VQKRS0u+Tl qJnXjEIEpGHYCjCOt0qe6GD8eRt1Rxx1uV82XCVUS18O0EGAiU4myim9hqHWJVvGLN2R ZT8R4/YYRXTi/IOOtdaylHo/6QvwgUi5Oj0vGXSab1cCLZyB5hvbcmssPTs3QQDpP719 miWijv0HzjvF/8nptHEtEktHi5Mp9OtNBLFcXNh8xrlEFi07Epo02/ZiJT2/rDKpHR1+ FVbjAePVfFD480Ggsotf9WSci6MawBa0t603JJXNJ50ArXfsEibtkRnmexZ8m/sedZSd sVNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=J2cXoagg5snV6gxdAo5ZfjchRqkc6JtoTLiiI4l/hqk=; fh=O4X9R2Rw+8ZqGyJgv9RJvfohzEfB5HF9Op6l7pT1ByE=; b=dWZZ1+JRcIUsj8z29LLVKixxsuqWgS131Iv2jWC41QRGv4dH8/Y1IfjIkEBzOv/y9U iy/6+A319IxVaxN7vO/bWRmn5FN6DuON2of29rhzy023Ua/3RTyRH6jFENsGSPukOb66 JFxyYr5+QWy/Dq6Ppx5gq9o6bRYm1J0gWhc+GyGIeaDqk8e3GKKW8TIJrSP5QXNEwSG2 O813E1fM3KosGjlVMHGj2mlrAKtOVtJfXC6PpsYUmFjczIpKosDpW8mc6xVdWxP4IINH Gd2zuJcZAyINpPTlBH6KM09nMs2agNgiKN9neeo92X05z/FM4M0uXLabzFhOZDDjna7E oxpw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dn3pCMwr; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fb5a59asi33656f8f.128.2024.11.21.09.10.14 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:10:14 -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=dn3pCMwr; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAde-0000Dc-9f; Thu, 21 Nov 2024 12:06:42 -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 1tEAdb-0008JH-8H for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:39 -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 1tEAdR-0001bW-CM for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:38 -0500 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-43152b79d25so9587965e9.1 for ; Thu, 21 Nov 2024 09:06:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208787; x=1732813587; 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=J2cXoagg5snV6gxdAo5ZfjchRqkc6JtoTLiiI4l/hqk=; b=dn3pCMwrGZkx+rm6vtUWQgXXSuizfv0bQ2yh+60TOmmHoymSHiDXiuRvyCsVEe9krS bcFO0khR/80xwFWcoW0TgNkHnpEguyuab4N9pYnNhPywnuggtXjBq2doqnV/JcFLoozr 8nXXqSiMVV2QgrjHpdI/1wWtPRgb1oXU6XrFvfwK+EY7qG+0i7nJgYqEa7oVfIdOkpkK DEYewKg0+qdIUQl9HJw2S+A9ebW5AIPpRenemCdLkThcVs/EbJtgb5tMj7umgQDc6iA7 JxswnXZ9aR5Ij0g1bw0pMZS0OWtd34PSjy8NcBxz6uH1fdFzH7rGKsxPGvXaeHcXmGN9 wtcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208787; x=1732813587; 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=J2cXoagg5snV6gxdAo5ZfjchRqkc6JtoTLiiI4l/hqk=; b=ZUHXfpQPzegW4PuCSvwum5KkkZ2ON0e6nQbMxL07OigaMIc/sLytJxIOFoJWgumYmb J5iXNjFAo7fEcfYIdobnuHL7FupotttImtPdjiQHs5JXUVfozT4RHUrgeib5MP6GBe2+ yU53BEnyiqg4+VoAk2YEe9sF4UreqhLhOn2KZQEBAclsw4uYlBoWS+fRNKl5LyLmLvrv VBWyYTDcK8CdPJV0qnu4wkUPXfmhhZGG0jBAAM6RX9OgusciA5cmzaRxHi+LkAjfFNNV dcVQWuR74FcBSRKYbd+ZmwuhE4tRYN3ej0Q/m/NlPFo1ExEfDjlLEEmL2NXSYCU6PXrO k89g== X-Gm-Message-State: AOJu0YzhiHCJT7XBzqdQzbLtqM+FLqOFzXJyDBLaE5qYhu1XuvBAPHK1 o7D3BsLVcj91uXiaZhLEkhFsnrDV0BspthcnjN+m2aSi90lWuawpmvV4qUpZM/U= X-Gm-Gg: ASbGncu5QArTaSi1oray+ESAJYFWLebErqEy95RE0ZLOGOSJ0tnX9Ennv+u8txPCz88 e6yo8VafJpqdTrTmGAszY9XZ1kYbi7rtWAieqs8XWlN5PPfTcwIX1CcAIyr7bVOR6k/WKTKnsaV Yh6w5FJvu1mzLMS1AMM+bT1Yx4dm8toA7f2K/bCqxFROLIXTdfNXEFZY/AMAeori9S6l4a0bK9I D2Zn/QOZ2MWH6pEjgCmMDDanmWHyXFjLT8cLy+xGrfaoGBL X-Received: by 2002:a05:600c:c0d:b0:431:5194:1687 with SMTP id 5b1f17b1804b1-433489d4a00mr69349705e9.18.1732208785570; Thu, 21 Nov 2024 09:06:25 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b46426d7sm61115695e9.36.2024.11.21.09.06.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:25 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 5435E60435; Thu, 21 Nov 2024 16:58:08 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Anders Roxell Subject: [PATCH 21/39] tests/functional: update the aarch64 tuxrun tests Date: Thu, 21 Nov 2024 16:57:48 +0000 Message-Id: <20241121165806.476008-22-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-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 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 Now there are new upto date images available we should update to them. With the new rootfs the blk I/O errors also go away on arm64be. Signed-off-by: Alex Bennée Cc: Anders Roxell Reviewed-by: Thomas Huth --- tests/functional/test_aarch64_tuxrun.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/functional/test_aarch64_tuxrun.py b/tests/functional/test_aarch64_tuxrun.py index da56aee4ed..75adc8acb8 100755 --- a/tests/functional/test_aarch64_tuxrun.py +++ b/tests/functional/test_aarch64_tuxrun.py @@ -17,11 +17,11 @@ class TuxRunAarch64Test(TuxRunBaselineTest): ASSET_ARM64_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/arm64/Image', - 'ce95a7101a5fecebe0fe630deee6bd97b32ba41bc8754090e9ad8961ea8674c7') + 'https://storage.tuxboot.com/buildroot/20241119/arm64/Image', + 'b74743c5e89e1cea0f73368d24ae0ae85c5204ff84be3b5e9610417417d2f235') ASSET_ARM64_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/arm64/rootfs.ext4.zst', - 'bbd5ed4b9c7d3f4ca19ba71a323a843c6b585e880115df3b7765769dbd9dd061') + 'https://storage.tuxboot.com/buildroot/20241119/arm64/rootfs.ext4.zst', + 'a1acaaae2068df4648d04ff75f532aaa8c5edcd6b936122b6f0db4848a07b465') def test_arm64(self): self.set_machine('virt') @@ -32,11 +32,11 @@ def test_arm64(self): rootfs_asset=self.ASSET_ARM64_ROOTFS) ASSET_ARM64BE_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/arm64be/Image', - 'e0df4425eb2cd9ea9a283e808037f805641c65d8fcecc8f6407d8f4f339561b4') + 'https://storage.tuxboot.com/buildroot/20241119/arm64be/Image', + 'fd6af4f16689d17a2c24fe0053cc212edcdf77abdcaf301800b8d38fa9f6e109') ASSET_ARM64BE_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/arm64be/rootfs.ext4.zst', - 'e6ffd8813c8a335bc15728f2835f90539c84be7f8f5f691a8b01451b47fb4bd7') + 'https://storage.tuxboot.com/buildroot/20241119/arm64be/rootfs.ext4.zst', + 'f5e9371b62701aab8dead52592ca7488c8a9e255c9be8d7635c7f30f477c2c21') def test_arm64be(self): self.set_machine('virt') From patchwork Thu Nov 21 16:57:49 2024 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: 844709 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2393131wrx; Thu, 21 Nov 2024 09:13:39 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUg6RsoFwG57+nUZwGKiHCm8djUllTlSd4gHHgZMFtQL8Pxj8Ls32wrDs+TZd+XCpsXJH6M0A==@linaro.org X-Google-Smtp-Source: AGHT+IHgaGje+XVdBU15+RTMMIyKURxCd2f20skoiednChHWfJCmPPPEsU8jSqopWwA5WLjXaxzG X-Received: by 2002:a05:600c:870f:b0:42d:a024:d6bb with SMTP id 5b1f17b1804b1-4334f0213d3mr60401815e9.20.1732209219674; Thu, 21 Nov 2024 09:13:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209219; cv=none; d=google.com; s=arc-20240605; b=FBYnPNOmPNNCK9U+am+49dx1+FjBNb73t0mmX2VXPjeNbUt0MmBaSJYG9AqAJP8T3C y2xJfjDvb6IiaajfLtRlcLmSi9KfNlCsNGzfW4TrZNmQxmzMRITqs2eIwQa0fvCFFihf 0IyRUznfu0zpH1vQ2CsjuTaWcFCMI66qKyh4U0YovkaWATrX8SdsHKi/RraxOnOA52Du HBxu6B2mpkIcs7z+n+KguEG7CXJH1vybsuHZUJRjW2YIctomNQDvcpsLkGq6cwe0Wh1u U5XLyNI0ewFc76q58CSaN7GkmETEEpaGpMW9WGomjiScErNoA1QKeQLl7RhtiAtwYqDy Lm3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=7laBJrl+W4Rvzk4IQJPfXs6McNiuuH0uqEtfbvfMrF8=; fh=O4X9R2Rw+8ZqGyJgv9RJvfohzEfB5HF9Op6l7pT1ByE=; b=G4vNfre8d7+nXxetK74zk0OTUIzVyoB31wRf8Lqh1sMl6zmhyylPWnKJJMLYFYMqJq SltxARxPHjtyLiB0igY+1N0Hi1wu92YkDWXrkosZJB0UDH2GY9Xyo1+hHckbvHKph/Dm CBndOmve2KLoa0EhhK5aDTIbMA477CIKowuUbyAyUkks8gDd0a1rXUPb1Cwrk0lFpKIV 2PTeBzDO2LFD/qER//4KBnI70HXgZ7sE/I/3w/4d7fBDPcH3EqeFeOkTi30GMN5RjudI OMpbnjEi6JLpE1wPJpJtl3c9SDcYQmvlCdGGGHxqhOsPNjJjxTkPZPcVR1x3snbql+2h KYKg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=whG99bOx; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 5b1f17b1804b1-433b45ac84dsi26943505e9.61.2024.11.21.09.13.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:13:39 -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=whG99bOx; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAfp-0004K8-MT; Thu, 21 Nov 2024 12:08:57 -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 1tEAdv-0000lb-1o for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:07:00 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdV-0001fS-Kg for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:57 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-43155abaf0bso9947365e9.0 for ; Thu, 21 Nov 2024 09:06:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208792; x=1732813592; 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=7laBJrl+W4Rvzk4IQJPfXs6McNiuuH0uqEtfbvfMrF8=; b=whG99bOxWqwt61iJnpudZ57fwkcpuGlmhj53pQYwbFmLFHqJxl165NaJlcR4V77/7d 6egNIW4mxbG2bYE8SaDvcs5I/W8wr9qBf7QOZOKnj6zlnIaxSH0JnFsSjVUqvRxfH0jL F5I6FevsML79tvSupn9HnVUR1u6RnLz0yT3Pkh/5H7a1WsCL5gpp40Ys8XajnaNGRxTq 34RQjol6pzIa+uBadq0xWcAuMmsYOiEQKbi9BxEWyVp+HULQ4KzOSHxuAGk8McfPzm1M xJB3C8heWRFLXg2wGGf+XM5cxLryJd3UBDC2yYXHVmpOBuCEK5u2AMyh/P7hiGPn5s0x dNEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208792; x=1732813592; 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=7laBJrl+W4Rvzk4IQJPfXs6McNiuuH0uqEtfbvfMrF8=; b=hWcgN5mBbavZLi7L+2hnYzp145NNLLsWhtz8qctzeN3fZdOYhMWC8k3gKdgt0Q4WPq V0s+kqBI9nlDFXGg66J+QO4lH1OycDMHXWtaNMjZ7AxBJXsSDkSty+ffoMP4mVGb/wCN qNQz9MMaNdAsheR5O2d5fnxw0ndbvbuptwWQ+PLAnclzjFYTs8kjXWK71Tk1wzT40UmW EzDpSIw37rZyPbSJqGSWgqG927MUoWAWBfZPfnpTWka5Tdib9NiRgoVWYeC29x4d3nju EdgJbqX9NaRUtY6qvdOyclv4s/j9FBhxVpzcVnQwykLstDaWanamIBu93+oiYmUcFai6 r47w== X-Gm-Message-State: AOJu0YzP4UznVeG9A4AVzRG5moIwKn5bZbKClt7TIT5iBZ9CqeT/iSaf rvc3xzHB4duhFVSo4G4u5l0yG+rV6nZBMD5SN6wtZ1VmberfFm02CQCmfMKphdo= X-Gm-Gg: ASbGncvs/h+T84Nj5ReDovPbdERviSxu0svlzsYWdz+ArGa4AND8q6MELOVNbFaWTJT B84lStMqBnR2kDAZMy1ifll+WhnYMaSiAwD3SwCgEIZnHdfAdh8KZ7mB7xNAUF8Kp0oQ4PUlmG2 iDQIwpMTSVVf+CN8hR1Tw0wkECRPqMCg00eCW8atxE136ykaBAFNgPC2nEiVGZ5X9F0WQwLuUNs Q9oYc8/MXEHWbNbmiYXaC/K8wH51cCqkHty2e3jm3eY0yp6 X-Received: by 2002:a05:600c:4f08:b0:431:5ba1:a529 with SMTP id 5b1f17b1804b1-433489af8cfmr70393605e9.14.1732208790899; Thu, 21 Nov 2024 09:06:30 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b463ab37sm61332365e9.28.2024.11.21.09.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:28 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 6BFF560439; Thu, 21 Nov 2024 16:58:08 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Anders Roxell Subject: [PATCH 22/39] tests/functional: update the i386 tuxrun tests Date: Thu, 21 Nov 2024 16:57:49 +0000 Message-Id: <20241121165806.476008-23-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x333.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 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 Now there are new upto date images available we should update to them. Signed-off-by: Alex Bennée Cc: Anders Roxell --- tests/functional/test_i386_tuxrun.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/test_i386_tuxrun.py b/tests/functional/test_i386_tuxrun.py index c593ffbe8c..f3ccf11ae8 100755 --- a/tests/functional/test_i386_tuxrun.py +++ b/tests/functional/test_i386_tuxrun.py @@ -17,11 +17,11 @@ class TuxRunI386Test(TuxRunBaselineTest): ASSET_I386_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/i386/bzImage', - 'a3e5b32a354729e65910f5a1ffcda7c14a6c12a55e8213fb86e277f1b76ed956') + 'https://storage.tuxboot.com/buildroot/20241119/i386/bzImage', + '47fb44e38e34101eb0f71a2a01742b959d40ed5fd67cefb5608a39be11d3b74e') ASSET_I386_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/i386/rootfs.ext4.zst', - 'f15e66b2bf673a210ec2a4b2e744a80530b36289e04f5388aab812b97f69754a') + 'https://storage.tuxboot.com/buildroot/20241119/i386/rootfs.ext4.zst', + 'a1a3b3b4c9dccd6475b58db95c107b468b736b700f6620985a8ed050a73d51c8') def test_i386(self): self.set_machine('q35') From patchwork Thu Nov 21 16:57:50 2024 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: 844704 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2392817wrx; Thu, 21 Nov 2024 09:13:08 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVJJv6zTai4zoDqSUEscpOXTpXn23p0ntBWQCaF0Jyl67kkHw619xlc7MPF3P1ukOxxZgXYKA==@linaro.org X-Google-Smtp-Source: AGHT+IH2vF6yj4D/JCqYDM2UhIe7Vu3rd9xsPt1JX2tJSwCax2HzjRmkPrJte1AcEXm0nrDAQbAV X-Received: by 2002:a05:6512:4012:b0:539:e97c:cb10 with SMTP id 2adb3069b0e04-53dc136cfaamr3446314e87.40.1732209188482; Thu, 21 Nov 2024 09:13:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209188; cv=none; d=google.com; s=arc-20240605; b=WMQAJpUJi42uI8dPCQlhLq8Ub4tFbChYBUaX6Ag4CCthLds2e3w8hs8EewZKd9fuB4 PzrW7m+NadkVh1vB4MzpT92j/gIZWNyEFB8LvEOYZi5McOYJEOD6DXkXggt4CwRKf/8S UqquZojLFUsIFd3mAzp5Jz38KsY1EMrSzXEoI8YMVno6/GkR9ZeItuxtHrZYXIU9Rdmu znP7CuTDqJRU0Uhf2JF8NcLx8aIi17Kom9qJp9ogjgPgxpii/vy6t2uxBIPS31jLcAwR RQSauRiI8dEjaAvWFNWn6qqEzmdZQbR8qM7khH7ZNouH4rhVneJK5Q5/l5/sPZeuwgoq Q8ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=eUF072RWHjw5X8nluQQuYebe1FYEMSwq9TSQiXId4cw=; fh=PehUMr93XD7r95sBWDs1oOI0jmaFQYC03dd+EMiRPvo=; b=VjdvmXt/WBdfmTLEN+R7LvsrPgg9Xqv0PUbcWpFQfoTb3HkYoPhFqSr/rE5q4KulND TBE55ZIRcszIKs0CwBVCPt2PQvLR3ImFP8LND0BYFf5raGhgRAD7JJ+hlyZSTCUwNHfp nqdZks8tjpnyNBFMW3qod9+8RLwqtyr/6MxaRgHFa5mqboTNNMiBF6ivrZGhubscvJmI r/X3am4vzZmhvxZFvFCPaufr/VAVgpLqanH2sw0eglBI7FCU+NThAkDtnx9WMOv4TXi/ 3FY7Ml+eAgoNF6qdTVr7XuOdkB6Ll9GRa6Dx+U9Bch2XH4k0uxyj5M5euvVaEQnC0umK 38hg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="RZEaBal/"; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fd27e32si31897f8f.380.2024.11.21.09.13.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:13:08 -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="RZEaBal/"; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAfO-0003C9-7R; Thu, 21 Nov 2024 12:08:30 -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 1tEAdp-0000dO-7a for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:54 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdU-0001e8-Cj for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:52 -0500 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-38242abf421so798619f8f.2 for ; Thu, 21 Nov 2024 09:06:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208790; x=1732813590; 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=eUF072RWHjw5X8nluQQuYebe1FYEMSwq9TSQiXId4cw=; b=RZEaBal/HgCez1sqSRKuaNDrAdBd5bYP0bDSdbj3qPg6Bm1A0NdeylB4W5LJhjmRuC GXKlmL3JaJzoP79RJyNRTo2ovvrfOXt7/TGJm3Id0XGs6tPWlXNPpNhYw3wZI4EwfYb7 Kbu2KoXzL4MfF8lYI2FzcBgzwpG8PAnwXF4oUGJRTttIx1e18T+UIIxhj802k1X5FJG1 hn309b7zSDeb+8VC4oGMaCRdyEIMlkQnlndFCBZcYVqy0cjbdPpW+GuqWtvXDnHF1Tij +plHVX+HQ8A2iTu8Nbdlep3fzbB6bHgkeXku5xVv8CHigeRlfgiCpdszouE/5y3pV5yl COOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208790; x=1732813590; 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=eUF072RWHjw5X8nluQQuYebe1FYEMSwq9TSQiXId4cw=; b=RsY4Olcb6I7/QOzblSaz0zFmMnhDAVCzQq1Sa1eYPD2GVgmDxkBvNHpuIi1UzUg2/h cdPc4BgEhQXKuc0y5uqndjTe1IBr+rynTysysZmSczpDNwT4n+S3GNJKaiIKCrIhMOr1 0b3P/H62wDbPjEJyG7rjIwfSGgjkCWd6HHVnW6QANq2gmFAYBK8/1TZy2G9cOglf4wkv RaIF2FJAAl/HIS+9/v/Ffwh2PJ/OmgNhztqAfuAPQ7JpLis9tfH/f4Ys8nd+moZlqpO9 WwIERFUmm+TsdqYp2HLiULQz1TzkUPj/+KNdayKnUaj+vJuO/XbuAfPL0sRmEe72o3u4 nMBg== X-Gm-Message-State: AOJu0YxvPQgRjimshC/9hznNO7WIT1kOBGN77s7WHqaBCqijbnKYTvCu 2fyi7vWsCQ3QugDJJEBQFfZh2UMB0NsEoYdyYHM2F73nA+YwOb4GlMqWSPyEZcM= X-Gm-Gg: ASbGncuJnr7Zezlr8dM98NXHw77gAScjjB8w/OlYKx6FRtA7y/2cV3ge+HqTvYcKrSh /8iFJrXJtYf6JSe99ZmgjpinMJrdnaq38wc4U7fJIHwzO0Rk7o8PliNdJCAb8EB9yl1k0IZtd09 BrKEhUGfejMho0RTc7G6vB87yN/URbppmOl7i7z6ZxLzvMxFn433GhLMZGl7aoWq28/6mRI1/p5 DerhGelEFN0wFbqQAehKaUcj8QXTHnsSYmj4ZIFbIebpZjq X-Received: by 2002:a05:6000:1448:b0:382:4d54:2cd9 with SMTP id ffacd0b85a97d-38254ae84ccmr5912405f8f.20.1732208787183; Thu, 21 Nov 2024 09:06:27 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fd0fbdcsm27306f8f.109.2024.11.21.09.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:25 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 8231260443; Thu, 21 Nov 2024 16:58:08 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Laurent Vivier , Anders Roxell Subject: [PATCH 23/39] tests/functional: add a m68k tuxrun tests Date: Thu, 21 Nov 2024 16:57:50 +0000 Message-Id: <20241121165806.476008-24-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.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 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 We didn't have this before and as it exercises the m68k virt platform it seems worth adding. We don't wait for the shutdown because QEMU will auto-exit on the shutdown. Signed-off-by: Alex Bennée Cc: Laurent Vivier Cc: Anders Roxell Reviewed-by: Thomas Huth --- tests/functional/meson.build | 1 + tests/functional/test_m68k_tuxrun.py | 34 ++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 tests/functional/test_m68k_tuxrun.py diff --git a/tests/functional/meson.build b/tests/functional/meson.build index 923f9e7078..3ce969066c 100644 --- a/tests/functional/meson.build +++ b/tests/functional/meson.build @@ -95,6 +95,7 @@ tests_m68k_system_thorough = [ 'm68k_mcf5208evb', 'm68k_nextcube', 'm68k_q800', + 'm68k_tuxrun', ] tests_microblaze_system_thorough = [ diff --git a/tests/functional/test_m68k_tuxrun.py b/tests/functional/test_m68k_tuxrun.py new file mode 100644 index 0000000000..7eacba135f --- /dev/null +++ b/tests/functional/test_m68k_tuxrun.py @@ -0,0 +1,34 @@ +#!/usr/bin/env python3 +# +# Functional test that boots known good tuxboot images the same way +# that tuxrun (www.tuxrun.org) does. This tool is used by things like +# the LKFT project to run regression tests on kernels. +# +# Copyright (c) 2024 Linaro Ltd. +# +# Author: +# Alex Bennée +# +# SPDX-License-Identifier: GPL-2.0-or-later + +from qemu_test import Asset +from qemu_test.tuxruntest import TuxRunBaselineTest + +class TuxRunM68KTest(TuxRunBaselineTest): + + ASSET_M68K_KERNEL = Asset( + 'https://storage.tuxboot.com/buildroot/20241119/m68k/vmlinux', + '7754e1d5cec753ccf1dc6894729a7f54c1a4965631ebf56df8e4ce1163ad19d8') + ASSET_M68K_ROOTFS = Asset( + 'https://storage.tuxboot.com/buildroot/20241119/m68k/rootfs.ext4.zst', + '557962ffff265607912e82232cf21adbe0e4e5a88e1e1d411ce848c37f0213e9') + + def test_m68k(self): + self.set_machine('virt') + self.cpu="m68040" + self.common_tuxrun(kernel_asset=self.ASSET_M68K_KERNEL, + rootfs_asset=self.ASSET_M68K_ROOTFS, + drive="virtio-blk-device") + +if __name__ == '__main__': + TuxRunBaselineTest.main() From patchwork Thu Nov 21 16:57:51 2024 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: 844692 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2390483wrx; Thu, 21 Nov 2024 09:09:42 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWj/kcIMdvTH+9vyaLVtr/0tFmIOQg+b0UOkoFG0HC3Lp3ZNUqi/ESXCb8Z8zg1Q2AXAkcLoA==@linaro.org X-Google-Smtp-Source: AGHT+IEoMb2qet0MvRdeF9Mo5H+m/97mEUwQtJrm1iPey3EFTeOCTwv0KIqFc1Qv+bWAG0Bdnu99 X-Received: by 2002:a05:6000:796:b0:382:4792:a497 with SMTP id ffacd0b85a97d-38254b14098mr8256458f8f.39.1732208982528; Thu, 21 Nov 2024 09:09:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208982; cv=none; d=google.com; s=arc-20240605; b=f2NW/coGDv5JN2dnA+eYsaTqUoLmiLfs2HD4jmRtI/+GzY1C5pt2RTmwOyLdJziF8k dUz0B5OWLpImANqGE4mor9IMzIMkQZrKp7c12hHJzFLjuZLjPPymtyT6gMcdNAoqcoFR Ak9avsT+ec5ZdXGQqHCT5Wt9W98T7TGeChGj/tsViAGUk7rMenhK1JxtT4tTIL0qxgIH K0vwWIKB8NHD4hKo116kRwdHAF4bgFTUlxY1C4Y3JWHeoDtaOZpzbjyHuP0N5oY3Yjm8 dQdGIVlsZnKZAllraYeEygKHOyLAUPo/oTN06G2vPITNwIRs4Ait33cuaqtkR7uHcSKy QqWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=v7PcFAUN+QI/IN3kZDWblpe2r+If/B/i2TwqX+gbbUo=; fh=O4X9R2Rw+8ZqGyJgv9RJvfohzEfB5HF9Op6l7pT1ByE=; b=OW84ZdAYvRLXjysNvekQe5aCL1SEiOKI4fSZpJUel0MNdT5jzZTkFTaW7RM239loYY HpWOAgNycQQhIfrmBIe7DR3qJMYxx2EUVHG41t14p4Im6JOgvonmeDCvO//17ujbRpmu Uf73lW7F/r4snZHh4cPmk7K7BfqYwEL8E9WYgIes/5nEAY0yLI3CvIbJW/cfduRoCG6u dyfMhP7fmZM1+a8wqmHfRdglRQw95Xp3Fdk4pzDy+33m3AE2/V6iKcgD3aEwjJ13TNoD kTCNXrpzo2pxIsYtg/vA/bcE6sMlcvLa0b+t4CFjsRMVBULaUzr9UzAD3Z9Xp4o5k76I 3L8w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="OT+O1/6G"; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fb591e5si36436f8f.87.2024.11.21.09.09.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:09: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="OT+O1/6G"; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAde-0000Dg-A6; Thu, 21 Nov 2024 12:06:42 -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 1tEAda-0008I7-Vj for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:39 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdR-0001aC-CW for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:38 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4315eeb2601so13358175e9.2 for ; Thu, 21 Nov 2024 09:06:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208785; x=1732813585; 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=v7PcFAUN+QI/IN3kZDWblpe2r+If/B/i2TwqX+gbbUo=; b=OT+O1/6GSZ4e4tEC2oLxctCKAgLNKE4RstYOgkzEyCZJZLF+595lCEx32F/ehZaG54 hPWBL8pYNVvbbE+AvsG7laZbs4aSBwa5R+it1FFdo3fuMn7tJI0Tkn0jPbwbnN3+DSVS kPCsjD4eWoHwAZsUE2ChOlvleAN61MXFQE3ZA3QlVS8yZAGtRpcj1OQhPVLT2L+pwIp+ v33wcZuzCDSAG4NDsfmm3nR5J/HM0ZQ0kyRTqFr/KjFnmJzWxbkmk/0cEDyTki61YQ11 XX2JKMbc/lC2qUjbhkZ0Ekq1k8XIidgqfym/b4ztHizz1VPE5/hKDtxO8MAAssvTwrOL KjIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208785; x=1732813585; 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=v7PcFAUN+QI/IN3kZDWblpe2r+If/B/i2TwqX+gbbUo=; b=KVfzQwHvO8N5QtfhOhPRhAAfmLzRQeOhdFdMjamhtRVi/GpuRdjly8jvij/Bf2gWp+ WOhpV8/GmxtejA3CrY6k5fY7f4ngpyIqlXGaqb/hrga75x/qybrIEtt8HG8P/37jkfAw V5wXzSxBOlt93BxOYr0XWNBp76AoapYIlDQGEVrY+MLgbvByAVCScN2wcgUutVd/LjmV f9saNGhN6eZJIsYWuii/TbVgErYWD9MCtI38fBTN/jn6DT+NJA9etypPf9IGIatoPDNZ oapb0VMXUoKnNk8msCy/VYaDBrhYdGwJnDEQvYGh1D4VQChtde0ISQp06Ia+sFbjzJKX rW/w== X-Gm-Message-State: AOJu0YxHcNhD6kLzNGdHZU7labtZQmO/PbM5sNEpqcgov1wnC39aKyLY eAUED/esqP9DIUokETsD1paryKGeTZ28+t2Y15BqOUEZvU79UwkSlbL6oHnima0= X-Gm-Gg: ASbGncvjyM4FBic2NpZf7ophDv0K2cbos6W4GhAW4Z7sQ44nbZeFRdQzGrWxg+3rUqU zoyV3+23sXPAb8Vgt4rwQlcGX4Foahdrg70Qfer4EGBCBSGtwy1hp3qcz8MDe9Kjp91Nchqazrn as9cJFqCdeOI1imJgNR5L/sPwL8rDLkNZfGb8gclRURvRVI3xqmc89koY9ST3nqJKBbJ+WAbOhH 9PFuTA6wq3ANsYMxtk6ZQ+zGAGr7RGzYcISFQgE+9poPSGt X-Received: by 2002:a05:600c:5013:b0:431:54f3:11ab with SMTP id 5b1f17b1804b1-4334f01e2a7mr71165055e9.33.1732208785021; Thu, 21 Nov 2024 09:06:25 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432f643b299sm61613635e9.0.2024.11.21.09.06.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:23 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 9B52D60454; Thu, 21 Nov 2024 16:58:08 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Anders Roxell Subject: [PATCH 24/39] tests/functional: update the mips32 tuxrun tests Date: Thu, 21 Nov 2024 16:57:51 +0000 Message-Id: <20241121165806.476008-25-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> 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-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 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 Now there are new upto date images available we should update to them. Signed-off-by: Alex Bennée Cc: Anders Roxell --- tests/functional/test_mips_tuxrun.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/test_mips_tuxrun.py b/tests/functional/test_mips_tuxrun.py index 6fec44c2bf..6771dbd57e 100755 --- a/tests/functional/test_mips_tuxrun.py +++ b/tests/functional/test_mips_tuxrun.py @@ -17,11 +17,11 @@ class TuxRunMipsTest(TuxRunBaselineTest): ASSET_MIPS_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/mips32/vmlinux', - 'bfd2172f8b17fb32970ca0c8c58f59c5a4ca38aa5855d920be3a69b5d16e52f0') + 'https://storage.tuxboot.com/buildroot/20241119/mips32/vmlinux', + 'b6f97fc698ae8c96456ad8c996c7454228074df0d7520dedd0a15e2913700a19') ASSET_MIPS_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/mips32/rootfs.ext4.zst', - 'fc3da0b4c2f38d74c6d705123bb0f633c76ed953128f9d0859378c328a6d11a0') + 'https://storage.tuxboot.com/buildroot/20241119/mips32/rootfs.ext4.zst', + '87055cf3cbde3fd134e5039e7b87feb03231d8c4b21ee712b8ba3308dfa72f50') def test_mips32(self): self.set_machine('malta') From patchwork Thu Nov 21 16:57:52 2024 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: 844693 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2390487wrx; Thu, 21 Nov 2024 09:09:43 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXYkzw4uvBE21PuL780uQ3MrKrvnd1MWF9N3lu8G9b813uZVGKZr/8HrWagITL1Sh3tliX4ng==@linaro.org X-Google-Smtp-Source: AGHT+IHussfQ3/8RMaEHseejTuVtKt/JHUfNCJX42Nynw1GCvPtHrrIFHDrYdFTVsd0kpaqOcTZO X-Received: by 2002:a05:651c:b0c:b0:2fa:d604:e519 with SMTP id 38308e7fff4ca-2ff8db3060fmr72671051fa.11.1732208982775; Thu, 21 Nov 2024 09:09:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208982; cv=none; d=google.com; s=arc-20240605; b=JAulTASLCweEM/AnibBaqTLZymjPppLgEdZyp4JY/azRH6x3l+HkiNzkxj9o1rcxeb I1rPSPR242BjtcWi9w2LGJnQh+nYo+++YnjO+nIcUvxxt3Z+RxVB/LZcHByP0UsMVn2v AGlw71Y8NIaDrowdu4fVyB8xQEssKfuMJDaol/JFYbY2GRt5bzcCwY/Re9U+e2Mwj8Nn 7/Tp3cp5cDUby0ENDgjNqh2InWk/Uw1vE6GzBJjwhnS1gtOd6Dts3KSZlJqqhGgRcCs8 0inW2Vi+2CqxOa1EVJ1mrYuCyNWaYkDhAbW6XtgKgQjRdNGT45tGLcY+ebJytbBF7TGv gp0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=KPkgZb+7aZINgr5AlSQc2tvBZSl4x/+JOpQj7wrbfcA=; fh=O4X9R2Rw+8ZqGyJgv9RJvfohzEfB5HF9Op6l7pT1ByE=; b=Q0tynd1eYTkEK708i8jdRbKjoTQNpXvRK3bNwFUAd9Q39P+z/GFFJkFaOuonPh2GWQ pAQ0rA4lkuxWkBB87ieWrkjcpHoAp1VHqtAO8zg3NMzplHyX12Jk9NON5K0R2z77twQ+ XUUhC/QHFizkNvcDXZ4drb0KvC3ZpZ7MYdj+MkK3xMouHXYe5ICnACFVMTsxnXNMDFdF 2fU8obKQsGRcwL9XnKrCFsY7XZ3f0GaumQEBVdkAeJyzjR2AJAVAHB+9+JrvxoSHDlgC ypYIqhRH+jf5k10uD8tch6m/70Jdf6oSr/YYzKH15hxEuegEh1AxTjLaIqssQ4IHGMuE 8YlA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PDWRn1Wp; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fd772d7si19177f8f.704.2024.11.21.09.09.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:09: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=PDWRn1Wp; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAfv-0004ow-E1; Thu, 21 Nov 2024 12:09:03 -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 1tEAdu-0000lN-TO for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:07:00 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdU-0001ec-Tv for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:56 -0500 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-38246333e12so1071282f8f.1 for ; Thu, 21 Nov 2024 09:06:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208791; x=1732813591; 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=KPkgZb+7aZINgr5AlSQc2tvBZSl4x/+JOpQj7wrbfcA=; b=PDWRn1WpVxwaNmwFUXo+zQ1gD7vFSyhgPAf9nrUWwsoelI3mzle0b71EfpUBZ5TCyN L+9WKZWvZdfgqzAb1feWNRTqwzaF6UPzhF23E23zDvVNSLA+b5PmwdzG23sTbas7nuwQ oUtl9NH1g5Weo2CvTaEAEJbEfUHptPRZYLVQIgZrug0Ix7bH3+GygvGoFZIt4Ll0aHlG Ng1IXJPf8sH4mVc74n9AjxwPvEafCAP+1JqXjtNwaBRIlYqThTfNF1DHek9TEC1IwFaQ IrUFGTqDYSowZ15zdqBUtuWzU1nB/SpMYjcUqAja8OO4k/3DCkDD4mzx8P29eS3fc1/A mK/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208791; x=1732813591; 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=KPkgZb+7aZINgr5AlSQc2tvBZSl4x/+JOpQj7wrbfcA=; b=G16AzYoRPLLjuaS+Qnb+RweRRFalRL95g2qcL4/YDlWzeicuNB2zPU0Lb3+7G7+KuG M+m8KwEtb7np0bhZaRuBvQY4BnyeYscKqaFwiHfI2FPEO2k+QWVW72vJtu3wvVus5U5f bTJ4Kclb2nRs2KlN2fDWkg4LxcKu7SBforhjc1sWv6p59Vm/pHU6u7HNRCNQJ/6ROU5d BqqFHuh0ES3oc1vIRdvP3KI+WUQUTrH/LAJ6KxI9fgHqYOyT28OsHCjPQXYKOy5awBp8 U/I4gYZNIu1cO2xsaF8psqT3VrAqmU40VAFC3JoIiFd3+65WAtvDD+Z45lFF5BJR0vNM U2ww== X-Gm-Message-State: AOJu0YytNDd3u3fmmts967znl+koySiMWaiwfhAs1UN+e0p9BPkTUcGv hv8HbRdkUu8LYLEG3VWqubprTYae51AZHPhbbaYlR39Lan0EZDaKUXAEU4pyXYQ= X-Gm-Gg: ASbGncsDD3fuOm3CWRoWrwtbK94PED4ifEcQXAB9fI2WYtH/HZtaUjqnDiNNIgoewfd +zro0OnuQUuGw4OPcCCO2McWGz4WY8sgx+rgSON3UrgARO9l0vR4Jw4xB7Sw1iknnZI5UaO3fkN Xf8pDJuf2Fh8T9SLPvziCN1UKDviddDY5bHYwlQOWMbtx35j0/ARH4IsAkgum2uIXPBK+Cs4UCK 0DqWGBRAiCa1fVW7CM+t2S3ATdM+HQnmRylCq5x8qgWv7Fg X-Received: by 2002:a05:6000:184f:b0:382:3f77:8584 with SMTP id ffacd0b85a97d-38254afa9b6mr7159340f8f.32.1732208790548; Thu, 21 Nov 2024 09:06:30 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fad60e5sm58019f8f.3.2024.11.21.09.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:28 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id B35956045B; Thu, 21 Nov 2024 16:58:08 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Anders Roxell Subject: [PATCH 25/39] tests/functional: update the mips32el tuxrun tests Date: Thu, 21 Nov 2024 16:57:52 +0000 Message-Id: <20241121165806.476008-26-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.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 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 Now there are new upto date images available we should update to them. Signed-off-by: Alex Bennée Cc: Anders Roxell --- tests/functional/test_mipsel_tuxrun.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/test_mipsel_tuxrun.py b/tests/functional/test_mipsel_tuxrun.py index 2965bbd913..d4b39baab5 100755 --- a/tests/functional/test_mipsel_tuxrun.py +++ b/tests/functional/test_mipsel_tuxrun.py @@ -17,11 +17,11 @@ class TuxRunMipsELTest(TuxRunBaselineTest): ASSET_MIPSEL_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/mips32el/vmlinux', - '8573867c68a8443db8de6d08bb33fb291c189ca2ca671471d3973a3e712096a3') + 'https://storage.tuxboot.com/buildroot/20241119/mips32el/vmlinux', + '660dd8c7a6ca7a32d37b4e6348865532ab0edb66802e8cc07869338444cf4929') ASSET_MIPSEL_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/mips32el/rootfs.ext4.zst', - 'e799768e289fd69209c21f4dacffa11baea7543d5db101e8ce27e3bc2c41d90e') + 'https://storage.tuxboot.com/buildroot/20241119/mips32el/rootfs.ext4.zst', + 'c5d69542bcaed54a4f34671671eb4be5c608ee02671d4d0436544367816a73b1') def test_mips32el(self): self.set_machine('malta') From patchwork Thu Nov 21 16:57:53 2024 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: 844697 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2391234wrx; Thu, 21 Nov 2024 09:10:44 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCURDekdwcx2fPD5vQ14KwePZFxmw4ZeMGLBf5FlAG7EWvTz3M9jbE0bEDR1xjwxFWNI+Ocnpw==@linaro.org X-Google-Smtp-Source: AGHT+IH1BW42H+RlzcJqOOAVLk0RJ35hR/uY4146HT85SO2p2xjMqIgHz5Fu2XEPpJ5ga6M+w1dl X-Received: by 2002:a05:6000:1f85:b0:382:395d:bf93 with SMTP id ffacd0b85a97d-38259cc0c8emr3430662f8f.6.1732209044647; Thu, 21 Nov 2024 09:10:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209044; cv=none; d=google.com; s=arc-20240605; b=P1E4nmfUM+ZDfb6GO1PhZuwZsJr49UEoGOSbyYop9w8SjXJhf2g1Dlsju6bxc3/WKo TIqLIEDGPVdvUT4bTWtnR20zFHacAgFFOALhZoZEXYRMFE89xI6tgA2/SELykdxAYnL7 1KZ0dlHnlEMywFO0/v5f3QScwEjOv498vOCHJejBE3saaBbOmbH9jkG+f44q2YQDa0cy ist6+1YGJ+f1sFotlFRCcBnxJGLQ/UdzcxqOjyuvZCIU77Qehk448AS6IUfCUaHjzhW9 AwviPmmjOFf4wBbFvL4UbEJIV+PHVSKnaKyNbep02v/YmS9i4QhHjPEeC6SHf9io7eEt 49ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=bFU4el5KlCeAp3YtkOJsY4eYz2mtebMU2xCmSIZyiTw=; fh=O4X9R2Rw+8ZqGyJgv9RJvfohzEfB5HF9Op6l7pT1ByE=; b=BW/KrUt7+uaXlsu+XREo1+N7bUvsRbPQfnR9M+uAx50lOqIZ8EZIiCq9QyWxLJGxiB WodLWz9ky1aAxwF/sxEc09TWYSKkmGry1Z/srQzRv8FMTeAVnPtXLyGCcQH7Wm2qkXwX RSb14KuqgeG5hjLpOj35QcuD7YrXGY2MVu4tlR969LbRZRTuflpP+apISQQMPcWj62BM J2GphKJZpQVYExS6douworWjgXtIa8JnkNe77u9AGfcFT21+J1KGSI9Q8Bxu+1/X0jps yzQTq+AYmBMtNaGWwisHC+KEMDlZMa7MbVUV8gLVmER7GIxskQ5IaFrKD34+ZnTu4D66 HNAg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VV8uIK0O; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fd285b9si26960f8f.404.2024.11.21.09.10.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:10:44 -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=VV8uIK0O; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAfw-0004wj-VP; Thu, 21 Nov 2024 12:09:05 -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 1tEAdz-0000yc-W8 for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:07:04 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdY-0001i1-4C for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:07:03 -0500 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-432d9b8558aso13577745e9.0 for ; Thu, 21 Nov 2024 09:06:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208794; x=1732813594; 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=bFU4el5KlCeAp3YtkOJsY4eYz2mtebMU2xCmSIZyiTw=; b=VV8uIK0ODFgxYEYp915CgjkDG+byNSdd3eDEnpMx3FS/vi9J5GpODEHheZQrvpbEW2 C36ylmlRV8jiaIh1nRYYnkbWb9PoLSptx7kt7gNcp4bB4RsbJFSEtIN7aHKvxVFXp08g r43orLgO+ee5Q/E/DgSoMZIg0hvW4c+NfcoJx4VLnGPGbrUUakrtuUMmmNEQjikICg39 LtpgBgNVaCojDoMovCh/pq+4hGr2tUSvqfBp3aAKHCwBbJpdiEkRy7HDfcp6BGajrzbO iqzWGFZJLULyx38qBv1huUgoAQ4SarouG4m3g4+Pp2LXta/t1PZUAe6N8aMuFVgNfJgl SkeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208794; x=1732813594; 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=bFU4el5KlCeAp3YtkOJsY4eYz2mtebMU2xCmSIZyiTw=; b=ZLAV1LehS9GJlc3hieWy2y/kQpNXKA1rL5TIvFVmsVfLvR1Ls/+lCrtVZLFHs3Njdp +oESTCYVj3S+f3o4Rb5HVI7akEHWafxx8GGeDqFN6aha6+AKwk1KfcIyXachoQlDRo8R 8P1TgOs5RrwizdVHUptwoq7SSSTgNDJgnvLtHoz/Ke1jE66TPsBd552mb9tYbstWWGo5 pFileriGLzSzMnoLP2xtHTXJB53Vesq5REzGj5DjVyEtDh78Mp2Iae/KjzDc3E2wCCft sl+AaX+Swi03dKjDjW7ODdmlC6NzzWMy9odfOd60fQ53mld4WxuuYvQeWm4ad3zRqqAT 1Qwg== X-Gm-Message-State: AOJu0Yy6/tGrmSg6byyD8VVqw7VjNeFZ937afC/LJWpje/NtHiNQSvOD JEe50XtptUXIm1VdhwaHIip0yfK+IVfPbSkSd3CsbVcBd6uyPimHv9bjiShuNE4= X-Gm-Gg: ASbGncu4uYkrFXjss4PANXuQgcnXcGMI7t6R642Prcq+kOkQatg58O8cG3Kkrt7fthU tyoBOlOhJejafKhNNrbEDlKxaVrWfuf0tPZ7PAlJiOD1RxLs+OV2YeK0kbqCxZN9gAx7+7TEGIR PiXavHt1MvmTX5vdy/hp/l2mIPsQcc9BXHUq610t3oin+w1DOBbsUJ48uGty0YeWmaFcNQ3d3Cc /mEoawRnctCy/0s+He0Ur8N5npEcQ6Gbw627IFfTP0Wzf7Y X-Received: by 2002:a5d:6c6a:0:b0:382:4b04:a586 with SMTP id ffacd0b85a97d-38259cf1b3cmr3162856f8f.16.1732208793251; Thu, 21 Nov 2024 09:06:33 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fbc3531sm37567f8f.80.2024.11.21.09.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:30 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id CB11E6046F; Thu, 21 Nov 2024 16:58:08 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Anders Roxell Subject: [PATCH 26/39] tests/functional: update the mips64 tuxrun tests Date: Thu, 21 Nov 2024 16:57:53 +0000 Message-Id: <20241121165806.476008-27-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32e.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 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 Now there are new upto date images available we should update to them. Signed-off-by: Alex Bennée Cc: Anders Roxell --- tests/functional/test_mips64_tuxrun.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/test_mips64_tuxrun.py b/tests/functional/test_mips64_tuxrun.py index 54af1ae794..0e4c65961d 100755 --- a/tests/functional/test_mips64_tuxrun.py +++ b/tests/functional/test_mips64_tuxrun.py @@ -17,11 +17,11 @@ class TuxRunMips64Test(TuxRunBaselineTest): ASSET_MIPS64_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/mips64/vmlinux', - '09010e51e4b8bcbbd2494786ffb48eca78f228e96e5c5438344b0eac4029dc61') + 'https://storage.tuxboot.com/buildroot/20241119/mips64/vmlinux', + 'fe2882d216898ba2c56b49ba59f46ad392f36871f7fe325373cd926848b9dbdc') ASSET_MIPS64_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/mips64/rootfs.ext4.zst', - '69d91eeb04df3d8d172922c6993bb37d4deeb6496def75d8580f6f9de3e431da') + 'https://storage.tuxboot.com/buildroot/20241119/mips64/rootfs.ext4.zst', + 'b8c98400216b6d4fb3b3ff05e9929aa015948b596cf0b82234813c84a4f7f4d5') def test_mips64(self): self.set_machine('malta') From patchwork Thu Nov 21 16:57:54 2024 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: 844705 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2392830wrx; Thu, 21 Nov 2024 09:13:09 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWTYIvDHrB/7yQ0s0O59S2y2rllr7BQj3aXYzBZt75OjquaTovOEFGULIDEQfmx/sOhAdq/MQ==@linaro.org X-Google-Smtp-Source: AGHT+IHDxvxEAq21sk1+iH3YIvFc3fsZjM3XGwHK+7Ce2LwyVDvTrGDwB7xBzHemSEdfvBzlh0ox X-Received: by 2002:a5d:6487:0:b0:382:4f50:be64 with SMTP id ffacd0b85a97d-38254afa8ddmr4537329f8f.25.1732209189352; Thu, 21 Nov 2024 09:13:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209189; cv=none; d=google.com; s=arc-20240605; b=d+pqfPS8kuCuiFvcbEtIqRNqUQZzrGwrzo8b/W+zSuJwVQM3YkqZWSWdvTdvpn+M8n +EWp0Pvpew2jH5nxEolfwsVfzaRhRzgiTIDEAtJyq6+MtdLzeIyHgDJjOw6O9UIupTzC 4HamIS71a1sP1PjEWUJCQWH78ewku5N4IrseY80pXGVcDTtTK5ocMsPgHoVAhkrI5XsD QPwczqG7ioBuADmql4KqhngZoTYJs04Y99ZzFeB/CVCuhbP0AwTAdeE59MZ5XHnhK2Zn hWY76AcHxfwtr18jsxzw4SJSZ/Wjd0qNKjeM9IQx0P/2PHgC6y+DgxcUd0AMH/JuCIPJ MrIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=15r2zOo3h/tLFRcXUbTt3Vo+3asDF32OSYsCrEmK4kE=; fh=O4X9R2Rw+8ZqGyJgv9RJvfohzEfB5HF9Op6l7pT1ByE=; b=M5w4mM5MuGZUYaeIL1Kfbyc2LiZmHoqXih0YYCP8fFfyZEt5TcIy9vvwf1P7bhd76Z Ml+X7psrH6ZLvEDcugYKlDhKr90gRhDYm8m+lP4sWWUBWRHdTxrXUzQssBIPg9HbiKuT mpCiMU9gCdybTEAP6B+DCfjAtRXPZptCShn+7IS2zUxYE3pOKTDMA4Wd4Z//fMhvKguu APZM9YdPwc6k9iiEg5VLYKV7fLR82dra23jLu3bhqwckBh9FJ1NeYoLMr3mSjal88xib eXxh/gBVZboCj6RL42xHqehVSnuZrL9fQuV0rDo/DRLy5fr2gfuiCG6v9JHR24nLwkOg UoYg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hQwG/zYW"; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fd94799si27539f8f.876.2024.11.21.09.13.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:13:09 -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="hQwG/zYW"; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAg8-0005cD-B4; Thu, 21 Nov 2024 12:09:16 -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 1tEAe5-0001AF-Ux for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:07:10 -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 1tEAdb-0001kO-C7 for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:07:06 -0500 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-43152b79d25so9589475e9.1 for ; Thu, 21 Nov 2024 09:06:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208797; x=1732813597; 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=15r2zOo3h/tLFRcXUbTt3Vo+3asDF32OSYsCrEmK4kE=; b=hQwG/zYWbKN9L5g3/UIbI9fYCxo6OX8xUX0qZb8EvnDglpqFOdR4djI0mD0j8Kxu9f dxMh0qqQTgiDL8adKUzgV5hNRr8Ud1m0budgSoSD9vR4tCjBdpb4bMmd+hAxvauTDdkh 3EUYdA8OKoiKIWbjtxI1gHLbROvH0UKJI3yaFJxGchgFA5TykyCij2jJc4aTpJ3ITTBB Biqa66k0tYq3ptzYT26NTh6ZqeQFMmJQrxHS1WatCw1RwrMvtE5y2YENffPEyfxiqpmW RCY1FzPynjDdLwx2FbPNU+Lh/v/PTC/2p/1XNvTfYDY14JQnUyPxN5lOfOzGbEUIxUEB YQMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208797; x=1732813597; 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=15r2zOo3h/tLFRcXUbTt3Vo+3asDF32OSYsCrEmK4kE=; b=SxPdy/kuh7K9EIUXcSLbzPu8hCvZmll9mlGLdPq7dwi3cyDQi1EtJ7GG2AYulMNc58 yNLOaLe0x3QI+IZVGVB+uaYKWsmxZi+zC3PxCHJUHcPfnM2x6YPgD0eGuaYySmMVioR8 PjfiantzxTOA8ulrYW4QPcXQF/K1gYWIGUTd8rhE6KasEOuLfjL7XvNzsaIB9Btur4sN uMJT789WOe5HD23lU2dsRJRT3oWWmZMn2LzEEvCwYhnJOhtmSSlFpbKueQnmu8BiosiJ FUiZ/9tOUOrKTJrUyZzsuoZ45lat08ocvVsdu2lwITeiNdoDGuqmqEy8z7roifKQFAAy eoNw== X-Gm-Message-State: AOJu0Yx6zFRSF+Cl4MeyXw33mv6jG15X8xTepNS3O6eB25EYIB5KPANx MTiRYfksxX26NoUmHFDScphED6ilf5U4GgySxg7MhcVg+rjBkEraK3k04hH7xvI= X-Gm-Gg: ASbGncusBHdx/mo1uFzTWutzWZvZKflT/RqciZ5ZtWZ2l2NuZizc8GII1YxCMC0bG98 6i5KF329HE+HpqdLWoc0o/KsqJ7AAYBCjMFU+mI12bqxkoH+9UrSQjhBNU9GHPmu4OQMOvd5yW4 v08+z7W+vfKRKPYHzvbzk0s6lrp3ne7yyRaoOyITVoVqpwDJZJO7fg1B1EL2UanlFzCB4XiQh35 DAgZvlXSKfTrLvH8kWQtf6Tls6PJoQENUy/rR7YfsHP6qjo X-Received: by 2002:a05:600c:3493:b0:431:6060:8b16 with SMTP id 5b1f17b1804b1-4334f02c6f9mr74451045e9.30.1732208794422; Thu, 21 Nov 2024 09:06:34 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b45d170esm61614305e9.3.2024.11.21.09.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:32 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id E350860481; Thu, 21 Nov 2024 16:58:08 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Anders Roxell Subject: [PATCH 27/39] tests/functional: update the mips64el tuxrun tests Date: Thu, 21 Nov 2024 16:57:54 +0000 Message-Id: <20241121165806.476008-28-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-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, SPF_PASS=-0.001 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 Now there are new upto date images available we should update to them. Signed-off-by: Alex Bennée Cc: Anders Roxell --- tests/functional/test_mips64el_tuxrun.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/test_mips64el_tuxrun.py b/tests/functional/test_mips64el_tuxrun.py index 819549a27b..0a24757c51 100755 --- a/tests/functional/test_mips64el_tuxrun.py +++ b/tests/functional/test_mips64el_tuxrun.py @@ -17,11 +17,11 @@ class TuxRunMips64ELTest(TuxRunBaselineTest): ASSET_MIPS64EL_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/mips64el/vmlinux', - 'd4e08965e2155c4cccce7c5f34d18fe34c636cda2f2c9844387d614950155266') + 'https://storage.tuxboot.com/buildroot/20241119/mips64el/vmlinux', + '0d2829a96f005229839c4cd586d4d8a136ea4b488d29821611c8e97f2266bfa9') ASSET_MIPS64EL_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/mips64el/rootfs.ext4.zst', - 'fba585368f5915b1498ed081863474b2d7ec4e97cdd46d21bdcb2f9698f83de4') + 'https://storage.tuxboot.com/buildroot/20241119/mips64el/rootfs.ext4.zst', + '69c8b69a4f1582ce4c6f01a994968f5d73bffb2fc99cbeeeb26c8b5a28eaeb84') def test_mips64el(self): self.set_machine('malta') From patchwork Thu Nov 21 16:57:55 2024 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: 844698 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2391300wrx; Thu, 21 Nov 2024 09:10:50 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCV+OfltlAlJ4rA3CsLAs+8n+vqa8BZ7aQlMbL6Aw8hHkBHnC5xn2mHYxv39/Ex37zlREpu1Hg==@linaro.org X-Google-Smtp-Source: AGHT+IFo/pgJJ5pRorJtThSHJZoT2p19eGCC1n8VvmvRLhie1VGC4EJ1DoQH6oV4FiaHbt0Raidh X-Received: by 2002:a05:600c:1da5:b0:426:66a2:b200 with SMTP id 5b1f17b1804b1-43348906b3emr74747915e9.0.1732209050568; Thu, 21 Nov 2024 09:10:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209050; cv=none; d=google.com; s=arc-20240605; b=c2aSYth1NwBiinaHmyH2BRfMuNu7yVgJxx+TS9n//QWG4KS+7PR76EGhheMad8OCGm qnQoKAv4tCr5TOiEU+aSeoMJPjtSqtFG2sA/0o7mJugD9jKKg6I6v6KugyKxXByTt1Wc 9IMfpsRKHpS0jOWNMtIwgDzg/EFUw+SVIyYMlJRSqYEmaQr6vb8HWXtrqa4dmuU1U7R7 Bf/xYWrzId6vuv1xoKoj1WxUHhOhg4qq08C9ztKeZcP0UqbZogalmHgg4Ez2zoJv5ZTQ UGukdcnNfsL6nKRGQ0Y0X0CV4o79pEXyH4dN50k4tFRoLmoNgaQhEYG2markXxvqrGre AbHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=GDGZljMa8fdDNeLPb/JcZV7H88cNEUoroqHRVzlN6wI=; fh=O4X9R2Rw+8ZqGyJgv9RJvfohzEfB5HF9Op6l7pT1ByE=; b=N8FMgPnrrSSykdnImUbtknRVrJYBaRlEjUDRjOh8Hv9a4em7jX0enUo2VCmzl5H+Vr PiqWYyr4jzMS5OX2Wr4lwQHv30B/+qU6ijWif9/zpQgx2yNz5pNJ7vwiZfrKqhIU4jUD pp7oeLkveame5xRmeXksejuCxoHLS7feAUl6tosqXiUlu05YMcwCMChT/zFc8fCFg8JG 7z8nWTXZRQumhR+xyeExIVcoJgnp71gkgGsZU0Z/kt1w9F2GpVNyDanK7kDR1/chBrSt bWfE+io60MzfbzW5KM4HNd8F2QW8Gmw1RTXEQdqxymQwP55hGaWnUBSF6dZhH76uz2fK Prag==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rohxcbDB; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fb5a0bdsi38473f8f.121.2024.11.21.09.10.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:10:50 -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=rohxcbDB; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWM-0005Pt-8Y; Thu, 21 Nov 2024 11:59: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 1tEAVu-0004rn-6C for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:43 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAVX-00086A-UW for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:41 -0500 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-38231e9d518so804803f8f.0 for ; Thu, 21 Nov 2024 08:58:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208298; x=1732813098; 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=GDGZljMa8fdDNeLPb/JcZV7H88cNEUoroqHRVzlN6wI=; b=rohxcbDBW0DYKZlWLyDzGVKIuQ6MMatxYhMdZ9wenHZa3gySKPZTQMO6u399LEYA7I HR6gQVolW6Rd8BhhBxQ18jlKzOg8pRaHQx6uAWkjvU2uua4D+yGfaktUzAd8inW2Lc+c MBV+N2TQIKhi/D8LlJ3/taeldZwHiE0C0rCsoPsgVPJg0khqQczrktQ2CGbf5kJrLCsX 07LfQ/k99RB2bv18Jw3RXBzg9TesU+KoUKpkyEKeqyuUv4LNqPPnugtqR3E11xhZh8vN P151OMmIO06mZWB3wqi3O1+3U2RXgoaf+wZkwzoNZh8VKE8VzJvJZ54pO7UJtIdOQpWH tFrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208298; x=1732813098; 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=GDGZljMa8fdDNeLPb/JcZV7H88cNEUoroqHRVzlN6wI=; b=KvrP3akcNfLOesoEHuu0Y5FMHC9B7l9YCtgFwJwT2gu2QCOcNgprrrvutPFFyj9Z/r ShEDd2CBzkkTTfIvdYfOeGoaCb1Gu2obNnyg/iRsOmhgRAzZP4TUp7a0lyQkNGQ7/9Oi 4azQ18Xz7oYBzj+Yz/eDYJDH5RJJ7z6tXW+ipg4YFosMgrSX+r7z0foe8InA78S+iCh3 PEtIwpYCYcrVTo4ImDLe/0JLf1d4ULS805187JFEuiy1t+qoDLdN9kfWLLyJcG4oNCu1 EDcljMKs5aEhTIC0uwa6XKh4F/hWP/UxV2P7HKwmdvOj4jqwdt6nxX5X2DuNORwwH+Xh ohsA== X-Gm-Message-State: AOJu0Yyf7fkY7rpsh5Vl/i2ypsGxUtogHw2n7eM359GY3MH9NLy7v346 CqH6BaoaHQzw8WwXqS3hwHigPGdiNxW0jSely852hbfi9mJXBsjypf9yF+fRnuc= X-Gm-Gg: ASbGncuy6zL6EUcV0eJj2P3WpnoRtBYhutdGJKsDEpbwmxA4pUhC+5bp6KFeN4if2iT p1j730/nDO9bEOCkYfpMZu01K2YCb9kkPQGr4zx3RyutQAek+GQgiqbSh/6RWyN0bH35vhxHVs/ mQn7yirVVw867u0GHhaoNLa23PIYexpPAQPia9t0CjAtxoI/9/uoAaulTIeCgsUKLQqQYMAoaNZ OxoMPqnxTAzP8BhvXuzXQXTigaW2MCfQAE47NhUNkKN/iDn X-Received: by 2002:a05:6000:4007:b0:382:4503:7283 with SMTP id ffacd0b85a97d-38254adef91mr6740242f8f.9.1732208298110; Thu, 21 Nov 2024 08:58:18 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b463439esm61337745e9.31.2024.11.21.08.58.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:14 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 07F4B5F95A; Thu, 21 Nov 2024 16:58:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Anders Roxell Subject: [PATCH 28/39] tests/functional: update the ppc32 tuxrun tests Date: Thu, 21 Nov 2024 16:57:55 +0000 Message-Id: <20241121165806.476008-29-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42c.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 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 Now there are new upto date images available we should update to them. Signed-off-by: Alex Bennée Cc: Anders Roxell --- tests/functional/test_ppc_tuxrun.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/test_ppc_tuxrun.py b/tests/functional/test_ppc_tuxrun.py index 50b76946c4..5458a7fb71 100755 --- a/tests/functional/test_ppc_tuxrun.py +++ b/tests/functional/test_ppc_tuxrun.py @@ -17,11 +17,11 @@ class TuxRunPPC32Test(TuxRunBaselineTest): ASSET_PPC32_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/ppc32/uImage', - '1a68f74b860fda022fb12e03c5efece8c2b8b590d96cca37a8481a3ae0b3f81f') + 'https://storage.tuxboot.com/buildroot/20241119/ppc32/uImage', + 'aa5d81deabdb255a318c4bc5ffd6fdd2b5da1ef39f1955dcc35b671d258b68e9') ASSET_PPC32_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/ppc32/rootfs.ext4.zst', - '8885b9d999cc24d679542a02e9b6aaf48f718f2050ece6b8347074b6ee41dd09') + 'https://storage.tuxboot.com/buildroot/20241119/ppc32/rootfs.ext4.zst', + '67554f830269d6bf53b67c7dd206bcc821e463993d526b1644066fea8117019b') def test_ppc32(self): self.set_machine('ppce500') From patchwork Thu Nov 21 16:57:56 2024 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: 844715 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2393865wrx; Thu, 21 Nov 2024 09:14:47 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCU4JuV+JAfpiZ9PJFFpxekUiJ26Osd8J0eq90QEjNR4gYEpw9Xu63Ny3H3B4Pkl8O6i+iAcyg==@linaro.org X-Google-Smtp-Source: AGHT+IET5cp5Uq/nktPIH0x0MICcb7OlE2hJ8r8uFHiayJbZDR/gwGz+LGAWDPzGn4Sl9c8IYi3D X-Received: by 2002:a05:600c:524b:b0:431:5632:4497 with SMTP id 5b1f17b1804b1-4334f018153mr60750595e9.26.1732209286950; Thu, 21 Nov 2024 09:14:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209286; cv=none; d=google.com; s=arc-20240605; b=DQnjvX96V65Ru4Z0BiXgv95Zdx9RCA4LnzWINWwwp1z8VjJR7pPl2nGboxYwmDlGeC BPlz11wJ3CdKib2RIbj+/edHBWFr1x4+r0RzVc8A1ipB5Od6SjCaOTgNiRA1SNUG23b0 W9PQg0swhar3NS0ajamxrTInDKbf4TD+ZrMRGLj1DX8fCe/zPONzvWPyYS8wC32yKJ4i rO0ts49vom5zLfzRiVx8j1vUYy2Y6TeCt43x2Au0cmM7CHEndg2PeqkKLdSE5jucOFdr EtYxmtnlSbQUUOCSjkZltA7Wt8hewjP9gGpEBZAAa6Orl/wbNnxJjFHsGFQGCoVG+YPU U7jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=QJ/BEIUZxqH6xjJjY5CC1Irgebs8pwBzHUuWnbPyaKg=; fh=O4X9R2Rw+8ZqGyJgv9RJvfohzEfB5HF9Op6l7pT1ByE=; b=e/fI6i8ZvOWOOZGogyQctsXsxgUqEWSyAqp51QxjZTSNbW42/VIYVcCMgdMP4UGd/5 iT8MZ897lZ36DlucrVECXy9NIaCHcyGKK60V3Q0ykqlyE7gbc8zPo6tGm+CjltD/E1Pt 2BAse0YL+fN8Ry9lVXksgZ3GQiK4s+FOw/FT6u7rjcmEeBCYSiS0Q3ABlyoY4Klzjg/Y u72tJOGA1QDqs00iRNXFD6BU6RclAyAL+MsuwpKHzSbwpB33Ywoje93FR5AmipUZtRTg vjWPhlI5U7+9MDMxD4UR06BDrRxNdRh8elX6X1f413c15ZWOjZedF7VaYjMlNkfmU+KO grsg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EcFXxTYe; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 5b1f17b1804b1-432f643d9e6si1063255e9.0.2024.11.21.09.14.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:14:46 -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=EcFXxTYe; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAeZ-0001g2-NJ; Thu, 21 Nov 2024 12:07:40 -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 1tEAdg-0000OC-QF for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:46 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdR-0001bu-Ql for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:44 -0500 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-3823194a879so760858f8f.0 for ; Thu, 21 Nov 2024 09:06:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208788; x=1732813588; 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=QJ/BEIUZxqH6xjJjY5CC1Irgebs8pwBzHUuWnbPyaKg=; b=EcFXxTYe7mtJp07OasdOjrHr+YS2Gu3m9P6dSHEF6BYzBAvBp0GEJxtmh/ps8JuASC A+E5dI2QXV0y6BIZxcrU8lrElJWmIbKu+I4o0Okc93gZOI2heOdLH13vpzIY1m6SHx8j 4O5N5txgm8Boctmd2p57AkkmAD7S7C2rqK+If4GDD9zNi0gln6CzdS74aB2a+iIsJlpC BdWBzjEhp1+78CR5l5crFvUqfwBIimlsf5vWLGgRJvoWi1xVfT6pDGFt7y1lcyVUzWh0 +ejNWXL7qM4WTfq9v+jCWNMIIqK4gczsdiVFkdQd0UfYhm6b3AsX4B4lPkqEY4RR5+Qn XC0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208788; x=1732813588; 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=QJ/BEIUZxqH6xjJjY5CC1Irgebs8pwBzHUuWnbPyaKg=; b=jKKAz1Q8xN2WET0RoeRvx4RVf71Uvf8kU8I/Glm0joqC2aGmT+cLm7E45XIOlgcgnq BT8rXCc7Lr7nitZAHsG/2+HYcO0AT0GnxR48m71uBN/G3EkzLpYshnsf3MmStZ63XZu0 6pGJNnZDUlIknrjBdc4BSVns2w3eg4eREONA0kLdYV/ioU7Nmt6eS07EwKSIgOFpkpKj BpT+syXUsJSDgk7Pw8m9dR5iCzaYGmew92Io/u9a9hifUacL3NDj4oN3gWsBYM+uGBxn UEvWCV9kiq5RPKx68m4I2rqSPO16XjFi3rPx+aAYJacVMLrv8eiVDR/6pu/k2e24+D08 YLKQ== X-Gm-Message-State: AOJu0YwwN0DInGqKtB9iVZgL5dXJXsAc8zOavCiiryXdYhq1g8ew3yCl xViCIl+q6wSQEN6da3t4Myzb7hX5/4B41779c/2HR8vCuSC3KbWeequWOBHlMAk= X-Gm-Gg: ASbGncuHLZ9ZA9IkVqm7B1VTRrI37tFsVrsCPT9MTxKPQRr4C/mMqMg3SZWFfRR0d22 O4db4/fLj73OGQXWZ/w/1naiKgNFM7knB6NantR4YxD/JFHMyy4MdlfOFLIqNw4xdHi50wWPgyC mpTGIRanTMVMey5gzRKVbo8W3cKKrLqVd7QE32Wttp85p7HF31OFw88+tehwJO7DjCux/FA7ZeG 7aEIw1mCLKlyHcXNpNOD8E2LykuEbk7MjmBNyzOjfR8BIdg X-Received: by 2002:a5d:5f86:0:b0:382:33b3:5f7d with SMTP id ffacd0b85a97d-38254afa706mr5547618f8f.27.1732208788259; Thu, 21 Nov 2024 09:06:28 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fb2679dsm49665f8f.45.2024.11.21.09.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:25 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 1FAF760484; Thu, 21 Nov 2024 16:58:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Anders Roxell Subject: [PATCH 29/39] tests/functional: update the ppc64 tuxrun tests Date: Thu, 21 Nov 2024 16:57:56 +0000 Message-Id: <20241121165806.476008-30-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42f.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 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 Now there are new upto date images available we should update to them. Signed-off-by: Alex Bennée Cc: Anders Roxell --- tests/functional/test_ppc64_tuxrun.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/functional/test_ppc64_tuxrun.py b/tests/functional/test_ppc64_tuxrun.py index 03b47e07f2..aee67f5e90 100755 --- a/tests/functional/test_ppc64_tuxrun.py +++ b/tests/functional/test_ppc64_tuxrun.py @@ -82,11 +82,11 @@ def ppc64_common_tuxrun(self, kernel_asset, rootfs_asset, prefix): drive="scsi-hd") ASSET_PPC64_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/ppc64/vmlinux', - 'f22a9b9e924174a4c199f4c7e5d91a2339fcfe51c6eafd0907dc3e09b64ab728') + 'https://storage.tuxboot.com/buildroot/20241119/ppc64/vmlinux', + '8219d5cb26e7654ad7826fe8aee6290f7c01eef44f2cd6d26c15fe8f99e1c17c') ASSET_PPC64_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/ppc64/rootfs.ext4.zst', - '1d953e81a4379e537fc8e41e05a0a59d9b453eef97aa03d47866c6c45b00bdff') + 'https://storage.tuxboot.com/buildroot/20241119/ppc64/rootfs.ext4.zst', + 'b68e12314303c5dd0fef37ae98021299a206085ae591893e73557af99a02d373') def test_ppc64(self): self.ppc64_common_tuxrun(kernel_asset=self.ASSET_PPC64_KERNEL, @@ -94,11 +94,11 @@ def test_ppc64(self): prefix='tuxrun_ppc64_') ASSET_PPC64LE_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/ppc64le/vmlinux', - '979eb61b445a010fb13e2b927126991f8ceef9c590fa2be0996c00e293e80cf2') + 'https://storage.tuxboot.com/buildroot/20241119/ppc64le/vmlinux', + '21aea1fbc18bf6fa7d8ca4ea48d4940b2c8363c077acd564eb47d769b7495279') ASSET_PPC64LE_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/ppc64le/rootfs.ext4.zst', - 'b442678c93fb8abe1f7d3bfa20556488de6b475c22c8fed363f42cf81a0a3906') + 'https://storage.tuxboot.com/buildroot/20241119/ppc64le/rootfs.ext4.zst', + '67d36a3f9597b738e8b7359bdf04500f4d9bb82fc35eaa65aa439d888b2392f4') def test_ppc64le(self): self.ppc64_common_tuxrun(kernel_asset=self.ASSET_PPC64LE_KERNEL, From patchwork Thu Nov 21 16:57:57 2024 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: 844714 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2393700wrx; Thu, 21 Nov 2024 09:14:32 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWBMugzxGTsfe4fCptvPdIVQU2uHfQB1SD/BuJaPGQ1MnOU07y3MHDbPrPKDIptsKtSHEGr+Q==@linaro.org X-Google-Smtp-Source: AGHT+IEpyaTzSKMkdcdBLPwXtwyQisKQgkSBVIs+lNM0TkgbtVB/bbp6FDAiOVWorc0ABvvoN8BK X-Received: by 2002:a05:6000:471a:b0:382:503c:da45 with SMTP id ffacd0b85a97d-38254b14041mr7592743f8f.38.1732209272162; Thu, 21 Nov 2024 09:14:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209272; cv=none; d=google.com; s=arc-20240605; b=jCjM3zvZYygOmGicRlq9DVkmPzgRuTGSJHTuoG0puxqMUYkoTGEeGzbESO4XNQtLT1 WVCbAsovMxypDJbiwUwXyqe4Iwt96u3l+JImr/5aJeAmEVr20c/ut7s+CXeu1QOVvhqi PEqpdMl2RyZeP4pltVy4WRwfFdj/Eeo0TlUc3EVsb6KmHWx9aBgq5DgB4GJdmsgkdrwu lBCK58fWQYIQHUoKyOgJgbksZUUiSquUSkergrZMpZrpPfwBsRXZ+yb4O8ov/URWiZbM +OKYoHtEPb8iXqXFZxkI+T+Jnn7EFh06bggXQ4gI8pRaXy3gxnNbh4GEZOtNIflsbmy+ AhGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=0J8O7B8rz7327JxRDKQglna3WLH/kEnovSnEWelS8Vo=; fh=O4X9R2Rw+8ZqGyJgv9RJvfohzEfB5HF9Op6l7pT1ByE=; b=CvK1/JgSiaDp+3ep2ZG226xixB3/yBU2VxmL+DpuIOSuvKRdECrIaupcfhyngrtkkM QVkzGwV33YHiOo3hxFGR1+0TxaDfwKSbQ8nL/xuvfP2BXSedDMWU2RWvGS5G5/8Kowmx mkeC/+EnREmUl4uXuBTz7Dni8GpD3XNl41z5OBh7+rLRVaSFN6LeyYh9WN29N2LxrVlT mv233cdUxpX1wulWx1krHu7klzwEyIHq66dOqnHMe8EmvjDdof+DwghXi3jEz14JmQJ7 Crzh9IJdD4Ww9a6ska0vB5YUScA5sSgQmeocOHW2FAR4lf4bqKwubsSyLyMILaqKfUE9 WkPw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=veXnaYiW; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fd55f87si32802f8f.499.2024.11.21.09.14.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:14:32 -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=veXnaYiW; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWZ-000650-Bl; Thu, 21 Nov 2024 11:59:23 -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 1tEAW3-0004xs-Am for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:52 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAVc-00089P-5J for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:48 -0500 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4314f38d274so13331465e9.1 for ; Thu, 21 Nov 2024 08:58:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208301; x=1732813101; 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=0J8O7B8rz7327JxRDKQglna3WLH/kEnovSnEWelS8Vo=; b=veXnaYiWzgjzje4yAgtma0DEN7ur/8pFV4kHUPFc1nhQMQaV7YZa4n58WjCeMurym8 zkpJv+u9bItCkhTGYtpJaV0nJDHPxqHsAjJH9d7UZc7WZvtgs7VVszWfk0G6l7JpvLJh /CFZ/2Yi4IjNcvUw1NwGYpEfxTc6y6pgvVHx9Ud5Cc8siNJN6aMHuTN3sZ+Dip5FVs// kOz9ZooKtvdBUSf3m4hGdsUPWwlcLJ4k75KZCjZGakuDuF/VOvPaiswrJPhp9xvnkglf RzhhB4MDEm/15bxEFQzcjVCFAPgqNrKeeVrOln90K8xb+T5FShlK36zizj6dUKValPY1 8hyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208301; x=1732813101; 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=0J8O7B8rz7327JxRDKQglna3WLH/kEnovSnEWelS8Vo=; b=R3qxcDUJTMJz/RG9dfFRY1037taGVB54SWC2ToyxT5G5XDlCwmlOjUd0d8p8oVwSK0 t31qR/PhCInyZaZi3vj/yqDbsIyQqoF1wYF9xyjug+P7MT2kJTq5PiF0EbiM750EGl20 uj2xhX7UWAk8RFRuCC3encLgMIEVrFRyhythtS/fidJLHOQ+fIfxmxr9Ip79Gycd2Q+V JiIIJElzyOMNkcS5aWAI/TbFu54D08BZ2V45//DL3yg4Arwe7LU/sED1VklnZD4+Slpb OCSGucwgH1mjQND7OGNXmifLWFhcA+VK1IoYyQpsHiINcs5R453Qlm6XxNZDg2d9E0ux jIpg== X-Gm-Message-State: AOJu0YzaBCNCGyF1lrEFotJDrPJqw8SeBzwblUK5u11bDU6Z2r/eaOpI fxbH/HPFOIUrtPs/mR2KzCeGPcMiZS7PpVZfxbNv7yhchtCKId/QLzEJXarcPMI= X-Gm-Gg: ASbGncsqAlocxLuZ5RS1HgL6WPsHVOYUBwgY8dOkH0i7bzKHQqtxXiUF0fmMMbBPaWU kmSMP8tLYtQvggifFx04mTnV/Sl+WyPPALJ3OpJT6jXdZg0lZ8H8diAn42oCp7vikq6h8t0DmOJ YcRjI/M4JT8xx7CzkE7HGFwPvNJBsJCZABx6m7Il160sSdVk/BDQsvoeUt3yXMF09axQ7BuPWLv O1yP5nf176UWfZbWI30PPseMkQjMKzWkfOcxQM3UGnXshgb X-Received: by 2002:a05:600c:3514:b0:431:9a26:3cf6 with SMTP id 5b1f17b1804b1-43348981878mr80507875e9.4.1732208301522; Thu, 21 Nov 2024 08:58:21 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b45d4dd6sm65367955e9.24.2024.11.21.08.58.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:18 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 36160604A8; Thu, 21 Nov 2024 16:58:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Anders Roxell Subject: [PATCH 30/39] tests/functional: update the riscv32 tuxrun tests Date: Thu, 21 Nov 2024 16:57:57 +0000 Message-Id: <20241121165806.476008-31-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32a.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 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 Now there are new upto date images available we should update to them. Signed-off-by: Alex Bennée Cc: Anders Roxell --- tests/functional/test_riscv32_tuxrun.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/test_riscv32_tuxrun.py b/tests/functional/test_riscv32_tuxrun.py index 49b57cd428..3c570208d0 100755 --- a/tests/functional/test_riscv32_tuxrun.py +++ b/tests/functional/test_riscv32_tuxrun.py @@ -17,11 +17,11 @@ class TuxRunRiscV32Test(TuxRunBaselineTest): ASSET_RISCV32_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/riscv32/Image', - '89599407d7334de629a40e7ad6503c73670359eb5f5ae9d686353a3d6deccbd5') + 'https://storage.tuxboot.com/buildroot/20241119/riscv32/Image', + '872bc8f8e0d4661825d5f47f7bec64988e9d0a8bd5db8917d57e16f66d83b329') ASSET_RISCV32_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/riscv32/rootfs.ext4.zst', - '7168d296d0283238ea73cd5a775b3dd608e55e04c7b92b76ecce31bb13108cba') + 'https://storage.tuxboot.com/buildroot/20241119/riscv32/rootfs.ext4.zst', + '511ad34e63222db08d6c1da16fad224970de36517a784110956ba6a24a0ee5f6') def test_riscv32(self): self.set_machine('virt') From patchwork Thu Nov 21 16:57:58 2024 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: 844680 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2383610wrx; Thu, 21 Nov 2024 09:00:52 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVeKafxt0V6KjjSQd2DHMWc4LAD6cx57+stZoAcTH4AQUxJQobugj5gGaFT6LCubziVR0/Qow==@linaro.org X-Google-Smtp-Source: AGHT+IF8XNEgorYQ2GgROzsMomsdB8MxenHMG8TNwKC8ipH4hq5SidRq6ye8PV8Z9vkL2UXzIUf0 X-Received: by 2002:a05:6122:208c:b0:50d:35d9:ad5f with SMTP id 71dfb90a1353d-514cfb79a5fmr8029026e0c.7.1732208452110; Thu, 21 Nov 2024 09:00:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208452; cv=none; d=google.com; s=arc-20240605; b=A3RE0g77WkGKU1STDzJGYMw33HpAtcTRYmE2osk8Nptzzwn5gEVs0tr14QMCoIwtWd jDbVyFFZytTcNX9dOchgSAYmzE/Cr2hNpdU+hndjl9GG2fNZTTNrUmGqVX2TETcAQBIK o1HvSjav4LaAMc4bR1KE4/1w2QqeT7ooSTmLgmtU0/GToKc/9XoWKvkhfksv+cGqBQOP f1Zrsz3NMwfhqaEgn4Atc40v/ccN2bP8CcezZGU2DYTXCJ8LRfQ5JC8VmyOPKSMnFP6I J1tE15Tiw6k92JYtQeMkk4bFll+/t6aop+s9sABKE5oCQn5V8q4INuNNOhwp1s9JHysk Ml4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=V6SxJES80JTPviCE8J9qJp14w+aImfeVkk90weg6pzA=; fh=O4X9R2Rw+8ZqGyJgv9RJvfohzEfB5HF9Op6l7pT1ByE=; b=lsgmg8qn3MgHzXzgTuasNpH1JhxIm0S+TA6Q+a7BYdGX1nvzjSCE2q8ultOy7JKGME qVLSC2mIDJscJp4Y1LNZclGwtlRfgpvxPR93QkY0Cay53yszURQ/mQQNDtWp1o/h5kWE RGwJcEVM0oLB9VEETTRpkX5F5wU7CCeMxeYLyLSYCqOU34Xj40kGCulQdErHojwKcmFo MthpbKVH2V8DVuvaqyG79xTAdMzy6kAH1s4wKzsbmMhniCiydguH7tqLvLluUb3R+VA6 2Dk59IM43bG2dAZ0Xiy0lAdOdPK/jbzCaiXzvyrZ8XXvOeUGhEVY7cod18enuqLdq2t3 yBbg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sB98wbr8; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 71dfb90a1353d-514fb24e8c9si16944e0c.229.2024.11.21.09.00.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:00: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=sB98wbr8; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWX-00063n-Ix; Thu, 21 Nov 2024 11:59:21 -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 1tEAVy-0004wZ-7T for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:50 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAVa-000887-0U for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:44 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-43163667f0eso9780325e9.0 for ; Thu, 21 Nov 2024 08:58:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208300; x=1732813100; 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=V6SxJES80JTPviCE8J9qJp14w+aImfeVkk90weg6pzA=; b=sB98wbr8XoWHb3Q9WP/XmucF5xQH4iF0fmp0hi/g9eLg0tcGe+xmR40HvD4NG5jMOx Im/mzhfNeP7bfoeSuj5j5uupw7YB+WrdyWctDZdrBZ4VVCrToEkESKD5P8LKo7LSRkCF NwARN/3FEGszL5zdcCVSjslve7ScObJsuEW3BLBOQqMRFIz6DfdlSCJYGQ9w2s7PXRZt XytiYyo3QEgmCkRmCQwMN/LI5zhfmDQt6irbDB24EWf9rhkbU4y1noJnw5u5o2ngzfI/ IxKTkFL1VQDAA7XfT3nEmyoJHHkx6X+WCWNJ2dDY7/9FuB+Mh6cBLjAgGbBao58u+0Wo UP+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208300; x=1732813100; 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=V6SxJES80JTPviCE8J9qJp14w+aImfeVkk90weg6pzA=; b=hTB4fs6J5F2uiXhOGIWg58DfmAA5DQcXrjQrko7L/deg39KDIMVOXDHTdB3jkgUl5v tCnX1cW5ewQcu3smBtnypqbnMYNJCuWEFlT1gKZUxIbxSesBU7cpPuIzbYzmJs23nVEm YfVkw4qEgQkiU/E+fMQucpAOzU6l7y+E1I8KdiD1khgC2109fZvNbhAo0VyCsbqPpOxj JrPa3hdeilKBv4p86DSlw9eDIIa9FLPwUoozzPReexxVzPvgvZxKl70oF+XcToX+XiOW Rl8BEXpEqDyV8opO3Z7mEwfwnVhxIDj6qWBzVDoOFXRZBHQIB5X5I+MErEvYkserHJiA TE1g== X-Gm-Message-State: AOJu0YyKpfUcMwqyp8UshoEChKxzrw84F8eZcG/3iNp41w1HD4ldZxCC 7bV7qEdXwB/+LIw5/VfmP3cjOtxekHLhkAODLErEepYJxMLnk8QOLav6zIvUtU0= X-Gm-Gg: ASbGncvIGqJOLGat3KUjkQ3i3hEZJVLTC8SbD7c5vDps7JxhbwaT32iE8pSlaa5VJgY EA3agqNyovuewp2nyJF8PRrRwUpHZqlFoBkxuQAL4KUKYXh4X4G+5eHXVgmNTGqs7AE35JexuZa auXEzVgORKqwW9UPkaD+u3FQ308Xp6+iuLttprR3TrcHgrxoqzwXmeFfx7T8vk+ZQquUjdjftXd T7EdPYGpkJe+CKr0XJruI+AOwW+oXJ/cfSHg75cCylJRDNe X-Received: by 2002:a5d:64c5:0:b0:382:4f6e:a57a with SMTP id ffacd0b85a97d-38254b18c73mr5959922f8f.54.1732208300201; Thu, 21 Nov 2024 08:58:20 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fb27386sm32297f8f.51.2024.11.21.08.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:18 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 4DAFA604A9; Thu, 21 Nov 2024 16:58:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Anders Roxell Subject: [PATCH 31/39] tests/functional: update the riscv64 tuxrun tests Date: Thu, 21 Nov 2024 16:57:58 +0000 Message-Id: <20241121165806.476008-32-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> 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-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 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 Now there are new upto date images available we should update to them. Note we re-use the riscv32 kernel and rootfs for test_riscv64_rv32. Signed-off-by: Alex Bennée Cc: Anders Roxell --- tests/functional/test_riscv64_tuxrun.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/functional/test_riscv64_tuxrun.py b/tests/functional/test_riscv64_tuxrun.py index 4e2449539c..0d8de36204 100755 --- a/tests/functional/test_riscv64_tuxrun.py +++ b/tests/functional/test_riscv64_tuxrun.py @@ -17,18 +17,18 @@ class TuxRunRiscV64Test(TuxRunBaselineTest): ASSET_RISCV64_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/riscv64/Image', - 'cd634badc65e52fb63465ec99e309c0de0369f0841b7d9486f9729e119bac25e') + 'https://storage.tuxboot.com/buildroot/20241119/riscv64/Image', + '2bd8132a3bf21570290042324fff48c987f42f2a00c08de979f43f0662ebadba') ASSET_RISCV64_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/riscv64/rootfs.ext4.zst', - 'b18e3a3bdf27be03da0b285e84cb71bf09eca071c3a087b42884b6982ed679eb') + 'https://storage.tuxboot.com/buildroot/20241119/riscv64/rootfs.ext4.zst', + 'aa4736a9872651dfc0d95e709465eedf1134fd19d42b8cb305bfd776f9801004') ASSET_RISCV32_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/riscv32/Image', - '89599407d7334de629a40e7ad6503c73670359eb5f5ae9d686353a3d6deccbd5') + 'https://storage.tuxboot.com/buildroot/20241119/riscv32/Image', + '872bc8f8e0d4661825d5f47f7bec64988e9d0a8bd5db8917d57e16f66d83b329') ASSET_RISCV32_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/riscv32/rootfs.ext4.zst', - '7168d296d0283238ea73cd5a775b3dd608e55e04c7b92b76ecce31bb13108cba') + 'https://storage.tuxboot.com/buildroot/20241119/riscv32/rootfs.ext4.zst', + '511ad34e63222db08d6c1da16fad224970de36517a784110956ba6a24a0ee5f6') def test_riscv64(self): self.set_machine('virt') From patchwork Thu Nov 21 16:57:59 2024 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: 844681 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2384054wrx; Thu, 21 Nov 2024 09:01:16 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVW/bC36gMCPSJcDjeTECr9lcAj1HL1SHUBzFgFhP9YpYz4rRiuTgkATQGoCgp8LTD5ZVmX5g==@linaro.org X-Google-Smtp-Source: AGHT+IFpYERJnM7FQG9Ba3DoEAck9LlOgigQg4PtIs8JCuoaJIDeHoJ7KcwMYOO/SsWM2Ow0knbV X-Received: by 2002:a05:6902:2202:b0:e33:13ab:52c1 with SMTP id 3f1490d57ef6-e38cb5ebe55mr8046911276.35.1732208476158; Thu, 21 Nov 2024 09:01:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208476; cv=none; d=google.com; s=arc-20240605; b=BWQ+Lwf2iTIwyHgU3ipzleaNdCkgX6eWR8Kd1scabOV2XYCOOUGlmTx9Xdvuvnz0ZE pi80G9hbQALsNgnNXi0daZBkrz/fBv6uSut6FM+D+5BOnJWT0WGRBS9XuyIzUbdX9Nwu 5icLqDBlERxKokW+ftd+J90xYFSJF8ufPJ7TQ4uvcp0b5h0kVij6fEjgXrA60PfwXydX c0efrTO0iKYqkOmbQwUKaq6Itub/CYCwFKRNedYixDDWWaGOT0DWq43Q+sXcKJp+Xgh1 EBePnmohNtjQ/WqBVHSsqRWEZVAa/Vd7YoLv/ZFY9aDckuKpYfNFeeQgZqXq7Ed4of1w SkJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=DKrSgwoOIB4OSiNtMwyKChP9Qz69Q67QpefEexGi4Oc=; fh=O4X9R2Rw+8ZqGyJgv9RJvfohzEfB5HF9Op6l7pT1ByE=; b=XhELHGsYEVFI7deD23kPjsW+p/5nig07Uy0TJpGCeopI/XulWgRoM5lUr4oRk20KRS WLXEF4ZP26EcTLke+5tzmA+okTWdlXdIHDQ4YgI8h1zhJbY+N7Ze2jvtlEmR18VJN2qL eFqw7vEUmdwB6VALtNk0EVwFulA2hOtnCQV3Utfer1GKZ77wBY/OTMzoht+M58pn9Inj Br73edvvDTfszH1VR3ImQVp5VwARO1ykpsHnTaewboxZiG00VEsQCP1wF6y4XztvFB6a uvDGV+p13O9zIsEftHCoYPbh1gE/3dxOhDuUtxliNujVc39uknDFXTXNE8bwmFhidSJN obnw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ebjAlxAG; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 3f1490d57ef6-e38f64aa5c2si74226276.550.2024.11.21.09.01.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:01:16 -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=ebjAlxAG; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWW-00060b-T4; Thu, 21 Nov 2024 11:59:20 -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 1tEAVy-0004wd-9l for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:50 -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 1tEAVZ-00087Y-Vy for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:44 -0500 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-431688d5127so9120145e9.0 for ; Thu, 21 Nov 2024 08:58:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208300; x=1732813100; 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=DKrSgwoOIB4OSiNtMwyKChP9Qz69Q67QpefEexGi4Oc=; b=ebjAlxAGwzwKtcWnYogBE6Kpd5q88FB6VIwRiM8EI3Ofk8RARqwCLjaNcYjgevqVTl Iu5r5+Khd4RF6NLpXKsTKfPyf0LXiVsGNJy7gpfC67R8vc0OMyG4FJ0gMttBI0vvkLM5 Q2mOUtCC7/oT/EKl6C/r0lxxJBVfB1UBYceimI2psh10EqIpeq7n4ACfUYQ0vbNOpGDW /hidDNvPm2+X8c8xVpNw6k+8QReQmYtIigGHA4ZFHp43EOMPa3vbuwFMC/X/3pp58FJW nN0u07SkVcLXBz20Kuc+gg4LJRXKVgmBFJi7wRz3563c1TUauA2GcZV6fg4ttAt2g9mm GiMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208300; x=1732813100; 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=DKrSgwoOIB4OSiNtMwyKChP9Qz69Q67QpefEexGi4Oc=; b=Q8XcII96G4myDFPYubLwYvt6Wfy3v8bIi1nszNsJcAqd2xLBJKoPKnYkjxatfvcgM8 bvBKkSg8fPw8J2rNyMIHZlyNAfwHN0nuTl2q8RuQcxacss1n8/Fink37hFCyQu5vhkx2 oUYjq0RT0/lewcWC6toWVh5nP3c5zfQKMGaSX2MhI4MUBT54MH1MuW0JSCxKalIaNnfw K3dsUX4FrVGyo1H+TExCEZuuFUZlwa5kNkTLx7rZZtU8pHHyG1441QPQeM4PmGUIxmbj vlBK1L6I+yya1LFCx6NJscqooca/QUzSP2R92JFr1/52UibNZYpK8kQ5NrhoFr/NJo1j rlFg== X-Gm-Message-State: AOJu0YzIgTQbSR9XFU8MPjkTbFDywVzmmbfbthDVeffPMK1Jl1FBsxib QsCVQ+uUZOnNgL8SHOgkbPcbUVoqE/NdEr2+siGNG0YfqwogZIJVQ8mwNWFkzf8= X-Gm-Gg: ASbGncvbA7mSya796Ogr7NnE/t8nm/rARU9cNU/MQWQxTMjNVwY2QsFnikCkkEcGzaP uhqwxg6x0zwdJ37Yw6lILR2mUsXD3RkCnFS0DVEf0dZjQzV6TDQNRRsbPQK0QCrn+2guKoDWQle LkgLymShofuB/SSITsiglq/NePEYCsA31eMTRJxKwFZsMKJWOh9TCmwYxUaVOjU4a5CL/lGjIC3 bFXk37jgXOOfZ1EjerRcKndYznja/0fEi1B5fUHJN3cumIp X-Received: by 2002:a05:600d:3:b0:433:c463:62dd with SMTP id 5b1f17b1804b1-433c463659emr45431445e9.27.1732208299880; Thu, 21 Nov 2024 08:58:19 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825faf9829sm26910f8f.31.2024.11.21.08.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:18 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 613005F940; Thu, 21 Nov 2024 16:58:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Anders Roxell Subject: [PATCH 32/39] tests/functional: update the s390x tuxrun tests Date: Thu, 21 Nov 2024 16:57:59 +0000 Message-Id: <20241121165806.476008-33-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-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, SPF_PASS=-0.001 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 Now there are new upto date images available we should update to them. Signed-off-by: Alex Bennée Cc: Anders Roxell --- tests/functional/test_s390x_tuxrun.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/test_s390x_tuxrun.py b/tests/functional/test_s390x_tuxrun.py index dcab17c68b..a7db4bfd84 100755 --- a/tests/functional/test_s390x_tuxrun.py +++ b/tests/functional/test_s390x_tuxrun.py @@ -17,11 +17,11 @@ class TuxRunS390xTest(TuxRunBaselineTest): ASSET_S390X_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/s390/bzImage', - '0414e98dd1c3dafff8496c9cd9c28a5f8d04553bb5ba37e906a812b48d442ef0') + 'https://storage.tuxboot.com/buildroot/20241119/s390/bzImage', + 'ee67e91db52a2aed104a7c72b2a08987c678f8179c029626789c35d6dd0fedf1') ASSET_S390X_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/s390/rootfs.ext4.zst', - '88c37c32276677f873a25ab9ec6247895b8e3e6f8259134de2a616080b8ab3fc') + 'https://storage.tuxboot.com/buildroot/20241119/s390/rootfs.ext4.zst', + 'bff7971fc2fef56372d98afe4557b82fd0a785a241e44c29b058e577ad1bbb44') def test_s390(self): self.wait_for_shutdown=False From patchwork Thu Nov 21 16:58:00 2024 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: 844707 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2393078wrx; Thu, 21 Nov 2024 09:13:34 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXAhHSAkJVqyXNy/LjND8q3FdUBeOuM07h5j+JMsL7x4aZ6Mhv/LLx6v66+KXTJygG118asmA==@linaro.org X-Google-Smtp-Source: AGHT+IHya8HUqkNTbKI/OM1E8o5rcCaCOglB9DjMHfiHLDXtycZkEYTASbaYaqVR1iTUDZc1whZ2 X-Received: by 2002:a5d:6489:0:b0:382:3816:f50e with SMTP id ffacd0b85a97d-38254b01219mr6513371f8f.34.1732209213884; Thu, 21 Nov 2024 09:13:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209213; cv=none; d=google.com; s=arc-20240605; b=ZTKXvThNaRqQr+qM/nG+oBgiielrkoK/nR2TrXaoFKoAzRqewNY/Upq/QkvE/mGQ5x sweDVt4EbY3u1h1cdQ/y7xGF7/m2ytnNQBjYSJM7C+1+U/FnZ2CHQ4qRTi8COlx5xRq3 gQ235jILnoUdIRvJV6EXkjyPMYqnnrfEdx9uA+fjeo37WKwxSETgx2A5loBXUq0zD8Cg Mc0MgV+DsmuUvTTL6NYQQu8Y5fmCPQ9ZV/YykIjoY6eVBMbwAzHYvHtoEepFAXwBxVz+ qnQDN/DbxWmC3kk0tLft7J2AHauvQtg81wU1ZcqmK8zaqQn1gHXzUSBl5rA57wHhPm6G SQ3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=lKSlp2StJiDHmkXzo7470MDoOcCvf0WQxR2JFqIuwaU=; fh=O4X9R2Rw+8ZqGyJgv9RJvfohzEfB5HF9Op6l7pT1ByE=; b=HGj22Vg6ci8BArBy06H+3GtBwpsyjeDS6VgeBspMfTO5LQb04Jo4DCxAjR0SELcoua DE3SDw36Qe4T64bs9sG2Ru2ZNo7N5FkqVTspxGWOg9hxrsDg+BVhL4+cHYFLllJFO27R miWMKNEEsuYMGiidEJtTQrc5dco1OxcrA/7AjHTaHKs2aLCS+L5/UJo9pMU5gX4FNzX8 Op65BnCaHJBeygIowzGOyiujbXZRbZiAhBfulOUyhW/6e5IPGHNSMyAIPrlL8DxZGto1 K4DdohavrbJ6lsGqjh7wMhonObQcW8Qvb15/4vmpAW/RHY2y4AEr3JUqLadvR+gQWp0Z E8NQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RmnxEn99; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fd277ffsi30754f8f.442.2024.11.21.09.13.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:13: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=RmnxEn99; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAfQ-0003MG-Df; Thu, 21 Nov 2024 12:08:32 -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 1tEAds-0000iS-RK for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:58 -0500 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdU-0001e0-Kz for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:55 -0500 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-53d9ff92ee9so1185275e87.1 for ; Thu, 21 Nov 2024 09:06:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208790; x=1732813590; 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=lKSlp2StJiDHmkXzo7470MDoOcCvf0WQxR2JFqIuwaU=; b=RmnxEn99mgYdc/9UfQyjYZjqYetXA9btr49kj9BOtD4fhcqhiQgivlluSejKtkwtIF nv2YpFG6nQKYD8CxsZD4ZepIYyQgzJh2k5tLUH7B8EefivN42HReVzDBcNKJWDwarlOf N7AzpJETTegMceqW6PYi29Xx/QMmR/HbqltbTPYyksxY4E9iwmnos9kHvI0OisLP6pG+ zzBRpw8hL3cMVs2xyQxke6FHwBLMdRJqYhTG78BN1ejAnXqlBl1mcVrLMlIPnW57Uq/0 /FQetGEE7vio8fUq94ZNYN3rjjbhkkk6TGdcF679dKlKeuENQuQD2pYsnH99QwscoLSg pRcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208790; x=1732813590; 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=lKSlp2StJiDHmkXzo7470MDoOcCvf0WQxR2JFqIuwaU=; b=WFSa6J4sPqV0q7hBdHWNVexuUMkBv4nfNnA9+o2LkVNHbhaxSiChlJXg7sJ1SdRMj6 87dB8klOulIEQU55InRmEr/GhoaVdOjhtB8SBjBHcMdy8jrQo44mWk3u3+oIKUDtR5Kx te+/TO6wQwiGWInBMjkvOP8e5MHMk7GhvZGcXz6Wq+Uwr1oWCww8hSphN5oMeWYd+m7B CjzFI05tzmPYagFNq1rJh1hypEWUUEgXQzBqWO5Hc6pp0yeKbFWxDK8ajTsDZ5J7nAiP EAPqziH0VkjTbEvvOSklKbDTHIFcQprSf3/tFY8KU3dkNskLlompS9KXFksq0PNrq6U2 1ECw== X-Gm-Message-State: AOJu0YyCcdHSPj54EXjElfU2nIkz8qLe8l1KuNDSgbb5Rxk1ZGd7Jln5 0eTTrKjO11TBz+LGRH7lyCqhjDC8Hxzy4zP0T78TPr6g01pnHfqiWOFA3Zbp/lg= X-Gm-Gg: ASbGncvyY4XnMuBj7v+07AcZX6X7pYr77EqkfHJfZLwR6v31tV53bsQOt7X+rzy/Taz LkE6ahXT7q2o87PAwcR6lcG5uDV4usrNN1PCLs9VZZm9b3qEplpIV6O4qhwNrWBslxcDNh/HGGd ubZGNokFTlSXeMaEtCv0bwD2Ds+9ZqsHT2HZJLiz4IVlECCGg8VVwco0NfBsBeALZkrUfh8joYW urZ9lOCxdU5uB3ZlRvsFfzhqAvg4BX+KCr3MYtTp3dqAIWq X-Received: by 2002:ac2:48ba:0:b0:53d:9ff9:d63 with SMTP id 2adb3069b0e04-53dc13291e0mr2757628e87.2.1732208790182; Thu, 21 Nov 2024 09:06:30 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b45f5c33sm61927565e9.10.2024.11.21.09.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:28 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 77C8A604B6; Thu, 21 Nov 2024 16:58:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Anders Roxell Subject: [PATCH 33/39] tests/functional: update the sparc64 tuxrun tests Date: Thu, 21 Nov 2024 16:58:00 +0000 Message-Id: <20241121165806.476008-34-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=alex.bennee@linaro.org; helo=mail-lf1-x129.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 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 Now there are new upto date images available we should update to them. Signed-off-by: Alex Bennée Cc: Anders Roxell --- tests/functional/test_sparc64_tuxrun.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/test_sparc64_tuxrun.py b/tests/functional/test_sparc64_tuxrun.py index 1c2c005630..3be08d6102 100755 --- a/tests/functional/test_sparc64_tuxrun.py +++ b/tests/functional/test_sparc64_tuxrun.py @@ -17,11 +17,11 @@ class TuxRunSparc64Test(TuxRunBaselineTest): ASSET_SPARC64_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/sparc64/vmlinux', - 'e34313e4325ff21deaa3d38a502aa09a373ef62b9bd4d7f8f29388b688225c55') + 'https://storage.tuxboot.com/buildroot/20241119/sparc64/vmlinux', + 'a04cfb2e70a264051d161fdd93aabf4b2a9472f2e435c14ed18c5848c5fed261') ASSET_SPARC64_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/sparc64/rootfs.ext4.zst', - 'ad2f1dc436ab51583543d25d2c210cab478645d47078d30d129a66ab0e281d76') + 'https://storage.tuxboot.com/buildroot/20241119/sparc64/rootfs.ext4.zst', + '479c3dc104c82b68be55e2c0c5c38cd473d0b37ad4badccde4775bb88ce34611') def test_sparc64(self): self.root='sda' From patchwork Thu Nov 21 16:58:01 2024 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: 844689 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2387978wrx; Thu, 21 Nov 2024 09:06:00 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVW2AihCINMone+cEFPi3wiLTU9Mel9vRhUJjRXlE7Yi/Y81ijbRY3r9aQDZaBDbFp3L1JCoA==@linaro.org X-Google-Smtp-Source: AGHT+IF/A0uF65qhJci0Bqt4bl1rfCssach9gPc68T0kcT8mU/A1a1ABWiomjQd3/RWo31KDqFOF X-Received: by 2002:a05:600c:a06:b0:42f:8fcd:486c with SMTP id 5b1f17b1804b1-4334f02a5f5mr59733885e9.33.1732208758815; Thu, 21 Nov 2024 09:05:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208758; cv=none; d=google.com; s=arc-20240605; b=fOuWMkzKXDr62xe15/5QCPCrTpaIP2QHEaoZ1GD7LRAFmbBWmFRTdqNi8gqjilbAEN QmL8Nm0YfxxMprVNDuaWLhiGnJuJu68GGC0eE1aRCWo2BfCZp4/fVVWv1jNOujFmr7A1 enJOlhpXQTLYwiU8bthbdMil08e0PrW5Z8hKNNwyJ1cepOg7tMxsY93tCxEXXGV5Omxg Tm3D/fyELZNCeIsYYrzfgMBqpi/MmJheepEihf6ucgJFykeCsKrM7IFubZRof6SVymZb +J8ylQLw7KXgVT/tq5jKi0LMzJOxeyNfFvahTOXjn3tqTJKPP6utUTBzO08ay/g8wRd0 4hMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=oVOduFNiYSGefBbOFbS+1jp6t89niUE1m09Jm4dirSI=; fh=O4X9R2Rw+8ZqGyJgv9RJvfohzEfB5HF9Op6l7pT1ByE=; b=ArFTgNgL6cmDO7++L8GUdtfM3WVGP4WA9BLNnz8Xoi2RRoDD3IAc61gKuGBWGi0g8/ QUCCZV47kzJz6rzcogcr1U3WtU4ihTgrxpPtFoAtj0nq47aXr/LYuQt/qmb8QEvNcq/s ZbMok3UicN3MnEHHnAYzW04ECyMUesVJpdmBr1cGBK+5jEsGHpX6VBWzVcAY1J2LS41n jfX7fFvG6x4Q0c+OCd3iZ3HRlhKyVKVS+OxKc0KzLf2UDpMXgf+/NzgOcdV8boKfnPfc jyJySD7tRx0irxuvf+36+cRNXVKbctsU1ZBVuyjosAb7XYDwp11menMr7fjyRoZr2Tlz RrYA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j2ySktE1; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 5b1f17b1804b1-433b01deb5csi27035585e9.57.2024.11.21.09.05.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:05:58 -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=j2ySktE1; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWO-0005V2-30; Thu, 21 Nov 2024 11:59:12 -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 1tEAVw-0004tw-De for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:50 -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 1tEAVZ-000879-CA for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:43 -0500 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-431548bd1b4so9614165e9.3 for ; Thu, 21 Nov 2024 08:58:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208299; x=1732813099; 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=oVOduFNiYSGefBbOFbS+1jp6t89niUE1m09Jm4dirSI=; b=j2ySktE1jhYo1R8NzQMO4dm2OzZm2KTAdM9jfyCOe8cKF7rQrGpQG4b8aWX41shvYt f/sFweJzT1VBlyWXLOjes1bfl7Fx2dS93GgwcZLg3Akfrd4+8g/NxfdabipKeT7fkF50 uUBcBX+C7My1SRDdIH252sLWNFJTaRSeOMa4nf3B3A+1l0gnrMdgJ4kaj5VMecBT4aHf 0LQV5U2zMOu2OKypbqogu3Bl9e4/BMkZ8Axt451/nQ7uG8TFQmwimAicA0IkJi/kNqvc M4x31jr0rdQlrZ4esraNI7VzbaknHS0Hzxr8RXUYSpoy5EdYmNdmUF2UhuZD1pPHUjdO H6Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208299; x=1732813099; 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=oVOduFNiYSGefBbOFbS+1jp6t89niUE1m09Jm4dirSI=; b=GK6XNDTITYtEB50FbKL7c1AAfWAoATWYo/eqKdpGQSkXKfLmaesT1ARhuGNh9W0oAj Sf5JEmAbYM+zbCt0YhIvi7463OCxaxNo1g6gGtHNLwPMdRKffTACcHIws2W6OwblhrLt hqvTWriivCL66jYp3T+xzQA3HV+5av7g6a9/hCF4QY6F+E16reeZlc87UrRDkhXSN/Ka fxiyacQjnCKJyXe07NBfcZo20tgkr5LU5fp6sB2rHrY51ND1KP5EQ7DXSGOx900Kf637 3kw/0CDWMVz0QrAeV0/A9QzkyULJXnOa34BasgKbLW6y//K3jwMKCG9qUAlapfCwD/LG 9DlA== X-Gm-Message-State: AOJu0Yx8lHxzZ7mayoFDcZSuPgx4kTmJcpVbl+OYP9CIFkWQI6wybxX5 a1mKWIXE+43Dob/GTAlZgX/6UAzX7POfAweiVULZbgKb59S9UzAKQNE7abXubRM= X-Gm-Gg: ASbGncsb6kU7J44zwKJlRMb19OE+P0IzHsBAjkn9XwNzvf0i/wEok7bnLHR95kNvnM8 e9rZpe45bi5IIuT9zHbx2UJy/WWCjyVzQAI/rcKCYt9My90oi12nO9Yop1uS8to1kJtnFSRemZG /dOVWOBMBROoMapvVWv+RjpjkldtzFfZHe/KbaMgvHkY8ml2a1F/FhkjnfQKhj3hwRbcGfo/SbL apVV4A19nhMHJWYT2wFhVzPyTT0l80Zkd6zCsRChk7WvzzU X-Received: by 2002:a05:600c:a06:b0:42f:8fcd:486c with SMTP id 5b1f17b1804b1-4334f02a5f5mr59380005e9.33.1732208299513; Thu, 21 Nov 2024 08:58:19 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b45bd4d1sm63017515e9.12.2024.11.21.08.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:18 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 8C376604CC; Thu, 21 Nov 2024 16:58:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Anders Roxell Subject: [PATCH 34/39] tests/functional: update the x86_64 tuxrun tests Date: Thu, 21 Nov 2024 16:58:01 +0000 Message-Id: <20241121165806.476008-35-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-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 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 Now there are new upto date images available we should update to them. Signed-off-by: Alex Bennée Cc: Anders Roxell --- tests/functional/test_x86_64_tuxrun.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/test_x86_64_tuxrun.py b/tests/functional/test_x86_64_tuxrun.py index 4f96139871..fcbc62b1b0 100755 --- a/tests/functional/test_x86_64_tuxrun.py +++ b/tests/functional/test_x86_64_tuxrun.py @@ -17,11 +17,11 @@ class TuxRunX86Test(TuxRunBaselineTest): ASSET_X86_64_KERNEL = Asset( - 'https://storage.tuxboot.com/20230331/x86_64/bzImage', - '2bc7480a669ee9b6b82500a236aba0c54233debe98cb968268fa230f52f03461') + 'https://storage.tuxboot.com/buildroot/20241119/x86_64/bzImage', + 'f57bfc6553bcd6e0a54aab86095bf642b33b5571d14e3af1731b18c87ed5aef8') ASSET_X86_64_ROOTFS = Asset( - 'https://storage.tuxboot.com/20230331/x86_64/rootfs.ext4.zst', - 'b72ac729769b8f51c6dffb221113c9a063c774dbe1d66af30eb593c4e9999b4b') + 'https://storage.tuxboot.com/buildroot/20241119/x86_64/rootfs.ext4.zst', + '4b8b2a99117519c5290e1202cb36eb6c7aaba92b357b5160f5970cf5fb78a751') def test_x86_64(self): self.set_machine('q35') From patchwork Thu Nov 21 16:58:02 2024 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: 844703 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2392587wrx; Thu, 21 Nov 2024 09:12:45 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUC+9qp5npaI0u7I+Zi6E1d17IRwBUeH3KKybnzcTW153vxaJ5TvuIjyJUPvjx6L6/HZdtoXA==@linaro.org X-Google-Smtp-Source: AGHT+IEQ6+G09zdGB3qDUaUdunHKX1TcBF9VNnzkn542YDpY/1SFmcaR5BqizruyPUp3wXy4g+ip X-Received: by 2002:a05:600c:a401:b0:431:6060:8b22 with SMTP id 5b1f17b1804b1-433831660f6mr74766185e9.10.1732209165647; Thu, 21 Nov 2024 09:12:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209165; cv=none; d=google.com; s=arc-20240605; b=PMs5VHomzSV86SgEoQQhPtaN5rsMuMDHsVg7LpmOwXmcdhE3bKW3xlTY4WpMFs+nrx OxHtdiwyvB+JLRc8Rzgtn7ZYPNHlOIAM1qi3JUmZDCUdBohJDwFtRKF6F27N5CfLWhe4 3oWc0B0u34Gj4w9bTYPhv5z1xSqQM4jv2yMNHdgNT7w3Pzq2mbH82IcLfrzRq1iZ7wA/ 63goCpLUuPCJurF50JvZ3W/ZwsRoGaCJ8a4x6pWsD+r9tikvpeBtvkGQYIZqa+jyPJ4n I/fyXirVCuUKnGLvkjprvkyHeTB5+8+iPpb1kDb+B2/kmIq/dJcfZr9WZoID243C2Vs6 FZbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=idIcVKGpYjCDsx+KcIa06gkN9HyuOLEg0Ymsw5Q1ZdE=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=KVv53ZgUfWH0iI/CrWbVhbWEdMhzo36HsoThacYniX17RRlfcF3tcPGOlOfL66YFkY 3AQT33oVLssMI78NCtbd/DeID4QkkRcakfUxy1DKqxHrPjJQzbgi0FNNLpSDbiIiufwC YVDzfjJQCgkFF9if/clx3BoODpBc3lOJMgVyYrSfLrqUdoPy0oCiGaha1E51Nc00a4XE yO/iDLe/ACOLNIVrzZFCQO7a1v5UVLx5iaceC/dFu9EYIZwpOd5DtatkUMuAz3E5c3na lNRME6YP7Ggi5EdPZa5KOIT0HJUyHzMe85J1s1PSUBNmPUuNhTOTZ4hfA3Sw11QjhIiA EQ5g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r782XFJH; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fd55b18si31408f8f.571.2024.11.21.09.12.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:12:45 -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=r782XFJH; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAdb-0008EB-51; Thu, 21 Nov 2024 12:06:39 -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 1tEAdY-00086M-Fo for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:36 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdR-0001Zq-1d for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:36 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-4314fa33a35so9589595e9.1 for ; Thu, 21 Nov 2024 09:06:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208785; x=1732813585; 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=idIcVKGpYjCDsx+KcIa06gkN9HyuOLEg0Ymsw5Q1ZdE=; b=r782XFJHMgK5HGG2p6y6i9+BHtyGGe+0ub3KPDvw46HrVpzBG4aX8lZxtGnR7e8c9M h6eaDAxGr+q27dnR05IqXe3M02yQHdvqvy+P7vhT+H+nFxqYQYkIQQ3xLSZa/0olIsa2 ijwGRpDWeK4y7A6d5mC4rkw6tBDGYUlSHrgcp04v5UWyBfAQVGpnYfbLW8/irLdGjrv4 fShYbpuPJaEA358oBB0hWwsIt4eOJGnuQEEiNYYdBczmpD/G1JzUdy43KDu6wS1C9+TW HQiAzSWsxwVjEgk+FD0sUwrMXUZsQCzfuhAkJKoIe2t0SyFSlqUE3TudGf7yUh7qqsZq JzKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208785; x=1732813585; 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=idIcVKGpYjCDsx+KcIa06gkN9HyuOLEg0Ymsw5Q1ZdE=; b=NAbCWn6yvkxDxLL+GCN1Y+BRCjdgSUwwh8GbQJOnWP2aTN3ZipPeBoliLAxA+ujFcH C1OAnH0aJm9J8GxJkkpFV/Q2RQlnUIodDL4jtvGG8Sqnqh7mUgubqQjhCB3lSEIbSwG+ XosOPhfLSvCb8vUKeDA6DE/LnqBASywGcbpIrhaRTrwmjHyoBdt5fzzRykQNfgrXRUdF 7xXlJ+lQNFeJVtTngEhscn58shIFnPG/o5njQlQwuhVxX6U3NkrKazS16EltwtNp16cg wxx5kMV8Ws8X4IqYzpukX4uqIqVg2Za5BZc3T+KvzdwzCxnasZ7/dWXd2LFrRJ6djrqH vmVw== X-Gm-Message-State: AOJu0YyVzVoUa2OqGZou7XvmCYhTqmKztwdie7zIBTCfFkOGf7PgT3jE rPcHShYdVmlCm2/oldMNtHnT3+UWKjVhykWD5Utszdr1kq1Zgy2qAXG2dDFObbY= X-Gm-Gg: ASbGnctXW9d7Rhdeckb4qSNCCjz2SmvJpUx7ftLJNoOmM5KtcSymXQarfz8UcWCVQcd M5pz6QdxEB3SUN8YH5uaQjIIi4KuCXW6JeyMBX6K0N7WiYCvLHVjgWoFH6hFq1Sg+rAYGwOGWK3 x/6jUXEbJLLUQfxEwpw5gWuap0qqlK+1jrSSe+8xVfqxw2Fp+W+kzwTYwlkX2r7rXp3GN9R/v7a pcFzhfcukgoSjlk1d+2BkJhl2NkWdG3ovIFWdOFQcXgfDLP X-Received: by 2002:a05:600c:c84:b0:431:5ed4:7e7d with SMTP id 5b1f17b1804b1-433489d4d91mr68172095e9.18.1732208784265; Thu, 21 Nov 2024 09:06:24 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b46172d5sm61230635e9.23.2024.11.21.09.06.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:23 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 9F3BD604E1; Thu, 21 Nov 2024 16:58:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 35/39] plugins: add missing export for qemu_plugin_num_vcpus Date: Thu, 21 Nov 2024 16:58:02 +0000 Message-Id: <20241121165806.476008-36-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x336.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 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 From: Pierrick Bouvier Fixes: 4a448b148ca ("plugins: add qemu_plugin_num_vcpus function") Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Pierrick Bouvier Message-Id: <20241112212622.3590693-2-pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée --- include/qemu/qemu-plugin.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h index 622c9a0232..0fba36ae02 100644 --- a/include/qemu/qemu-plugin.h +++ b/include/qemu/qemu-plugin.h @@ -803,6 +803,7 @@ void qemu_plugin_register_atexit_cb(qemu_plugin_id_t id, qemu_plugin_udata_cb_t cb, void *userdata); /* returns how many vcpus were started at this point */ +QEMU_PLUGIN_API int qemu_plugin_num_vcpus(void); /** From patchwork Thu Nov 21 16:58:03 2024 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: 844687 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2387430wrx; Thu, 21 Nov 2024 09:05:19 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXxfmWqxkQeSZXdDWQnfIgrwG8oLO7J6M24IXIFAS7252NB0XkPR86wo5AQgVlF2P4iqzoHnw==@linaro.org X-Google-Smtp-Source: AGHT+IFkgSq/9EJHgorJ4xcwrktzbM31VgbrLy4jK5vONJkBXOwsU4Xprftg7jK4AkUs3MkIfP6J X-Received: by 2002:a05:620a:24c7:b0:7ac:a9b2:9374 with SMTP id af79cd13be357-7b50c11a58amr679579085a.4.1732208719266; Thu, 21 Nov 2024 09:05:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732208719; cv=none; d=google.com; s=arc-20240605; b=KBT3BbKvQUjXU/UMHcnch5p5TKJzfo+1yLV57PXP0N56hsOVXJppcrdmFKSeX0UqCy 9rBUNpxUGo6MkK4lOj0A5gLQrAceM3DdtmA7g3b75g9wm5pRY00R4lcEdlPfHjMG8C/9 c3SAUAqioMhmJvBEQo8Z7LFx8m8LjWVXzD1EN7Pnrc+jjvpzSZSf71LJNTWLQ5RPlVq0 wZPilEcBDTXlk99OF4ryNQOLByrPSsa6wDlZRlVDl1xn79/msl+vS/f3k6muCjY0Rq9j hC5zud5gUj50gFQlJL+/1eLoDn7YJti9lqKO3eomgSJXstUUgBT2VRVhjusT2vMeyySg YKEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=O5sQx390WX16rPflQuG3fyG6MjkwMEEP336vMFADYxQ=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=FTVct10+QlkYQXwtT4Ne9Q6wy/lq3ZcR9BQmwdSZQ5+npuaGLHz+wyU+OQfxFFM2th pu7PFgTF2xbQJkQD6cpRaA6u9T6G05bODsmgRoNM2KksvIE+yWxqYV/KuzxmY9Urnoz0 JR4M6zaR605yqjIWMR8rEOK66W1cX4/7kj5dKMZFn4Bei/BusxB9gTWp8RKAX1T0zVxg u8WgE76o7zimim2NlL+bRngZtIakGJVaogAeliAgR1wptq1tMWBGRQ9tXFv5KTrlzXBJ CgJZKPlXFHinVkZAOzBxNbyKymx6prM8VULFizeGTfdnU3GEUj7AnGZU8PD0+zxHCQ3o O6eA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hx3hoKQP; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a1e0cc1a2514c-85752704464si1176611241.121.2024.11.21.09.05.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:05:19 -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=Hx3hoKQP; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAWY-00064M-H9; Thu, 21 Nov 2024 11:59:22 -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 1tEAVz-0004wp-Jn for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:51 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAVa-00087j-6P for qemu-devel@nongnu.org; Thu, 21 Nov 2024 11:58:46 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-43162cf1eaaso13465235e9.0 for ; Thu, 21 Nov 2024 08:58:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208300; x=1732813100; 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=O5sQx390WX16rPflQuG3fyG6MjkwMEEP336vMFADYxQ=; b=Hx3hoKQPrKAAoMuIOAFw9kY/cLrwerCMRpc/3QQMpQxRQgqV/QzWtR1qnkCOz3qOe9 yapgCs93EnOqH4bsakisVkA2l/jS0xKQrQqZvzDvQr4gXZQt12SU+/1sssyN3i/Lg3ws LlEdBOAlB4yh3niXPWjskp6JCFwD1gvk46TKjjx6lw7P9IlOD+QwaskY9g9DfYcN9A4n GgHijXXAAyxLUfRbDtIVlTUp0+5SZItUBTU9I5B42mwuCN776vXFTnS6baIB6q9TSDPL sAgrRWu5aPjeVgplJ9IRuNfLwCdaLw5Ia6lNnNmxs4f2GFjMowJzXYBOW0GYSW2PKMuO w0zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208300; x=1732813100; 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=O5sQx390WX16rPflQuG3fyG6MjkwMEEP336vMFADYxQ=; b=TNRitoo/6byWjJRu+vPK4AMSfZVxm6T8U+H9PGXfIulR5FZioitVOSYM6IHzfmO672 pBpIR3+cBflUyTkwfx8RMNumpXpN/9x8a9JYZ3MQf8C5k9LVVzqWn9LqSSLKgYaSjmab pGhknY75igKRBfSyevB2qJ7gD5CF+SYu0r5xfpQhZGPmRp2pFckbLYivZaxSTaZnrH1P Gi7HZwEgN86yA3ph4L76GQM9wsqNTCfp/rpm7ehAqAMtmc+cJ62HMn8T7qeQ4PxBa3/1 XLCjmYYkD/K7fdPcWdIcd/2d1UBtTi5H+eqaGs+VJGsAn39OO3jXYV6iikxw99FIuSAZ N6Vg== X-Gm-Message-State: AOJu0YzBcHVuMI2B8/YIPvS5yOEDD/dl8wn2OMAXNtDbqLdP/SPEJoz0 VKfa5tz+VJkQMPvVDDvXJUB5cL8xZJNuPQL58g6MqWJ1oyf74Hxzo+pEUv1Gutw= X-Gm-Gg: ASbGncsWO3H7lSvWxA6+58Do6megkmjc4LGuSh0nsoxqJo+fZO5iWueDdYVlG8ieMWL 6LgVdyVpwJ+yjeGYGR9kn++AxtTieJMZdwnbQ14tOCn9eB4CITiKdXEcbNCL07gHZ+XghWBEBIt kTAoX4VYWIjocn+u+mTkomow5kesZIWp3QHyNgXar7EsENu3ltvQxMpIQsfVepWhIYpB3m8uAmf SnNHv2UmUyIvYdwHz0BJ6nC4jVk1D/rAkzO8hTmEXDA0cv+ X-Received: by 2002:a05:600c:3514:b0:431:9a26:3cf6 with SMTP id 5b1f17b1804b1-43348981878mr80506225e9.4.1732208298915; Thu, 21 Nov 2024 08:58:18 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b45d17e3sm64258435e9.5.2024.11.21.08.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 08:58:18 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id B509B604F0; Thu, 21 Nov 2024 16:58:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 36/39] plugins: detect qemu plugin API symbols from header Date: Thu, 21 Nov 2024 16:58:03 +0000 Message-Id: <20241121165806.476008-37-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x336.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 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 From: Pierrick Bouvier Instead of using a static file (error prone and hard to keep in sync), we generate it using a script. Note: if a symbol is not exported, we'll now notice it when linking for Windows/MacOS platforms. Signed-off-by: Pierrick Bouvier Message-Id: <20241112212622.3590693-3-pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée --- MAINTAINERS | 1 + plugins/meson.build | 12 ++++++--- scripts/qemu-plugin-symbols.py | 45 ++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 3 deletions(-) create mode 100755 scripts/qemu-plugin-symbols.py diff --git a/MAINTAINERS b/MAINTAINERS index eb7149bf1a..2b1c4abed6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3752,6 +3752,7 @@ F: plugins/ F: tests/tcg/plugins/ F: tests/functional/test_aarch64_tcg_plugins.py F: contrib/plugins/ +F: scripts/qemu-plugin-symbols.py AArch64 TCG target M: Richard Henderson diff --git a/plugins/meson.build b/plugins/meson.build index 1cc039d29b..98542e926f 100644 --- a/plugins/meson.build +++ b/plugins/meson.build @@ -2,17 +2,23 @@ if not get_option('plugins') subdir_done() endif +qemu_plugin_symbols = configure_file( + input: files('../include/qemu/qemu-plugin.h'), + output: 'qemu-plugin.symbols', + capture: true, + command: [files('../scripts/qemu-plugin-symbols.py'), '@INPUT@']) + # Modules need more symbols than just those in plugins/qemu-plugins.symbols if not enable_modules if host_os == 'darwin' configure_file( - input: files('qemu-plugins.symbols'), + input: qemu_plugin_symbols, output: 'qemu-plugins-ld64.symbols', capture: true, command: ['sed', '-ne', 's/^[[:space:]]*\\(qemu_.*\\);/_\\1/p', '@INPUT@']) emulator_link_args += ['-Wl,-exported_symbols_list,plugins/qemu-plugins-ld64.symbols'] else - emulator_link_args += ['-Xlinker', '--dynamic-list=' + (meson.project_source_root() / 'plugins/qemu-plugins.symbols')] + emulator_link_args += ['-Xlinker', '--dynamic-list=' + qemu_plugin_symbols.full_path()] endif endif @@ -23,7 +29,7 @@ if host_os == 'windows' # First, create a .def file listing all the symbols a plugin should expect to have # available in qemu win32_plugin_def = configure_file( - input: files('qemu-plugins.symbols'), + input: qemu_plugin_symbols, output: 'qemu_plugin_api.def', capture: true, command: ['sed', '-e', '0,/^/s//EXPORTS/; s/[{};]//g', '@INPUT@']) diff --git a/scripts/qemu-plugin-symbols.py b/scripts/qemu-plugin-symbols.py new file mode 100755 index 0000000000..e285ebb8f9 --- /dev/null +++ b/scripts/qemu-plugin-symbols.py @@ -0,0 +1,45 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +# +# Extract QEMU Plugin API symbols from a header file +# +# Copyright 2024 Linaro Ltd +# +# Author: Pierrick Bouvier +# +# This work is licensed under the terms of the GNU GPL, version 2 or later. +# See the COPYING file in the top-level directory. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +import argparse +import re + +def extract_symbols(plugin_header): + with open(plugin_header) as file: + content = file.read() + # Remove QEMU_PLUGIN_API macro definition. + content = content.replace('#define QEMU_PLUGIN_API', '') + expected = content.count('QEMU_PLUGIN_API') + # Find last word between QEMU_PLUGIN_API and (, matching on several lines. + # We use *? non-greedy quantifier. + syms = re.findall(r'QEMU_PLUGIN_API.*?(\w+)\s*\(', content, re.DOTALL) + syms.sort() + # Ensure we found as many symbols as API markers. + assert len(syms) == expected + return syms + +def main() -> None: + parser = argparse.ArgumentParser(description='Extract QEMU plugin symbols') + parser.add_argument('plugin_header', help='Path to QEMU plugin header.') + args = parser.parse_args() + + syms = extract_symbols(args.plugin_header) + + print('{') + for s in syms: + print(" {};".format(s)) + print('};') + +if __name__ == '__main__': + main() From patchwork Thu Nov 21 16:58:04 2024 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: 844708 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2393116wrx; Thu, 21 Nov 2024 09:13:38 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVPqHx9taAv8hPpvRsAZq0LMFYyS71LQLqOdGXUFIq2vqgaQYkXx5Jbpj6QazVR7zovRGlBFA==@linaro.org X-Google-Smtp-Source: AGHT+IHkWd69gisKRtbpCJdUDNZr0HQZn9HZLuFD3LqjuCDYiVYy7tsQEvceczqxc1N0/TYu0a6I X-Received: by 2002:a05:600c:34c7:b0:431:588a:44a2 with SMTP id 5b1f17b1804b1-433489b2d54mr73354745e9.12.1732209218302; Thu, 21 Nov 2024 09:13:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209218; cv=none; d=google.com; s=arc-20240605; b=bqq9qi0YQmZ0hO9O568eXidTlwec9zz9KwxQgYl9dAlKEmNMNKAlYkoBmSGt1X8QrB utoQNJsdelkWM9d96d0RvUVT8TUgGLBDGD52ndiKpUBvfwATp4UXoVU0tK3+T2U16ssu PSPopX3Bmsa5ggKMqp0kufYQ+2ZiNGutV0Z8i+7kyrnknAvdAuyKfEI18+7lA5lMFYi7 BUunBaoS8/Uv4l/kpx2WogBuhhLK0wIW4bx8bdjg8jrCODWxebdgw7JY/pAiQttUNAc/ C3x2uMkeSvuLHhCVOHFm+8BOE41qV+N+SnWKZDHlKrr4CrBolS0G8xKkVwi2JI4sSHpr SOWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=DgZL1p3wxKFTGq7aZgLMn4pj7CkquD2VdyBofPgLEys=; fh=kD8gGl3e3ra3edo6fHRuv01yNgMQ5IRvVhUmLIIG5FM=; b=chzXFdKCF+FO2KdPwgbWex2m9fbfooPz1F6Bbm603k88/Ex0oKthV0Mg3y9RG5AALX n1/LBwnsQbBXnp1xGymQ0YiizMEz/po6SdCZiI3j4TXTKuVc5UaxrB/RvQ95sKoM87HK 4Q6d4X+yf9rKgNundSegLMocq5Dw1FRypVcNA2R7x7QZyNqaZePBQboCAaZZtxpcoE2I aRRyJUi0N7y+ZNPT1TaqbTS7c44AyvJYFTemBdF4zXpW4h40Z//mBiWURz7cZzgBvVNQ /9vP4T41ySubR5pG43WWUtee2mbBVpWyfCDlkC1k4DCJc2esX6+RyDZ5no+oTAMT1azB w3/Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OoU360Gx; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 5b1f17b1804b1-433b462a837si25796725e9.110.2024.11.21.09.13.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:13:38 -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=OoU360Gx; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAfx-0004xo-2L; Thu, 21 Nov 2024 12:09:05 -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 1tEAdv-0000lk-Hs for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:07:00 -0500 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdW-0001gG-Ku for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:59 -0500 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-53da6801c6dso936017e87.0 for ; Thu, 21 Nov 2024 09:06:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208793; x=1732813593; 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=DgZL1p3wxKFTGq7aZgLMn4pj7CkquD2VdyBofPgLEys=; b=OoU360Gxyfnnj/wnNujwHrc8YcyOmIW0QObGKzHupWDSo8vInb4GQCsTquzCDQwV1A 7w1y8qbGe3sfwzgNbVDU/ooJ6pD06Im5xXhWJb1KA5nWEyaxIfkiHTsR+bhXTrtWFXrX tSGCeOTZPXYj91syUutrs1peTMqXo49K3FtQr0IfJOyt4kvjUo0bWGzM4BMxrqk8NTKB xjIxRdzOTepygSimhh+S+EN/l9MZJRpcO0GLNNtmW+9j6ZNl0g84HNCXIUsCyuMg11FR 1heKbyUTwCkxNfJZqLeyEs223ALr2Tg/EwTrKiSDDApoMZjyL4vwPpTjmTgjhWn7iYNL BFCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208793; x=1732813593; 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=DgZL1p3wxKFTGq7aZgLMn4pj7CkquD2VdyBofPgLEys=; b=qt97LWfK0cGwAivD0U7bsuWgB9YfeNDgYSp1sjHEzcJZxLhHIktyUmZpCQ61dJI1GB icjYGS0+k5VZ8D5+ogtTkHjeS017U+Wp+3SJvuN2cMV5d1CmZTtoHNiuN3Z4LPpdm08T 9QHDv9hzJ3Zow+iU/FIvpNYJk7o83d2zLlqx14l3TP8kxXxfBRJWlZSFfe8j1tJfeMFV nsPh0swBoXtMdPzxDogBURh1yuhMS1IFu7RWexiEXqCzqn2bUHzaFNgdYD7R6UZoLK0O Zh0pqCNUC1ZxAVu+nlmjAWbvilMwP7M5tYiaDDBheZuaIq10RGkqaMPjAfloko1WcoL7 fq6g== X-Gm-Message-State: AOJu0YzVuUw4Al6N06Pt7Qo6hZa8Bly+//aMQcf1pjnVRlnZxwGSIc/d J0XIBRGjJWpFGJxqoQ4gaoMcd8ZRx8S3Bp/+ierGAMklC9xAdHy9a9wMJl4spxg= X-Gm-Gg: ASbGncvyH2sLzG+G/Z+HnSh2pZaz34ha2P+KaorXqsMEqTTJ8fl4Rq3J9HPyj5sovdI dsiROysTuoj5v2oBkoaxhj8fm3bO/1qkPkwmPKou7Dm3MnuOn7NHdUyVz2v2UpIhRUGy4/0Hq9t Kejo0zTxXuXd0XOBdTqimjgV6baQbxX3BnJhJ+Fw6BMbox7b8zZUN3J98uPQkNpkv1u3DpPXlzx ib0vs4adxwPCX4+0Yinn3LT/LQ732eoUiDQrBRXzGEpKNsb X-Received: by 2002:a05:6512:2215:b0:536:53f0:2f8e with SMTP id 2adb3069b0e04-53dc136791cmr3971935e87.37.1732208792448; Thu, 21 Nov 2024 09:06:32 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b45d170esm61613865e9.3.2024.11.21.09.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:28 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id C9DEA5F77B; Thu, 21 Nov 2024 16:58:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis Subject: [PATCH 37/39] plugins: eradicate qemu-plugins.symbols static file Date: Thu, 21 Nov 2024 16:58:04 +0000 Message-Id: <20241121165806.476008-38-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=alex.bennee@linaro.org; helo=mail-lf1-x129.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 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 From: Pierrick Bouvier Signed-off-by: Pierrick Bouvier Message-Id: <20241112212622.3590693-4-pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée --- plugins/qemu-plugins.symbols | 59 ------------------------------------ 1 file changed, 59 deletions(-) delete mode 100644 plugins/qemu-plugins.symbols diff --git a/plugins/qemu-plugins.symbols b/plugins/qemu-plugins.symbols deleted file mode 100644 index 032661f9ea..0000000000 --- a/plugins/qemu-plugins.symbols +++ /dev/null @@ -1,59 +0,0 @@ -{ - qemu_plugin_bool_parse; - qemu_plugin_end_code; - qemu_plugin_entry_code; - qemu_plugin_get_hwaddr; - qemu_plugin_get_registers; - qemu_plugin_hwaddr_device_name; - qemu_plugin_hwaddr_is_io; - qemu_plugin_hwaddr_phys_addr; - qemu_plugin_insn_data; - qemu_plugin_insn_disas; - qemu_plugin_insn_haddr; - qemu_plugin_insn_size; - qemu_plugin_insn_symbol; - qemu_plugin_insn_vaddr; - qemu_plugin_mem_get_value; - qemu_plugin_mem_is_big_endian; - qemu_plugin_mem_is_sign_extended; - qemu_plugin_mem_is_store; - qemu_plugin_mem_size_shift; - qemu_plugin_num_vcpus; - qemu_plugin_outs; - qemu_plugin_path_to_binary; - qemu_plugin_read_memory_vaddr; - qemu_plugin_read_register; - qemu_plugin_register_atexit_cb; - qemu_plugin_register_flush_cb; - qemu_plugin_register_vcpu_exit_cb; - qemu_plugin_register_vcpu_idle_cb; - qemu_plugin_register_vcpu_init_cb; - qemu_plugin_register_vcpu_insn_exec_cb; - qemu_plugin_register_vcpu_insn_exec_cond_cb; - qemu_plugin_register_vcpu_insn_exec_inline_per_vcpu; - qemu_plugin_register_vcpu_mem_cb; - qemu_plugin_register_vcpu_mem_inline_per_vcpu; - qemu_plugin_register_vcpu_resume_cb; - qemu_plugin_register_vcpu_syscall_cb; - qemu_plugin_register_vcpu_syscall_ret_cb; - qemu_plugin_register_vcpu_tb_exec_cb; - qemu_plugin_register_vcpu_tb_exec_cond_cb; - qemu_plugin_register_vcpu_tb_exec_inline_per_vcpu; - qemu_plugin_register_vcpu_tb_trans_cb; - qemu_plugin_request_time_control; - qemu_plugin_reset; - qemu_plugin_scoreboard_free; - qemu_plugin_scoreboard_find; - qemu_plugin_scoreboard_new; - qemu_plugin_start_code; - qemu_plugin_tb_get_insn; - qemu_plugin_tb_n_insns; - qemu_plugin_tb_vaddr; - qemu_plugin_u64_add; - qemu_plugin_u64_get; - qemu_plugin_u64_set; - qemu_plugin_u64_sum; - qemu_plugin_uninstall; - qemu_plugin_update_ns; - qemu_plugin_vcpu_for_each; -}; From patchwork Thu Nov 21 16:58:05 2024 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: 844706 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2392831wrx; Thu, 21 Nov 2024 09:13:09 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCULa4hIIh6iG8f4QbJMqMkBdr51TTrGM3I/Ux9Z7VT17To2CaI6UHHcWbX1YAht7CF5qEBaUQ==@linaro.org X-Google-Smtp-Source: AGHT+IH95nvo8/kfORWs653wU3skgZBXqQ5MVEQu3qVguuix5hbTDv2IqYkGnSRrmkxpotnSf4N5 X-Received: by 2002:a05:600c:350f:b0:42c:ba83:3f0e with SMTP id 5b1f17b1804b1-4334899569fmr64749715e9.7.1732209189388; Thu, 21 Nov 2024 09:13:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209189; cv=none; d=google.com; s=arc-20240605; b=TrYbuILkuwJDlh89KqrtM5GRmk5aZmcGVoTOGIZdvvQ/4Vj8i/dkbneWVzdxV3koYY 2xwE8pI55WGVAQD7aUKhfvskKhOeIMJcVmRRfp1TWQIeRleoNzop0uGRaNIcmjRJIx73 2Iku+2VA/20LpmTuWI7MV9zjSfBzC29yzvWmrrEGW/LgphEcwWVJv/TlZ2g1YzWDTSRI XDqyhSH6H6hxOqnnRYvhkH15E3iTuQEQTAorKCSDAfHnnXVZA4Rr6mtxPbFG1PJggHH9 fFvQmIpyMjU24Zb6i2+vQ3z15Paxdc0WQjIJiZtEekZMlAz1JTZ9UritLx7msIw0i9jF SyBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=ZYyjcmwGZcc7NttBsBYoWNTe7fj51f/J/c4PbwCrSW0=; fh=g4dVLcEyCQGa799W2N9jX8RvEftJjxygyM0FCqM/qkw=; b=KOJXl+CwHTabt0d90WMcsKXT5smh5mY1UyGjBZTxkTO0X3STy9Bn5MBpnNmNp9M6GF 6ITOBMsz/YEH+ztBAD1vabceI7/yBDFIK941RUWmnnEVESna/doojDFWxSpJ8UWs92oo kfLbvOp+8U8FTf5xBevXdjlhbdPiNlnVbnVX3Ml6S0oUE63hwWPvQCOy+5KUmRMIbw00 7Q1hDXcbMf2nzBtha22lFrJNcm9Raab8qobLX2VeYyEeX7wNBe+PBszWfxV76hwqMdrn 7fOFz5v158bqbbv5ccYpNbicvnBqRJE4wqDVg41cNCGdcBWb3uWyAxbvVpXiRJVRhfe/ abuA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PejqfVPo; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ffacd0b85a97d-3825fd28281si34423f8f.435.2024.11.21.09.13.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:13:09 -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=PejqfVPo; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAg5-0005Rs-PS; Thu, 21 Nov 2024 12:09:13 -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 1tEAe1-00012r-3y for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:07:09 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdY-0001iS-NN for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:07:04 -0500 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-38248b810ffso805676f8f.0 for ; Thu, 21 Nov 2024 09:06:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208795; x=1732813595; 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=ZYyjcmwGZcc7NttBsBYoWNTe7fj51f/J/c4PbwCrSW0=; b=PejqfVPoBL4glanT7r79oYFDkwi83yLvILxohLx52bggyI+zXGpqzjtgwTjhKhpp4e F/JqLn5dCkHIGKnc05ZbvulOxcj/Z6KEu7CHypxrUAyytEkoxBcHfEkpvE4Yf0vZ/vE9 QM18a9JuEce3i8Jr6E5QiPVxNLpI3Zrr7grkJK2Tw2HO6ia4jqOMDbG/ujGd79iEDOUQ H1wHM8tj9erRBAiJvClN7nncj9uudY6UqMioSqhahUT1yci3jVScS5eAPT8nYvKsk7tL 8V97O2n0mFEy+UQolA09RFwcwjCFeZGM6lXx+22qRv+cGF0InEml8WNlRRcWQm8bnfiK lnQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208795; x=1732813595; 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=ZYyjcmwGZcc7NttBsBYoWNTe7fj51f/J/c4PbwCrSW0=; b=XrQfdUNoiHunzl82qOPQTucQttFLUohn3h0Y+YcnS+Z34a66r4ghJ2lLE+hFaUbjlO 9Tx6pOpRZrQWLXMFYnppujxWs2waM9mT2ppcqqmJKKqwZQgQHdPl7s9LP7DcvQdC79lV kQL6wmhat1mbRIYqtyqo0TfjmYPyjmEOoRjaEznvktyxXoWkNNT8pBxXH/KOFsf80Uoc zHt5c+awaNQSBmebIst9QTj5t/QZl2OygBoPgGl4F/5oi4DDmFGYVgQF7fHBTBvPWsva aVlMLdE+m81xKAWrdZDRhzGGFD3ay2o6fO7huphfK65d2xnZ+DV8ehWupfbUzpNOAqTs AEWQ== X-Gm-Message-State: AOJu0YwclQDg3mGCc+AoCOLM7pu26EjR/7jmhiY6SXIhFVTfvbvQsxCB CYuroa1802n6yahKMpRNN/rjT+ffsqT90MOOa7+R2URBUVfyhVuFC769HDTx3wI= X-Gm-Gg: ASbGncuO00Cb0/FmVvVD2nd3WkOR3qZrFWpirhCdFXjj8qGZhTG1yRjigiR5cdkHI2d i7NO57WkoWpEJ42t1XAFFPjICtsGQt4GdE22Iky8CNPVyrWPjmSEuqchiWW9HAMrwcuNiSWmKCz u9wQHujzBjI/U1kvD1FAMxNNjExl3Vjv7qusibQc4Kd9RXz4nDbN7U3l73hBuSsXSUKk6jTPTAg LnludLe3iqljd1bdiGX9nKDXgR5b/7ztYSrlZBSr0edRvUe X-Received: by 2002:a05:6000:2a7:b0:382:4b69:9c75 with SMTP id ffacd0b85a97d-38254b17f80mr6364450f8f.43.1732208793832; Thu, 21 Nov 2024 09:06:33 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fafeceesm53837f8f.37.2024.11.21.09.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:30 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id DDBC660500; Thu, 21 Nov 2024 16:58:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Junjie Mao , Manos Pitsidianakis Subject: [PATCH 38/39] rust/pl011: Fix range checks for device ID accesses Date: Thu, 21 Nov 2024 16:58:05 +0000 Message-Id: <20241121165806.476008-39-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x432.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 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 From: Junjie Mao The peripheral and PrimeCell identification registers of pl011 are located at offset 0xFE0 - 0xFFC. To check if a read falls to such registers, the C implementation checks if the offset-shifted-by-2 (not the offset itself) is in the range 0x3F8 - 0x3FF. Use the same check in the Rust implementation. This fixes the timeout of the following avocado tests: * tests/avocado/boot_linux_console.py:BootLinuxConsole.test_arm_virt * tests/avocado/replay_kernel.py:ReplayKernelNormal.test_arm_virt * tests/avocado/replay_kernel.py:ReplayKernelNormal.test_arm_vexpressa9 Reported-by: Peter Maydell Signed-off-by: Junjie Mao Tested-by: Alex Bennée Reviewed-by: Alex Bennée Message-Id: Signed-off-by: Alex Bennée --- rust/hw/char/pl011/src/device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/hw/char/pl011/src/device.rs b/rust/hw/char/pl011/src/device.rs index 2a85960b81..476cacc844 100644 --- a/rust/hw/char/pl011/src/device.rs +++ b/rust/hw/char/pl011/src/device.rs @@ -182,7 +182,7 @@ pub fn read(&mut self, offset: hwaddr, _size: c_uint) -> std::ops::ControlFlow { + Err(v) if (0x3f8..0x400).contains(&(v >> 2)) => { u64::from(self.device_id[(offset - 0xfe0) >> 2]) } Err(_) => { From patchwork Thu Nov 21 16:58:06 2024 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: 844711 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp2393240wrx; Thu, 21 Nov 2024 09:13:52 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCV5P9FQHd5YWIpXtzbzymRMEZJzLnyIEIYI7g4UhRGcCAnHlTKZcepudBod2KFZlJeySY6iFA==@linaro.org X-Google-Smtp-Source: AGHT+IFt3VaA51Aj4ybLCK6N4dIMfddZA14JL7Otl6xGVx7ANK88PxylhffFqV+hjr0Xq3pLgfhy X-Received: by 2002:a05:600c:870f:b0:42c:b1ee:4b04 with SMTP id 5b1f17b1804b1-4334f021c2bmr54998165e9.28.1732209232437; Thu, 21 Nov 2024 09:13:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732209232; cv=none; d=google.com; s=arc-20240605; b=gjG4ARUfQzRmr/NQ/N6gtPa/Wn/aQPw5SbeAonlfDFTyuiVEg0fPByQgkN2pgN80vS 5rA1shwhftAcKIPu4hrYTYE12HIcxU62bSAuBH04qfvesWwcz37sskVksL8bTebhhyzk dFAZAFCiURvzCkE7xqgJIh1FU4fVuIBWEjjQVpDpwJifZxAvxgeZIHN3mckd5fZ/pRQg nbJuwJA1qsPew2Q7n0T4MZJRps4b8pS8KFGUUfc7AJz3jGBAhnwVBLSce/Cx8NbJmwyp aylNNr8DbI+5fzCM0Zr3GyWP2P4C2CCjYHAFaHOWbjmthR8MEmHbg435WfVuD6YbGXog AD9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=Wv4PNTnfk9kZ4Ys171hToXZi4xYchox2b5iY8mj5xXY=; fh=1wT/cj7BDp1Kj7O54frjdOCyX47UssshOdJ5U7X4RYM=; b=Kb4VoNuNaxqdr+buJ4Dq7agd7lej5U/fYQLH0mQze0GsHBSC7VA9PkVnd0tVsllA5R xoM72tv+OeDEKzGCe47sV9FQyyTr9QzafxfOMnSbJjycTRiCZXaN+7YU0NsOqaVTlwcW a8+S9GnZ6FH4NBetCFmUMDV2yY4IfGJ0P11S0z1DZwzmW75JqnmCZdNi2hhY8RDs9K6U EUerzk60ucqqvMD7ybVSCKisHB3sSuDOHSEHbEIen+xICaR333fyYWqh39nQaK5y2KdC KPGu0u02g4ooU0Z7jdUx/mzuQMyalFkmUgHyAZswGzfgk9nVQgLZSc1ToHDUDHv7oGWW v8rw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T1bds6c3; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 5b1f17b1804b1-433b45fbb0asi26156275e9.160.2024.11.21.09.13.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Nov 2024 09:13: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=T1bds6c3; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEAdX-000837-Sb; Thu, 21 Nov 2024 12:06:36 -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 1tEAdV-0007xo-HQ for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:33 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tEAdQ-0001Zk-UV for qemu-devel@nongnu.org; Thu, 21 Nov 2024 12:06:33 -0500 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-43193678216so10419055e9.0 for ; Thu, 21 Nov 2024 09:06:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732208785; x=1732813585; 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=Wv4PNTnfk9kZ4Ys171hToXZi4xYchox2b5iY8mj5xXY=; b=T1bds6c3UQXEE4ldyChMLN+62NZBWiybkkRz0uOVnOH0n7hMbkodYfebo3AysWgq3g /4kTaiU2QFcdYr59qG1Q2gIuQaIU/ZF7yKF6dlf8SH0fPaJ9L7Ozdj3bOkMaw4iE5lX+ pg45mcDR7UnIxKCo2X11AEZAofUKMGSveWi5TDmpJuh+x6rt/b1i69FFfcC3jII8ZApl IAag0UsO1YFZJvNQg/C4K/hzOJorr/OXH8f3h0lUtZU11tlhlb8lfOzRTRkOcY0fpWta xo/JcFWq7MYlqLQHMDJjsUN416rm/SMf3JUcNyxt7dfW2QQYSGUB7s0MOye63EFDrb8E ecDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732208785; x=1732813585; 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=Wv4PNTnfk9kZ4Ys171hToXZi4xYchox2b5iY8mj5xXY=; b=p8jnbpRqX6HDQ8/o0w8XPXLIws9YHS6H7w2VuhkGRjQOoR6UUnnp624lKEqhIdRMLy fF8FdOCZMqQrHCPGa6yiq+A8qy/QCYNBlHkNKfYECZ0P2tQ9qWdrOX2m2m+Cw3NH67lc a2BJltjWipj9ZrEr1aPEwpF92VQedrIbHmqMm13hd0LAwfi/YZwLkzElY3e+5oFK8eZA AqZ1cyjkOixzMc2U/sThEKVGsc52ySXcL0lkAfs2U69w3gMnYIAv9JCJXBp61WnuDxSi SxWk39CSMx32tfOOIEQNhpQEStjNZAYvO6jk4a0mLObFmmrgczeAqjr8Bp10mGXyWZUE uouQ== X-Gm-Message-State: AOJu0Yxkvp6tETSveO/onUCXeV/Veapq7A+ylp15or7mcymLGGqmLNVp gZ42uSfHZQ0k9wQL5DEjfonlmnp3ErTvhfBX2oGxKDYqS886kQTSB3oRtoForC4= X-Gm-Gg: ASbGncu27+F/a2yyG2tmAb8CQJMMcC/xR6bMxLrnUXkvqwlFeJtUNLX32rJvYdZU2It EreTUQIg+XP3JAs1kYQzL85Wz6sLUZJs/FM5hzypsOeLk1qMqT09AQTCR1BCaNBZoXWRL51b9NC V9F5GWE3xH58cXIAE/T3g/XC9n6NG5Ss9DsSZELOjXllejRxsqtW3fu+iyBrEQF0Anw+77B+G18 ybWPi+vxpHOFuMA5MqwS9MVWk1JFl1Q2u/owgj4BG14zYPI X-Received: by 2002:a05:600c:870f:b0:42c:b1ee:4b04 with SMTP id 5b1f17b1804b1-4334f021c2bmr54753795e9.28.1732208783911; Thu, 21 Nov 2024 09:06:23 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b4616fc2sm61609455e9.22.2024.11.21.09.06.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 09:06:23 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id F2F4460510; Thu, 21 Nov 2024 16:58:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , "Michael S. Tsirkin" , Daniel Henrique Barboza , Pierrick Bouvier , Harsh Prateek Bora , Marcel Apfelbaum , Jiaxun Yang , Halil Pasic , Christian Borntraeger , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Alexandre Iooss , qemu-riscv@nongnu.org, Thomas Huth , Bernhard Beschow , Thomas Huth , Eric Farman , Bin Meng , qemu-s390x@nongnu.org, Niek Linnenbank , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , John Snow , Wainer dos Santos Moschetta , Cleber Rosa , qemu-rust@nongnu.org, Nicholas Piggin , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Palmer Dabbelt , Markus Armbruster , Weiwei Li , Mahmoud Mandour , Mark Cave-Ayland , Liu Zhiwei , Aurelien Jarno , Ani Sinha , Alistair Francis , Stefan Hajnoczi , Richard Henderson Subject: [PATCH 39/39] docs: explicitly permit a "commonly known identity" with SoB Date: Thu, 21 Nov 2024 16:58:06 +0000 Message-Id: <20241121165806.476008-40-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241121165806.476008-1-alex.bennee@linaro.org> References: <20241121165806.476008-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x329.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 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 From: Daniel P. Berrangé The docs for submitting a patch describe using your "Real Name" with the Signed-off-by line. Although somewhat ambiguous, this has often been interpreted to mean someone's legal name. In recent times, there's been a general push back[1] against the notion that use of Signed-off-by in a project automatically requires / implies the use of legal ("real") names and greater awareness of the downsides. Full discussion of the problems of such policies is beyond the scope of this commit message, but at a high level they are liable to marginalize, disadvantage, and potentially result in harm, to contributors. TL;DR: there are compelling reasons for a person to choose distinct identities in different contexts & a decision to override that choice should not be taken lightly. A number of key projects have responded to the issues raised by making it clear that a contributor is free to determine the identity used in SoB lines: * Linux has clarified[2] that they merely expect use of the contributor's "known identity", removing the previous explicit rejection of pseudonyms. * CNCF has clarified[3] that the real name is simply the identity the contributor chooses to use in the context of the community and does not have to be a legal name, nor birth name, nor appear on any government ID. Since we have no intention of ever routinely checking any form of ID documents for contributors[4], realistically we have no way of knowing anything about the name they are using, except through chance, or through the contributor volunteering the information. IOW, we almost certainly already have people using pseudonyms for contributions. This proposes to accept that reality and eliminate unnecessary friction, by following Linux & the CNCF in merely asking that a contributors' commonly known identity, of their choosing, be used with the SoB line. [1] Raised in many contexts at many times, but a decent overall summary can be read at https://drewdevault.com/2023/10/31/On-real-names.html [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d4563201f33a022fc0353033d9dfeb1606a88330 [3] https://github.com/cncf/foundation/blob/659fd32c86dc/dco-guidelines.md [4] Excluding the rare GPG key signing parties for regular maintainers Signed-off-by: Daniel P. Berrangé Acked-by: Stefan Hajnoczi Acked-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée Acked-by: Richard Henderson Message-Id: <20241021190939.1482466-1-berrange@redhat.com> Signed-off-by: Alex Bennée --- docs/devel/submitting-a-patch.rst | 7 ++++++- .gitlab-ci.d/check-dco.py | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/devel/submitting-a-patch.rst b/docs/devel/submitting-a-patch.rst index 83e9092b8c..10b062eec2 100644 --- a/docs/devel/submitting-a-patch.rst +++ b/docs/devel/submitting-a-patch.rst @@ -18,7 +18,7 @@ one-shot fix, the bare minimum we ask is that: * - Check - Reason - * - Patches contain Signed-off-by: Real Name + * - Patches contain Signed-off-by: Your Name - States you are legally able to contribute the code. See :ref:`patch_emails_must_include_a_signed_off_by_line` * - Sent as patch emails to ``qemu-devel@nongnu.org`` - The project uses an email list based workflow. See :ref:`submitting_your_patches` @@ -335,6 +335,11 @@ include a "From:" line in the body of the email (different from your envelope From:) that will give credit to the correct author; but again, that author's Signed-off-by: line is mandatory, with the same spelling. +The name used with "Signed-off-by" does not need to be your legal name, +nor birth name, nor appear on any government ID. It is the identity you +choose to be known by in the community, but should not be anonymous, +nor misrepresent whom you are. + There are various tooling options for automatically adding these tags include using ``git commit -s`` or ``git format-patch -s``. For more information see `SubmittingPatches 1.12 diff --git a/.gitlab-ci.d/check-dco.py b/.gitlab-ci.d/check-dco.py index d221b16bd5..70dec7d6ee 100755 --- a/.gitlab-ci.d/check-dco.py +++ b/.gitlab-ci.d/check-dco.py @@ -78,7 +78,10 @@ To indicate acceptance of the DCO every commit must have a tag - Signed-off-by: REAL NAME + Signed-off-by: YOUR NAME + +where "YOUR NAME" is your commonly known identity in the context +of the community. This can be achieved by passing the "-s" flag to the "git commit" command.