From patchwork Fri Jun 27 06:29:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 65700 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B18FEC7EE2A for ; Fri, 27 Jun 2025 06:30:24 +0000 (UTC) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mx.groups.io with SMTP id smtpd.web10.7430.1751005822916443378 for ; Thu, 26 Jun 2025 23:30:23 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=IsnjKZdn; spf=pass (domain: linaro.org, ip: 209.85.167.41, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-54b09cb06b0so1982568e87.1 for ; Thu, 26 Jun 2025 23:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1751005821; x=1751610621; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mGX7aBTodn4tM0BxeNUBBSkrMZkvtvc4gsXkcD+8oq8=; b=IsnjKZdnLp9cS082FYD3Ec/QM1lwQLM8refxNZ7jnG5OLthVLqrvOoYrhZFxLsqgPM g5/SjF/+ajf+ab9wsi2NYW6pttwM4hEoN4EAPUG6+ri61AYNDUwUPA6dvGEj2BbgyAQH dx46OOa7Bgz+r8VUF/WR750V9yY8WHvvBZlSRNzc7SBoukc8j9BpjdQl5AZ60hCzu2ko ERtAmGgEB4ErB4taBi5i94jB2IPFGY6ir++66A1JJ4jYpJJ3njJlo9RSJcWBfWHhwNUG ogAxBTLmKZqHNwHPFX4RRATifNn0B1kcFBkNHVHgmTd1mey85UtNHuC+nsk3oYlGtraj vgvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751005821; x=1751610621; 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=mGX7aBTodn4tM0BxeNUBBSkrMZkvtvc4gsXkcD+8oq8=; b=YWkSad13J9cdZIhvM5jVofMCtBe1z5Fm0DqSvhn+Eq+E5j6JcinXkpHFSdVf/8coKt 538xkwCA50muf2JgK8a0ujsEJJSZk1Kxg7bYEI6C0fwvV0sUxI4ULbfE6OlhqIPONq3Y UBipH4VUZ/yDhQP56E5X8M8x1fzs6UCaSgTp8GxG0JkcZQZFmw4LCRq4oRmasmBJLgzG 41FNNNwPOfcqzyMjfzMfDXm8R0/M5HvZiBJCwq67XTbQT69leKjPmQueVboskWv54svb Txi9sZkf/5WfqGQ17KmmICNePV+q343hzDvhubqe6FKxe0cq3hhrfeh9VZc/oIyq9hPg G8Pg== X-Gm-Message-State: AOJu0Yx+1C0kTxNv7YE9PcrXOJCmGOUAISncFCumyCS5wAbPJ2LKDb4y YcH42Hu9rKfM6YwpCAOJ+Oie32MVouivG02aN9zEMzFeOevoE+CpjEIVXFLORn2gTVcx9wLzS1q liwS3a54= X-Gm-Gg: ASbGnctlB9zlZuAehjzdBROgiz7mTe3a2U3M14nvL0BwwK57Hdr4Hty0p814X0EBgC6 lFtXJbEiqn0+UrzTK9oFVVplCSvR4E2beNqKlyfp2nI0tHDVFTbkJQIVsIrEjMBazpHAHjMNp60 l212j2TG9WvzvgP8HCpKUHMZS8MrWejxRJEdFd6yEhvd+rikrGa26vgKvn+P1nHEzajHYc4DOfu AXp6AS8RpGYMGVVCixB1NZJIMpcUY6P7liYaH+NX07ZXckIGmy8eg7J5O6Q8gzPMi5gBPFAKsV6 P5kdUOZUSZJeJA8l9qzUwIMmxWZELMPWs5fA1K2+tWuRsgyCfQkvFIHclULXb78TMps+D87DvJj Nb12Rti/UtAJRZgwJaKxIdl6C6pMixApqaMTAeoY= X-Google-Smtp-Source: AGHT+IGnQnpvTvrhaLEgAW5jGnOuvBYWbNukQ54W2xnlm7xe0g4YDms+pS7VML9IZ0DE0FXL1UZ3WA== X-Received: by 2002:a05:6512:114e:b0:553:2e42:fffb with SMTP id 2adb3069b0e04-5550b88cd34mr783765e87.33.1751005820869; Thu, 26 Jun 2025 23:30:20 -0700 (PDT) Received: from localhost.localdomain (87-100-218-141.bb.dnainternet.fi. [87.100.218.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5550b2a740csm318916e87.89.2025.06.26.23.30.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jun 2025 23:30:20 -0700 (PDT) From: Mikko Rapeli To: openembedded-core@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH 1/6] oeqa runtime ping.py: make run_network_serialdebug() specific to qemu Date: Fri, 27 Jun 2025 09:29:59 +0300 Message-ID: <20250627063004.781560-1-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 27 Jun 2025 06:30:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/219377 Only qemu runner supports self.targets.runner. ssh runner does not define this and on error path this function causes another exception. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/runtime/cases/ping.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/runtime/cases/ping.py b/meta/lib/oeqa/runtime/cases/ping.py index efb91d4cc9da..515d376602bd 100644 --- a/meta/lib/oeqa/runtime/cases/ping.py +++ b/meta/lib/oeqa/runtime/cases/ping.py @@ -10,6 +10,7 @@ from time import sleep from oeqa.runtime.case import OERuntimeTestCase, run_network_serialdebug from oeqa.core.decorator.oetimeout import OETimeout from oeqa.core.exception import OEQATimeoutError +from oeqa.core.target.qemu import OEQemuTarget class PingTest(OERuntimeTestCase): @@ -36,7 +37,8 @@ class PingTest(OERuntimeTestCase): count = 0 sleep(1) except OEQATimeoutError: - run_network_serialdebug(self.target.runner) + if isinstance(self.target, OEQemuTarget): + run_network_serialdebug(self.target.runner) self.fail("Ping timeout error for address %s, count %s, output: %s" % (self.target.ip, count, output)) msg = ('Expected 5 consecutive, got %d.\n' 'ping output is:\n%s' % (count,output)) From patchwork Fri Jun 27 06:30:00 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 65702 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91B77C7EE39 for ; Fri, 27 Jun 2025 06:30:34 +0000 (UTC) Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) by mx.groups.io with SMTP id smtpd.web11.7313.1751005825122321835 for ; Thu, 26 Jun 2025 23:30:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=MGZInw5F; spf=pass (domain: linaro.org, ip: 209.85.208.171, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-32b8134ef6aso17494451fa.0 for ; Thu, 26 Jun 2025 23:30:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1751005823; x=1751610623; darn=lists.openembedded.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=wPkyMDRmPq+eYggEcOfLzzleAWHHvQWQy/DqtYzV4zA=; b=MGZInw5FPcjBWwcobfAEBRbJ9bB9FjszCDs1iGWXJ/xGi4iqQoPnIh+RW4h6PR2Kv2 eemBflA5pFvC6qgyuc3sQ1PVC8phUehEaIYG0TT6hof83OvMsJedgyZNLBlCJdutmEdw wdVC5kLlu2oLtimrcGTPhZwmtOd8jCBvVsErpZvFX2YyNaKnAu3V56XqzFdtvCHFqLjb L4XEVYivOtXOEHXQiOw3XeGVuDRNRyjWP3erRupEfrGIq6TpdM2ROTaAMTAuEFGBDjNN pj6Z8x4Sm9BEyQqbAG3QiiF5PTuAN7MfEBHV+PMOBpD74+eypEyUHgeEB+kM81kZOWgz fJ1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751005823; x=1751610623; 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=wPkyMDRmPq+eYggEcOfLzzleAWHHvQWQy/DqtYzV4zA=; b=w4g5mdQSBlP/U49QqGL/3RkA1JURDwDnN2BqshyyuYr0jvt6vxhvQbklBt3K5JrZz+ lZakbgYz5UM7L3aDVZUKUE9DRs4efQL5fTRNsMAVv0IVNjYFkp2cJpKUDiErl7wh6mEE u7fVsQ1h0kUehmlsMMupt2sYsO3AUph05MT2CFWdMyutcZoHoHySu/io8zwGJgPqcI5q mwCK6Otf0pfoeT/gLGEASOamGqinOSvehzsLXC8cZU7Qp1BssRPJtHE87/boG4IiS3xC XcWJW/mp9onpfTk78IJj86eXf2FZUN+vC7AUZ/Hh79yoLqnJKbOCuF1Kw6ZToBmRWvxN tP9A== X-Gm-Message-State: AOJu0YzryvfjTVqaPRHb1SvN83mPrWwVhW8n4NuN8tKF09CtuDkRBN/G Xia4SjvM94lLzWUHnHyEXBGz/n0KOVilRqNKN5AzxQc+7qVEcJUUKJ3tvvcbyqrcT3xvPN35a9I JVZcp4vg= X-Gm-Gg: ASbGnctLH425/D9QRWGlpd8G9E9LidRpxPxTS/uZ2BUnLhBo6dCdt+XKcuuBN8gLdLP rh0qQyXuXbA4j/y+qskANVpgKOypAfcTr6cVXRGsqfOwVrzyGuu0eq/YRY+WwMFyb7PjodVNsqo IF3ex81164YfH1o2RqsEG/JGcplpUlSCyvKbVdmCjLpDcgriqfrnwqo9lOyPCjwRWj6KyetsEZj BuursAy0q+7HZeSFDHwLIUO97IpJYinwmJUPy0nMIpeDXSUYRCopir3CT1V5AtHlY4Pzv3M6Emb AP0dqcV5IKd51X+TDvEPDRbsi+beJJqEUGVYs/WJdnGAbH/4lIQh3dUXEyJiA1Y5QYnY3NbMSxe sTQzHa+Fkp3v7707TQh+yaQ30BL4q7kDek1swyaE= X-Google-Smtp-Source: AGHT+IEbyrhRkn1n7ivSn2o218x5PcvED+QI6IwyhGVyHIGSk2opTB74M/6txZzS9SkkK/Zxx7DOoA== X-Received: by 2002:a05:6512:3f0e:b0:553:2dce:3aad with SMTP id 2adb3069b0e04-5550b7e788bmr753336e87.7.1751005823064; Thu, 26 Jun 2025 23:30:23 -0700 (PDT) Received: from localhost.localdomain (87-100-218-141.bb.dnainternet.fi. [87.100.218.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5550b2a740csm318916e87.89.2025.06.26.23.30.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jun 2025 23:30:22 -0700 (PDT) From: Mikko Rapeli To: openembedded-core@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH 2/6] oeqa runtime ssh.py: make run_network_serialdebug() specific to qemu Date: Fri, 27 Jun 2025 09:30:00 +0300 Message-ID: <20250627063004.781560-2-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250627063004.781560-1-mikko.rapeli@linaro.org> References: <20250627063004.781560-1-mikko.rapeli@linaro.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 27 Jun 2025 06:30:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/219378 ssh and serial port runner targets don't support separate serial port communication channels. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/runtime/cases/ssh.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/runtime/cases/ssh.py b/meta/lib/oeqa/runtime/cases/ssh.py index b632a29a0178..7fdad564a2d7 100644 --- a/meta/lib/oeqa/runtime/cases/ssh.py +++ b/meta/lib/oeqa/runtime/cases/ssh.py @@ -10,6 +10,7 @@ import signal from oeqa.runtime.case import OERuntimeTestCase, run_network_serialdebug from oeqa.core.decorator.depends import OETestDepends from oeqa.runtime.decorator.package import OEHasPackage +from oeqa.core.target.qemu import OEQemuTarget class SSHTest(OERuntimeTestCase): @@ -32,7 +33,8 @@ class SSHTest(OERuntimeTestCase): time.sleep(5) continue else: - run_network_serialdebug(self.target.runner) + if isinstance(self.target, OEQemuTarget): + run_network_serialdebug(self.target.runner) self.fail("uname failed with \"%s\" (exit code %s)" % (output, status)) if status != 0: self.fail("ssh failed with \"%s\" (exit code %s)" % (output, status)) From patchwork Fri Jun 27 06:30:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 65703 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F08AC7EE3A for ; Fri, 27 Jun 2025 06:30:34 +0000 (UTC) Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) by mx.groups.io with SMTP id smtpd.web11.7314.1751005826325671778 for ; Thu, 26 Jun 2025 23:30:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=fAZayVhU; spf=pass (domain: linaro.org, ip: 209.85.208.172, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-32add56e9ddso15105651fa.2 for ; Thu, 26 Jun 2025 23:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1751005824; x=1751610624; darn=lists.openembedded.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=1DTUB9X5GgYcgEpNF4OJGtzgYuPO+9/qpUKDwNSCqCA=; b=fAZayVhU5IVAPKX8SMg+98J8majnTJH01jXFJXZrM8Tl3VT43/1dzmGiu/9NRp3uH7 VqqxeDkAMB74W53lFsSXFS1DbfEROKy1oebe3WDjuefWkKygYkBPf77mfrrhz3d3HfwI F1o1RTaW9jtg3ABCfTXt0DTnh0vFPica4hnUFudR0tJDVe26zDEXIBnUADemVtyr0oQ4 gBIgCyYy0JPc/oA7CxYvosqTtxG5L9AmjjOYpdT3yI5s10JZZ3nSH2IwwjzvyPNN6WX7 ir/CcoI/Bqsp2g6tqieuh43v1sFvnvBYlXsBJ5iqwfNiSGU1cjhZnVzMReIVMx1inDSF i9Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751005824; x=1751610624; 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=1DTUB9X5GgYcgEpNF4OJGtzgYuPO+9/qpUKDwNSCqCA=; b=incMyKloaB2y67bRdd8YNDG1b0r9AxM19bymnrPKtLF+ADf7ZLNmylkui4r0+754f6 V9Qj9jpo0/T/zhMzpO85Zk/fiVopx96Kcn1ZpgyiOZlPWVKr7A4s7NDIc/2lTJKp6rG2 JulRZrgQMygJLxkDTh1F1GEnwD/ggZ/dDEXToewotEu8NUzffPmIzkcNRmUl+LpkUNql l95HB2Cv085PLzKBiHwAm8s/Ig32llWmWWGUln5e3pEJZKKaLfdwIUdFJm3wEnKajnPi 2fyw2g/iVUqQ2O/XJUezRbDIgoWx48EpY5mXo+n6mBMJIoX8dj75/2qFVeWwWVYkBkHC g8lA== X-Gm-Message-State: AOJu0YzA2xi0qVDfyp1GAmyHQK3eBfCNPcZRHo0/FO59d+FjradtEFz5 hP78KMASa0bvXMUnQJwChbW30515nTzkri0OXGkr4bGXfYipqzYDYBeIDtEDgEtFwdIf24nmKsQ hDt830BE= X-Gm-Gg: ASbGncvFypZzbUXBwB+jbRqP/PCocpLYyMHoV1M35RHiI+o3HVKkhZHWX5bMyXSG+jj Djpr9+wJK83aPTQqx4H2OPlSO9UIm9IVVtV9uzqJ7im0i0fnvWVxjIoUKVDQ10as00p8VBfmTxl uNeVTH+aFslybKiJsv/Fi0RIgrcVYLRNZiZe/s8icFeAUbL1vmIFQLmbt7abIwtDMbnjLX/rr/3 hf1YF3oIemfvQ0xxwSrPVs7AqLz+gN7vpF+Zx6IsLwLnjikjwDbmgmrMzWo6HNzqu949MOUKgl+ ZHodTBjggHh/h3pLzXAyjWlHa3ArEnttdYYw7WMbf40I0CcLtZtcQveOk5DoXHezna3nfo6r/y5 ApjjgeeJpMBwUFbOn5Pdth4A+Eg/PSoDHbtGybS3rQrrJRpVAvw== X-Google-Smtp-Source: AGHT+IHiQUUyBLMZ7II4C9ARkj5LLpiWMnv3I6u4+Z7Utv8xanWf9gIY37HhUzR/4KeiErFi0wZDXQ== X-Received: by 2002:a05:6512:ba9:b0:553:50f6:ebcd with SMTP id 2adb3069b0e04-5550b7e675bmr769748e87.10.1751005824337; Thu, 26 Jun 2025 23:30:24 -0700 (PDT) Received: from localhost.localdomain (87-100-218-141.bb.dnainternet.fi. [87.100.218.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5550b2a740csm318916e87.89.2025.06.26.23.30.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jun 2025 23:30:24 -0700 (PDT) From: Mikko Rapeli To: openembedded-core@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH 3/6] oeqa runtime apt.py: check errors and fix quoting Date: Fri, 27 Jun 2025 09:30:01 +0300 Message-ID: <20250627063004.781560-3-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250627063004.781560-1-mikko.rapeli@linaro.org> References: <20250627063004.781560-1-mikko.rapeli@linaro.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 27 Jun 2025 06:30:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/219379 Check that shell commands succeeded and fix quoting warning: core-image-minimal/lib/oeqa/runtime/cases/apt.py:44: SyntaxWarning: invalid escape sequence '\[' self.target.run("cd %s; cp sources.list sources.list.bak; sed -i 's|\[trusted=yes\] http://bogus_ip:bogus_port|%s|g' sources.list" % (apt_get_sourceslist_dir, apt_get_source_server)) Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/runtime/cases/apt.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/runtime/cases/apt.py b/meta/lib/oeqa/runtime/cases/apt.py index 8000645843aa..b7cda0095394 100644 --- a/meta/lib/oeqa/runtime/cases/apt.py +++ b/meta/lib/oeqa/runtime/cases/apt.py @@ -36,12 +36,12 @@ class AptRepoTest(AptTest): def setup_source_config_for_package_install(self): apt_get_source_server = 'http://%s:%s/' % (self.tc.target.server_ip, self.repo_server.port) apt_get_sourceslist_dir = '/etc/apt/' - self.target.run('cd %s; echo deb [ allow-insecure=yes ] %s/all ./ > sources.list' % (apt_get_sourceslist_dir, apt_get_source_server)) + self.target.run('cd %s && echo "deb [ allow-insecure=yes ] %s/all ./" > sources.list' % (apt_get_sourceslist_dir, apt_get_source_server)) def setup_source_config_for_package_install_signed(self): apt_get_source_server = 'http://%s:%s' % (self.tc.target.server_ip, self.repo_server.port) apt_get_sourceslist_dir = '/etc/apt/' - self.target.run("cd %s; cp sources.list sources.list.bak; sed -i 's|\[trusted=yes\] http://bogus_ip:bogus_port|%s|g' sources.list" % (apt_get_sourceslist_dir, apt_get_source_server)) + self.target.run("cd %s && cp sources.list sources.list.bak && sed -i 's|[trusted=yes] http://bogus_ip:bogus_port|%s|g' sources.list" % (apt_get_sourceslist_dir, apt_get_source_server)) def cleanup_source_config_for_package_install(self): apt_get_sourceslist_dir = '/etc/apt/' @@ -49,12 +49,12 @@ class AptRepoTest(AptTest): def cleanup_source_config_for_package_install_signed(self): apt_get_sourceslist_dir = '/etc/apt/' - self.target.run('cd %s; mv sources.list.bak sources.list' % (apt_get_sourceslist_dir)) + self.target.run('cd %s && mv sources.list.bak sources.list' % (apt_get_sourceslist_dir)) def setup_key(self): # the key is found on the target /etc/pki/packagefeed-gpg/ # named PACKAGEFEED-GPG-KEY-poky-branch - self.target.run('cd %s; apt-key add P*' % ('/etc/pki/packagefeed-gpg')) + self.target.run('cd %s && apt-key add P*' % ('/etc/pki/packagefeed-gpg')) @skipIfNotFeature('package-management', 'Test requires package-management to be in IMAGE_FEATURES') From patchwork Fri Jun 27 06:30:02 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 65704 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9EF3EC8300F for ; Fri, 27 Jun 2025 06:30:34 +0000 (UTC) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by mx.groups.io with SMTP id smtpd.web11.7315.1751005827333370410 for ; Thu, 26 Jun 2025 23:30:27 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=OBWf0LN5; spf=pass (domain: linaro.org, ip: 209.85.167.48, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-55350d0eedeso1974122e87.2 for ; Thu, 26 Jun 2025 23:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1751005825; x=1751610625; darn=lists.openembedded.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=bY2VEikW0RjaEyaNiLpJGfV1xI/BJcH0PmO3qJX7Qp8=; b=OBWf0LN5yYRxpmJ0HNKicch6ScNVM9rgBKo3nkIdo2zfyao4XFIlySOKDncEFWtLn7 DxBehCP9hSkxKiAzPGmG2sGen7fNT3zL/jwvphwnct6P7+s0STQ7juJdSlZFmyT2O9rR ZqJEup9aFy8H3k7UVYTKKFh39W5gfZF7/1R7iHDyNpuMsDWoWib6BvAavqZ0H4pVS+B3 xtfqTBbZdk/I+CvkJacVjYfS/sr18CIpkEW4FYZB9hxOGTViINaNJ4GXL2qARNSdfPb2 Ak43uSvF1wdnP/8lm3JuVjhgHPpAHDQNoulOpcf4nR8vjUyH6hG1x6sYAzK4B9nUA0rx 2Tug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751005825; x=1751610625; 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=bY2VEikW0RjaEyaNiLpJGfV1xI/BJcH0PmO3qJX7Qp8=; b=Iz9oTb42pPvUktDt0spWfHFjDNNEG2CBkcaIV+7JnfMUcL3FPno8SeqsbinRq5p++e MvNTQbKdiRqhhWONWorlE8gHJ3c1OIHadkdeNfrfmUVIXd7UidXkvIP82FExiaMfOWTa 0ZhBYXp34qGmjlgz1zCW5spTOhjziRTDEmG5/w2CObzDZH4fNCX7ZvCV48fAxGWkCefb hTuXeskTj1Y0X7a9DAc49GFzKU9M0ckEkAXT+HqCe/VnGLLGR3lmkyS1hm0Je8CXAW1j kSAVtHVt3dM+4HU/X0Q4RcXdTDfvkW7hOj8SQxr6BKg6L9d91PoWxmFroZiftOllky3T oUZA== X-Gm-Message-State: AOJu0Yxcad5vEp+Qg/FIrq5vpirDhG7P2kEFCwDhtnBxrb2ftH5gnXyQ JTmIFLn88Qi9jgeYdf5ugOJDahyif+tEVHSCilf8yo2wwzT/irMCwCJlU82dOdWHgTHmwjHzkUV Va5TkuxM= X-Gm-Gg: ASbGnctU3m6aH+BnHQ96ADXgxcJf1WG1meySCxwff7p2Y/WKLIUt06s+65gx9bt1AUA Ta6uZbQOuoE/62d8jCYpwu7ddz0hTUx8GHr8MjzfSwGrWEJeE/5unWSk/BIGljo4cgzkgQ+x5NU YxBZKSK+2OPzxIMpPlEAw6LJ96XJOIrgn7I3qrweGfMBwi6kbsw0LJlox/LcWPdwJHiJUtxpwgE +uI8LDH+nf3dfX0HAoB627qJIzGthj1Fb9dkilyxWEkRtc9Tws3raPkieCEUcpDmdYdtagRi2t0 Km2abIos+UoZbPj2/1WNNs5mgenM5UwxLqE8myZkkFS7oinZ7q5wjP/Jp3q/4gIKIXevkoHDbiv XZVnbJwkmcf1ByKrsSTjeUukIGG7pgmU4d1uLBjk= X-Google-Smtp-Source: AGHT+IFRy2BPYPmk29oKBDetu6BC/GjrunZ7vKupCFZs1eumxiSR4mSA0vQLS6dfjK8ee2p+sRS13Q== X-Received: by 2002:a05:6512:3c8c:b0:553:2c01:ff44 with SMTP id 2adb3069b0e04-5550b7e9fb6mr698578e87.2.1751005825401; Thu, 26 Jun 2025 23:30:25 -0700 (PDT) Received: from localhost.localdomain (87-100-218-141.bb.dnainternet.fi. [87.100.218.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5550b2a740csm318916e87.89.2025.06.26.23.30.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jun 2025 23:30:25 -0700 (PDT) From: Mikko Rapeli To: openembedded-core@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH 4/6] oeqa context.py: use TEST_SUITES if set Date: Fri, 27 Jun 2025 09:30:02 +0300 Message-ID: <20250627063004.781560-4-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250627063004.781560-1-mikko.rapeli@linaro.org> References: <20250627063004.781560-1-mikko.rapeli@linaro.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 27 Jun 2025 06:30:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/219380 If build target has set TEST_SUITES, then that should be the default test modules to execute. Fixes testexport.bbclass to run same tests as testimage.bbclass which already uses TEST_SUITES. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/core/context.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/lib/oeqa/core/context.py b/meta/lib/oeqa/core/context.py index 9313271f5865..a0eb16e71602 100644 --- a/meta/lib/oeqa/core/context.py +++ b/meta/lib/oeqa/core/context.py @@ -179,9 +179,14 @@ class OETestContextExecutor(object): else: self.tc_kwargs['init']['td'] = {} + # Run image specific TEST_SUITE like testimage.bbclass by default + test_suites = self.tc_kwargs['init']['td'].get("TEST_SUITES").split() + if args.run_tests: self.tc_kwargs['load']['modules'] = args.run_tests self.tc_kwargs['load']['modules_required'] = args.run_tests + elif test_suites: + self.tc_kwargs['load']['modules'] = test_suites else: self.tc_kwargs['load']['modules'] = [] From patchwork Fri Jun 27 06:30:03 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 65705 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90A1EC7EE31 for ; Fri, 27 Jun 2025 06:30:34 +0000 (UTC) Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) by mx.groups.io with SMTP id smtpd.web10.7431.1751005828607367881 for ; Thu, 26 Jun 2025 23:30:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=d6HToAyt; spf=pass (domain: linaro.org, ip: 209.85.167.52, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-553644b8f56so1693179e87.1 for ; Thu, 26 Jun 2025 23:30:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1751005827; x=1751610627; darn=lists.openembedded.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=9Njpkw0p4Yv+Wq8ua1hEDkrILha1Qloz5kYUSLzIVQY=; b=d6HToAytU0To/J5qQBL6hvfN2peUZ5hZjQ0HM+8Exrgd2XWtZhsgQ04ogm2FvHVvdl wCSBPbZsQA7j0ilmkUNVEUgxvTAX841/9Cf/UWhAiFbpVMzz+FgfHMY1UDYw15NBIr7F AtP32jB/OxkPaji6MfPxTUR7xPB+Bo/mbAGKrix6ZnE6UOMVYJeeDLGly6ZwC72+twKi J2iYL7y2Yxx7reGBmnZkLhTwJJgZRAP7NHc/gzi4LjsYAEwCZ4i0WZvny4o0Xj/f99TC c6/yyhjgf3tRVVVOjY1FakLQpxwnC0yZdB1t0eyW5OQh/dOdVzUgC0KdcUb07qssjxRo E58Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751005827; x=1751610627; 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=9Njpkw0p4Yv+Wq8ua1hEDkrILha1Qloz5kYUSLzIVQY=; b=TCH2CviJjuPl528qXS2t2SqJLJKdiL9QmHGZvFgeO3FdK8/fci3DrCtsixwZWyKCgi YwnN8fgZll+iP2AILXQF1GC4ZvhJP6kiWb6jXasyVjjLy3lqgGi63kcmvtMMxEfW8a9h 5vDbV7BT/S1lJ3fxmhQIzL12CgrRYmivPaM1Ad9YG+81Wolx72sp7TMH+Jqyc2Mvc/AY HGswe6OG4C/OxG9Wvy42lI0WWY5SQhJW2C2AWy/IWuTVQBD6OREkxlZFQJ9/x7SLorNa u7IUfELfTWnCmlmipR7Lxwd/2SdaCgUFHtclhLulGnwa1A+cisgNUaw4Rrx1tzgO3CBW CyjA== X-Gm-Message-State: AOJu0YzTznvBehSchCXO+gxEe7r5Ot+8XnOBOt5hzp9iOBJQgxJeDAW8 IKnPP0Hy2nSP/D91TkXBgGgKaDWzODo+4bFhJ27rlg88w2fs5TzZCbJuxjV8IivjzN4hx8p599y LnjHtCRg= X-Gm-Gg: ASbGnctSGbSBqOoMRHI9YkaClaRkNW8wzvXxD1hurGl2samMIX/FP7I2PnaYynHShYo ja3qwgT6zTE2XsAgLjvQBmp5V+8n/MC2tmxaMRaOLOuH1UmzdzNl4NEdyY5iLfStu3T6FmDV+Ay Ebmu0DZUSrNAfZfHznKr0fRQD7gZdtIzV5uEPKxQcZ6SIOjHoEXoHBer319gazlufAVt8olnOeF h3m2LHOBtlg9oUsSuUQrBb2aGcSW1qsZ8mPYEnJdfP8AjhaK4/Btzff9//sWJwe3R3thOgT/tie fqRokBlk0BOA4bG9l8BTjTw4VvRY3bwIUWeozh/5/XA9LAFiWm4D6xAIbEgkRrGRImC1B020Ydl FG40ybbaWF3WXRja074PkLj1u1w/ntpULd3mgfTI= X-Google-Smtp-Source: AGHT+IE/YGNWUQNenTxmjfnZ2SyuAdENJLpugXTEQFTj4HMak+82W61P8SdnYoVefsPvTHklwYpzmg== X-Received: by 2002:a05:6512:638b:10b0:554:f76a:bab1 with SMTP id 2adb3069b0e04-5550b79bd37mr497845e87.0.1751005826649; Thu, 26 Jun 2025 23:30:26 -0700 (PDT) Received: from localhost.localdomain (87-100-218-141.bb.dnainternet.fi. [87.100.218.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5550b2a740csm318916e87.89.2025.06.26.23.30.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jun 2025 23:30:26 -0700 (PDT) From: Mikko Rapeli To: openembedded-core@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH 5/6] testexport.bbclass oe-test: capture tests and data from all layers Date: Fri, 27 Jun 2025 09:30:03 +0300 Message-ID: <20250627063004.781560-5-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250627063004.781560-1-mikko.rapeli@linaro.org> References: <20250627063004.781560-1-mikko.rapeli@linaro.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 27 Jun 2025 06:30:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/219381 testexport.bbclass only copied files from core layer to the testexport.tar.gz to run tests. Then it removed all tests and files which were not specified in TEST_SUITES variable. Stop removing files to include for example parselogs.py test data files which are machine and/or layer specific. TEST_SUITES variable is now read from build time exported data store when running tests. Then copy oeqa runtime files from all layers so that tests and test data like parselogs ignore files will be provided to testexport.tar.gz. Adapt oe-test script to find "lib" directories from the new structure with layer specific paths. Signed-off-by: Mikko Rapeli --- meta/classes-recipe/testexport.bbclass | 43 +++++++++++++------------- scripts/oe-test | 12 ++++--- 2 files changed, 30 insertions(+), 25 deletions(-) diff --git a/meta/classes-recipe/testexport.bbclass b/meta/classes-recipe/testexport.bbclass index cc4088c71a13..843d777e3bb9 100644 --- a/meta/classes-recipe/testexport.bbclass +++ b/meta/classes-recipe/testexport.bbclass @@ -85,6 +85,7 @@ def copy_needed_files(d, tc): export_path = d.getVar('TEST_EXPORT_DIR') corebase_path = d.getVar('COREBASE') + bblayers = d.getVar('BBLAYERS').split() # Clean everything before starting oe.path.remove(export_path) @@ -92,17 +93,11 @@ def copy_needed_files(d, tc): # The source of files to copy are relative to 'COREBASE' directory # The destination is relative to 'TEST_EXPORT_DIR' - # Because we are squashing the libraries, we need to remove - # the layer/script directory - files_to_copy = [ os.path.join('meta', 'lib', 'oeqa', 'core'), - os.path.join('meta', 'lib', 'oeqa', 'runtime'), - os.path.join('meta', 'lib', 'oeqa', 'files'), - os.path.join('meta', 'lib', 'oeqa', 'utils'), - os.path.join('scripts', 'oe-test'), + # core files/dirs first + core_files_to_copy = [ os.path.join('scripts', 'oe-test'), os.path.join('scripts', 'lib', 'argparse_oe.py'), os.path.join('scripts', 'lib', 'scriptutils.py'), ] - - for f in files_to_copy: + for f in core_files_to_copy: src = os.path.join(corebase_path, f) dst = os.path.join(export_path, f.split('/', 1)[-1]) if os.path.isdir(src): @@ -110,18 +105,21 @@ def copy_needed_files(d, tc): else: shutil.copy2(src, dst) - # Remove cases and just copy the ones specified - cases_path = os.path.join(export_path, 'lib', 'oeqa', 'runtime', 'cases') - oe.path.remove(cases_path) - bb.utils.mkdirhier(cases_path) - test_paths = get_runtime_paths(d) - test_modules = d.getVar('TEST_SUITES').split() - tc.loadTests(test_paths, modules=test_modules) - for f in getSuiteCasesFiles(tc.suites): - shutil.copy2(f, cases_path) - json_file = _get_json_file(f) - if json_file: - shutil.copy2(json_file, cases_path) + # layer specific files/dirs + layer_files_to_copy = [ os.path.join('lib', 'oeqa', 'core'), + os.path.join('lib', 'oeqa', 'runtime'), + os.path.join('lib', 'oeqa', 'files'), + os.path.join('lib', 'oeqa', 'utils'),] + for layer in bblayers: + meta = os.path.basename(layer) + for f in layer_files_to_copy: + src = os.path.join(layer, f) + dst = os.path.join(export_path, meta, f) + if os.path.exists(src): + if os.path.isdir(src): + oe.path.copytree(src, dst) + else: + shutil.copy2(src, dst) # Copy test data image_name = ("%s/%s" % (d.getVar('DEPLOY_DIR_IMAGE'), @@ -142,6 +140,9 @@ def copy_needed_files(d, tc): testexport_create_tarball(d, "testexport.tar.gz", d.getVar("TEST_EXPORT_DIR")) # Copy packages needed for runtime testing + test_paths = get_runtime_paths(d) + test_modules = d.getVar('TEST_SUITES').split() + tc.loadTests(test_paths, modules=test_modules) package_extraction(d, tc.suites) test_pkg_dir = d.getVar("TEST_NEEDED_PACKAGES_DIR") if os.path.isdir(test_pkg_dir) and os.listdir(test_pkg_dir): diff --git a/scripts/oe-test b/scripts/oe-test index 55985b0b2453..efb83c3e7809 100755 --- a/scripts/oe-test +++ b/scripts/oe-test @@ -7,14 +7,18 @@ # SPDX-License-Identifier: MIT # -import os -import sys import argparse +import glob import logging +import os +import sys scripts_path = os.path.dirname(os.path.realpath(__file__)) -lib_path = scripts_path + '/lib' -sys.path = sys.path + [lib_path] +lib_path = os.path.join(scripts_path, 'lib') +sys.path.append(lib_path) +meta_lib_paths = glob.glob(scripts_path + '/*/lib', root_dir=scripts_path, recursive=True) +for p in meta_lib_paths: + sys.path.append(p) import argparse_oe import scriptutils From patchwork Fri Jun 27 06:30:04 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 65701 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97D13C7EE2A for ; Fri, 27 Jun 2025 06:30:34 +0000 (UTC) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mx.groups.io with SMTP id smtpd.web11.7316.1751005829976384052 for ; Thu, 26 Jun 2025 23:30:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=pTUwylie; spf=pass (domain: linaro.org, ip: 209.85.208.177, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-32b50f357ecso14436781fa.2 for ; Thu, 26 Jun 2025 23:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1751005828; x=1751610628; darn=lists.openembedded.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=CU0Lo3AnxyPPQVGnkO3H1wUDTR89ba2Nud8RN2C4dos=; b=pTUwylieEb5aTGovcN9Oz91PIIkzR28mCaTo7+6js3R2BnxzdfLx3+eQKD6uB3NhhV R0coCo21nAFx31of7CVNbmq8vFpz2lyqpiWHjnNWd3kzYtbMvRI62fIcpw2XMeV2S08n BmUz48iQwlA3OxURpT2hxTX9g+hq7Tq75cyVbTKz5YA3ldkNSGcCfqvHDmWEqNbrKpK0 jZYC8kod+h4+pU/Tb2OOojwERPqzWUSXXlVQyC4+r0U+r+hogvZgVkB7I9VOR9fK69/E I81pS/U3dBGhC9Zre7OR2TPgiPWEBPCxGNN3wLO/Og8O2U/CexMAPATjwvljdek/mT3T H7WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751005828; x=1751610628; 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=CU0Lo3AnxyPPQVGnkO3H1wUDTR89ba2Nud8RN2C4dos=; b=NGGqlUPZnF0oHn/zAo88yqJ6x/uZ7PLnieOIrrkDVVPIk/RnRppKQe2QzVmBPYY7S4 LDClqxmRCgfxX6cPfhmIvrlCOQhcUGBWJNkyclZiRGL3F6UHNHwVm9SLNlvvSMbEjCEs rPOyRhQ6omxHa4X0kUyYiOecmPz6q8HFM0bXa/+TqE5dk/guQD7n2eKtW5raJsEesmWt B0LImReHb9ZQZm5MQX8ARmz0kQ2qQthEHHdEybq0VV3NJXofSCPi1STdMovns+zoqO57 USefDxkjsQEUrF7f1BnMrDprmqX8qkyRoeq2IFt0wb8DcgbL9FVDkxoX9cWsJt96MR9A RnTA== X-Gm-Message-State: AOJu0YySbGpzOz2ItNhTuVTaIE65Pvfm2jKP/rlR2BrL02xv+m776rkP JqU8Sba9nX5dDA4a6c28dVTFA0ETuFeiWT4PCGUOatTWQd8t/prg+/3krlqLMLvK6brFpjjVrs7 6Gyvtnug= X-Gm-Gg: ASbGnct/2PPeMd7joxeBcw5P61lVvqKJF6riyZINwYz5JmquKVUlGsv46yxE6ihyLhR uZLIMYjOXiJ74x7ic2pRiMGA+4fVvAYc040f5sX3Tmh/Cmo3cceF5kNZHigjN7KkS9hB1TxX/+r qZ/BNuocUtKAdLt8/jzP5RJrd4tajojpzGTmhv4lIptRJ62Yi2BikNyMREPkNstxGNyxDfNPWpM HAp297RbX1fSO1HlDeeKyhzMS9Y9TCKE4ZkZqQO7IzDk0y6xSDJyTfVu2oT3g0YR7+TYoxP27fw qdDNvPgKc4yFMw59f0SSBcRvl7l52l/caAhcaezLIJgX8BpcfNv6bbf3/hVxyM9Fwr+R6MFTXVY M+Y0frrYL//TdFSWHyHszxZYpz9g7wz0lecHwMY8lU8oXKk8tdg== X-Google-Smtp-Source: AGHT+IF+CkwzSIdqT/2bkLgGigrOPhYIjmRmABADNYnp1BOiDnl/q5VL4jQdgiFgAoJLjpI0f/UDow== X-Received: by 2002:a05:6512:b19:b0:553:2190:fef8 with SMTP id 2adb3069b0e04-5550b7ecb24mr658946e87.7.1751005827888; Thu, 26 Jun 2025 23:30:27 -0700 (PDT) Received: from localhost.localdomain (87-100-218-141.bb.dnainternet.fi. [87.100.218.141]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5550b2a740csm318916e87.89.2025.06.26.23.30.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jun 2025 23:30:27 -0700 (PDT) From: Mikko Rapeli To: openembedded-core@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH 6/6] oeqa parselogs: add parselogs-ignores-genericarm64.txt Date: Fri, 27 Jun 2025 09:30:04 +0300 Message-ID: <20250627063004.781560-6-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250627063004.781560-1-mikko.rapeli@linaro.org> References: <20250627063004.781560-1-mikko.rapeli@linaro.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 27 Jun 2025 06:30:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/219382 With safe to ignore pinctl and initrd warnings from AMD kv260 boot. Signed-off-by: Mikko Rapeli --- .../lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt diff --git a/meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt b/meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt new file mode 100644 index 000000000000..1e8b1f4b7d1b --- /dev/null +++ b/meta-yocto-bsp/lib/oeqa/runtime/cases/parselogs-ignores-genericarm64.txt @@ -0,0 +1,4 @@ +# safe to ignore minor firmware issue +zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: failed to set: pin +# safe to ignore initrd warning +Can't lookup blockdev