Bug 15540

Summary: AUH breaks other autobuilder builds
Product: [Yocto Project Subprojects] Automated Update Handler Reporter: Richard Purdie <richard.purdie>
Component: Automatic Update HandlerAssignee: Alexander Kanavin <alex.kanavin>
Status: RESOLVED FIXED QA Contact: apoorv sangal <apoorvsangal>
Severity: normal    
Priority: Undecided    
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 Richard Purdie 2024-07-02 06:50:18 UTC
Within the logs of the recent AUH run on the autobuilder, an upgrade of qemu 9.0.0 to 9.0.1 failed. In the logs we see:

NOTE: Setscene tasks completed
WARNING: qemu-native-9.0.0-r0 do_fetch: Checksum mismatch for local file /srv/autobuilder/autobuilder.yocto.io/current_sources/qemu-9.0.0.tar.xz
Cleaning and trying again.
WARNING: qemu-native-9.0.0-r0 do_fetch: Renaming /srv/autobuilder/autobuilder.yocto.io/current_sources/qemu-9.0.0.tar.xz to /srv/autobuilder/autobuilder.yocto.io/current_sources/qemu-9.0.0.tar.xz_bad-checksum_32708ac66c30d8c892633ea968c771c1c76d597d70ddead21a0d22ccf386da69
NOTE: recipe glib-2.0-initial-1_2.80.2-r0: task do_fetch: Started

This broke another autobuilder build running in parallel since it deleted a file from DL_DIR:

https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/9122/steps/14/logs/stdio

which looking in the logs, failed with:

NOTE: Unpacking /srv/autobuilder/autobuilder.yocto.io/current_sources/qemu-9.0.0.tar.xz to /home/pokybuild/yocto-worker/qemuppc/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/9.0.0/sources-unpack/
xz: /srv/autobuilder/autobuilder.yocto.io/current_sources/qemu-9.0.0.tar.xz: No such file or directory
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

We probably need to run AUH with it's own DL_DIR separate from the rest of the autobuilder?