From patchwork Tue Jul 23 13:13:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Sakoman X-Patchwork-Id: 46730 X-Patchwork-Delegate: steve@sakoman.com 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 3B6ECC49EA1 for ; Tue, 23 Jul 2024 13:13:52 +0000 (UTC) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by mx.groups.io with SMTP id smtpd.web10.43679.1721740428787366916 for ; Tue, 23 Jul 2024 06:13:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sakoman-com.20230601.gappssmtp.com header.s=20230601 header.b=ensflKyC; spf=softfail (domain: sakoman.com, ip: 209.85.216.44, mailfrom: steve@sakoman.com) Received: by mail-pj1-f44.google.com with SMTP id 98e67ed59e1d1-2cb4c584029so2959222a91.3 for ; Tue, 23 Jul 2024 06:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakoman-com.20230601.gappssmtp.com; s=20230601; t=1721740428; x=1722345228; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=7j/cyLYWhhEqQZBNG/gb0MYFJ6V2oCHSKJBLsFx+0HM=; b=ensflKyCbH3EYAGnyGnjyhzxpZIRsZhO8clgMaMHzC5Q+ZvqdOWYvocyE7sHbxHb5+ +40zaU4mqweSjfTkACOl8ppEvYKTgcWobPlPZPwpnoVMoHnK5Wk7RV1V5EkZGcxTJV+7 fIr8NoXVOin/MrKZM2yMA6bCBjPULsTvG9Ns57+wizTu1OJfDHWOeOvlR6vxAYcqsRv5 zLfh+63Z21uDQQaX/fcKjY1dnEJ7Ie0V0+1hpiVhfB+BCaKfvIswq51Ceg06fU6/2sVm GitnDSE9OAnQEpxdAAsTQEeUdr6VO1SFWjrWrGbkt7OSvjUbWE6+DPS6ZMO9FB5tn0K4 EQwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721740428; x=1722345228; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7j/cyLYWhhEqQZBNG/gb0MYFJ6V2oCHSKJBLsFx+0HM=; b=g1WOUNAsPLUO9fvqifNS6whaiA6VECRyWg1iqJ8IgEaaBmgHuKrcT/mdJmP5QU/deB 1glJ0Kgh57kFsv7oBt8n3lLrURfTTddLmOpULelU6gyhcWDLXBuKNmUofyPzepjouoW/ XvMgvfUcQxOm7CZUuyJ7/AXmQPNvAkARpILV1tdLaPPcb1ypD/gQ+eyIkWk2Xsd4sLxF b15DHlVD8mQGsSLGpbEwe4+HwB1PwwqVIwblyPIVHWX6758sDz6axnn14tCXeCIPYFLm llmi+9WX441xVEPDXBGOUNUS/WRGP8Tyqy/Y9UrZoLl7sQspjli8QeHCkE3vLIDQN2wg rEKA== X-Gm-Message-State: AOJu0Yz6sDeSZXh8wrCqO2Or1DoY8cKIJ87/7TkHBsqI2ftXD5h57Ue9 lj246CzYkmr2At4I12Ivkk+b6rBLFNSudmWh2/Y+Z8Bt4ApBxIIQsDDWHzcqeqD08feYRfSXrOb kyN4= X-Google-Smtp-Source: AGHT+IHj9mCLkh2/J8xuIl8lXLnN/lZSCC90Rj0jdXMYlUofa7loHP5rKjyEihzhVHh2WjHmkfF9ow== X-Received: by 2002:a17:90b:3647:b0:2c9:6f5e:f5c1 with SMTP id 98e67ed59e1d1-2cd2740c751mr6451909a91.10.1721740428000; Tue, 23 Jul 2024 06:13:48 -0700 (PDT) Received: from hexa.. ([98.142.47.158]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2cb7754a888sm10091540a91.57.2024.07.23.06.13.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 06:13:47 -0700 (PDT) From: Steve Sakoman To: openembedded-core@lists.openembedded.org Subject: [OE-core][scarthgap 13/17] oeqa/runtime: fix regression in minidebuginfo test Date: Tue, 23 Jul 2024 06:13:12 -0700 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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 ; Tue, 23 Jul 2024 13:13:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/202358 From: Etienne Cordonnier The builtin command "sleep" was getting executed instead of the busybox binary. Hence "pidof sleep" was empty and the test was failing. Signed-off-by: Etienne Cordonnier Signed-off-by: Richard Purdie (cherry picked from commit 3188f3f0718b8a59bc9e3cae4cdf74e82bdb86c3) Signed-off-by: Steve Sakoman --- meta/lib/oeqa/runtime/cases/systemd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/runtime/cases/systemd.py b/meta/lib/oeqa/runtime/cases/systemd.py index 5481e1d840..8bf571663b 100644 --- a/meta/lib/oeqa/runtime/cases/systemd.py +++ b/meta/lib/oeqa/runtime/cases/systemd.py @@ -145,7 +145,8 @@ class SystemdServiceTests(SystemdTest): Verify that call-stacks generated by systemd-coredump contain symbolicated call-stacks, extracted from the minidebuginfo metadata (.gnu_debugdata elf section). """ - t_thread = threading.Thread(target=self.target.run, args=("ulimit -c unlimited && sleep 1000",)) + # use "env sleep" instead of "sleep" to avoid calling the shell builtin function + t_thread = threading.Thread(target=self.target.run, args=("ulimit -c unlimited && env sleep 1000",)) t_thread.start() time.sleep(1)