icu-native / icu fails in do_unpack on YP 4.0.11 in CI

Fixed

Description

ERROR: icu-70.1-r0 do_unpack: Bitbake Fetcher Error: UnpackError('Unpack command PATH="/w/workspace/ci-platform-meta-agl-verify-CIB-qemux86-64/repoclone/output/tmp/sysroots-uninative/x86_64-linux/usr/bin:/w/workspace/ci-platform-meta-agl-verify-CIB-qemux86-64/repoclone/external/poky/scripts:/w/workspace/ci-platform-meta-agl-verify-CIB-qemux86-64/repoclone/output/tmp/work/corei7-64-agl-linux/icu/70.1-r0/recipe-sysroot-native/usr/bin/x86_64-agl-linux:/w/workspace/ci-platform-meta-agl-verify-CIB-qemux86-64/repoclone/output/tmp/work/corei7-64-agl-linux/icu/70.1-r0/recipe-sysroot/usr/bin/crossscripts:/w/workspace/ci-platform-meta-agl-verify-CIB-qemux86-64/repoclone/output/tmp/work/corei7-64-agl-linux/icu/70.1-r0/recipe-sysroot-native/usr/sbin:/w/workspace/ci-platform-meta-agl-verify-CIB-qemux86-64/repoclone/output/tmp/work/corei7-64-agl-linux/icu/70.1-r0/recipe-sysroot-native/usr/bin:/w/workspace/ci-platform-meta-agl-verify-CIB-qemux86-64/repoclone/output/tmp/work/corei7-64-agl-linux/icu/70.1-r0/recipe-sysroot-native/sbin:/w/workspace/ci-platform-meta-agl-verify-CIB-qemux86-64/repoclone/output/tmp/work/corei7-64-agl-linux/icu/70.1-r0/recipe-sysroot-native/bin:/w/workspace/ci-platform-meta-agl-verify-CIB-qemux86-64/repoclone/external/poky/bitbake/bin:/w/workspace/ci-platform-meta-agl-verify-CIB-qemux86-64/repoclone/output/tmp/hosttools" unzip -q -o \'/w/workspace/ci-platform-meta-agl-verify-CIB-qemux86-64/repoclone/output/downloads/icu4c-70_1-data.zip\' failed with return value -11', '
https://github.com/unicode-org/icu/releases/download/release-70-1/icu4c-70_1-data.zip;name=data
')
ERROR: Logfile of failure stored in: /w/workspace/ci-platform-meta-agl-verify-CIB-qemux86-64/repoclone/output/tmp/work/corei7-64-agl-linux/icu/70.1-r0/temp/log.do_unpack.18931
NOTE: recipe icu-70.1-r0: task do_unpack: Failed
ERROR: Task (/w/workspace/ci-platform-meta-agl-verify-CIB-qemux86-64/repoclone/external/poky/meta/recipes-support/icu/icu_70.1.bb:do_unpack) failed with exit code '1'

Environment

None

Activity

Show:

Jan-Simon Moeller 
February 13, 2024 at 7:40 PM

Fixed with upstream providing new UNINATIVE_TARBALL (and our YP release being bumped to use it).

Jan-Simon Moeller 
August 8, 2023 at 4:11 PM

Upstream bug: https://git.yoctoproject.org/poky/commit/?h=master-next&id=d505ab5ea561bf5c501e7417a17d72bacfe3dadf

We need to wait for a new UNINATIVE tarball or host a new one ourselves or downgrade to a working version (3.9).

Denys Dmytriyenko 
July 20, 2023 at 1:33 AM

So, according to unzip manual, return value -11 means "no matching files were found":
https://linux.die.net/man/1/unzip

That means do_fetch finished successfully, but do_unpack couldn't find the downloaded zip file (or it was corrupted, but do_fetch does check the integrity). Some kind of race or fundamental issue with the build machine or its disks...

BTW, icu recipe itself hasn't changed in 1.5 years. And this can't be reproduced locally even on ubuntu 18.04

Does this always happen in CI? Do you have a link with logs of the failure?

Denys Dmytriyenko 
July 19, 2023 at 9:45 PM
(edited)

Hmm, this is weird:

I can try this on ubuntu 18.04

Details

Assignee

Reporter

Priority

Created July 19, 2023 at 9:04 AM
Updated February 13, 2024 at 9:01 PM
Resolved February 13, 2024 at 7:40 PM