Content

상위 폴더로 이동
+++ --- Patching modifications for twamp --- +++
patch -p1 -N < ./utilities-patch/utilities.patch || true
patching file src/sonic-utilities/config/main.py
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file src/sonic-utilities/config/main.py.rej
The next patch would create the file src/sonic-utilities/config/ptp.py,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file src/sonic-utilities/config/twamp_light.py,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file src/sonic-utilities/frr/frr_types_extension.py,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file src/sonic-utilities/frr/validated_config_db_connector.py,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
patching file src/sonic-utilities/setup.py
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file src/sonic-utilities/setup.py.rej
patching file src/sonic-utilities/show/main.py
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file src/sonic-utilities/show/main.py.rej
The next patch would create the file src/sonic-utilities/show/ptp.py,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file src/sonic-utilities/show/twamp_light.py,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
patching file src/sonic-utilities/sonic-utilities-data/bash_completion.d/config
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/sonic-utilities/sonic-utilities-data/bash_completion.d/config.rej
The next patch would create the file src/sonic-utilities/sonic-utilities-data/bash_completion.d/frr,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
+++ --- Making all --- +++
./scripts/run_with_retry make BLDENV=bookworm -f Makefile.work all
make[1]: Entering directory '/var/lib/jenkins/workspace/ETRI-202505/platform-vs'
"SECURE_UPGRADE_PROD_SIGNING_TOOL": ""
~/workspace/ETRI-202505/platform-vs/src/sonic-build-hooks ~/workspace/ETRI-202505/platform-vs
make[2]: Entering directory '/var/lib/jenkins/workspace/ETRI-202505/platform-vs/src/sonic-build-hooks'
dpkg-deb: building package 'sonic-build-hooks' in 'buildinfo/sonic-build-hooks_1.0_all.deb'.
make[2]: Leaving directory '/var/lib/jenkins/workspace/ETRI-202505/platform-vs/src/sonic-build-hooks'
~/workspace/ETRI-202505/platform-vs
Checking sonic-slave-base image: sonic-slave-bookworm:2f250bfbb4a
Checking sonic-slave-user image: sonic-slave-bookworm-jenkins:571e10d221b
SONiC Build System

Build Configuration
"CONFIGURED_PLATFORM"             : "vs"
"CONFIGURED_ARCH"                 : "amd64"
"SONIC_CONFIG_PRINT_DEPENDENCIES" : ""
"SONIC_BUILD_JOBS"                : "4"
"SONIC_CONFIG_MAKE_JOBS"          : "112"
"USE_NATIVE_DOCKERD_FOR_BUILD"    : ""
"SONIC_USE_DOCKER_BUILDKIT"       : ""
"USERNAME"                        : "admin"
"PASSWORD"                        : "YourPaSsWoRd"
"CHANGE_DEFAULT_PASSWORD"         : "n"
"SECURE_UPGRADE_MODE"             : "no_sign"
"SECURE_UPGRADE_DEV_SIGNING_KEY"  : ""
"SECURE_UPGRADE_SIGNING_CERT"     : ""
"SECURE_UPGRADE_PROD_SIGNING_TOOL": ""
"SECURE_UPGRADE_PROD_TOOL_ARGS"   : ""
"ONIE_IMAGE_PART_SIZE"            : ""
"SHUTDOWN_BGP_ON_START"           : ""
"ENABLE_PFCWD_ON_START"           : ""
"SONIC_BUFFER_MODEL"              : ""
"INSTALL_DEBUG_TOOLS"             : ""
"ROUTING_STACK"                   : "frr"
"FRR_USER_UID"                    : "300"
"FRR_USER_GID"                    : "300"
"ENABLE_SYNCD_RPC"                : ""
"SAITHRIFT_V2"                    : ""
"ENABLE_ORGANIZATION_EXTENSIONS"  : "y"
"HTTP_PROXY"                      : ""
"HTTPS_PROXY"                     : ""
"NO_PROXY"                        : ""
"ENABLE_ZTP"                      : ""
"INCLUDE_PDE"                     : ""
"SONIC_DEBUGGING_ON"              : ""
"SONIC_PROFILING_ON"              : ""
"KERNEL_PROCURE_METHOD"           : "build"
"BUILD_TIMESTAMP"                 : "20260721.190035"
"BUILD_LOG_TIMESTAMP"             : "none"
"SONIC_IMAGE_VERSION"             : "etri-202505.17-c6999a3e9"
"BLDENV"                          : "bookworm"
"VS_PREPARE_MEM"                  : "yes"
"INCLUDE_MGMT_FRAMEWORK"          : "y"
"INCLUDE_ICCPD"                   : "n"
"INCLUDE_STP"                     : "y"
"INCLUDE_SYSTEM_TELEMETRY"        : "n"
"INCLUDE_SYSTEM_GNMI"             : "y"
"INCLUDE_SYSTEM_BMP"              : "y"
"INCLUDE_SYSTEM_EVENTD"           : "y"
"ENABLE_HOST_SERVICE_ON_START"    : "y"
"INCLUDE_RESTAPI"                 : "n"
"INCLUDE_SFLOW"                   : "y"
"INCLUDE_NAT"                     : "y"
"INCLUDE_DHCP_RELAY"              : "y"
"INCLUDE_DHCP_SERVER"             : "n"
"INCLUDE_P4RT"                    : "n"
"INCLUDE_VS_DASH_SAI"             : "y"
"INCLUDE_KUBERNETES"              : "n"
"INCLUDE_KUBERNETES_MASTER"       : "n"
"INCLUDE_MACSEC"                  : "y"
"INCLUDE_MUX"                     : "y"
"INCLUDE_TEAMD"                   : "y"
"INCLUDE_DASH_HA"                 : "y"
"INCLUDE_ROUTER_ADVERTISER"       : "y"
"INCLUDE_BOOTCHART                : "y"
"ENABLE_BOOTCHART                 : "n"
"INCLUDE_FIPS"                    : "y"
"ENABLE_TRANSLIB_WRITE"           : ""
"ENABLE_NATIVE_WRITE"             : "y"
"ENABLE_DIALOUT"                  : ""
"ENABLE_AUTO_TECH_SUPPORT"        : "y"
"PDDF_SUPPORT"                    : "y"
"MULTIARCH_QEMU_ENVIRON"          : "n"
"SONIC_VERSION_CONTROL_COMPONENTS": "py2,py3,web,git,docker"
"ENABLE_ASAN"                     : "n"
"DEFAULT_CONTAINER_REGISTRY"      : "publicmirror.azurecr.io/"
"BUILD_MULTIASIC_KVM"             : "n"
"CROSS_BUILD_ENVIRON"             : "n"
"LEGACY_SONIC_MGMT_DOCKER"        : "y"
"INCLUDE_EXTERNAL_PATCHES"        : "n"
"PTF_ENV_PY_VER"                  : "py3"
"ENABLE_MULTIDB"                  : ""

mv: cannot move '/etc/apt/sources.list.d/debian.sources' to '/etc/apt/sources.list.d/debian.sources.back': Permission denied
fatal: not a git repository (or any of the parent directories): .git
"SONIC_DPKG_CACHE_METHOD"         : "none"

