From patchwork Sat Aug 24 16:08:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 822174 Delivered-To: patch@linaro.org Received: by 2002:adf:e044:0:b0:367:895a:4699 with SMTP id w4csp864499wrh; Sat, 24 Aug 2024 09:09:17 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVzDAbNLS2CuXpQG95AkRgpkkqVqP2ZNQ9kpZfhxoI8OzMqEVk8rz+VO4OeowLfYdXX6TaVNA==@linaro.org X-Google-Smtp-Source: AGHT+IEYUlfIGx06gy1SrJa9rcRlF0QFoapZy2Z/3b+a4d51Rgl9Ks+4d0JbRESIdZCKu0bwG+TZ X-Received: by 2002:a05:690c:6412:b0:6b5:916d:597 with SMTP id 00721157ae682-6c6269b2545mr68121187b3.22.1724515757086; Sat, 24 Aug 2024 09:09:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724515757; cv=none; d=google.com; s=arc-20160816; b=hFGXGnWi4iJpFtKzJmsNXW6UDRiLKOSjylYzbzH9ZoWUdd+amjyHymUM+MO3NZX6WA JHeRBTJlgOUBlbXkIIRm6/eihr37hF+LTtDuerxNehOi++33FQ/wEKfiZdokaqeGmfD3 DIm9ABBocCmT99WVYwNa7wtw+32SE38OAh3YhCkgvFUf4cB8m4H7ObIK6OHaSpKT/ONW FJf6h7tRqGUBcJBbz2Tejk5Jy/mc+GtUdI4x65umjBGNGcgQ5LXq/VC3p6WPyy2PJsh5 q6ropqWN8GCgOcIz4zAIi9pivv1Jx0iF/twbeSe0sMUbfDNnzN7vqV+8xyzXJr7+uvFB +hrQ== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=0RKtHsllaFBWhpgp+Yh12CocZ/lit3Jpzg1mIlpvzK8=; fh=b9W66R+xmauu/v/FPMjT7GL1bji1MnmbuB+f9wdKMEQ=; b=CJoOHA54527WPSl34uCj1/z+bqjO5U+zUzAj0vnAk+mSZ/4/2wQ2tnUuRfBfuJEJR7 V4H6EdNehEWEZRgeud3CIlrVWcMIAXpnljqYD7hr37is3/SnIXHa9W0SOucLONGjUuzO i9rBaBHb98L4pxvTbqQ7ticVqqcxWbImR7hyqZGLFiIHqGhj21HiMbdyTgcrQ9exF5FM dEjraY3D3H4kxzmcV/K18fqxkn31KcQYc2eH9kvSbGXYBGq1FzX6utQcRvT7l1BQ+nQL W1Lp8Fyfu56nk2tERYyS9rvFpOvp06m7eFrd7lViV58dU1CIPFsyXHz6AOD36TTVYDja HDFg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rygkJFdr; 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-7a67f350146si647349785a.220.2024.08.24.09.09.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 24 Aug 2024 09:09:17 -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=rygkJFdr; 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 1shtJf-0005Oa-Cl; Sat, 24 Aug 2024 12:08:39 -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 1shtJd-0005Nv-Hn for qemu-devel@nongnu.org; Sat, 24 Aug 2024 12:08:37 -0400 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1shtJb-0005ws-Kz for qemu-devel@nongnu.org; Sat, 24 Aug 2024 12:08:37 -0400 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-5bed0a2ae0fso3660079a12.1 for ; Sat, 24 Aug 2024 09:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724515713; x=1725120513; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0RKtHsllaFBWhpgp+Yh12CocZ/lit3Jpzg1mIlpvzK8=; b=rygkJFdrF5sURHZwxAjWfMY4GpOprdtFC49lfDXlm7BZ2iJ/rts4uNKW0HQm+KqGJJ 60+gRoYpKgcDB0jaGE2isUBRAxWB09qGK5SEd1LO/4L0mEcQNCyr7C9P9qp3BzQ57IOl amiqpGPN+v6R1246dMTww8fWWxCwnfDIsRunvJQNxwpH5PyE7KDFkHwOY7qNz2wa8zVU TJRcik/OmA05VRkq6i3sT6WVzUDCTqHl5WCSgU77v4cqwgiflQM0DfMvhMLXM/fxEj3k VOdZxyunmrOuagVI7I/MKdeehLNYIjm5eYsTI+pbipAerqbeKfWB9x36zFVH71xKQFaE uFhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724515713; x=1725120513; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0RKtHsllaFBWhpgp+Yh12CocZ/lit3Jpzg1mIlpvzK8=; b=oL31qGIM5Ke5NPXePWJwRv5bqvjQ6HwUR5fRBAbyy+9kRq8kfn7h/rPh5aYe9CXTS2 QRDdY2LyY57+eLq7Y+hn7BLm2sVQbjPoRiCGY6cjhhlz3ntB7VZLTMa5EDqQ6ITFZCxO ZRUyr/Ga8Tti8Wh5B0PYJAHqfEhJYrdWsZwuOG1jtOdexqHLw1R69cEcFWSvMDT1i84T q3p5USyYWvLBotXQXh5FYtJtncBAp4u7mwG1ebzs9+3szGYewkCfeHxld4p773FkuX9u UAvP8CWvCOv7ENz+H/o0hUcI2fVO+XnsZvrWBBt9ajk/6WZzkebzhB4Nx6IQYDU6m9aQ rszA== X-Gm-Message-State: AOJu0YzR1VKB8QPVAtAs+BDHbwoR4gFYd3YZOTto7PIkOWGprGEbZRpk Q6aAAD4gTPWHX5LWf2Awv6/rN2fMv9V83Fjk+wmTbV4XWMu9rsKjRIyrFpWVAplWt3aDdz7qGhw F X-Received: by 2002:a17:906:f5a9:b0:a86:963f:ea8d with SMTP id a640c23a62f3a-a86a54df8demr390723166b.64.1724515713100; Sat, 24 Aug 2024 09:08:33 -0700 (PDT) Received: from m1x-phil.lan ([176.187.198.30]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a868f29d749sm415682566b.66.2024.08.24.09.08.31 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sat, 24 Aug 2024 09:08:32 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Jiaxun Yang , Cleber Rosa , Thomas Huth , Aurelien Jarno , Huacai Chen , Beraldo Leal , Wainer dos Santos Moschetta , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= Subject: [PATCH v3 0/7] tests/functional: Convert few MIPS avocado tests Date: Sat, 24 Aug 2024 18:08:21 +0200 Message-ID: <20240824160829.27655-1-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::530; envelope-from=philmd@linaro.org; helo=mail-ed1-x530.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 $ RESCUE_YL_PATH=/path/to/fuloong2e/rescue-yl \ QEMU_TEST_ALLOW_UNTRUSTED_CODE=1 \ QEMU_TEST_FLAKY_TESTS=1 \ QEMU_TEST_TIMEOUT_EXPECTED=1 \ make check-functional V=1 ▶ 2/17 test_empty_cpu_model.EmptyCPUModel.test OK 2/17 qemu:func-quick+func-mips64el / func-mips64el-empty_cpu_model OK 0.14s 1 subtests passed ▶ 8/17 test_empty_cpu_model.EmptyCPUModel.test OK 8/17 qemu:func-quick+func-mips / func-mips-empty_cpu_model OK 0.13s 1 subtests passed ▶ 4/17 test_version.Version.test_qmp_human_info_version OK ▶ 5/17 test_empty_cpu_model.EmptyCPUModel.test OK ▶ 7/17 test_version.Version.test_qmp_human_info_version OK 4/17 qemu:func-quick+func-mips64el / func-mips64el-version OK 0.17s 1 subtests passed 5/17 qemu:func-quick+func-mipsel / func-mipsel-empty_cpu_model OK 0.17s 1 subtests passed 7/17 qemu:func-quick+func-mipsel / func-mipsel-version OK 0.18s 1 subtests passed ▶ 10/17 test_version.Version.test_qmp_human_info_version OK 10/17 qemu:func-quick+func-mips / func-mips-version OK 0.21s 1 subtests passed ▶ 1/17 test_mips64el_fuloong2e.MipsFuloong2e.test_linux_kernel_2_6_27_isa_serial OK ▶ 3/17 test_info_usernet.InfoUsernet.test_hostfwd OK ▶ 11/17 test_empty_cpu_model.EmptyCPUModel.test OK 3/17 qemu:func-quick+func-mips64el / func-mips64el-info_usernet OK 0.29s 1 subtests passed ▶ 6/17 test_info_usernet.InfoUsernet.test_hostfwd OK 11/17 qemu:func-quick+func-mips64 / func-mips64-empty_cpu_model OK 0.16s 1 subtests passed 6/17 qemu:func-quick+func-mipsel / func-mipsel-info_usernet OK 0.30s 1 subtests passed ▶ 9/17 test_info_usernet.InfoUsernet.test_hostfwd OK 9/17 qemu:func-quick+func-mips / func-mips-info_usernet OK 0.30s 1 subtests passed ▶ 13/17 test_version.Version.test_qmp_human_info_version OK 13/17 qemu:func-quick+func-mips64 / func-mips64-version OK 0.19s 1 subtests passed ▶ 12/17 test_info_usernet.InfoUsernet.test_hostfwd OK 12/17 qemu:func-quick+func-mips64 / func-mips64-info_usernet OK 0.24s 1 subtests passed ▶ 17/17 test_mips_malta.MaltaMachineConsole.test_mips_malta OK ▶ 16/17 test_mipsel_malta.MaltaMachineConsole.test_mips_malta32el_nanomips_16k_up OK ▶ 1/17 test_mips64el_fuloong2e.MipsFuloong2e.test_linux_kernel_3_16 OK 1/17 qemu:func-quick+func-mips64el / func-mips64el-mips64el_fuloong2e OK 3.10s 2 subtests passed ▶ 16/17 test_mipsel_malta.MaltaMachineConsole.test_mips_malta32el_nanomips_4k OK ▶ 14/17 test_mips64el_loongson3v.MipsLoongson3v.test_pmon_serial_console OK 14/17 qemu:func-thorough+func-mips64el-thorough+thorough / func-mips64el-mips64el_loongson3v OK 4.71s 1 subtests passed ▶ 16/17 test_mipsel_malta.MaltaMachineConsole.test_mips_malta32el_nanomips_64k_dbg OK ▶ 16/17 test_mipsel_malta.MaltaMachineYAMON.test_mipsel_malta_yamon OK 16/17 qemu:func-thorough+func-mipsel-thorough+thorough / func-mipsel-mipsel_malta OK 8.64s 4 subtests passed ▶ 15/17 test_mips64el_malta.MaltaMachineConsole.test_mips64el_malta OK ▶ 17/17 test_mips_malta.MaltaMachineConsole.test_mips_malta_cpio OK 17/17 qemu:func-thorough+func-mips-thorough+thorough / func-mips-mips_malta OK 14.06s 2 subtests passed ▶ 15/17 test_mips64el_malta.MaltaMachineConsole.test_mips64el_malta_5KEc_cpio OK ▶ 15/17 test_mips64el_malta.MaltaMachineFramebuffer.test_mips_malta_i6400_framebuffer_logo_1core OK ▶ 15/17 test_mips64el_malta.MaltaMachineFramebuffer.test_mips_malta_i6400_framebuffer_logo_7cores OK ▶ 15/17 test_mips64el_malta.MaltaMachineFramebuffer.test_mips_malta_i6400_framebuffer_logo_8cores OK ▶ 15/17 test_mipsel_malta.MaltaMachineYAMON.test_mipsel_malta_yamon OK 15/17 qemu:func-thorough+func-mips64el-thorough+thorough / func-mips64el-mips64el_malta OK 56.88s 6 subtests passed Ok: 17 Expected Fail: 0 Fail: 0 Unexpected Pass: 0 Skipped: 0 Timeout: 0 Based-on: <20240821082748.65853-1-thuth@redhat.com> Philippe Mathieu-Daudé (7): tests/functional: Convert mips64el Fuloong2e avocado test (1/2) tests/functional: Convert mips64el Fuloong2e avocado test (2/2) tests/functional: Convert mips64el I6400 Malta avocado tests tests/functional: Convert mips64el 5KEc Malta avocado tests tests/functional: Convert mips32el Malta YAMON avocado test tests/functional: Convert nanomips Malta avocado tests tests/functional: Convert mips32eb 4Kc Malta avocado tests MAINTAINERS | 6 +- tests/avocado/boot_linux_console.py | 217 -------------------- tests/avocado/machine_mips_fuloong2e.py | 42 ---- tests/avocado/machine_mips_malta.py | 162 --------------- tests/functional/meson.build | 13 ++ tests/functional/qemu_test/utils.py | 20 ++ tests/functional/test_mips64el_fuloong2e.py | 67 ++++++ tests/functional/test_mips64el_malta.py | 193 +++++++++++++++++ tests/functional/test_mips_malta.py | 84 ++++++++ tests/functional/test_mipsel_malta.py | 98 +++++++++ 10 files changed, 479 insertions(+), 423 deletions(-) delete mode 100644 tests/avocado/machine_mips_fuloong2e.py delete mode 100644 tests/avocado/machine_mips_malta.py create mode 100755 tests/functional/test_mips64el_fuloong2e.py create mode 100755 tests/functional/test_mips64el_malta.py create mode 100755 tests/functional/test_mips_malta.py create mode 100755 tests/functional/test_mipsel_malta.py