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 26393C25B74 for ; Thu, 30 May 2024 15:11:07 +0000 (UTC) Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) by mx.groups.io with SMTP id smtpd.web10.11840.1717081858392476824 for ; Thu, 30 May 2024 08:10:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@snap.com header.s=google header.b=XRMMTI2O; spf=pass (domain: snapchat.com, ip: 209.85.218.45, mailfrom: ecordonnier@snapchat.com) Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a63359aaacaso113756366b.1 for ; Thu, 30 May 2024 08:10:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snap.com; s=google; t=1717081856; x=1717686656; 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=8e6/ZN4fJpz0AUxQrJFxqeoXXu4+4hwD7cemPOits40=; b=XRMMTI2Oum2uWQMhI675Pv08gLoLAhsJfMrovkrJ1ajsDxADEDoBDNJ+7HjItPQsf6 CFjPwHmsP4aIrY6dW5vXdAW8xV3H7uXRsHB7OXqGP9EuGvXDGhYXjSKwborIuUM8WtS6 abQ/8DqL9KT90+URz1agwfP2KuAoqe3VuvP6s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717081856; x=1717686656; 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=8e6/ZN4fJpz0AUxQrJFxqeoXXu4+4hwD7cemPOits40=; b=jTKyfHHbn+qrFoRpUUj5deokQzSGPEN6uoxwEAxZE+n+p1GdQVIWNVXNf5L8WYF8V3 mnZAzSVz1KZyob7pIal8lx+x7Ue+Iky6Z56gsOg9LMC4ipAUcuwR8wkD1ejPdP8YcJjo jqE8ZspXmOB8OQvjlxRvTdUTCs3Ww1auj5BZRpAZsxw2EjSMbxMmgONrIFxrnpe7I6Lb Pe/YoXo/DUZWu5H3dDtt1ms26f35gqNTQPOpEaJpSEv+Cl3gkH1X2RY3cDzzO02JuKND T5BBjj/t9Sp+O4K2f66C7bViJAnkZgTc1BPJUOM1Li402UxRqoV8t4KTjOuEv4LOz+Vz 9Zdg== X-Gm-Message-State: AOJu0YxkKReP6YYP68waQNO+lrYrpwCQKeHl6btW8lq5kiV1I6ZM/f2r 4cLGxoWMjK7rWoiUzc9NZLbuvQMbkOL7JjzGZkGT/QVyo4QnRQ3gjpZZEQz8FAyHVKWE2/33DRB nMTM= X-Google-Smtp-Source: AGHT+IFXNamdcM+SfZQclvDb/4gFJ+SiCyPwvKcRPu0JVa7GZU6DuiaawhCXiwTJRjgegiPvk2JDWA== X-Received: by 2002:a17:906:5653:b0:a5f:8818:8aa0 with SMTP id a640c23a62f3a-a65e8e507cdmr141345766b.31.1717081855746; Thu, 30 May 2024 08:10:55 -0700 (PDT) Received: from LC49NTQ3.sc-core.net (62-178-121-202.cable.dynamic.surfer.at. [62.178.121.202]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cda44edsm833454366b.193.2024.05.30.08.10.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 08:10:55 -0700 (PDT) From: ecordonnier@snap.com To: openembedded-core@lists.openembedded.org Cc: Etienne Cordonnier Subject: [OE-core][PATCH v2] oeqa/runtime: fix regression in minidebuginfo test Date: Thu, 30 May 2024 17:10:52 +0200 Message-Id: <20240530151052.1653-1-ecordonnier@snap.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 ; Thu, 30 May 2024 15:11:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/200025 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 --- 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) -- 2.34.1