Skip to content

Make sure to pick tested rev as reference for regression report

Alexis Lothoré yocto 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3scripts/send_qa_email: re-clarify base and target revisionsscripts/send_qa_email.py scripts/test_send_qa_email.py scripts/utils.py+39 -370 replies
2/3scripts/send-qa-email: define tests results repository url only oncescripts/send_qa_email.py+3 -20 replies
3/3scripts/send_qa_email: guess latest tested revision when dealing with branchscripts/send_qa_email.py scripts/test_send_qa_email.py+24 -90 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [yocto-autobuilder-helper][PATCH 0/3] Make sure to pick tested rev as reference for regression report

Some failures have been observed on jobs targeting master-next, with the following logs as an example:

Exception: No reference found for commit 3edb9acca18171894771c36c19b0c2e905852ce5 in /tmp/sendqaemail.dkwg__g9

See [1] for more logs, which is trying to compare master-next results to master results. While master-next results necessarily exist (because they have been generated in the very same build presenting the error), it may not be true for master: current HEAD of master may not have been the object of a build generating test results.

To fix that, this series propose to stop blindly searching for test results corresponding to current HEAD on master: instead it reads HEAD on master branch of test results respository, and extract corresponding Poky revision from it, so we are sure that selected revision in Poky is the most recent AND have corresponding tests results
The actual fix is in last commits: the first commit aims to re-clarify the naming used for revisions used to comparision, and the second commit is a small refactoring

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

Alexis Lothoré (3):
scripts/send_qa_email: re-clarify base and target revisions scripts/send-qa-email: define tests results repository url only once scripts/send_qa_email: guess latest tested revision when dealing with
branch

 scripts/send_qa_email.py      | 61 ++++++++++++++++++++++-------------
 scripts/test_send_qa_email.py | 31 ++++++++++--------
 scripts/utils.py              |  6 ++--
 3 files changed, 58 insertions(+), 40 deletions(-)
Signature · 1 line
2.42.0