From patchwork Fri Jun 30 18:04:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 697984 Delivered-To: patch@linaro.org Received: by 2002:adf:fcc5:0:0:0:0:0 with SMTP id f5csp598545wrs; Fri, 30 Jun 2023 11:17:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5TUVTho1U9eVgyNCJStr0tpzG2pJBZn8PsbhiLyqye6UpRAgPg/bk8kzO2lIEyfvkZXhxs X-Received: by 2002:a05:620a:408b:b0:767:1f7a:26e4 with SMTP id f11-20020a05620a408b00b007671f7a26e4mr5246148qko.43.1688149074676; Fri, 30 Jun 2023 11:17:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688149074; cv=none; d=google.com; s=arc-20160816; b=cJGArBTxh6OV+w2fA64qOhfuGAYIwE27aBLGclwcdho7IYGCU18O7ppyB5gIUY96ff KYMrBD9Q9ynERIgxo/DKwUHlxa0zU3XzPdYXdvA2Bu7Bc1LJqVH47I0IpcBIUlAvj8v3 AXuJ0dZ8xWOcIra9bq4RXP2tl9uk1VBmB2ppEt1kHwKRkB4BSp2wGoREu6/KV4/ZS8s+ cgIvebBmOZu6zAl7Ak7rbfs+g92NWJTapwN1z3WSffKrMR2QvA1WaprgJVoVYJ16vfc9 WHlFA+z4h8liIM58w6TApKmZJGpnxudGWgfG4+K541IQBxwV5w7eZCsn7BwvK42vtAhK c8UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=3vRjuiilHj41vuYTU55vTlTL6iGYeqfANvYZbGxWyZk=; fh=OltHerz+Vf7zZkebZbScoRT4WgVwJDskRS7DoEjx2Hw=; b=vk6hqRTOm/xTk4AA9ZuuIGNhJoXNAug5DWW49SQBt40Uuak++/AH1Lc3VOKVvgvihv KM226EpPDOa6J+UEU/dhrKZ5yxOtPQew7H6GuZX6NGARkfWLLh95gzCl0+csiEKciVeI cMgf6N6VV+8brPkSvDjGo7oJL1yKm1MPh6bKG1vU6gZyfiUgiMKhSuhC8lG3sknYTj6g SXjxRND6m9l3e819CLrxAf5xCVfdg8m6NA0lilCnoVZRSbsgcDgJzZVOo3re8okNekBP g2I/6fQEZdIK3tuzwddzKiqqBKSDvGzzY2LBoEGHZF4eRJgLTc29lvCgeybpO/4hZDfg RO/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=twd++pV8; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v7-20020a05620a090700b00763a119b58fsi6880349qkv.492.2023.06.30.11.17.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Jun 2023 11:17:54 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=twd++pV8; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFId6-0005lF-A1; Fri, 30 Jun 2023 14:14:00 -0400 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 1qFIcl-0005T2-4I for qemu-devel@nongnu.org; Fri, 30 Jun 2023 14:13:39 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFIch-0003Xx-2Y for qemu-devel@nongnu.org; Fri, 30 Jun 2023 14:13:38 -0400 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-3113da5260dso2419094f8f.2 for ; Fri, 30 Jun 2023 11:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688148813; x=1690740813; 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=3vRjuiilHj41vuYTU55vTlTL6iGYeqfANvYZbGxWyZk=; b=twd++pV818VZ5cb8kSXntM/xDeg7w7p5+ZJuoSidY242qZRqz+AO56Bi2nB7L3A4Pf 2h/uvC2yKBLHkmT4kVZ0xARt7F1I7JqXdErTX+8dSLRtb7xLrggkaioA4pcATmlA0dnp 8K31QxmK8cjLcUkyC+F+519KBTZ7ZfX6cuX5R6d+b/Ceb09gOGSjvhh5iYWegvGjoRZu PqYMomJ+hYIYX81/zoMDMKMSIHheJwk5NKgjDwRKA1i9pxOhfHwfbEtIl8YlLNcoEZhn Di/+2NC8e8yBIsknhIz+J2cBSR84Q11BcZrMCJtZgPQWMzOgKadE9YYrGIbnet+8SWk7 CNYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688148813; x=1690740813; 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=3vRjuiilHj41vuYTU55vTlTL6iGYeqfANvYZbGxWyZk=; b=OnIuyGBAyQp92FMl7yAQXOZLHMIkJ/2cXOoErAL/NoPGnTgfYibrAmniI9mNrhCX+I ExSg3Lk3PAFUz7EqsMy7RVAF6mYeeS6z+DMMDGN+LkY9PWGIR1nSUTlcs6Po+eCtOgmM 6mvL1SxNtJlggeO8hayTXEvRnbXMVmDinWxq14vwoLqkqcVBzymaTPzABN5nC7SZNFko imPwXExf6TDjaJcA073CD9uoGIBq8cQ+OXYJpJ9lq4kY8tmD3yafbzjhWnLH/jBuhzzZ ZspN8XbolK6ru8YbJEuua8pc7znViHq3kNZDRFKdHi7kKsYDHLBT6m12j6mzYklzZm9G PGtA== X-Gm-Message-State: ABy/qLap5o7RPMq5ZV9ZmlkYCgN4nGqPhgDvV8Zyk6vZq7pBZFlChLYS WL8DoRUAQ/2U5V8bJC3rVmJtFg== X-Received: by 2002:a5d:525c:0:b0:314:99e:af3a with SMTP id k28-20020a5d525c000000b00314099eaf3amr2873262wrc.48.1688148813718; Fri, 30 Jun 2023 11:13:33 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id l6-20020adff486000000b00313fd294d6csm10797951wro.7.2023.06.30.11.13.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jun 2023 11:13:30 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D350A1FFC9; Fri, 30 Jun 2023 19:04:25 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Paolo Bonzini , Stefan Hajnoczi , Leonardo Bras , Laurent Vivier , Peter Xu , Juan Quintela , Beraldo Leal , Radoslaw Biernacki , Qiuhao Li , Peter Maydell , Yanan Wang , Riku Voipio , Wainer dos Santos Moschetta , Mahmoud Mandour , Alexandre Iooss , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= , Eduardo Habkost , Thomas Huth , Laurent Vivier , Bin Meng , Marcel Apfelbaum , Bandan Das , Cleber Rosa , Richard Henderson , Leif Lindholm , Marcin Juszkiewicz , qemu-arm@nongnu.org, Darren Kenny , Alexander Bulekov Subject: [PATCH v4 17/38] tests/avocado: Make the test_arm_bpim2u_gmac test more reliable Date: Fri, 30 Jun 2023 19:04:02 +0100 Message-Id: <20230630180423.558337-18-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230630180423.558337-1-alex.bennee@linaro.org> References: <20230630180423.558337-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Thomas Huth The test_arm_bpim2u_gmac test sometimes fails (ca. 1 out of 20 runs here) since the disk shows up as /dev/mmcblk1 instead of /dev/mmcblk0 in some runs. No matter of the name in /dev, the major:minor encoding seems always to be the same, so we can fix this issue by using the correct major:minor hex number in the "root=" parameter instead. Signed-off-by: Thomas Huth Message-Id: <20230630161604.446394-1-thuth@redhat.com> Tested-by: Alex Bennée Signed-off-by: Alex Bennée --- tests/avocado/boot_linux_console.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/avocado/boot_linux_console.py b/tests/avocado/boot_linux_console.py index 6ed660611f..6eab515718 100644 --- a/tests/avocado/boot_linux_console.py +++ b/tests/avocado/boot_linux_console.py @@ -869,7 +869,7 @@ def test_arm_bpim2u_gmac(self): self.vm.set_console() kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE + 'console=ttyS0,115200 ' - 'root=/dev/mmcblk0 rootwait rw ' + 'root=b300 rootwait rw ' 'panic=-1 noreboot') self.vm.add_args('-kernel', kernel_path, '-dtb', dtb_path, @@ -885,7 +885,7 @@ def test_arm_bpim2u_gmac(self): exec_command_and_wait_for_pattern(self, 'cat /proc/cpuinfo', 'Allwinner sun8i Family') exec_command_and_wait_for_pattern(self, 'cat /proc/partitions', - 'mmcblk0') + 'mmcblk') exec_command_and_wait_for_pattern(self, 'ifconfig eth0 up', 'eth0: Link is Up') exec_command_and_wait_for_pattern(self, 'udhcpc eth0',