Fixed
Created: Mar 2, 2023
Updated: Apr 19, 2023
Resolved Date: Apr 16, 2023
Found In Version: 10.22.33.4
Fix Version: 10.22.33.8
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Build & Config
There might be warnings when run wrlinux-x/setup.sh to download product:
/path/to/.repo/projects/layers/wrlinux.git: failed cmd: fetch --quiet base --tags --prune +refs/tags/:refs/tags/* +refs/heads/:refs/remotes/base/ +refs/heads/WRLINUX_10_22_LTS:refs/remotes/base/WRLINUX_10_22_LTS
path/to/.repo/projects/layers/wrlinux.git: failed message: error: RPC failed; curl 56 OpenSSL SSL_read: Connection closed abruptly, *errno 0 (Fatal because this is a curl debug build)
error: 2394 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
/path/to/.repo/projects/layers/wrlinux.git: Retrying failed cmd after 36 seconds – 2 tries (max: 5)
WRLinux-lts-22-Core/wrlinux: Retried successfully after 2 tries
Fetching projects: 100% (566/566), done.
The is mainly because of network issues, it's harmless if the tries are succeed:
WRLinux-lts-22-Core/wrlinux: Retried successfully after 2 tries
And you can use the option --dl-layers=1 with setup.sh to speed up the download.
Build LTS22 wrlinux-image-ovp-kvm image for intel-x86-64,
STEP-1:
Setup Project:
$ git clone --branch WRLINUX_10_22_LTS https://gateway.delivers.windriver.com/git/linux-lts/release/wrlinux-lts.22/WRLinux-lts-22-Core/wrlinux-x
$ ./wrlinux-x/setup.sh --dl-layers --distros wrlinux-ovp --machines intel-x86-64 --layers meta-anaconda --templates feature/initramfs,feature/kdump,feature/kexec,feature/sysklogd,feature/dpdk,feature/package-management,feature/installer-support
Results:
Getting warnings message from *fatal: fetch-pack: invalid index-pack output and wrlinux.git: Retrying failed cmd after 36 seconds -- 2 tries (max: 5)*