From patchwork Fri Oct 17 12:26:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 72579 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 6970ACCD195 for ; Fri, 17 Oct 2025 12:27:30 +0000 (UTC) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) by mx.groups.io with SMTP id smtpd.web11.14196.1760704040330169775 for ; Fri, 17 Oct 2025 05:27:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=ZYwTTC44; spf=pass (domain: linaro.org, ip: 209.85.208.179, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-3612c38b902so17255611fa.2 for ; Fri, 17 Oct 2025 05:27:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1760704038; x=1761308838; 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=iIg4WjaZz/Da4BPn0YnroPWod+AGctLJMirlocmYuyc=; b=ZYwTTC44w0HsoSJMvnqU40fhrdE4oHhWMAho2NxTFNa62xloDv9RkX8/6wGvxX7PUW ch1zZlcGq2Y/9/3Q3S3qyLCpFjdV/Zbh6rfltTxWiK/yEdhOu5YQXQVvug/RMDfZ1oRK 2promBg/UKSdF86OxmyXmbv1oYUgX6O/loRIQ5HZhUHW/ZvUECl9PdZ4x9tMNElODxDR jWF40a5nS6Ch2QlVnAw7/wa3PaSQGsxaTSYDEqkDgkElbchm7y1q6XYLxtHcw2j9UshA kJq12aRAq0wOzyl9bFvuEHJUzoE8JVfsp7ZNIjMut7cOIRmxgsGYD/H3EwgAaTTZWYL9 5URg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760704038; x=1761308838; 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=iIg4WjaZz/Da4BPn0YnroPWod+AGctLJMirlocmYuyc=; b=WbaWL1urnnADiCqsVJZnjmVeKN9VE7hgTNJEEGHfOo4TcPV+afRx8vPvfBGm3NN/50 FBtD2GPeE6cQaAmPcgqHfs+fF42ujTg/GD88B0XKJrbeAHjlPfXAQiNcFgKrEdWsGM9q lKcTakUWu3cg9YRUY/rnebCcl4AP8COQI6nfN+bthqok7/uW1C+H3ijTXo0zPj4PlJ/T dGpgj1KaNo/9UrQoxnmvw40YxNULmv/fkv5vGYl4CGwFbo9+jmyh9Z0LmQ94Y/hlEEty NIsM5H7NZHeUNSJY7DN/hSl+qoOQ+ANiqMnr2QRvK4HuE4nyixykcZOwLC4jD/h+6mit vQqQ== X-Gm-Message-State: AOJu0Yw9WH16lXHfaDI9YvuotZBAWF3nANiMfFfhDodduGblco2YqX5Y 8QKh2xveUtBBoid9JCQn2uP+btL/9LnVdTsA2NOK5k0CRz8ucQYmB7NTvLFNfJqwX+QKDeaso23 WhZ9qGMo= X-Gm-Gg: ASbGnctvCn+/ciwQqvHNrYx6tNnTUd9tBGp0+5Ok3iahVfMnIYkilM+wCQY4gxZyQfd myrW6/V3YndL+xsh2PqGiRcPJGuwfkYwnItpSk/sAAiTG3hspiujRhvEDd9tsbx7ZR7rWDiMTz0 1HJFzTl1iaB48DJzDqfiyJOIl38sCh1qh+pgYQzI18JhVvuCMqODFEWwpwBbehhoJjXfz6LsdBS euuls4WS17C+c1z/1pjcmZ87PdBRfCaw36uKqwXp7Ue6KV9VESPyPZAOX8Tx3/qbo+caFx5wh5D jlYQw2GdqShNLJUOMqorQsY3TrOgeog0Ec5enAK+etqko8yOdR3y9Yf8Id5rK6JArvKqWVs52en Yo3EHjhvJ3+TCsI5u8+oq4H92pV+6F1P0eLJomA2qKlr8HHy+eTl+UqC+qiGJZGqA+/Td32KnPF CYDNYhuTTHyM2JXhg23GebP2eCYo/Ba8WxDCJ1UlBTmIqh X-Google-Smtp-Source: AGHT+IEl9i5rwsuIiCaMtircTDKof2AmaML5CGwK8gdQEaQ85vK/lEgiwgHQpSyrLha+39+bzxfffQ== X-Received: by 2002:a05:651c:554:b0:377:78cd:e8fd with SMTP id 38308e7fff4ca-37797826492mr10988281fa.9.1760704038350; Fri, 17 Oct 2025 05:27:18 -0700 (PDT) Received: from nuoska (87-100-249-247.bb.dnainternet.fi. [87.100.249.247]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-3762ea3ab05sm61421371fa.44.2025.10.17.05.27.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Oct 2025 05:27:18 -0700 (PDT) From: Mikko Rapeli To: openembedded-core@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH 1/5] selftest devtool.py: disable qemu graphics Date: Fri, 17 Oct 2025 15:26:45 +0300 Message-ID: <20251017122649.493701-2-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251017122649.493701-1-mikko.rapeli@linaro.org> References: <20251017122649.493701-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, 17 Oct 2025 12:27:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/225013 Test does not need it and graphics stack may introduce boot failures. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index b92f017b81..be95e8c74a 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py @@ -1832,7 +1832,7 @@ class DevtoolDeployTargetTests(DevtoolBase): result = runCmd('devtool deploy-target -n %s root@localhost' % testrecipe) self.assertIn(' %s' % testfile, result.output) # Boot the image - with runqemu(testimage) as qemu: + with runqemu(testimage, runqemuparams='nographic') as qemu: # Now really test deploy-target for extra_opt in ['', '--strip']: deploy_cmd= 'devtool deploy-target -c %s root@%s %s' % (testrecipe, qemu.ip, extra_opt) From patchwork Fri Oct 17 12:26:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 72575 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 711E8CCD19A for ; Fri, 17 Oct 2025 12:27:30 +0000 (UTC) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by mx.groups.io with SMTP id smtpd.web11.14197.1760704042236491234 for ; Fri, 17 Oct 2025 05:27:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=rJNgqIIl; spf=pass (domain: linaro.org, ip: 209.85.167.42, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-59093250aabso2443303e87.2 for ; Fri, 17 Oct 2025 05:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1760704040; x=1761308840; 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=oGe5AD0gcJrU58HZF4efq9LUsSWzHKTdlbE+yWyUVg0=; b=rJNgqIIlGmja+hsaC4oXo1y6h6FanIJfeA8Xev7GaU13FkHXuM5LrlGG4XCO1B0kLi JOxVordjzxyMsIyhWKTCpBeySPdK4Hi8iiNCcNkT28kIbUg5kaBG85jAxRxH/gzW+zqB Wq9+XFXxhMsMQPfNdtVWhVNQa/aVfbtVJJFGy1qvN4jtTEZCt+8FqaZUKB3qVxNo1mYS eAr5c/yjwSKybsSZVzl58vjPvLf1ncx+d3qoWa7sty7gZa/dtakrZkH7N+5RMnQKn/lN 1BISjrzI73xmi3TtqOdIrmM0pMsW3nWplHU/sd/VDDmDoYE7mXXrJ/PSxADZauBfh/I/ FeZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760704040; x=1761308840; 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=oGe5AD0gcJrU58HZF4efq9LUsSWzHKTdlbE+yWyUVg0=; b=X1SqbZZYJCHaa4VCEm7CfHQfMVBvowUDIc5WP/S/stlQFVddDpu/i0dU3w40weohsP GGjIFzLkD5Pf/lndCJbsMfReXjWkr0E8d2iJXT/cLsmgiueGI+u5PQ9NrPbnFX6eDjCl H0Z6Jwwlbu08A37oN8+QlKPEjvcB4TajfVSdZNJsTj3j+Z3KmHAW6pXN6W61c5+F9eEw KqtBv6sJkb4D3feW9K9f4q+wkZCpmce4G7ds5goUlQS8KGabdqGt1rcNJ0NhorWC22E4 U8gcIhcIa6WKbBwoB4PHapPeJy8ld73tnh8YEC7QFCoTCQQfUk08y/V/R6R/mh5hJiRR X1Vw== X-Gm-Message-State: AOJu0Yx5RpsX7KvCX2O+lKk58eh4k3gWbfIRDeV9sHEQL7rGGOybJRdU cZgwp79N4+J02S5g+ya+jUQ4ut6OoCW/1+FE6HyQbTIp+mcISII0qRa5JGZc+gnBcXAYSSXgfep xmADK5/g= X-Gm-Gg: ASbGncs+MUPmxtFduswEnNAZHb1qOzvm5jEriuCzbrFTr/Jumwu310ZAeOm04rgpdAh DZ0XAumifnJHkFjf6tvivYa52odRi4/YYfOkvFporDLlLWOsp84QD5WAHPmX4LOZtcbYV1Cdn0E JtUTts4njvUXt/acUPoPYdvQvnO+yEVihFr0xxjT/za/Hb8ePM2NaF+uaOp4RRuLzNad6r94Ha8 1mo+R9diX3DQVcH6lXhk3GQZipvb65EcE16/+/GHXytR5iSyOzYBiF2Ut6ZuKbstVpqDKL0jMH0 W06mXdXLK8rUH+DqfI2QCWzC+JNJuh8YmKhlrRoujtl0usl1rpyXxeQMKxaCY4zRourJjddqgE9 goPvoGYsoC4u0+LzxD02a7cue05Bc5CM34xH7uLDOE5QGdtUX+IsYue6C0JulF+hsVlZQ+/sFyH VkDnBWdi21uypg2J+Tj/n2kMfzpMvEKmT7lA== X-Google-Smtp-Source: AGHT+IEOBotkZIZ9qPgNP1mAlJwtEV9Up0dWoGU414dheOYsn4ypA4ZtGBFgnTyENLMBc5RtxLQB6w== X-Received: by 2002:a05:651c:892:b0:372:9420:9509 with SMTP id 38308e7fff4ca-377978c6da9mr12616651fa.15.1760704040284; Fri, 17 Oct 2025 05:27:20 -0700 (PDT) Received: from nuoska (87-100-249-247.bb.dnainternet.fi. [87.100.249.247]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-3762ea3ab05sm61421371fa.44.2025.10.17.05.27.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Oct 2025 05:27:20 -0700 (PDT) From: Mikko Rapeli To: openembedded-core@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH 2/5] selftest imagefeatures.py: disable qemu graphics Date: Fri, 17 Oct 2025 15:26:46 +0300 Message-ID: <20251017122649.493701-3-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251017122649.493701-1-mikko.rapeli@linaro.org> References: <20251017122649.493701-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, 17 Oct 2025 12:27:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/225014 Not needed by the test and graphics may introduce boot failures. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/selftest/cases/imagefeatures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py index 87c3da228a..3109b68531 100644 --- a/meta/lib/oeqa/selftest/cases/imagefeatures.py +++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py @@ -36,7 +36,7 @@ class ImageFeatures(OESelftestTestCase): # Build a core-image-minimal bitbake('core-image-minimal') - with runqemu("core-image-minimal") as qemu: + with runqemu("core-image-minimal", runqemuparams='nographic') as qemu: # Attempt to ssh with each user into qemu with empty password for user in [self.root_user, self.test_user]: ssh = SSHControl(ip=qemu.ip, logfile=qemu.sshlog, user=user) @@ -62,7 +62,7 @@ class ImageFeatures(OESelftestTestCase): # Build a core-image-minimal bitbake('core-image-minimal') - with runqemu("core-image-minimal") as qemu: + with runqemu("core-image-minimal", runqemuparams='nographic') as qemu: # Attempt to ssh with each user into qemu with empty password for user in [self.root_user, self.test_user]: ssh = SSHControl(ip=qemu.ip, logfile=qemu.sshlog, user=user) From patchwork Fri Oct 17 12:26:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 72576 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 76BB9CCD1A4 for ; Fri, 17 Oct 2025 12:27:30 +0000 (UTC) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) by mx.groups.io with SMTP id smtpd.web11.14199.1760704043593436616 for ; Fri, 17 Oct 2025 05:27:23 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=UsQylnu2; spf=pass (domain: linaro.org, ip: 209.85.208.179, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-37775ed97daso30303601fa.0 for ; Fri, 17 Oct 2025 05:27:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1760704041; x=1761308841; 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=1SSKtChQhRBfU2vnaXzu9s23bC9U8tZRT2d+xd1RY7o=; b=UsQylnu2Y+pcqlrfje3Zmo1lN9BB26ogNwE7O28bD0+OaQLj5urWcM1TNBRkoMR0SF 0Xh8Cli6kBQnfTEAUtAd6rCypEYLvX1JIo6BQSg/HaiaUaWdFj+d65S8SiV5NZAtlkUC jKk74rgqVRkWcKf35Hk5hV3doICdmZ+BNU6WbhwzoydAe6pxyRW7Eog1dUpRfTqN5GpO y/evnAfvgGLp0ogq4G4ncPwo2YL7DwP6YX3KJ8LIbm/DH56nDL0iIkk7CrvA4dGgllnH D3g5hFm976pS4EVUpR+I6OSiq0e1maBYrzvTFOlOmo6RaBGCwTZRWHFPEtOc970Vq6Ht K7mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760704041; x=1761308841; 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=1SSKtChQhRBfU2vnaXzu9s23bC9U8tZRT2d+xd1RY7o=; b=VWIVqugLtLe6RMqJN03L8Lx88OAQRHaQBjQ5HO+Jbcld9U04vsaKawJXUbE8FO5cp/ nAtpU+8/4aIRRgrtna2dmTIViMYx5coh6kO4pD81KNIsxT9gli2YUzmXOHK1wWJ5WO+R PsnHdYwHWHemNfVU7FAH51WN+YtSoAKqt78Xun7Tbjy7IvBAN9XpQc4rO/Vc0F64o+Kd KGYMkKmyKNTFdQ9yQFFfqFOMCE9Im04FafVcfnd7p6GoPgk4//x6w/k7rVYOkCb4ExiU bInhSBcQCSTzvvhTGaCPLI2LGnfEXWuJ+mrygNjOFQjDDxzUoCnUA3528odanIQ7fpkZ sD6A== X-Gm-Message-State: AOJu0YzNqI1JdM4pVw8kLu1qtB20TqRTWSyxLPCZTm78V6T3vJY+AH51 rM93xTcPLpfgh538CHyrAarUnLUrJ5Ajc/RsT/3lbof8T7gpQd/VfCLwQUdX9nZ6fiOF6BSIHe0 BMx5NEvk= X-Gm-Gg: ASbGncvB2BiyNyGqGGtDDpqqMlHp2i6Yc2Lg2AvlnMbVUOpyQtQRwCLpSK/6IT3eCqA /frcnHNL7DQhSwBxaEDlEOAZyUvqSCIVxnKo2m9AR5siGAinAOpikrnTnhDeE9AsFb7dpwReRwz lVPGyJwNVZPGso66RWZx9kMZqGqheWlmd4D+t2fqCf6VBxPdGu/nOyu8Ec14Md11rvoAoo08gzw 93PvdNwjzHRYpgh8fGsdHMarkh5DZhvX6zgbiZbch/BMdEpDLwMDBzvde3udreFJf6IgbfCDWhs 373/xb3R7gZO91KYJfZU9VSZ3co/W2hHYkbU2L3X1qIKMsXjx+4wJeer01uz91eRlBHwoX2dBIQ 7HDhxLPcWLIAk+qYDRLTD7WEXopqrw+fzvyMrP5mQMz1p3wIVsRVBR2XaKLdFQPiWoCB3XLxS3g DkGSGBTO1UK5zwCgHG8JUKYtyQANPetCwDow== X-Google-Smtp-Source: AGHT+IGR7qMVzMQX9UxJVTcMNbN11gI6X7dOtIgFx+vbe9cvgMDqI1vdPHu9WbOZ24HmInJr9wquTw== X-Received: by 2002:a05:651c:1118:10b0:376:2802:84c2 with SMTP id 38308e7fff4ca-377822498eemr20378651fa.23.1760704041462; Fri, 17 Oct 2025 05:27:21 -0700 (PDT) Received: from nuoska (87-100-249-247.bb.dnainternet.fi. [87.100.249.247]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-3762ea3ab05sm61421371fa.44.2025.10.17.05.27.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Oct 2025 05:27:21 -0700 (PDT) From: Mikko Rapeli To: openembedded-core@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH 3/5] selftest overlayfs.py: disable qemu graphics Date: Fri, 17 Oct 2025 15:26:47 +0300 Message-ID: <20251017122649.493701-4-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251017122649.493701-1-mikko.rapeli@linaro.org> References: <20251017122649.493701-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, 17 Oct 2025 12:27:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/225015 Tests don't need it and graphics may cause boot failures. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/selftest/cases/overlayfs.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/overlayfs.py b/meta/lib/oeqa/selftest/cases/overlayfs.py index 580fbdcb9c..b40e738f80 100644 --- a/meta/lib/oeqa/selftest/cases/overlayfs.py +++ b/meta/lib/oeqa/selftest/cases/overlayfs.py @@ -181,7 +181,7 @@ EOT bitbake('core-image-minimal') - with runqemu('core-image-minimal') as qemu: + with runqemu('core-image-minimal', runqemuparams='nographic') as qemu: # Check that application service started status, output = qemu.run_serial("systemctl status my-application") self.assertTrue("active (exited)" in output, msg=output) @@ -360,7 +360,7 @@ OVERLAYFS_ROOTFS_TYPE = "ext4" bitbake('core-image-minimal') - with runqemu('core-image-minimal', image_fstype='wic') as qemu: + with runqemu('core-image-minimal', runqemuparams='nographic', image_fstype='wic') as qemu: status, output = qemu.run_serial("/bin/mount") line = getline_qemu(output, "upperdir=/data/overlay-etc/upper") @@ -399,7 +399,7 @@ OVERLAYFS_ROOTFS_TYPE = "ext4" bitbake('core-image-minimal') testFile = "/etc/my-test-data" - with runqemu('core-image-minimal', image_fstype='wic', discard_writes=False) as qemu: + with runqemu('core-image-minimal', runqemuparams='nographic', image_fstype='wic', discard_writes=False) as qemu: status, output = qemu.run_serial("/bin/mount") line = getline_qemu(output, "/dev/sda3") @@ -420,7 +420,7 @@ OVERLAYFS_ROOTFS_TYPE = "ext4" self.assertTrue(line and line.startswith(testFile), msg=output) # Check that file exists in /etc after reboot - with runqemu('core-image-minimal', image_fstype='wic') as qemu: + with runqemu('core-image-minimal', runqemuparams='nographic', image_fstype='wic') as qemu: status, output = qemu.run_serial("ls -1 " + testFile) line = getline_qemu(output, testFile) self.assertTrue(line and line.startswith(testFile), msg=output) @@ -454,7 +454,7 @@ IMAGE_INSTALL:append = " overlayfs-user" self.append_config(configLower) bitbake('core-image-minimal') - with runqemu('core-image-minimal', image_fstype='wic') as qemu: + with runqemu('core-image-minimal', runqemuparams='nographic', image_fstype='wic') as qemu: status, output = qemu.run_serial("echo \"Modified in upper\" > /etc/" + testFile) status, output = qemu.run_serial("diff /etc/" + testFile + " /data/overlay-etc/lower/" + testFile) line = getline_qemu(output, "Modified in upper") @@ -500,7 +500,7 @@ IMAGE_INSTALL:append = " overlayfs-user" res = bitbake('core-image-minimal') - with runqemu('core-image-minimal', image_fstype='wic') as qemu: + with runqemu('core-image-minimal', runqemuparams='nographic', image_fstype='wic') as qemu: for filename in ("rootfs", "delayed-a", "delayed-b"): status, output = qemu.run_serial("test -f %s && echo found" % os.path.join(targettestdir, filename)) self.assertIn("found", output, "%s was not present on boot" % filename) From patchwork Fri Oct 17 12:26:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 72578 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 848C5CCD1A7 for ; Fri, 17 Oct 2025 12:27:30 +0000 (UTC) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by mx.groups.io with SMTP id smtpd.web10.14208.1760704044472436939 for ; Fri, 17 Oct 2025 05:27:24 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=RrJ5c1wX; spf=pass (domain: linaro.org, ip: 209.85.208.169, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-363f137bbf8so15862491fa.2 for ; Fri, 17 Oct 2025 05:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1760704043; x=1761308843; 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=1Xprd5mVKnHoxDDFRsqvVXBc72Pkhcq0PQgfW1raUyY=; b=RrJ5c1wXzHLNlOOxAVWA0ewJFrbIKw2JDCk39fz4HI+GKSgiHj1sdwBeRMmcMRY/JF wtkktXdvevA+pxYOFgzvq4KDX5cCWDPYFhJo5K0E7qqkQdc9QOTemfxKNG2kHilg03a+ 8Itcd0ZyKut2nSEpbz9QCxzn95fwbhkp62fJfm5DmAiIG5TRCWlKCRayes+iHcdaFUAq d0KHlXj9xUFpfaQNU/vDXUygdkn3VFRxOUV37b4pRzX0dnyjR1Aucak4RY7K6YBkpGmy zU4BEASz/D51kG3oE29EhWJp29SGFXE5ZvqkhcXoF5UGGXChEKcEphP9Tu9yCinWWVYB 7WnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760704043; x=1761308843; 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=1Xprd5mVKnHoxDDFRsqvVXBc72Pkhcq0PQgfW1raUyY=; b=OyQM1k4vmjTIEezx4G70Ia3rKyjyKzJoGtCMkFPB9nbhVuXVhxt96k8pFJm/chLhES yytRFqh+oCqS+1WtA6GolnA7XStsVzzY8JyTHqeMPDdn8V0YkinFlx+ft5maESCPJ2RP KlvmUuKl05ETmTPm9SydmujugbmPN3/G7CcXB04OXnM/C7oBAeEpjnXUA0ke8TRLvurY uHWZPDsP+aeped3Ww57hV99kAXKLpFJMUj7nXJdZt02kU3laIPdXEdDDcfrSqBSkR0VP QMCTbQZLcsOn9NVY1xkxFJOx8xoMklT31ognMAezPuiykoVZtQWrvu7jFinZQB0S/qMA jzcQ== X-Gm-Message-State: AOJu0YxOMqMfgaJH6DyrvsMMG8CNL6r8I3uJ8DeKq5OfI7Te5JWaI9Ui eKnaaDwd05Xhdme5lBhYH9E8xUloMJ/c/BM3drAoVtcnUaIRFd6oc4Q+rynVdiXtGflFXBqZX0x +4I4Zr9w= X-Gm-Gg: ASbGncvwjWo7B4KN26crjzidFx3OCmY4ALIrD0LSX+jet+ULPFxJg7fETaNiQojf4wP 36sbQy46nKQ7y6Lgn4PsORNrNqB+KUlK2AHkH0EEy4ixnE9v5n41N9/xxmLpjwvd4Vsi0HFYWdj r/T6DEkbUy8gtaAoRdCDd4aA4X5RR5bsJMxYPjIruqkvDzXY0PnT56Z4WpkRG6ygkGbLKqFsJ42 Gi5XaRqQEYlVQdYFsu/e73m8UR4eXNICe3/2ey5aGh+WwgJbX+4VTw0ZP0IXs3qxbw1sSDoFEmP CWrFkkjhdOc3p9LBqPFgh82q+fICaQ/FT7d0CTiVhw9ZGhkX9XzfoeVkfHfSsb6A8gcnyi7t+6A 1pLNErrYoQV4y3wnRwijnRMfbZYSXOOFi5A2zZWsQJEFxclJYav7IbSjbRhbiqt+Vjm9oo/MFUs Az8dz+fgPT7KxIXjRMNXoN3BJEe9g0iUc9zmu92BHBf9Wd9AE1VVq/oIk= X-Google-Smtp-Source: AGHT+IEzBG0c9u+0PIBThaLhR5c+EmbGavY9EzzgSVi/1nnJkxNyo9OrPK5krNLOvAEODM+xFEGeIw== X-Received: by 2002:a2e:a99d:0:b0:372:80ac:a33a with SMTP id 38308e7fff4ca-37797a3b204mr12802311fa.28.1760704042563; Fri, 17 Oct 2025 05:27:22 -0700 (PDT) Received: from nuoska (87-100-249-247.bb.dnainternet.fi. [87.100.249.247]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-3762ea3ab05sm61421371fa.44.2025.10.17.05.27.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Oct 2025 05:27:22 -0700 (PDT) From: Mikko Rapeli To: openembedded-core@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH 4/5] selftest package.py: disable qemu graphics Date: Fri, 17 Oct 2025 15:26:48 +0300 Message-ID: <20251017122649.493701-5-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251017122649.493701-1-mikko.rapeli@linaro.org> References: <20251017122649.493701-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, 17 Oct 2025 12:27:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/225016 Test does not need it and graphics can cause boot failures. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/selftest/cases/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/package.py b/meta/lib/oeqa/selftest/cases/package.py index 38ed7173fe..fdf7ad0879 100644 --- a/meta/lib/oeqa/selftest/cases/package.py +++ b/meta/lib/oeqa/selftest/cases/package.py @@ -177,7 +177,7 @@ class PackageTests(OESelftestTestCase): self.logger.error("GDB result:\n%d: %s", status, output) return False - with runqemu('core-image-minimal') as qemu: + with runqemu('core-image-minimal', runqemuparams='nographic') as qemu: for binary in ['/usr/bin/hello1', '/usr/bin/hello2', '/usr/libexec/hello3', @@ -202,7 +202,7 @@ class PackageTests(OESelftestTestCase): self.fail("Cannot parse output: " + output) sysconfdir = get_bb_var('sysconfdir', 'selftest-chown') - with runqemu('core-image-minimal') as qemu: + with runqemu('core-image-minimal', runqemuparams='nographic') as qemu: for path in [ sysconfdir + "/selftest-chown/file", sysconfdir + "/selftest-chown/dir", sysconfdir + "/selftest-chown/symlink", From patchwork Fri Oct 17 12:26:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 72577 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 6B8FECCD1A2 for ; Fri, 17 Oct 2025 12:27:30 +0000 (UTC) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by mx.groups.io with SMTP id smtpd.web10.14209.1760704045776483115 for ; Fri, 17 Oct 2025 05:27:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=l51wzJuw; spf=pass (domain: linaro.org, ip: 209.85.167.46, mailfrom: mikko.rapeli@linaro.org) Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-5797c8612b4so2720925e87.2 for ; Fri, 17 Oct 2025 05:27:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1760704044; x=1761308844; 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=MGOhKf8bAWQ25ZIuQhoqD1gi/4MHO8cN2QfNI/ZZpN0=; b=l51wzJuwFiPWttUygm57WRkuVrDPod6VgAJFVJ14dY6RWOQsEm3i7yA5kg2OtDQ3c0 MnFJyBVdmzxaX7OUniGZH68BA7LkIDDLkMCxPMS4V/0HyqKccERb8dstvFkOnkrfHias FnJM62vezXEhG35k8kR7dMvfluHaJP0nm5rLD32PKW/fyfjKsMyHhAMSbOUyGvxRHmAL Bm0tmrhqbXmkTkF4ckH0bhkzhcykEI5lbJJe+maxl/+JqTSAFJlG0Ooe7FQiXwb8R/eN 1H0PsgM6FB48jf3LVerFVAJMu8wYwsSynu5XoqmDWJ0zlEv5p4MDS8ZlhDQBQKH2Sn4b Unvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760704044; x=1761308844; 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=MGOhKf8bAWQ25ZIuQhoqD1gi/4MHO8cN2QfNI/ZZpN0=; b=J7ME9oMRNUTV7kcCx/1qncDe07G7iGK5ae361wD9x1XyKZg/QI31kDaHz2ajxzTNMi 3f8MzO0bXaK3gI+06jwB2p27f26FvYxK/0Lmllt3HsQZa/d5FJGF1owj9sPJ9MRfYdIC sqkIYfZe3zf5LoawVRxrJtVaIcwPdAfdHd5Z02njE4vPD3ngJKZB+NdF7l+LibJjTlE/ tugIWL2qQlTjxXjOc67sP97fHbChDa9HUq7sOrfoYhjMuEm7jmqhLGNUkYZR1u25CxY0 8eal4HzdEjLDFT3cIT58wjKLQhxWHF61yLB2karSzZsWNw3l1DB+XVLhxosSbxBrIoER oXVA== X-Gm-Message-State: AOJu0YxDtydH5EaDvdxD4yNZ65txtISgbvVVXyleqTazj8UMy4EUlSRD jc3/HnZGkNKTZ49y8lWctNgNL6pXWvbHdJxT2xNbjWAu1w1Ecksj2Pa6T4v5NyCHhOA1JScK7Je rPkYD/U4= X-Gm-Gg: ASbGncvfcBVIoQ1+hZgvplSp61ama2MBkHYnyItbfCeUZkDkyQ2Tw8/Or5ibSzPWJow WChmzQLJetOuT/JyKjtD9RCK0Boi/vZd7EjuSgewELKGm6Td6P1LdjO3YmySNfstq3IXj3LTrd5 q0LEYSSNQK6XrQKeHPqg5JUexuCw/l0drSIJR3JRY3dAUSNk6BbbzzP/TygP+bX1xif7wxOZ8MY pRId78r67W5oYB3dbAqba/BlgtCtaXaOy8GyVJK4WugzggniFHpJGIDpJWtGgHvEKZlIBl3tDXH Uj+5UbWkHLMtehmC1cYP2RVm0cLFXV+Nrsta/CwHU91CzID4ZPo7fZ6FApJMKfxvIgyJvC6IhxZ 2iFe6/Zzw2fKK0h6oXVLZi8AOcD+wLSySYlu0WPc4HED6E5x/9owht1zpDJdbS9u/3w3kfIRfFf XUPiTbkIhRpI0Stfi8wycLLw9nFjPqV/qVXA== X-Google-Smtp-Source: AGHT+IEI0soL/Fm7tFfu08hhD4UxTtA3Ys9lMmxU39ahK1WIvHNN5nKCkR6+C/lXa/zSoafnvnT8vQ== X-Received: by 2002:a2e:bcc2:0:b0:375:ffc2:1b1d with SMTP id 38308e7fff4ca-3779783a3bbmr11092681fa.4.1760704043873; Fri, 17 Oct 2025 05:27:23 -0700 (PDT) Received: from nuoska (87-100-249-247.bb.dnainternet.fi. [87.100.249.247]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-3762ea3ab05sm61421371fa.44.2025.10.17.05.27.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Oct 2025 05:27:23 -0700 (PDT) From: Mikko Rapeli To: openembedded-core@lists.openembedded.org Cc: Mikko Rapeli Subject: [PATCH 5/5] selftest runtime_test.py: disable qemu graphics Date: Fri, 17 Oct 2025 15:26:49 +0300 Message-ID: <20251017122649.493701-6-mikko.rapeli@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251017122649.493701-1-mikko.rapeli@linaro.org> References: <20251017122649.493701-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, 17 Oct 2025 12:27:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/225017 Tests don't need it and graphics can cause boot failures. Signed-off-by: Mikko Rapeli --- meta/lib/oeqa/selftest/cases/runtime_test.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index d58ffa80f5..8f99bcd4cb 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py @@ -42,7 +42,7 @@ class TestExport(OESelftestTestCase): isdir = os.path.isdir(testexport_dir) self.assertEqual(True, isdir, 'Failed to create testexport dir: %s' % testexport_dir) - with runqemu('core-image-minimal') as qemu: + with runqemu('core-image-minimal', runqemuparams='nographic') as qemu: # Attempt to run runexported.py to perform ping test test_path = os.path.join(testexport_dir, "oe-test") data_file = os.path.join(testexport_dir, 'data', 'testdata.json') @@ -318,7 +318,7 @@ class Postinst(OESelftestTestCase): self.assertTrue(os.path.isfile(os.path.join(hosttestdir, "rootfs")), "rootfs state file was not created") - with runqemu('core-image-minimal') as qemu: + with runqemu('core-image-minimal', runqemuparams='nographic') as qemu: # Make the test echo a string and search for that as # run_serial()'s status code is useless.' for filename in ("rootfs", "delayed-a", "delayed-b"): @@ -441,7 +441,7 @@ IMAGE_INSTALL:append = " systemtap-runtime" systemtap_examples = os.path.join(get_bb_var("WORKDIR","systemtap-native"), "usr/share/systemtap/examples") bitbake(self.image) - with runqemu(self.image) as qemu: + with runqemu(self.image, runqemuparams='nographic') as qemu: cmd = "crosstap -r root@192.168.7.2 -s %s/general/helloworld.stp " % systemtap_examples result = runCmd(cmd) self.assertEqual(0, result.status, 'crosstap helloworld returned a non 0 status:%s' % result.output) @@ -453,7 +453,7 @@ IMAGE_INSTALL:append = " systemtap-runtime" systemtap_examples = os.path.join(get_bb_var("WORKDIR","systemtap-native"), "usr/share/systemtap/examples") bitbake(self.image) - with runqemu(self.image) as qemu: + with runqemu(self.image, runqemuparams='nographic') as qemu: cmd = "crosstap -r root@192.168.7.2 -s %s/process/pstree.stp" % systemtap_examples result = runCmd(cmd) self.assertEqual(0, result.status, 'crosstap pstree returned a non 0 status:%s' % result.output) @@ -465,7 +465,7 @@ IMAGE_INSTALL:append = " systemtap-runtime" systemtap_examples = os.path.join(get_bb_var("WORKDIR","systemtap-native"), "usr/share/systemtap/examples") bitbake(self.image) - with runqemu(self.image) as qemu: + with runqemu(self.image, runqemuparams='nographic') as qemu: cmd = "crosstap -r root@192.168.7.2 -s %s/process/ syscalls_by_proc.stp" % systemtap_examples result = runCmd(cmd) self.assertEqual(0, result.status, 'crosstap syscalls_by_proc returned a non 0 status:%s' % result.output) @@ -477,7 +477,7 @@ IMAGE_INSTALL:append = " systemtap-runtime" systemtap_examples = os.path.join(get_bb_var("WORKDIR","systemtap-native"), "usr/share/systemtap/examples") bitbake(self.image) - with runqemu(self.image) as qemu: + with runqemu(self.image, runqemuparams='nographic') as qemu: cmd = "crosstap -r root@192.168.7.2 -s %s/process/ syscalls_by_pid.stp" % systemtap_examples result = runCmd(cmd) self.assertEqual(0, result.status, 'crosstap syscalls_by_pid returned a non 0 status:%s' % result.output)