From patchwork Wed Oct 16 10:04:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 835806 Delivered-To: patch@linaro.org Received: by 2002:a5d:6804:0:b0:37d:45d0:187 with SMTP id w4csp347049wru; Wed, 16 Oct 2024 03:07:07 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWqqv9KgvTzi7wwurOXJDeMqXli08HujRpfpDWmiJ6PP8lyee1F0BmjbXNss9AkKI/Tuq696A==@linaro.org X-Google-Smtp-Source: AGHT+IHZiu7GmXXsLGxQb3m2I+R3oaYKs9KcgGISeLctY44BkcJy5HRInVckhCopt+N8m2UHOPA2 X-Received: by 2002:a05:6602:640a:b0:83a:97f6:db4 with SMTP id ca18e2360f4ac-83a97f60e4amr374209439f.10.1729073227554; Wed, 16 Oct 2024 03:07:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1729073227; cv=none; d=google.com; s=arc-20240605; b=FSBH8w0yEZG0xpPd2UDkwh3LHaf94YwFWj0zt9XAfMqZYwUywI64oRw5nA070ZIW1a q09qRz5jb8c8VVk91v4iRXJ8hM+WeqW6MkQHZt1BVXoQyXR0eU/MlawkLhwSZHsn1Prd xo+T6PN255UvSq3YnYyd3CSLiLV6meU6/3GQz3ZP1xBlMGEH0Ec6gGcnkdAR0dIBJPTp 73lAUSlZoU6LqTQDVEPfX1Ugar/x6b+9ESrt12llCbLedYFeuxTmYlroqErainqfX8cc o6yIkSjmNfVC9IFmfIaBDh/JxCT7PPYULEBAzY98E7szYk+oQPXXclnaCqT2bUu4wW/L cdbg== 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=RlEGcCckJebs0pW6biLF/S5mvNiFVZJ9cWiuKYi7FxI=; fh=ElZ1Qkp/XXUV92IeOM6Vn/mWDvCrIyBhXpASk2K2VMY=; b=MndhEjRp4QQUocxwZG8Cq6X5al7p0JvsRmZKKoUuvTqLgkakU9AbIx4ZHLPxWZxLc+ gahHVk86wq6tbbeYiQLcNGqCGLp55qPcCBL0o/TxITacSFKNnFa5607BJcsI1G41omXw wp4cz9CwU1CAI6tZNtczMMtulrAwYZSDJNLnFHU5u0zafomcnqgvK1Lkjbgw52HZpr1g NjaT8kifazYvMHUbT46Vt2CdhEa1A3sO0vZmpCM8GfipAbaNzLo6L4g3JEAmiEeoKla5 Ke56asjGpYKFYhabpvFLJOxpGV+SqvrUddcGnP9go/zwx9R8+/EDYsZQJv55mh45aSe9 wyyw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XHE4DjeG; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 8926c6da1cb9f-4dbecc675dasi1477130173.86.2024.10.16.03.07.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2024 03:07:07 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XHE4DjeG; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 475B48904B; Wed, 16 Oct 2024 12:05:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="XHE4DjeG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A09A389024; Wed, 16 Oct 2024 12:05:16 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 394D088D1B for ; Wed, 16 Oct 2024 12:05:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jerome.forissier@linaro.org Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-43118c9a955so54055355e9.3 for ; Wed, 16 Oct 2024 03:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1729073113; x=1729677913; darn=lists.denx.de; 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=RlEGcCckJebs0pW6biLF/S5mvNiFVZJ9cWiuKYi7FxI=; b=XHE4DjeG1lv/H/QM0yQ5HLCHE/u3dR1YJP4/Bb+uiLUZ8P1qOgwjOGz4045s6zciJx cUT+TF+8x0Rg7mPZv8jKWoKdkLoW1U7jsCeU4dpIzyUEYNrIloIiQtWt6J04CjUHHKCL 7YYtT7h90yPlO21KmdNCapPOKIokNnfd0j5JGYTjTcu9yNaYjlsDJGNUn+rd9EbzAITW tbXOoVwCqb+3JkxlrH3i0bg5nfLSwZQfbJG+ZohO1fxyW8FPtmVeHKDlPnvHlfOPGmz8 2Hle+3o3gvKsX4VBTLtrN5GJs23IBfyxyAW5jWE6G8jjYY6Tr/Q/kErEm/j0m3VZdmB7 FF6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729073113; x=1729677913; 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=RlEGcCckJebs0pW6biLF/S5mvNiFVZJ9cWiuKYi7FxI=; b=r8J7xi2maHqIFLdkTdJImiWbNIgGqmY3FUYN9AVYnfTA1udedc87++BtY8BoPLO8Nh RaThJa/ag0ZlUcCU84ZjlcVW6Xm0pIUlIxLXZhCIT4vhf6sg4BuS55NXMN6JXI33sNZf 1SVCA2W0d5gjKZFzxvvISc4EnVCVBpm7N0jhEZ/XQ6NFpxI72Zt4q4XtY6ydefxM8pV5 hbeUCi0dbTBP5/NStSGJ1Pdguid+gKKVhNi8zT4zF8TsPivl1buLip6C4019AVhlUJIU wH6ElvxQ8/EpO2ZmyroAMKDJ97AvQ6SCPqzaoeyKMrXGQi8iyPPFUQmSofZx/qXpMOC4 4Liw== X-Gm-Message-State: AOJu0YwlUCBAa/Jn27jD5JRp9ANes0Prg6Dfg/FaBlIt+hzXUoLK0JbB hnC3WWUfzINlEOg2QL8VQRBkM8DH+g0WheSalZgiZkyPei5/IZ4PEAVoHsLTaYiqLNbbTiRn9ZT hQ+vHTETK X-Received: by 2002:a05:600c:1f0e:b0:42f:8515:e47d with SMTP id 5b1f17b1804b1-4311ded2340mr154723725e9.11.1729073113512; Wed, 16 Oct 2024 03:05:13 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:6417:8cf6:a7f7:ee38]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4313f56f241sm44634515e9.22.2024.10.16.03.05.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2024 03:05:13 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Javier Tia , Raymond Mao , Maxim Uvarov , Tim Harvey , Anton Antonov , Jerome Forissier , Tom Rini , Simon Glass , Jiaxun Yang , Heinrich Schuchardt , Sumit Garg , Sean Anderson Subject: [PATCH v13 20/21] CI: add qemu_arm64_lwip to the test matrix Date: Wed, 16 Oct 2024 12:04:14 +0200 Message-Id: <9d0144a953860094bec5f1278b5dd9b1c85245b2.1729070678.git.jerome.forissier@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Build and run qemu_arm64_lwip_defconfig in CI. This tests the lightweight IP (lwIP) implementation of the dhcp, tftpboot and ping commands. Signed-off-by: Jerome Forissier --- .azure-pipelines.yml | 7 +++++++ .gitlab-ci.yml | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 11f1d5ad20a..813640df92c 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -239,6 +239,10 @@ stages: cd \${WORK_DIR} git config --global --add safe.directory \${WORK_DIR} git clone --depth=1 https://source.denx.de/u-boot/u-boot-test-hooks /tmp/uboot-test-hooks + # qemu_arm64_lwip_defconfig is the same as qemu_arm64 but with NET_LWIP enabled. + # The test config and the boardenv file from qemu_arm64 can be re-used so create symlinks + ln -s conf.qemu_arm64_na /tmp/uboot-test-hooks/bin/travis-ci/conf.qemu_arm64_lwip_na + ln -s u_boot_boardenv_qemu_arm64_na.py /tmp/uboot-test-hooks/py/travis-ci/u_boot_boardenv_qemu_arm64_lwip_na.py ln -s travis-ci /tmp/uboot-test-hooks/bin/\`hostname\` ln -s travis-ci /tmp/uboot-test-hooks/py/\`hostname\` grub-mkimage --prefix=\"\" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd @@ -419,6 +423,9 @@ stages: qemu_arm64: TEST_PY_BD: "qemu_arm64" TEST_PY_TEST_SPEC: "not sleep" + qemu_arm64_lwip: + TEST_PY_BD: "qemu_arm64_lwip" + TEST_PY_TEST_SPEC: "test_net_dhcp or test_net_ping or test_net_tftpboot" qemu_m68k: TEST_PY_BD: "M5208EVBE" TEST_PY_ID: "--id qemu" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d938c7f31d6..d89657e28b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,6 +27,9 @@ stages: # Clone uboot-test-hooks - git config --global --add safe.directory "${CI_PROJECT_DIR}" - git clone --depth=1 https://source.denx.de/u-boot/u-boot-test-hooks /tmp/uboot-test-hooks + # qemu_arm64_lwip_defconfig is the same as qemu_arm64 but with NET_LWIP enabled. + # The test config and the boardenv file from qemu_arm64 can be re-used so create symlinks + - ln -s conf.qemu_arm64_na /tmp/uboot-test-hooks/bin/travis-ci/conf.qemu_arm64_lwip_na - ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname` - ln -s travis-ci /tmp/uboot-test-hooks/py/`hostname` - grub-mkimage --prefix="" -o ~/grub_x86.efi -O i386-efi normal echo lsefimmap lsefi lsefisystab efinet tftp minicmd @@ -348,6 +351,12 @@ qemu_arm64 test.py: TEST_PY_TEST_SPEC: "not sleep" <<: *buildman_and_testpy_dfn +qemu_arm64_lwip test.py: + variables: + TEST_PY_BD: "qemu_arm64_lwip" + TEST_PY_TEST_SPEC: "test_net_dhcp or test_net_ping or test_net_tftpboot" + <<: *buildman_and_testpy_dfn + qemu_m68k test.py: variables: TEST_PY_BD: "M5208EVBE"