[ building ] [ target/debs/bookworm/libtac2_1.4.1-1_amd64.deb-install ] 
[ building ] [ target/debs/bookworm/libnl-3-200_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ building ] [ target/debs/bookworm/libyang2t64_2.1.148-0.2_amd64.deb-install ] 
[ building ] [ target/debs/bookworm/libnl-cli-3-200_3.7.0-0.2+b1sonic1_amd64.deb ] 
[ finished ] [ target/debs/bookworm/libnl-cli-3-200_3.7.0-0.2+b1sonic1_amd64.deb ] 
[ building ] [ target/python-wheels/bookworm/redis_dump_load-1.1-py3-none-any.whl-install ] 
[ finished ] [ target/debs/bookworm/libtac2_1.4.1-1_amd64.deb-install ] 
[ building ] [ target/debs/bookworm/p4lang-pi_0.1.0-15_amd64.deb-install ] 
[ finished ] [ target/debs/bookworm/p4lang-pi_0.1.0-15_amd64.deb-install ] 
[ finished ] [ target/python-wheels/bookworm/redis_dump_load-1.1-py3-none-any.whl-install ] 
[ building ] [ target/debs/bookworm/libdashapi_1.0.0_amd64.deb-install ] 
[ building ] [ target/sonic-vs.bin__vs__rfs.squashfs ] 
[ finished ] [ target/debs/bookworm/libdashapi_1.0.0_amd64.deb-install ] 
[ building ] [ target/files/bookworm/sonic_version.yml ] 
[ finished ] [ target/files/bookworm/sonic_version.yml ] 
[ building ] [ target/debs/bookworm/libtac-dev_1.4.1-1_amd64.deb-install ] 
[ finished ] [ target/debs/bookworm/libtac-dev_1.4.1-1_amd64.deb-install ] 
[ building ] [ target/debs/bookworm/libnl-cli-3-dev_3.7.0-0.2+b1sonic1_amd64.deb ] 
[ finished ] [ target/debs/bookworm/libnl-cli-3-dev_3.7.0-0.2+b1sonic1_amd64.deb ] 
[ building ] [ target/debs/bookworm/bash-tacplus_1.0.0_amd64.deb ] 
[ finished ] [ target/debs/bookworm/libnl-3-200_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ building ] [ target/debs/bookworm/audisp-tacplus_1.0.2_amd64.deb ] 
[ finished ] [ target/debs/bookworm/libyang2t64_2.1.148-0.2_amd64.deb-install ] 
[ building ] [ target/python-wheels/bookworm/swsssdk-2.0.1-py3-none-any.whl ] 
[ finished ] [ target/debs/bookworm/bash-tacplus_1.0.0_amd64.deb ] 
[ building ] [ target/debs/bookworm/libnl-3-dev_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ finished ] [ target/debs/bookworm/libnl-3-dev_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ building ] [ target/debs/bookworm/libnl-genl-3-200_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ finished ] [ target/debs/bookworm/libnl-genl-3-200_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ building ] [ target/debs/bookworm/libnl-route-3-200_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ finished ] [ target/debs/bookworm/libnl-route-3-200_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ building ] [ target/debs/bookworm/libnl-genl-3-dev_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ finished ] [ target/debs/bookworm/libnl-genl-3-dev_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ building ] [ target/debs/bookworm/libnl-route-3-dev_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ finished ] [ target/debs/bookworm/libnl-route-3-dev_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ building ] [ target/docker-base-bookworm.gz ] 
[ finished ] [ target/python-wheels/bookworm/swsssdk-2.0.1-py3-none-any.whl ] 
[ building ] [ target/debs/bookworm/libnl-nf-3-200_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ finished ] [ target/debs/bookworm/libnl-nf-3-200_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ building ] [ target/python-wheels/bookworm/swsssdk-2.0.1-py3-none-any.whl-install ] 
[ finished ] [ target/debs/bookworm/audisp-tacplus_1.0.2_amd64.deb ] 
[ building ] [ target/debs/bookworm/libnl-nf-3-dev_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ finished ] [ target/python-wheels/bookworm/swsssdk-2.0.1-py3-none-any.whl-install ] 
[ building ] [ target/debs/bookworm/p4lang-bmv2_1.15.0-7_amd64.deb ] 
[ finished ] [ target/debs/bookworm/libnl-nf-3-dev_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ building ] [ target/debs/bookworm/libnss-tacplus_1.0.4-1_amd64.deb ] 
[ finished ] [ target/debs/bookworm/libnss-tacplus_1.0.4-1_amd64.deb ] 
[ building ] [ target/debs/bookworm/libsnmp-base_5.9.3+dfsg-2+deb12u1_all.deb ] 
[ finished ] [ target/docker-base-bookworm.gz ] 
[ building ] [ target/debs/bookworm/libyang2-dev_2.1.148-0.2_amd64.deb-install ] 
[ finished ] [ target/debs/bookworm/libyang2-dev_2.1.148-0.2_amd64.deb-install ] 
[ building ] [ target/debs/bookworm/libnl-cli-3-200_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ finished ] [ target/debs/bookworm/libnl-cli-3-200_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ building ] [ target/docker-base-bookworm.gz-load ] 
[ finished ] [ target/docker-base-bookworm.gz-load ] 
[ building ] [ target/debs/bookworm/libnl-cli-3-dev_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ finished ] [ target/debs/bookworm/libnl-cli-3-dev_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ building ] [ target/debs/bookworm/libteam5_1.31-1_amd64.deb ] 
[ finished ] [ target/sonic-vs.bin__vs__rfs.squashfs ] 
[ FAIL LOG START ] [ target/sonic-vs.bin__vs__rfs.squashfs ]
Build start time: Tue Jul 21 10:00:53 UTC 2026
++ '[' -f .arch ']'
++ cat .arch
+ CONFIGURED_ARCH=amd64
+ DOCKER_VERSION=5:24.0.2-1~debian.12~bookworm
+ CONTAINERD_IO_VERSION=1.6.21-1
+ LINUX_KERNEL_VERSION=6.1.0-29-2
+ FILESYSTEM_ROOT=./fsroot
+ PLATFORM_DIR=platform
+ HOSTNAME=sonic
+ DEFAULT_USERINFO='Default admin user,,,'
+ BUILD_TOOL_PATH=src/sonic-build-hooks/buildinfo
+ TRUSTED_GPG_DIR=src/sonic-build-hooks/buildinfo/trusted.gpg.d
+ . ./onie-image.conf
++ : 32768
++ : x86_64
++ : vs
++ ONIEIMAGE_VERSION=r0
++ FILESYSTEM_ROOT=./fsroot-vs
++ FILESYSTEM_SQUASHFS=fs.squashfs
++ INSTALLER_PAYLOAD=fs.zip
++ FILESYSTEM_DOCKERFS=dockerfs.tar.gz
++ DOCKERFS_DIR=docker
++ DOCKER_RAMFS_SIZE=3500M
++ OUTPUT_ONIE_IMAGE=target/sonic-vs.bin
++ OUTPUT_RAW_IMAGE=target/sonic-vs.raw
++ RAW_IMAGE_DISK_SIZE=1700
++ OUTPUT_KVM_IMAGE=target/sonic-vs.img
++ KVM_IMAGE_DISK_SIZE=16
++ OUTPUT_ABOOT_IMAGE=target/sonic-aboot-vs.swi
++ ABOOT_BOOT_IMAGE=.sonic-boot.swi
++ OUTPUT_KVM_4ASIC_IMAGE=target/sonic-4asic-vs.img
++ OUTPUT_KVM_6ASIC_IMAGE=target/sonic-6asic-vs.img
++ OUTPUT_DSC_IMAGE=target/sonic-vs.tar
+ '[' -n 32768 ']'
+ '[' -n fs.zip ']'
+ '[' -n fs.squashfs ']'
+ '[' onie = aboot ']'
+ [[ n != y ]]
+ [[ -d ./fsroot-vs ]]
+ sudo rm -rf ./fsroot-vs
+ mkdir -p ./fsroot-vs
+ mkdir -p ./fsroot-vs/platform
+ touch ./fsroot-vs/platform/firsttime
+ bootloader_packages=
+ '[' grub '!=' aboot ']'
+ mkdir -p ./fsroot-vs/platform/grub
+ bootloader_packages=grub2-common
+ sudo mount proc /proc -t proc
+ echo '[INFO] Build host debian base system...'
[INFO] Build host debian base system...
+ TARGET_PATH=target
+ scripts/build_debian_base_system.sh amd64 bookworm ./fsroot-vs
I: Target architecture can be executed
I: Retrieving InRelease 
I: Checking Release signature
I: Valid Release signature (key id 4D64FEC119C2029067D6E791F8D2585B8783D481)
I: Retrieving Packages 
I: Validating Packages 
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://deb.debian.org/debian...
I: Retrieving adduser 3.134
I: Validating adduser 3.134
I: Retrieving apt 2.6.1
I: Validating apt 2.6.1
I: Retrieving base-files 12.4+deb12u15
I: Validating base-files 12.4+deb12u15
I: Retrieving base-passwd 3.6.1
I: Validating base-passwd 3.6.1
I: Retrieving bash 5.2.15-2+b13
I: Validating bash 5.2.15-2+b13
I: Retrieving bsdutils 1:2.38.1-5+deb12u3
I: Validating bsdutils 1:2.38.1-5+deb12u3
I: Retrieving coreutils 9.1-1
I: Validating coreutils 9.1-1
I: Retrieving dash 0.5.12-2
I: Validating dash 0.5.12-2
I: Retrieving debconf 1.5.82
I: Validating debconf 1.5.82
I: Retrieving debian-archive-keyring 2023.3+deb12u2
I: Validating debian-archive-keyring 2023.3+deb12u2
I: Retrieving debianutils 5.7-0.5~deb12u1
I: Validating debianutils 5.7-0.5~deb12u1
I: Retrieving diffutils 1:3.8-4
I: Validating diffutils 1:3.8-4
I: Retrieving dpkg 1.21.23
I: Validating dpkg 1.21.23
I: Retrieving e2fsprogs 1.47.0-2+b2
I: Validating e2fsprogs 1.47.0-2+b2
I: Retrieving findutils 4.9.0-4
I: Validating findutils 4.9.0-4
I: Retrieving gcc-12-base 12.2.0-14+deb12u1
I: Validating gcc-12-base 12.2.0-14+deb12u1
I: Retrieving gpgv 2.2.40-1.1+deb12u2
I: Validating gpgv 2.2.40-1.1+deb12u2
I: Retrieving grep 3.8-5
I: Validating grep 3.8-5
I: Retrieving gzip 1.12-1
I: Validating gzip 1.12-1
I: Retrieving hostname 3.23+nmu1
I: Validating hostname 3.23+nmu1
I: Retrieving init-system-helpers 1.65.2+deb12u1
I: Validating init-system-helpers 1.65.2+deb12u1
I: Retrieving libacl1 2.3.1-3
I: Validating libacl1 2.3.1-3
I: Retrieving libapt-pkg6.0 2.6.1
I: Validating libapt-pkg6.0 2.6.1
I: Retrieving libattr1 1:2.5.1-4
I: Validating libattr1 1:2.5.1-4
I: Retrieving libaudit-common 1:3.0.9-1
I: Validating libaudit-common 1:3.0.9-1
I: Retrieving libaudit1 1:3.0.9-1
I: Validating libaudit1 1:3.0.9-1
I: Retrieving libblkid1 2.38.1-5+deb12u3
I: Validating libblkid1 2.38.1-5+deb12u3
I: Retrieving libbz2-1.0 1.0.8-5+b1
I: Validating libbz2-1.0 1.0.8-5+b1
I: Retrieving libc-bin 2.36-9+deb12u14
I: Validating libc-bin 2.36-9+deb12u14
I: Retrieving libc6 2.36-9+deb12u14
I: Validating libc6 2.36-9+deb12u14
I: Retrieving libcap-ng0 0.8.3-1+b3
I: Validating libcap-ng0 0.8.3-1+b3
I: Retrieving libcap2 1:2.66-4+deb12u3+b1
I: Validating libcap2 1:2.66-4+deb12u3+b1
I: Retrieving libcom-err2 1.47.0-2+b2
I: Validating libcom-err2 1.47.0-2+b2
I: Retrieving libcrypt1 1:4.4.33-2
I: Validating libcrypt1 1:4.4.33-2
I: Retrieving libdb5.3 5.3.28+dfsg2-1
I: Validating libdb5.3 5.3.28+dfsg2-1
I: Retrieving libdebconfclient0 0.270
I: Validating libdebconfclient0 0.270
I: Retrieving libext2fs2 1.47.0-2+b2
I: Validating libext2fs2 1.47.0-2+b2
I: Retrieving libffi8 3.4.4-1
I: Validating libffi8 3.4.4-1
I: Retrieving libgcc-s1 12.2.0-14+deb12u1
I: Validating libgcc-s1 12.2.0-14+deb12u1
I: Retrieving libgcrypt20 1.10.1-3+deb12u1
I: Validating libgcrypt20 1.10.1-3+deb12u1
I: Retrieving libgmp10 2:6.2.1+dfsg1-1.1
I: Validating libgmp10 2:6.2.1+dfsg1-1.1
I: Retrieving libgnutls30 3.7.9-2+deb12u7
I: Validating libgnutls30 3.7.9-2+deb12u7
I: Retrieving libgpg-error0 1.46-1
I: Validating libgpg-error0 1.46-1
I: Retrieving libhogweed6 3.8.1-2
I: Validating libhogweed6 3.8.1-2
I: Retrieving libidn2-0 2.3.3-1+b1
I: Validating libidn2-0 2.3.3-1+b1
I: Retrieving liblz4-1 1.9.4-1
I: Validating liblz4-1 1.9.4-1
I: Retrieving liblzma5 5.4.1-1+deb12u1
I: Validating liblzma5 5.4.1-1+deb12u1
I: Retrieving libmd0 1.0.4-2
I: Validating libmd0 1.0.4-2
I: Retrieving libmount1 2.38.1-5+deb12u3
I: Validating libmount1 2.38.1-5+deb12u3
I: Retrieving libnettle8 3.8.1-2
I: Validating libnettle8 3.8.1-2
I: Retrieving libp11-kit0 0.24.1-2
I: Validating libp11-kit0 0.24.1-2
I: Retrieving libpam-modules 1.5.2-6+deb12u2
I: Validating libpam-modules 1.5.2-6+deb12u2
I: Retrieving libpam-modules-bin 1.5.2-6+deb12u2
I: Validating libpam-modules-bin 1.5.2-6+deb12u2
I: Retrieving libpam-runtime 1.5.2-6+deb12u2
I: Validating libpam-runtime 1.5.2-6+deb12u2
I: Retrieving libpam0g 1.5.2-6+deb12u2
I: Validating libpam0g 1.5.2-6+deb12u2
I: Retrieving libpcre2-8-0 10.42-1
I: Validating libpcre2-8-0 10.42-1
I: Retrieving libseccomp2 2.5.4-1+deb12u1
I: Validating libseccomp2 2.5.4-1+deb12u1
I: Retrieving libselinux1 3.4-1+b6
I: Validating libselinux1 3.4-1+b6
I: Retrieving libsemanage-common 3.4-1
I: Validating libsemanage-common 3.4-1
I: Retrieving libsemanage2 3.4-1+b5
I: Validating libsemanage2 3.4-1+b5
I: Retrieving libsepol2 3.4-2.1
I: Validating libsepol2 3.4-2.1
I: Retrieving libsmartcols1 2.38.1-5+deb12u3
I: Validating libsmartcols1 2.38.1-5+deb12u3
I: Retrieving libss2 1.47.0-2+b2
I: Validating libss2 1.47.0-2+b2
I: Retrieving libstdc++6 12.2.0-14+deb12u1
I: Validating libstdc++6 12.2.0-14+deb12u1
I: Retrieving libsystemd0 252.39-1~deb12u2
I: Validating libsystemd0 252.39-1~deb12u2
I: Retrieving libtasn1-6 4.19.0-2+deb12u1
I: Validating libtasn1-6 4.19.0-2+deb12u1
I: Retrieving libtinfo6 6.4-4
I: Validating libtinfo6 6.4-4
I: Retrieving libudev1 252.39-1~deb12u2
I: Validating libudev1 252.39-1~deb12u2
I: Retrieving libunistring2 1.0-2
I: Validating libunistring2 1.0-2
I: Retrieving libuuid1 2.38.1-5+deb12u3
I: Validating libuuid1 2.38.1-5+deb12u3
I: Retrieving libxxhash0 0.8.1-1
I: Validating libxxhash0 0.8.1-1
I: Retrieving libzstd1 1.5.4+dfsg2-5
I: Validating libzstd1 1.5.4+dfsg2-5
I: Retrieving login 1:4.13+dfsg1-1+deb12u2
I: Validating login 1:4.13+dfsg1-1+deb12u2
I: Retrieving logsave 1.47.0-2+b2
I: Validating logsave 1.47.0-2+b2
I: Retrieving mawk 1.3.4.20200120-3.1
I: Validating mawk 1.3.4.20200120-3.1
I: Retrieving mount 2.38.1-5+deb12u3
I: Validating mount 2.38.1-5+deb12u3
I: Retrieving ncurses-base 6.4-4
I: Validating ncurses-base 6.4-4
I: Retrieving ncurses-bin 6.4-4
I: Validating ncurses-bin 6.4-4
I: Retrieving passwd 1:4.13+dfsg1-1+deb12u2
I: Validating passwd 1:4.13+dfsg1-1+deb12u2
I: Retrieving perl-base 5.36.0-7+deb12u3
I: Validating perl-base 5.36.0-7+deb12u3
I: Retrieving sed 4.9-1+deb12u1
I: Validating sed 4.9-1+deb12u1
I: Retrieving sysvinit-utils 3.06-4
I: Validating sysvinit-utils 3.06-4
I: Retrieving tar 1.34+dfsg-1.2+deb12u1
I: Validating tar 1.34+dfsg-1.2+deb12u1
I: Retrieving tzdata 2026b-0+deb12u1
I: Validating tzdata 2026b-0+deb12u1
I: Retrieving usr-is-merged 37~deb12u1
I: Validating usr-is-merged 37~deb12u1
I: Retrieving util-linux 2.38.1-5+deb12u3
I: Validating util-linux 2.38.1-5+deb12u3
I: Retrieving util-linux-extra 2.38.1-5+deb12u3
I: Validating util-linux-extra 2.38.1-5+deb12u3
I: Retrieving zlib1g 1:1.2.13.dfsg-1
I: Validating zlib1g 1:1.2.13.dfsg-1
I: Chosen extractor for .deb packages: dpkg-deb
I: Extracting adduser...
I: Extracting apt...
I: Extracting base-files...
I: Extracting base-passwd...
I: Extracting bash...
I: Extracting bsdutils...
I: Extracting coreutils...
I: Extracting dash...
I: Extracting debconf...
I: Extracting debian-archive-keyring...
I: Extracting debianutils...
I: Extracting diffutils...
I: Extracting dpkg...
I: Extracting e2fsprogs...
I: Extracting findutils...
I: Extracting gcc-12-base...
I: Extracting gpgv...
I: Extracting grep...
I: Extracting gzip...
I: Extracting hostname...
I: Extracting init-system-helpers...
I: Extracting libacl1...
I: Extracting libapt-pkg6.0...
I: Extracting libattr1...
I: Extracting libaudit-common...
I: Extracting libaudit1...
I: Extracting libblkid1...
I: Extracting libbz2-1.0...
I: Extracting libc-bin...
I: Extracting libc6...
I: Extracting libcap-ng0...
I: Extracting libcap2...
I: Extracting libcom-err2...
I: Extracting libcrypt1...
I: Extracting libdb5.3...
I: Extracting libdebconfclient0...
I: Extracting libext2fs2...
I: Extracting libffi8...
I: Extracting libgcc-s1...
I: Extracting libgcrypt20...
I: Extracting libgmp10...
I: Extracting libgnutls30...
I: Extracting libgpg-error0...
I: Extracting libhogweed6...
I: Extracting libidn2-0...
I: Extracting liblz4-1...
I: Extracting liblzma5...
I: Extracting libmd0...
I: Extracting libmount1...
I: Extracting libnettle8...
I: Extracting libp11-kit0...
I: Extracting libpam-modules...
I: Extracting libpam-modules-bin...
I: Extracting libpam-runtime...
I: Extracting libpam0g...
I: Extracting libpcre2-8-0...
I: Extracting libseccomp2...
I: Extracting libselinux1...
I: Extracting libsemanage-common...
I: Extracting libsemanage2...
I: Extracting libsepol2...
I: Extracting libsmartcols1...
I: Extracting libss2...
I: Extracting libstdc++6...
I: Extracting libsystemd0...
I: Extracting libtasn1-6...
I: Extracting libtinfo6...
I: Extracting libudev1...
I: Extracting libunistring2...
I: Extracting libuuid1...
I: Extracting libxxhash0...
I: Extracting libzstd1...
I: Extracting login...
I: Extracting logsave...
I: Extracting mawk...
I: Extracting mount...
I: Extracting ncurses-base...
I: Extracting ncurses-bin...
I: Extracting passwd...
I: Extracting perl-base...
I: Extracting sed...
I: Extracting sysvinit-utils...
I: Extracting tar...
I: Extracting tzdata...
I: Extracting usr-is-merged...
I: Extracting util-linux...
I: Extracting util-linux-extra...
I: Extracting zlib1g...
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking adduser...
I: Unpacking apt...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking bsdutils...
I: Unpacking coreutils...
I: Unpacking dash...
I: Unpacking debconf...
I: Unpacking debian-archive-keyring...
I: Unpacking debianutils...
I: Unpacking diffutils...
I: Unpacking dpkg...
I: Unpacking e2fsprogs...
I: Unpacking findutils...
I: Unpacking gcc-12-base:amd64...
I: Unpacking gpgv...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
I: Unpacking init-system-helpers...
I: Unpacking libacl1:amd64...
I: Unpacking libapt-pkg6.0:amd64...
I: Unpacking libattr1:amd64...
I: Unpacking libaudit-common...
I: Unpacking libaudit1:amd64...
I: Unpacking libblkid1:amd64...
I: Unpacking libbz2-1.0:amd64...
I: Unpacking libc-bin...
I: Unpacking libc6:amd64...
I: Unpacking libcap-ng0:amd64...
I: Unpacking libcap2:amd64...
I: Unpacking libcom-err2:amd64...
I: Unpacking libcrypt1:amd64...
I: Unpacking libdb5.3:amd64...
I: Unpacking libdebconfclient0:amd64...
I: Unpacking libext2fs2:amd64...
I: Unpacking libffi8:amd64...
I: Unpacking libgcc-s1:amd64...
I: Unpacking libgcrypt20:amd64...
I: Unpacking libgmp10:amd64...
I: Unpacking libgnutls30:amd64...
I: Unpacking libgpg-error0:amd64...
I: Unpacking libhogweed6:amd64...
I: Unpacking libidn2-0:amd64...
I: Unpacking liblz4-1:amd64...
I: Unpacking liblzma5:amd64...
I: Unpacking libmd0:amd64...
I: Unpacking libmount1:amd64...
I: Unpacking libnettle8:amd64...
I: Unpacking libp11-kit0:amd64...
I: Unpacking libpam-modules:amd64...
I: Unpacking libpam-modules-bin...
I: Unpacking libpam-runtime...
I: Unpacking libpam0g:amd64...
I: Unpacking libpcre2-8-0:amd64...
I: Unpacking libseccomp2:amd64...
I: Unpacking libselinux1:amd64...
I: Unpacking libsemanage-common...
I: Unpacking libsemanage2:amd64...
I: Unpacking libsepol2:amd64...
I: Unpacking libsmartcols1:amd64...
I: Unpacking libss2:amd64...
I: Unpacking libstdc++6:amd64...
I: Unpacking libsystemd0:amd64...
I: Unpacking libtasn1-6:amd64...
I: Unpacking libtinfo6:amd64...
I: Unpacking libudev1:amd64...
I: Unpacking libunistring2:amd64...
I: Unpacking libuuid1:amd64...
I: Unpacking libxxhash0:amd64...
I: Unpacking libzstd1:amd64...
I: Unpacking login...
I: Unpacking logsave...
I: Unpacking mawk...
I: Unpacking mount...
I: Unpacking ncurses-base...
I: Unpacking ncurses-bin...
I: Unpacking passwd...
I: Unpacking perl-base...
I: Unpacking sed...
I: Unpacking sysvinit-utils...
I: Unpacking tar...
I: Unpacking tzdata...
I: Unpacking usr-is-merged...
I: Unpacking util-linux...
I: Unpacking util-linux-extra...
I: Unpacking zlib1g:amd64...
I: Configuring required packages...
I: Configuring debian-archive-keyring...
I: Configuring usr-is-merged...
I: Configuring libaudit-common...
I: Configuring libsemanage-common...
I: Configuring debconf...
I: Configuring gcc-12-base:amd64...
I: Configuring tzdata...
I: Configuring ncurses-base...
I: Configuring init-system-helpers...
I: Configuring libgcc-s1:amd64...
I: Configuring libc6:amd64...
I: Configuring libudev1:amd64...
I: Configuring libffi8:amd64...
I: Configuring libmd0:amd64...
I: Configuring libxxhash0:amd64...
I: Configuring libattr1:amd64...
I: Configuring sysvinit-utils...
I: Configuring libtasn1-6:amd64...
I: Configuring debianutils...
I: Configuring mawk...
I: Configuring libdebconfclient0:amd64...
I: Configuring base-files...
I: Configuring libbz2-1.0:amd64...
I: Configuring libdb5.3:amd64...
I: Configuring libblkid1:amd64...
I: Configuring libstdc++6:amd64...
I: Configuring libtinfo6:amd64...
I: Configuring bash...
I: Configuring libzstd1:amd64...
I: Configuring liblzma5:amd64...
I: Configuring libgpg-error0:amd64...
I: Configuring liblz4-1:amd64...
I: Configuring libc-bin...
I: Configuring ncurses-bin...
I: Configuring libacl1:amd64...
I: Configuring libunistring2:amd64...
I: Configuring libsmartcols1:amd64...
I: Configuring libgcrypt20:amd64...
I: Configuring zlib1g:amd64...
I: Configuring libcrypt1:amd64...
I: Configuring libidn2-0:amd64...
I: Configuring libcom-err2:amd64...
I: Configuring diffutils...
I: Configuring libseccomp2:amd64...
I: Configuring libcap2:amd64...
I: Configuring hostname...
I: Configuring libcap-ng0:amd64...
I: Configuring libext2fs2:amd64...
I: Configuring libnettle8:amd64...
I: Configuring libgmp10:amd64...
I: Configuring libp11-kit0:amd64...
I: Configuring libaudit1:amd64...
I: Configuring libuuid1:amd64...
I: Configuring libss2:amd64...
I: Configuring libsepol2:amd64...
I: Configuring libpcre2-8-0:amd64...
I: Configuring logsave...
I: Configuring gpgv...
I: Configuring util-linux-extra...
I: Configuring libhogweed6:amd64...
I: Configuring e2fsprogs...
I: Configuring libsystemd0:amd64...
I: Configuring libselinux1:amd64...
I: Configuring libgnutls30:amd64...
I: Configuring libpam0g:amd64...
I: Configuring libapt-pkg6.0:amd64...
I: Configuring sed...
I: Configuring findutils...
I: Configuring libmount1:amd64...
I: Configuring libsemanage2:amd64...
I: Configuring base-passwd...
I: Configuring bsdutils...
I: Configuring tar...
I: Configuring libpam-modules-bin...
I: Configuring coreutils...
I: Configuring util-linux...
I: Configuring dpkg...
I: Configuring mount...
I: Configuring dash...
I: Configuring libpam-modules:amd64...
I: Configuring grep...
I: Configuring perl-base...
I: Configuring gzip...
I: Configuring passwd...
I: Configuring libpam-runtime...
I: Configuring login...
I: Configuring adduser...
I: Configuring apt...
I: Configuring libc-bin...
I: Unpacking the base system...
I: Base system installed successfully.
+ sudo SONIC_VERSION_CACHE= DBGOPT= scripts/prepare_debian_image_buildinfo.sh amd64 bookworm ./fsroot-vs
Selecting previously unselected package sonic-build-hooks.
(Reading database ... 6096 files and directories currently installed.)
Preparing to unpack .../sonic-build-hooks_1.0_all.deb ...
Unpacking sonic-build-hooks (1.0) ...
Setting up sonic-build-hooks (1.0) ...
/usr/sbin/collect_version_files: line 33: /dev/fd/63: No such file or directory
+ sudo chown root:root ./fsroot-vs
+ sudo LANG=C chroot ./fsroot-vs /bin/bash -c 'echo '\''sonic'\'' > /etc/hostname'
+ sudo LANG=C chroot ./fsroot-vs /bin/bash -c 'echo '\''127.0.0.1       sonic'\'' >> /etc/hosts'
+ sudo LANG=C chroot ./fsroot-vs /bin/bash -c 'echo '\''127.0.0.1       localhost'\'' >> /etc/hosts'
+ sudo LANG=C chroot ./fsroot-vs /bin/bash -c 'echo "proc /proc proc defaults 0 0" >> /etc/fstab'
+ sudo LANG=C chroot ./fsroot-vs /bin/bash -c 'echo "sysfs /sys sysfs defaults 0 0" >> /etc/fstab'
+ '[' -n '' ']'
+ trap_push 'sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true'
+ local oldcmd=true
+ local 'newcmd=sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true; true'
+ trap -- 'sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true; true' EXIT INT TERM HUP
+ _trap_push 'sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true; true'
+ local 'next=sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true; true'
++ echo 'sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true; true'
++ sed -e 's/'\''/'\''\\'\'''\''/g'
+ eval 'trap_push() {
        local oldcmd='\''sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true; true'\''
        local newcmd="$1; $oldcmd"
        trap -- "$newcmd" EXIT INT TERM HUP
        _trap_push "$newcmd"
    }'
