mbox series

[0/2] Fix regression reporting for master-next

Message ID 20231010093013.16922-1-alexis.lothore@bootlin.com
Headers show
Series Fix regression reporting for master-next | expand

Message

Alexis Lothoré Oct. 10, 2023, 9:30 a.m. UTC
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(-)