From: Alexis Lothoré Date: Thu, 24 Aug 2023 09:18:10 +0000 (+0200) Subject: oeqa/utils/gitarchive: replace warning with info when reading local tags X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2c1d8a83a3b2134a8f9a445cbf00103e63ed0b3;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa/utils/gitarchive: replace warning with info when reading local tags Whenever a script needs to list tags, if it falls back to the third method (reading local tags only), it emits a warning. While this warning is useful for future diagnostic if some tagging issues re-appear, it makes buildperf autobuilds status as "Passed with warnings", which is not desirable Signed-off-by: Alexis Lothoré Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/utils/gitarchive.py b/meta/lib/oeqa/utils/gitarchive.py index ac36ecb3a9c..64448f47d94 100644 --- a/meta/lib/oeqa/utils/gitarchive.py +++ b/meta/lib/oeqa/utils/gitarchive.py @@ -128,7 +128,7 @@ def get_tags(repo, log, pattern=None, url=None): tags_refs = repo.run_cmd(cmd) tags = ["".join(d.split()[1].split('/', 2)[2:]) for d in tags_refs.splitlines()] else: - log.warning("Read local tags only, some remote tags may be missed") + log.info("Read local tags only, some remote tags may be missed") cmd = ["tag"] if pattern: cmd += ["-l", pattern]