From patchwork Tue Feb 6 06:42:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Simone_Wei=C3=9F?= X-Patchwork-Id: 38872 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 D77DCC4828D for ; Tue, 6 Feb 2024 06:42:33 +0000 (UTC) Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) by mx.groups.io with SMTP id smtpd.web11.16356.1707201746904172696 for ; Mon, 05 Feb 2024 22:42:27 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@posteo.com header.s=2017 header.b=nukWlIdi; spf=pass (domain: posteo.com, ip: 185.67.36.66, mailfrom: simone.p.weiss@posteo.com) Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E046A240103 for ; Tue, 6 Feb 2024 07:42:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.com; s=2017; t=1707201744; bh=i60/DCXLdlufA5yF6QKn+iOpUCKsc6u4DNQmvJeAbgA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=nukWlIdiSbLH8na2wYRRssv4lhTg3+Xjhfxy0rQWZLpK2YNoZeyJ0A+HtilS+n623 w4GchEqXCvGLOm/Xk615y/FdNLBP7hsZj6atk9v8N/gyMtBnNrxknMUSJgDc6drzWu njclp95uwngaXUf9nIJ2Q4ci1+cAIrC9Ip0wK0J9+rRYCSu8pbNsB+hL9mzGGk790E 9COepN90srJKBndY88KOmR0tFuA7JeRL5kdXIJimU+a3e92ZWWJz2KCEtvI1s16a+Q VzJm9fIE8fOPC62zxWxdM/d8Gj3XsstvkqJiAYkCVuvczmXOc13ZgHSBQbOqxt2q1o FENVtHWtdbnPg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TTYZm1RVKz9rxF; Tue, 6 Feb 2024 07:42:23 +0100 (CET) From: simone.p.weiss@posteo.com To: openembedded-core@lists.openembedded.org Cc: =?utf-8?q?Simone_Wei=C3=9F?= Subject: [PATCH v2] gnutls: print log if ptest fails Date: Tue, 6 Feb 2024 06:42:14 +0000 Message-Id: <20240206064214.3948368-1-simone.p.weiss@posteo.com> 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, 06 Feb 2024 06:42:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/194973 From: Simone Weiß There are AB-INT issues with the gnutls tests and the test for naked-alerts is failing. Tweak the run-ptest script to save the error log to obtain more infos for debugging. Related to [YOCTO #15352]. Signed-off-by: Simone Weiß --- meta/recipes-support/gnutls/gnutls/run-ptest | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meta/recipes-support/gnutls/gnutls/run-ptest b/meta/recipes-support/gnutls/gnutls/run-ptest index 84948f487d..17e26eae70 100644 --- a/meta/recipes-support/gnutls/gnutls/run-ptest +++ b/meta/recipes-support/gnutls/gnutls/run-ptest @@ -58,6 +58,8 @@ cd tests max_njobs=$(grep -c ^processor /proc/cpuinfo) njobs=0 +set +e + for t in *; do [ -x $t ] || continue [ -f $t ] || continue @@ -80,6 +82,14 @@ passed=$(grep -c PASS ${LOG}) failed=$(grep -c FAIL ${LOG}) total=$(expr ${passed} + ${failed} + ${skipped}) +if [ ${failed} -ne 0 ]; then + echo + echo "Tests failed for gnutls, log is:" + echo "--------------------" + cat ${LOG} + echo +fi + echo echo "gnutls test summary:" echo "--------------------"