Skip to content

Fix regression reporting for master-next

Alexis Lothoré openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2oeqa/utils/gitarchive: fix tag pattern searchingmeta/lib/oeqa/utils/gitarchive.py+1 -10 replies
2/2oeqa/utils/gitarchive: ensure tag matches regex before getting its fieldsmeta/lib/oeqa/utils/gitarchive.py+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [OE-Core][PATCH 0/2] Fix regression reporting for master-next

There are still issues in Autobuilder when trying to generate regression reports on master-next branch, as visible in [1]. This issue makes build status as failed

After being finally able to replicate the issue locally (which is quite difficult since master-next is a force-pushed branch), I observed that the issue lies within tag searching/management in tests results repository: we execute a "two-step" search, first with git ls-remote + glob patterns, and then filtered with a regex. The second step may fail because some additional tags retrieved from first step do not match exactly what is expected by the regex. For example, tag abelloni/master-next/69846-g01903ca0b1f7e120abd5135fb8554216ae7059c6/0 will be returned when searching for master-next tags

The two small patches in this series aim to:
1. restrict list of returned tags
2. make sure that once regex is used, the tag has matched before trying to parse its fields

With those two patches, I have been able to properly generate the regression report from [1] with the following command:

[1] https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6025/steps/29/logs/stdio

Alexis Lothoré (2):
oeqa/utils/gitarchive: fix tag pattern searching oeqa/utils/gitarchive: ensure tag matches regex before getting its
fields

 meta/lib/oeqa/utils/gitarchive.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
2.42.0