Bug 15829

Summary: AB-INT: build history: git-pack-objects died with error
Product: [Infrastructure] AutoBuilder Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: autobuilderAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: infras.ab.watcher, Infras.watcher, pidge
Version: unspecified   
Target Milestone: 0.0.0   
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-04-11 11:11:58 UTC
Seen a few times in the last days, but seems intermittent.

It might be some issues with the remote git, but not quite sure. I did clone build history git, and the said object is present and seems valid.

Initialized empty Git repository in /srv/pokybuild/yocto-worker/qemuarmv5/build/build/buildhistory/.git/
Switched to a new branch 'poky/master/qemuarmv5'
remote: fatal: bad tree object 996163afb7b7906244483de5bd24d31af4876132        
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: aborting due to possible repository corruption on the remote side.^@
fatal: protocol error: bad pack header
fatal: ambiguous argument 'refs/remotes/poky/master/qemuarmv5': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: Failed to resolve 'HEAD' as a valid ref.
Comment 1 Mathieu Dubois-Briand 2025-04-11 11:13:16 UTC
qemuarmv5 fedora39-vk-1 master-next completed at 2025-04-10T07:36:50Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/1284/steps/11/logs/stdio

qemuarmv5 debian12-vk-8 master-next completed at 2025-04-10T09:08:45Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/1285/steps/11/logs/stdio

qemuarmv5 fedora40-vk-3 master-next completed at 2025-04-10T22:24:43Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/1289/steps/11/logs/stdio

qemuarmv5 opensuse155-vk-2 master completed at 2025-04-11T01:31:50Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/1290/steps/12/logs/stdio
Comment 2 Richard Purdie 2025-04-17 14:37:38 UTC
Michael fixed the repo. Please reopen if it recurs.