From patchwork Fri Dec 4 06:38:21 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107261 Received: from mail-dy1-f171.google.com (mail-dy1-f171.google.com [74.125.82.171]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.2544.1796366307576349421 for ; Thu, 03 Dec 2026 22:38:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=o4F4U8VF; spf=pass (domain: gmail.com, ip: 74.125.82.171, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f171.google.com with SMTP id 5a478bee46e88-380c28f9e35so1723843eec.1 for ; Thu, 03 Dec 2026 22:38:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796366307; x=1796971107; 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:content-type; bh=iO8+I9Svjq6I0mC9ZA8EhI98oZF03S09ufurKtYQ14A=; b=o4F4U8VFjMgkqjEEw55I3B4auvGqgwcm8PBmlpAX03QyBMBX2/vpXZg/vedGnzZ45Z fzE74cbJEgOix8DKQbW7+tkMM8UIUuuegxCAzP6lFHe4PP7hqwbJok8gnM8eQ6P3qDHT sy4JzqscvaFk9JHZo4wF+lv+U86e4/if77GdpCIn+XpbbjsupKO86QYDLDuNAczSmls4 dXtAxB7I3NNCinaENYJWXsys6odejDn22o5/EmSXQcSuoKy//KR79DusqymIu8hGWlg6 iq7F0fUOfOqauRow7fDrGaOs+C/+z+Q9fdAjU74+OzGbdDWnb1EpyzWRx/SbMskmIqzY JV6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796366307; x=1796971107; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state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OxbafiuwH +V//1iWyYCV2m+VB3hOSb834yZLdmxg1V1pljoS7pKDtU9fFIdjg6l/L/Nw06W8dOUvdhjAVhNy 3xupLQaIITXNlXuKVpEqzrElil/IUCQoKfyxU+ORlCk9mi7eRu8TScq1CbXzU5uRx3KtyVpxbWp JxduZLIddWy7eFXYdh0Mt3kZl1YXoLSrpMdTfTTBhEneZHSAfFpxh+a414k+cn2Sm6APpsUoPSs 5kYDqQdpRsFjvh7zKGjaJu6V0SF3TW3gQy3OaJxnsJ+2vUMjwUXXwVF7steOK71TjBezkaMoldk oxZrxqGLgSX0Eu9my8uI39wVJwDKdrh+rrQVz6nkHtYOJ6F+a3WAfYnRltL1A6KLCmpTHcEDQGm +AQi X-Received: by 2002:a05:693c:2d8a:b0:386:ebd4:c0e4 with SMTP id 5a478bee46e88-38742d7ff8fmr5682197eec.16.1796366306862; Thu, 03 Dec 2026 22:38:26 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-387521f1360sm4311158eec.20.2026.12.03.22.38.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 22:38:26 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 3/3] tbb: Give each ptest a timeout Date: Thu, 3 Dec 2026 22:38:21 -0800 Message-ID: <20261204063821.2452951-4-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204063821.2452951-1-khem.raj@oss.qualcomm.com> References: <20261204063821.2452951-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 04 Dec 2026 06:38:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134006 run-ptest prints one line per finished ctest test, so a single hung test leaves ptest-runner without output until its 450 s timeout. ptest-runner then kills the whole suite and every remaining result is lost. This happened with test_resumable_tasks on qemux86-64: 28 tests had passed, and the other 113 never ran. Pass --timeout 300 to ctest so that a hung test is reported as a single FAIL and the rest of the suite still runs. The whole suite normally finishes in about 380 s on qemux86-64. Signed-off-by: Khem Raj --- meta-oe/recipes-support/tbb/files/run-ptest | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/tbb/files/run-ptest b/meta-oe/recipes-support/tbb/files/run-ptest index ef14dab437..9db7dbb542 100755 --- a/meta-oe/recipes-support/tbb/files/run-ptest +++ b/meta-oe/recipes-support/tbb/files/run-ptest @@ -4,7 +4,9 @@ # anything other than Passed/Skipped/Disabled (Failed, Timeout, Exception, Not Run) is a FAIL # test_scheduler_mix hangs intermittently on every architecture # https://github.com/uxlfoundation/oneTBB/issues/1281 -ctest -E '^test_scheduler_mix$' | awk '/Test +#[0-9]+:/ { +# --timeout makes any other hung test a single FAIL; without it ptest-runner +# kills the whole suite after 450s without output +ctest --timeout 300 -E '^test_scheduler_mix$' | awk '/Test +#[0-9]+:/ { if ($0 ~ /Passed/) res = "PASS" else if ($0 ~ /Skipped|Disabled/) res = "SKIP" else res = "FAIL"