+ sudo LANG=C chroot ./fsroot-vs mount proc /proc -t proc
+ echo '[INFO] Mount all'
[INFO] Mount all
+ sudo LANG=C chroot ./fsroot-vs mount
proc on /proc type proc (rw,relatime)
+ '[' -d src/sonic-build-hooks/buildinfo/trusted.gpg.d ']'
+ scripts/build_mirror_config.sh files/apt amd64 bookworm
+ sudo cp files/apt/sources.list.amd64 ./fsroot-vs/etc/apt/sources.list
+ sudo cp files/apt/apt-retries-count ./fsroot-vs/etc/apt/apt.conf.d/
+ sudo cp files/apt/apt.conf.d/81norecommends files/apt/apt.conf.d/apt-clean files/apt/apt.conf.d/apt-gzip-indexes files/apt/apt.conf.d/apt-no-languages files/apt/apt.conf.d/no-check-valid-until ./fsroot-vs/etc/apt/apt.conf.d/
+ sudo LANG=C chroot ./fsroot-vs apt-get -y update
Get:1 http://debian-archive.trafficmanager.net/debian bookworm InRelease [151 kB]
Get:2 http://debian-archive.trafficmanager.net/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://debian-archive.trafficmanager.net/debian bookworm-backports InRelease [59.4 kB]
Get:4 http://debian-archive.trafficmanager.net/debian-security bookworm-security InRelease [34.8 kB]
Get:5 http://debian-archive.trafficmanager.net/debian bookworm/non-free-firmware Sources [7821 B]
Get:6 http://debian-archive.trafficmanager.net/debian bookworm/contrib Sources [60.7 kB]
Get:7 http://debian-archive.trafficmanager.net/debian bookworm/main Sources [12.7 MB]
Get:8 http://debian-archive.trafficmanager.net/debian bookworm/contrib amd64 Packages [64.8 kB]
Get:9 http://debian-archive.trafficmanager.net/debian bookworm/non-free-firmware amd64 Packages [7070 B]
Get:10 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 Packages [12.1 MB]
Get:11 http://debian-archive.trafficmanager.net/debian bookworm-updates/main Sources [3288 B]
Get:12 http://debian-archive.trafficmanager.net/debian bookworm-updates/main amd64 Packages [6924 B]
Get:13 http://debian-archive.trafficmanager.net/debian bookworm-backports/main amd64 Packages [314 kB]
Get:14 http://debian-archive.trafficmanager.net/debian bookworm-backports/non-free-firmware amd64 Packages [3828 B]
Get:15 http://debian-archive.trafficmanager.net/debian bookworm-backports/contrib amd64 Packages [5856 B]
Get:16 http://debian-archive.trafficmanager.net/debian-security bookworm-security/contrib Sources [856 B]
Get:17 http://debian-archive.trafficmanager.net/debian-security bookworm-security/main Sources [220 kB]
Get:18 http://debian-archive.trafficmanager.net/debian-security bookworm-security/non-free-firmware Sources [796 B]
Get:19 http://debian-archive.trafficmanager.net/debian-security bookworm-security/non-free-firmware amd64 Packages [688 B]
Get:20 http://debian-archive.trafficmanager.net/debian-security bookworm-security/contrib amd64 Packages [896 B]
Get:21 http://debian-archive.trafficmanager.net/debian-security bookworm-security/main amd64 Packages [318 kB]
Fetched 26.1 MB in 9s (2945 kB/s)
Reading package lists...
+ sudo LANG=C chroot ./fsroot-vs apt-get -y upgrade
Reading package lists...
Building dependency tree...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo '[INFO] Install and setup eatmydata'
[INFO] Install and setup eatmydata
+ sudo LANG=C chroot ./fsroot-vs apt-get -y install eatmydata
Reading package lists...
Building dependency tree...
The following additional packages will be installed:
  libeatmydata1
