Bug 16111

Summary: AB-INT: metrics: failed to push some refs [dunfell]
Product: [Infrastructure] AutoBuilder Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: autobuilderAssignee: Yoann Congal <yoann.congal>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: infras.ab.watcher, Infras.watcher, paul, randy.macleod
Version: unspecified   
Target Milestone: 4.0.32   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mathieu Dubois-Briand 2025-12-22 09:26:57 UTC
NOTE: Generating JSON CVE summary
Complete CVE JSON report summary created at: /srv/pokybuild/yocto-worker/metrics/build/build/tmp/log/cve/cve-summary.json
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint: 
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint: 
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
Already up to date.
rm 'cve-check/dunfell/1766296908.json'
[master f24af7c7] Autobuilder adding new CVE data for branch dunfell
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename cve-check/dunfell/{1766296908.json => 1766383307.json} (100%)
To ssh://push.yoctoproject.org/yocto-metrics
 ! [rejected]          master -> master (fetch first)
error: failed to push some refs to 'ssh://push.yoctoproject.org/yocto-metrics'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

Might be related to https://bugzilla.yoctoproject.org/show_bug.cgi?id=15529
Comment 1 Mathieu Dubois-Briand 2025-12-22 09:28:34 UTC
metrics debian11-vk-3 dunfell completed at 2025-12-22 07:47:37+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/103/builds/2452/steps/14/logs/stdio
Comment 2 Mathieu Dubois-Briand 2025-12-22 09:29:01 UTC
Hum, actually this is on dunfell, and dunfell does not have the fix for #15529. Sot it might be the same issue.
Comment 4 Yoann Congal 2026-01-08 19:40:00 UTC
Backport sent:
[yocto-autobuilder-helper][dunfell][PATCH] scripts: rebase before pushing patch and CVE metrics
https://lists.yoctoproject.org/g/yocto-patches/message/2916
Comment 5 Yoann Congal 2026-01-09 20:40:57 UTC
Backport fix merged as
  scripts: rebase before pushing patch and CVE metrics
  https://git.yoctoproject.org/yocto-autobuilder-helper/commit/?h=dunfell&id=59108a784c3d37f96f408d18993a3039a2e017bb

Let's close this for now and reopen if it happens again on the dunfell metrics build : https://autobuilder.yoctoproject.org/valkyrie/#/builders/103