Bug 16216 - AB-INT: send_qa_email: Needed a single revision
Summary: AB-INT: send_qa_email: Needed a single revision
Status: RESOLVED FIXED
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 0.0.0
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2026-03-26 09:27 UTC by Mathieu Dubois-Briand
Modified: 2026-09-30 09:05 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Dubois-Briand 2026-03-26 09:27:56 UTC
We had this error once on the autobuilder:

====================================================================================================
Importing test results repo data (1774397250.4)
====================================================================================================

INFO: Running git clone git@push.yoctoproject.org:yocto-testresults /tmp/sendqaemail.49purf0e --depth 1 --branch master
Cloning into '/tmp/sendqaemail.49purf0e'...
fatal: Needed a single revision
Already on 'master'
Your branch is up to date with 'origin/master'.
Switched to branch 'master-next'
Comment 1 Mathieu Dubois-Briand 2026-03-26 09:29:27 UTC
a-full fedora40-vk-1 master-next completed at 2026-03-25 00:28:18+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3506/steps/37/logs/stdio
Comment 2 Randy MacLeod 2026-03-26 14:43:08 UTC
From the logs:
   timeout 1200 secs ...

There were lots of failures in that build.
The configuration was broken and the build was very bad...

Re-open if seen again.
Comment 3 Mathieu Dubois-Briand 2026-06-05 08:15:36 UTC
This one looks similar. I now the ticket is closed, just logging if case we ever
re-open.

a-full ubuntu2510-vk-1 master&master-next completed at 2026-06-04 19:45:57+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3926/steps/37/logs/stdio
Comment 4 Mathieu Dubois-Briand 2026-08-03 09:47:41 UTC
a-full rocky8-vk-1 master-next&master completed at 2026-08-01 02:25:06+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/4353/steps/40/logs/stdio
Comment 5 Paul Barker 2026-08-03 10:19:06 UTC
Looking at that last build (https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/4353).

Build properties shows commit_oecore is "7e5354150173a585c33a833b9d6b11a1112ddbb9".

In "Prepare shared repositories" I see for OE-core:
  HEAD is now at 0bb90e0c2e python3-websockets: upgrade 16.1.1 -> 17.0

Then in "Send QA Email" we run:
  resulttool store --revision 0bb90e0c2e2e3f9e6432300de66668feca93e75e ...
As it gets the revision by looking at the HEAD commit in repos/oecore.

Resulttool prints:
  INFO: Reading files from /srv/autobuilder/valkyrie.yocto.io/pub/non-release/20260731-126/testresults
  INFO: Found 1 revisions to store
  INFO: skipping 7e5354150173a585c33a833b9d6b11a1112ddbb9 as non-matching

It's been told to store results for commit 0bb90e0c2e2e3f9e6432300de66668feca93e75e (from repos/oecore HEAD), but the results we generated are for commit 7e5354150173a585c33a833b9d6b11a1112ddbb9 (from layerindex.json?), so it doesn't store anything.

Then "Processing regression report" fails as there are no stored results for the expected commit 7e5354150173a585c33a833b9d6b11a1112ddbb9.

Perhaps master-next was pushed between when layerinfo.json was created on the controller and when "Prepare shared repositories" pulled OE-core on the worker.
Comment 6 Paul Barker 2026-08-03 10:25:23 UTC
Tag oecore/autobuilder.yoctoproject.org/valkyrie/a-full-4353 in https://git.openembedded.org/openembedded-core points at commit 0bb90e0c2e2e3f9e6432300de66668feca93e75e, not at the commit stored in the build properties for that build.

Committer date of "2026-07-31 23:16:43 +0100" is just before the build start time of 2026-07-31T23:17:55+01:00. So I think this is a race between master-next being pushed and the build starting.
Comment 7 Paul Barker 2026-08-03 10:28:18 UTC
Bugzilla needs to let you edit comments...

The link in my last comment should have been https://git.yoctoproject.org/poky-ci-archive.
Comment 8 Mathieu Dubois-Briand 2026-08-06 08:55:29 UTC
a-full debian11-vk-1 master&master-next completed at 2026-08-06 02:20:46+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/4399/steps/42/logs/stdio
Comment 10 Mathieu Dubois-Briand 2026-08-21 05:17:20 UTC
a-full debian13-vk-2 master&master-next completed at 2026-08-20 15:14:18+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/4527/steps/40/logs/stdio
Comment 11 Mathieu Dubois-Briand 2026-09-06 16:13:17 UTC
a-full ubuntu2504-vk-1 master-next&master completed at 2026-09-05 15:04:16+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/4672/steps/40/logs/stdio
Comment 12 Mathieu Dubois-Briand 2026-09-30 09:05:59 UTC
a-full fedora44-vk-3 master-next&master completed at 2026-09-29 15:04:44+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/4828/steps/40/logs/stdio