| Summary: | AB-INT: do_fetch unable to fetch local file | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Alexandre Belloni <alexandre.belloni> |
| Component: | bitbake | Assignee: | Unassigned <unassigned> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alexandre.belloni, changqing.li, pavel, poky.bs.watcher, poky.watcher, randy.macleod |
| Version: | unspecified | ||
| Target Milestone: | 4.3 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | AB-INT AB-HAVE-PLAN | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Alexandre Belloni
2023-03-30 14:37:15 UTC
Also seen in the WR autobuilder environment. There is a patch added to make this more debugable if it happens again. Patch added to aid debugging if it fails again: https://git.yoctoproject.org/poky/commit/?id=c28a9a5799618ae1ddcccdd3a7f448d759e7a9a4 Randy to add more info from WR logs. The WR autobuilder has seen this odd failure at least 3 times:
1. 2023-02-03, 20:40 ET fedora34_64 build container
busybox_1.36.0 failed (do_patch) of
wrlinux-graphics_qemux86_sysvinit_world_predefined_cd.
tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/recipe-sysroot-native
Error link: http://ala-lpggp7.wrs.com:8090/Errors/Details/16713/
and then:
2. 2023-03-05, 07:10 ET wrlfull-lts21 build container
busybox_1.36.0 failed (do_patch) of
nodistro_beaglebone-yocto_core-image-full-cmdline_cd.
tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/
Error link: http://ala-lpggp7.wrs.com:8090/Errors/Build/13586/
3. 2023-03-30, 18:50 ET fedora37_64 build container
busybox_1.36.0 failed (do_patch) of
nodistro_beaglebone-yocto_core-image-full-cmdline_cd., 18:50
tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/recipe-sysroot-native
Error link: http://ala-lpggp7.wrs.com:8090/Errors/Build/14330/
for 1.
log:
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/home/wrlbuild/builds/builds-48fccb38-1ac0-489f-b81a-618397ea2b7c/layers/oe-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/wrlbuild/builds/builds-48fccb38-1ac0-489f-b81a-618397ea2b7c/layers/oe-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['quilt-native', 'patch-native', 'libtool-native', 'attr-native', 'texinfo-dummy-native', 'gettext-minimal-native']
NOTE: Skipping as already exists in sysroot: []
DEBUG: sed -e 's:^[^/]*/:TOPDIR/tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/recipe-sysroot-native/:g' TOPDIR/tmp-glibc/sysroots-components/x86_64/quilt-native/fixmepath TOPDIR/tmp-glibc/sysroots-components/x86_64/libtool-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:TOPDIR/tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:TOPDIR/tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:TOPDIR/tmp-glibc/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:TOPDIR/tmp-glibc/hosttools:g' -e 's:FIXME_PKGDATA_DIR:TOPDIR/tmp-glibc/pkgdata/beaglebone-yocto:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:TOPDIR/tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/pseudo/:g' -e 's:FIXME_LOGFIFO:TOPDIR/tmp-glibc/work/cortexa8hf-neon-oe-linux-gnueabi/busybox/1.36.0-r0/temp/fifo.1092067:g'
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_patch
DEBUG: Executing python function patch_do_patch
NOTE: Applying patch '0001-depmod-Ignore-.debug-directories.patch' (../layers/oe-core/meta/recipes-core/busybox/files/0001-depmod-Ignore-.debug-directories.patch)
ERROR: Importing patch '0001-depmod-Ignore-.debug-directories.patch' with striplevel '1'
FileNotFoundError(2, 'No such file or directory')
DEBUG: Python function patch_do_patch finished
DEBUG: Python function do_patch finished
The problem is NOT seen in kirkstone-based or older builds.
Actually, there are two failure modes related to the file: 0001-depmod-Ignore-.debug-directories.patch - error on fetch and error on patch.
There are 9 do_fetch errors starting on 2023-02-01, 02:30 ET
and the most recent occurrence is on 2023-04-05, 02:20 ET
DEBUG: For url ['file', '', '0001-depmod-Ignore-.debug-directories.patch', '', '', OrderedDict()] comparing ['.*', '.*', '/.*', '', '', OrderedDict()] to ['file', '', '/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/local/downloads/', '', '', OrderedDict()]
DEBUG: For url ['file', '', '0001-depmod-Ignore-.debug-directories.patch', '', '', OrderedDict()] comparing ['git', '.*', '/.*', '', '', OrderedDict()] to ['git', '', '/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/local/git/BASENAME', '', '', OrderedDict([('protocol', 'file')])]
DEBUG: For url ['file', '', '0001-depmod-Ignore-.debug-directories.patch', '', '', OrderedDict()] comparing ['git', 'sourceware.org', '/git/glibc.git', '', '', OrderedDict()] to ['https', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()]
DEBUG: For url ['file', '', '0001-depmod-Ignore-.debug-directories.patch', '', '', OrderedDict()] comparing ['git', 'sourceware.org', '/git/binutils-gdb.git', '', '', OrderedDict()] to ['https', 'downloads.yoctoproject.org', '/mirror/sources/', '', '', OrderedDict()]
DEBUG: Trying Upstream
WARNING: Failed to fetch URL file://0001-depmod-Ignore-.debug-directories.patch, attempting MIRRORS if available
DEBUG: Fetcher failure: Unable to find file file://0001-depmod-Ignore-.debug-directories.patch anywhere. The paths that were searched were:
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/meta-clang/recipes-core/busybox/busybox/nodistro
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox-1.36.0/nodistro
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox/nodistro
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/files/nodistro
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/meta-clang/recipes-core/busybox/busybox/ti-j72xx
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox-1.36.0/ti-j72xx
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox/ti-j72xx
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/files/ti-j72xx
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/meta-clang/recipes-core/busybox/busybox/armv8a
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox-1.36.0/armv8a
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox/armv8a
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/files/armv8a
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/meta-clang/recipes-core/busybox/busybox/aarch64
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox-1.36.0/aarch64
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox/aarch64
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/files/aarch64
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/meta-clang/recipes-core/busybox/busybox/aarch64
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox-1.36.0/aarch64
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox/aarch64
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/files/aarch64
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/meta-clang/recipes-core/busybox/busybox/
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox-1.36.0/
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/busybox/
/home/wrlbuild/builds/builds-b6910524-52cd-4f22-aa20-96b56217b0b5/layers/oe-core/meta/recipes-core/busybox/files/
https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/7083/steps/11/logs/stdio multilib alma9-ty-2 There was a rare corruption in the fetcher code that should have fixed this issue. Exact commit not known right now. -- YP Bug review |