From patchwork Mon Jan 8 03:58:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 37431 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 95FEBC47073 for ; Mon, 8 Jan 2024 03:58:27 +0000 (UTC) Received: from mail-oo1-f50.google.com (mail-oo1-f50.google.com [209.85.161.50]) by mx.groups.io with SMTP id smtpd.web10.32572.1704686297323198980 for ; Sun, 07 Jan 2024 19:58:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AB25+YG3; spf=pass (domain: gmail.com, ip: 209.85.161.50, mailfrom: raj.khem@gmail.com) Received: by mail-oo1-f50.google.com with SMTP id 006d021491bc7-5981e56af45so936702eaf.0 for ; Sun, 07 Jan 2024 19:58:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704686296; x=1705291096; 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=TjzZZCO/uujWdZ0+0AXefJAJKUm9hsEtTy3eOBxE3Zk=; b=AB25+YG3itALm8dNj5zun+dkIomQg+4ZkfrJEUBvNIpU5rKS0j7rKsmh2enDG+OHYI atqfrbhQ1j/gprdMxF1aG8KXbHvjW686EJy9Rr1GR/DxJHcLYY8/TrB5HilH0L3hi6/h PCCx5SSvXMANPWukLzXFfo/SPr+TH2+nrycreUIu7Rx7mv959ONwXeOkNWEhrGzYHZY6 Rrrn2wucgzn7Ay8PCsQH66FsNjghTAVHAS9tANLa8o8s5QQEjRG9JSu4wKQJFsHIy45s FwhOMB0Shv9YdqkB3vmOTtYz91PBAu2GnwLKXgmGMhnE4BnapidG6xl+xvpOUc9pJi8K 85Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704686296; x=1705291096; 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=TjzZZCO/uujWdZ0+0AXefJAJKUm9hsEtTy3eOBxE3Zk=; b=eoa1/UkcwDrCIKdHNUR8sHR/b6+NcK7zMUHWhvQKVYQbqXxQappMJlJhTQSUU22plj ZtRTrfYsyih+Ug67Hh95/L59P423K9uGZLgnDoilUf0/em/xqrBtGtyHGRyV8j7VONus AHDZ9ftKRVOCDx/N8VwU+4cxY+pfjORMifVkKLjK3EVHZRXSdZ7Ub9LQYSZX8M+Ou6Wm vOVP1Nlf+Y/H4r/3yRVibMHsYO54UzjkkkCFJ8EHFEZGfGnrz5COA9A8oL8cX0mxfWe8 XP2sVklh8odcUy9csfX4mWgtLkaaRloPvdiTKnV3GZlW35Z7yP7kUb4JT2xtCcaU+iVZ QEsA== X-Gm-Message-State: AOJu0YxI/jYBeiENrOnIfUBNuf+ox/FykiKXavYnx9DxAFk1yzt9vpOD 3pAdAZxku3OoMoID87AvYxpRph7Bk6Y= X-Google-Smtp-Source: AGHT+IGOhXtGoLw84Yn+kujF/OrFrD1M1ouu/FhwkreBRzofDIm1P4vg2NtIiPN689rnvDpEGU/BqA== X-Received: by 2002:a05:6358:9387:b0:175:7404:8be7 with SMTP id h7-20020a056358938700b0017574048be7mr1548714rwb.60.1704686296025; Sun, 07 Jan 2024 19:58:16 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::4b6f]) by smtp.gmail.com with ESMTPSA id iw3-20020a170903044300b001d1d27259cesm5162295plb.180.2024.01.07.19.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 19:58:15 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH] python3-pylint: Ignore failing ptests Date: Sun, 7 Jan 2024 19:58:13 -0800 Message-ID: <20240108035813.966117-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.43.0 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 ; Mon, 08 Jan 2024 03:58:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/108124 regression_distutil_import_error_73 seems to fail starting 3.0.3 perhaps due to dependency upgrade e.g. astroid or some such. Remove it from run for now. Match the run command to whats in github actions. Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-pylint/run-ptest | 2 +- meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-pylint/run-ptest b/meta-python/recipes-devtools/python/python3-pylint/run-ptest index 7a5ceedf95..2a4e87e03a 100644 --- a/meta-python/recipes-devtools/python/python3-pylint/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pylint/run-ptest @@ -1,3 +1,3 @@ #!/bin/sh -pytest --benchmark-disable -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' +pytest --benchmark-disable -vv --minimal-messages-config tests/test_functional.py | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb b/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb index 09ab1f26ff..cc33edd829 100644 --- a/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb @@ -46,6 +46,9 @@ do_install_ptest() { cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript + # regression_distutil_import_error_73.py fails to run see + # https://lists.openembedded.org/g/openembedded-devel/topic/103181847 + rm ${D}${PTEST_PATH}/tests/functional/r/regression_02/regression_distutil_import_error_73.py } BBCLASSEXTEND = "native nativesdk"