The following NEW packages will be installed:
  eatmydata libeatmydata1
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 21.9 kB of archives.
After this operation, 65.5 kB of additional disk space will be used.
Get:1 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libeatmydata1 amd64 130-2+b1 [10.7 kB]
Get:2 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 eatmydata all 130-2 [11.2 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 21.9 kB in 0s (71.4 kB/s)
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package libeatmydata1:amd64.
(Reading database ... 6123 files and directories currently installed.)
Preparing to unpack .../libeatmydata1_130-2+b1_amd64.deb ...
Unpacking libeatmydata1:amd64 (130-2+b1) ...
Selecting previously unselected package eatmydata.
Preparing to unpack .../eatmydata_130-2_all.deb ...
Unpacking eatmydata (130-2) ...
Setting up libeatmydata1:amd64 (130-2+b1) ...
Setting up eatmydata (130-2) ...
Processing triggers for libc-bin (2.36-9+deb12u14) ...
+ sudo LANG=C chroot ./fsroot-vs ln -s /usr/bin/eatmydata /usr/local/bin/dpkg
+ echo 'Dir::Bin::dpkg "/usr/local/bin/dpkg";'
+ sudo tee ./fsroot-vs/etc/apt/apt.conf.d/00image-install-eatmydata
+ sudo LANG=C chroot ./fsroot-vs rm /usr/local/sbin/dpkg -f
+ echo '[INFO] Install packages for building image'
[INFO] Install packages for building image
+ sudo LANG=C chroot ./fsroot-vs apt-get -y install makedev psmisc
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  makedev psmisc
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 300 kB of archives.
After this operation, 1032 kB of additional disk space will be used.
Get:1 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 makedev all 2.3.1-97 [41.6 kB]
Get:2 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 psmisc amd64 23.6-1 [259 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 300 kB in 3s (90.5 kB/s)
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package makedev.
(Reading database ... 6136 files and directories currently installed.)
Preparing to unpack .../makedev_2.3.1-97_all.deb ...
Unpacking makedev (2.3.1-97) ...
Selecting previously unselected package psmisc.
Preparing to unpack .../psmisc_23.6-1_amd64.deb ...
Unpacking psmisc (23.6-1) ...
Setting up psmisc (23.6-1) ...
Setting up makedev (2.3.1-97) ...
+ [[ n == y ]]
+ echo '[INFO] MAKEDEV'
[INFO] MAKEDEV
+ [[ amd64 == armhf ]]
+ [[ amd64 == arm64 ]]
+ sudo LANG=C chroot ./fsroot-vs /bin/bash -c 'cd /dev && MAKEDEV generic'
+ sudo LANG=C chroot ./fsroot-vs apt-get -y install pigz
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  pigz
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 64.0 kB of archives.
After this operation, 162 kB of additional disk space will be used.
Get:1 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 pigz amd64 2.6-1 [64.0 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 64.0 kB in 11s (5862 B/s)
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package pigz.
(Reading database ... 6262 files and directories currently installed.)
Preparing to unpack .../archives/pigz_2.6-1_amd64.deb ...
Unpacking pigz (2.6-1) ...
Setting up pigz (2.6-1) ...
+ sudo LANG=C chroot ./fsroot-vs apt-get -y install busybox linux-base
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  busybox linux-base
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 478 kB of archives.
After this operation, 915 kB of additional disk space will be used.
Get:1 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 busybox amd64 1:1.35.0-4+deb12u1+b1 [452 kB]
Get:2 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 linux-base all 4.12.1~deb12u1 [25.6 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 478 kB in 5s (104 kB/s)
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package busybox.
(Reading database ... 6271 files and directories currently installed.)
Preparing to unpack .../busybox_1%3a1.35.0-4+deb12u1+b1_amd64.deb ...
Unpacking busybox (1:1.35.0-4+deb12u1+b1) ...
Selecting previously unselected package linux-base.
Preparing to unpack .../linux-base_4.12.1~deb12u1_all.deb ...
Unpacking linux-base (4.12.1~deb12u1) ...
Setting up linux-base (4.12.1~deb12u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up busybox (1:1.35.0-4+deb12u1+b1) ...
+ echo '[INFO] Install SONiC linux kernel image'
[INFO] Install SONiC linux kernel image
+ sudo cp target/debs/bookworm/initramfs-tools-core_0.142_all.deb target/debs/bookworm/initramfs-tools_0.142_all.deb target/debs/bookworm/linux-image-6.1.0-29-2-amd64-unsigned_6.1.123-1_amd64.deb ./fsroot-vs
++ basename -a target/debs/bookworm/initramfs-tools-core_0.142_all.deb target/debs/bookworm/initramfs-tools_0.142_all.deb target/debs/bookworm/linux-image-6.1.0-29-2-amd64-unsigned_6.1.123-1_amd64.deb
++ sed 's,^,./,'
+ basename_deb_packages='./initramfs-tools-core_0.142_all.deb
./initramfs-tools_0.142_all.deb
./linux-image-6.1.0-29-2-amd64-unsigned_6.1.123-1_amd64.deb'
+ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot ./fsroot-vs apt -y install ./initramfs-tools-core_0.142_all.deb ./initramfs-tools_0.142_all.deb ./linux-image-6.1.0-29-2-amd64-unsigned_6.1.123-1_amd64.deb

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  cpio klibc-utils kmod libklibc libkmod2 libssl3 udev
Suggested packages:
  libarchive-dev bash-completion linux-doc-6.1 debian-kernel-handbook grub-pc
  | grub-efi-amd64 | extlinux
Recommended packages:
  zstd firmware-linux-free apparmor
The following NEW packages will be installed:
  cpio initramfs-tools initramfs-tools-core klibc-utils kmod libklibc libkmod2
  libssl3 linux-image-6.1.0-29-2-amd64-unsigned udev
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 4294 kB/62.3 MB of archives.
After this operation, 355 MB of additional disk space will be used.
Get:1 /initramfs-tools-core_0.142_all.deb initramfs-tools-core all 0.142 [47.6 kB]
Get:2 /initramfs-tools_0.142_all.deb initramfs-tools all 0.142 [15.4 kB]
Get:3 /linux-image-6.1.0-29-2-amd64-unsigned_6.1.123-1_amd64.deb linux-image-6.1.0-29-2-amd64-unsigned amd64 6.1.123-1 [57.9 MB]
Get:4 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 cpio amd64 2.13+dfsg-7.1 [245 kB]
Get:5 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB]
Get:6 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libkmod2 amd64 30+20221128-1 [57.9 kB]
Get:7 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 kmod amd64 30+20221128-1 [95.2 kB]
Get:8 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 udev amd64 252.39-1~deb12u2 [1721 kB]
Get:9 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libklibc amd64 2.0.12-1 [44.2 kB]
Get:10 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 klibc-utils amd64 2.0.12-1 [94.9 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 4294 kB in 4s (1113 kB/s)
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package cpio.
(Reading database ... 6300 files and directories currently installed.)
Preparing to unpack .../0-cpio_2.13+dfsg-7.1_amd64.deb ...
Unpacking cpio (2.13+dfsg-7.1) ...
Selecting previously unselected package libssl3:amd64.
Preparing to unpack .../1-libssl3_3.0.20-1~deb12u2_amd64.deb ...
Unpacking libssl3:amd64 (3.0.20-1~deb12u2) ...
Selecting previously unselected package libkmod2:amd64.
Preparing to unpack .../2-libkmod2_30+20221128-1_amd64.deb ...
Unpacking libkmod2:amd64 (30+20221128-1) ...
Selecting previously unselected package kmod.
Preparing to unpack .../3-kmod_30+20221128-1_amd64.deb ...
Unpacking kmod (30+20221128-1) ...
Selecting previously unselected package udev.
Preparing to unpack .../4-udev_252.39-1~deb12u2_amd64.deb ...
Unpacking udev (252.39-1~deb12u2) ...
Selecting previously unselected package libklibc:amd64.
Preparing to unpack .../5-libklibc_2.0.12-1_amd64.deb ...
Unpacking libklibc:amd64 (2.0.12-1) ...
Selecting previously unselected package klibc-utils.
Preparing to unpack .../6-klibc-utils_2.0.12-1_amd64.deb ...
Unpacking klibc-utils (2.0.12-1) ...
Selecting previously unselected package initramfs-tools-core.
Preparing to unpack .../7-initramfs-tools-core_0.142_all.deb ...
Unpacking initramfs-tools-core (0.142) ...
Selecting previously unselected package initramfs-tools.
Preparing to unpack .../8-initramfs-tools_0.142_all.deb ...
Unpacking initramfs-tools (0.142) ...
Selecting previously unselected package linux-image-6.1.0-29-2-amd64-unsigned.
Preparing to unpack .../9-linux-image-6.1.0-29-2-amd64-unsigned_6.1.123-1_amd64.deb ...
Unpacking linux-image-6.1.0-29-2-amd64-unsigned (6.1.123-1) ...
Setting up cpio (2.13+dfsg-7.1) ...
update-alternatives: using /bin/mt-gnu to provide /bin/mt (mt) in auto mode
Setting up libssl3:amd64 (3.0.20-1~deb12u2) ...
Setting up libklibc:amd64 (2.0.12-1) ...
Setting up klibc-utils (2.0.12-1) ...
No diversion 'diversion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils', none removed.
Setting up libkmod2:amd64 (30+20221128-1) ...
Setting up kmod (30+20221128-1) ...
Setting up udev (252.39-1~deb12u2) ...
A chroot environment has been detected, udev not started.
Setting up initramfs-tools-core (0.142) ...
Setting up initramfs-tools (0.142) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-6.1.0-29-2-amd64-unsigned (6.1.123-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.1.0-29-2-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.1.0-29-2-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.1.0-29-2-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.1.0-29-2-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-29-2-amd64
W: No zstd in /usr/bin:/sbin:/bin, using gzip
Processing triggers for libc-bin (2.36-9+deb12u14) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-29-2-amd64
W: No zstd in /usr/bin:/sbin:/bin, using gzip
+ cd ./fsroot-vs
+ sudo rm -f ./initramfs-tools-core_0.142_all.deb ./initramfs-tools_0.142_all.deb ./linux-image-6.1.0-29-2-amd64-unsigned_6.1.123-1_amd64.deb
+ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot ./fsroot-vs apt-get -y install acl
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  acl
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 61.2 kB of archives.
After this operation, 215 kB of additional disk space will be used.
Get:1 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 acl amd64 2.3.1-3 [61.2 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 61.2 kB in 5s (13.4 kB/s)
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package acl.
(Reading database ... 11114 files and directories currently installed.)
Preparing to unpack .../archives/acl_2.3.1-3_amd64.deb ...
Unpacking acl (2.3.1-3) ...
Setting up acl (2.3.1-3) ...
+ [[ amd64 == amd64 ]]
+ sudo LANG=C DEBIAN_FRONTEND=noninteractive chroot ./fsroot-vs apt-get -y install hdparm
Reading package lists...
Building dependency tree...
Reading state information...
Recommended packages:
  powermgmt-base
The following NEW packages will be installed:
  hdparm
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 116 kB of archives.
After this operation, 262 kB of additional disk space will be used.
Get:1 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 hdparm amd64 9.65+ds-1 [116 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 116 kB in 2s (69.6 kB/s)
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package hdparm.
(Reading database ... 11133 files and directories currently installed.)
Preparing to unpack .../hdparm_9.65+ds-1_amd64.deb ...
Unpacking hdparm (9.65+ds-1) ...
Setting up hdparm (9.65+ds-1) ...
+ cat files/initramfs-tools/modules
+ sudo tee -a ./fsroot-vs/etc/initramfs-tools/modules
+ sudo mkdir -p ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/
+ sudo cp files/initramfs-tools/arista-convertfs ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/arista-convertfs
+ sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/arista-convertfs
+ sudo cp files/initramfs-tools/arista-hook ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/arista-hook
+ sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/arista-hook
+ sudo cp files/initramfs-tools/mke2fs ./fsroot-vs/etc/initramfs-tools/hooks/mke2fs
+ sudo chmod +x ./fsroot-vs/etc/initramfs-tools/hooks/mke2fs
+ sudo cp files/initramfs-tools/setfacl ./fsroot-vs/etc/initramfs-tools/hooks/setfacl
+ sudo chmod +x ./fsroot-vs/etc/initramfs-tools/hooks/setfacl
+ sudo cp files/initramfs-tools/arista-net ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/arista-net
+ sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/arista-net
+ sudo cp files/initramfs-tools/resize-rootfs ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/resize-rootfs
+ sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/resize-rootfs
+ sudo cp files/initramfs-tools/ssd-upgrade ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/ssd-upgrade
+ sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/ssd-upgrade
+ sudo cp files/initramfs-tools/fsck-rootfs ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/fsck-rootfs
+ sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-premount/fsck-rootfs
+ sudo cp files/initramfs-tools/union-mount ./fsroot-vs/etc/initramfs-tools/scripts/init-bottom/union-mount
+ sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-bottom/union-mount
+ sudo cp files/initramfs-tools/varlog ./fsroot-vs/etc/initramfs-tools/scripts/init-bottom/varlog
+ sudo chmod +x ./fsroot-vs/etc/initramfs-tools/scripts/init-bottom/varlog
+ sudo cp files/initramfs-tools/union-fsck ./fsroot-vs/etc/initramfs-tools/hooks/union-fsck
+ sudo chmod +x ./fsroot-vs/etc/initramfs-tools/hooks/union-fsck
+ pushd ./fsroot-vs/usr/share/initramfs-tools/scripts/init-bottom
/sonic/fsroot-vs/usr/share/initramfs-tools/scripts/init-bottom /sonic
+ sudo patch -p1
patching file udev
+ popd
/sonic
+ [[ amd64 == armhf ]]
+ [[ amd64 == arm64 ]]
+ '[' -f platform/vs/modules ']'
+ sudo LANG=C chroot ./fsroot-vs apt-get -y install u-boot-tools libubootenv-tool mtd-utils device-tree-compiler
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libfdt1 libiniparser1 liblzo2-2 libubootenv0.1 libyaml-0-2
The following NEW packages will be installed:
  device-tree-compiler libfdt1 libiniparser1 liblzo2-2 libubootenv-tool
  libubootenv0.1 libyaml-0-2 mtd-utils u-boot-tools
0 upgraded, 9 newly installed, 0 to remove and 2 not upgraded.
Need to get 840 kB of archives.
After this operation, 3232 kB of additional disk space will be used.
Err:1 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libfdt1 amd64 1.6.1-4+b1
  Cannot initiate the connection to debian-archive.trafficmanager.net:80 (2603:1040:2:5::105). - connect (101: Network is unreachable)
Get:2 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libyaml-0-2 amd64 0.2.5-1 [53.6 kB]
Get:3 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 device-tree-compiler amd64 1.6.1-4+b1 [227 kB]
Get:4 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libiniparser1 amd64 4.1-6 [10.4 kB]
Get:5 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 liblzo2-2 amd64 2.10-2 [56.9 kB]
Get:6 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libubootenv0.1 amd64 0.3.2-1 [11.3 kB]
Get:7 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libubootenv-tool amd64 0.3.2-1 [8380 B]
Get:8 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 mtd-utils amd64 1:2.1.5-1 [247 kB]
Get:9 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 u-boot-tools amd64 2023.01+dfsg-2+deb12u3 [206 kB]
Fetched 821 kB in 5s (150 kB/s)
E: Failed to fetch http://debian-archive.trafficmanager.net/debian/pool/main/d/device-tree-compiler/libfdt1_1.6.1-4%2bb1_amd64.deb  Cannot initiate the connection to debian-archive.trafficmanager.net:80 (2603:1040:2:5::105). - connect (101: Network is unreachable)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
+ sudo LANG=C chroot ./fsroot-vs umount /proc
+ true
[  FAIL LOG END  ] [ target/sonic-vs.bin__vs__rfs.squashfs ]
make: *** [slave.mk:1332: target/sonic-vs.bin__vs__rfs.squashfs] Error 1
make: *** Waiting for unfinished jobs....
[ finished ] [ target/debs/bookworm/libteam5_1.31-1_amd64.deb ] 
[ finished ] [ target/debs/bookworm/libsnmp-base_5.9.3+dfsg-2+deb12u1_all.deb ] 
[ finished ] [ target/debs/bookworm/p4lang-bmv2_1.15.0-7_amd64.deb ] 
make[1]: *** [Makefile.work:611: all] Error 2
make[1]: Leaving directory '/var/lib/jenkins/workspace/ETRI-202505/platform-vs'
make: *** [Makefile:47: all] Error 2