diff mbox series

CI: ignore netrc warnings caused by Kas

Message ID 20240327124854.1214719-1-ross.burton@arm.com
State New
Headers show
Series CI: ignore netrc warnings caused by Kas | expand

Commit Message

Ross Burton March 27, 2024, 12:48 p.m. UTC
From: Ross Burton <ross.burton@arm.com>

As of oe-core ba391d3, hashserv lookups will use authentication from the
.netrc file.  However, Kas will write invalid netrc files with comments,
which causes bitbake to emit warnings.

This has been fixed in Kas in e700729 but until Kas 4.3.2 is released we
can ignore this warning specifically when checking the logs.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 ci/check-warnings | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jon Mason March 27, 2024, 1:51 p.m. UTC | #1
On Wed, 27 Mar 2024 12:48:54 +0000, ross.burton@arm.com wrote:
> As of oe-core ba391d3, hashserv lookups will use authentication from the
> .netrc file.  However, Kas will write invalid netrc files with comments,
> which causes bitbake to emit warnings.
> 
> This has been fixed in Kas in e700729 but until Kas 4.3.2 is released we
> can ignore this warning specifically when checking the logs.
> 
> [...]

Applied, thanks!

[1/1] CI: ignore netrc warnings caused by Kas
      commit: 2271e337667ae04e6a451835915b023a68a8979e

Best regards,
diff mbox series

Patch

diff --git a/ci/check-warnings b/ci/check-warnings
index 89ae955d..cdf84aaf 100755
--- a/ci/check-warnings
+++ b/ci/check-warnings
@@ -7,7 +7,7 @@  set -e -u
 
 LOGFILE=$1
 
-LINES=$(grep --invert-match "attempting MIRRORS if available" $LOGFILE | wc -l)
+LINES=$(sed -e "/attempting MIRRORS if available/d" -e "/Error parsing .*netrc:/d" $LOGFILE | wc -l)
 if test "$LINES" -ne 0; then
     echo ==============================
     echo The build had warnings/errors: