+++ --- Patching modifications by ETRI --- +++ patch -p1 -N < ./etri-patch/klish-Makefile.diff patching file src/sonic-mgmt-framework/CLI/klish/Makefile +++ --- Making all --- +++ ./scripts/run_with_retry make BLDENV=bullseye -f Makefile.work all make[1]: Entering directory '/mnt/kvm_storage/jenkins/workspace/Etri-202311/platform-broadcom' "SECURE_UPGRADE_PROD_SIGNING_TOOL": "" /mnt/kvm_storage/jenkins/workspace/Etri-202311/platform-broadcom/src/sonic-build-hooks /mnt/kvm_storage/jenkins/workspace/Etri-202311/platform-broadcom make[2]: Entering directory '/mnt/kvm_storage/jenkins/workspace/Etri-202311/platform-broadcom/src/sonic-build-hooks' dpkg-deb: building package 'sonic-build-hooks' in 'buildinfo/sonic-build-hooks_1.0_all.deb'. make[2]: Leaving directory '/mnt/kvm_storage/jenkins/workspace/Etri-202311/platform-broadcom/src/sonic-build-hooks' /mnt/kvm_storage/jenkins/workspace/Etri-202311/platform-broadcom Checking sonic-slave-base image: sonic-slave-bullseye:89f8c60fa40 Checking sonic-slave-user image: sonic-slave-bullseye-jenkins:e61a73e649b SONiC Build System Build Configuration "CONFIGURED_PLATFORM" : "broadcom" "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" : "" "ENABLE_DHCP_GRAPH_SERVICE" : "" "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" : "20250718.144623" "BUILD_LOG_TIMESTAMP" : "none" "SONIC_IMAGE_VERSION" : "etri-202311.96-470b78632" "BLDENV" : "bullseye" "VS_PREPARE_MEM" : "yes" "INCLUDE_MGMT_FRAMEWORK" : "y" "INCLUDE_ICCPD" : "n" "INCLUDE_SYSTEM_TELEMETRY" : "n" "INCLUDE_SYSTEM_GNMI" : "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_KUBERNETES" : "n" "INCLUDE_KUBERNETES_MASTER" : "n" "INCLUDE_MACSEC" : "y" "INCLUDE_MUX" : "y" "INCLUDE_TEAMD" : "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": "none" "ENABLE_ASAN" : "n" "DEFAULT_CONTAINER_REGISTRY" : "" "CROSS_BUILD_ENVIRON" : "n" "GZ_COMPRESS_PROGRAM" : "gzip" "LEGACY_SONIC_MGMT_DOCKER" : "y" "SONIC_DPKG_CACHE_METHOD" : "none" [ building ] [ target/debs/bullseye/linux-headers-5.10.0-30-2-common_5.10.218-1_all.deb ] [ building ] [ target/debs/bullseye/systemd-sonic-generator_1.0.0_amd64.deb ] [ building ] [ target/debs/bullseye/flashrom_0.9.7_amd64.deb ] [ building ] [ target/debs/bullseye/initramfs-tools_0.140_all.deb ] [ finished ] [ target/debs/bullseye/linux-headers-5.10.0-30-2-common_5.10.218-1_all.deb ] [ FAIL LOG START ] [ target/debs/bullseye/linux-headers-5.10.0-30-2-common_5.10.218-1_all.deb ] Build start time: Fri Jul 18 05:46:36 UTC 2025 [ REASON ] : target/debs/bullseye/linux-headers-5.10.0-30-2-common_5.10.218-1_all.deb does not exist [ FLAGS FILE ] : [] [ FLAGS DEPENDS ] : [] [ FLAGS DIFF ] : [] make[1]: warning: -j112 forced in submake: resetting jobserver mode. make[1]: Entering directory '/sonic/src/sonic-linux-kernel' # Include any non upstream patches rm -rf /tmp/non_upstream_patches mkdir -p /tmp/non_upstream_patches if [ xn == xy ]; then if [ ! -z ]; then wget -O patches.tar tar -xf patches.tar -C /tmp/non_upstream_patches else if [ -d "" ]; then cp -r /* /tmp/non_upstream_patches/ fi fi fi if [ -f "/tmp/non_upstream_patches/external-changes.patch" ]; then cat /tmp/non_upstream_patches/external-changes.patch git stash -- patch/ git apply /tmp/non_upstream_patches/external-changes.patch fi if [ -d "/tmp/non_upstream_patches/patches" ]; then echo "Copy the non upstream patches" cp /tmp/non_upstream_patches/patches/*.patch patch/ fi # Include any platform specific patches if [ -f "patch/broadcom/platform-changes.patch" ]; then cat patch/broadcom/platform-changes.patch git stash -- patch/ git apply patch/broadcom/platform-changes.patch fi # Obtaining the Debian kernel source rm -rf linux-5.10.218 wget -O linux_5.10.218-1.dsc ""https://sonicstorage.blob.core.windows.net/debian-security/pool/updates/main/l/linux"/linux_5.10.218-1.dsc" wget -O linux_5.10.218.orig.tar.xz ""https://sonicstorage.blob.core.windows.net/debian-security/pool/updates/main/l/linux"/linux_5.10.218.orig.tar.xz" wget -O linux_5.10.218-1.debian.tar.xz ""https://sonicstorage.blob.core.windows.net/debian-security/pool/updates/main/l/linux"/linux_5.10.218-1.debian.tar.xz" dpkg-source -x linux_5.10.218-1.dsc pushd linux-5.10.218 git init git add -f * git commit -qm "check in all loose files and diffs" # patching anything that could affect following configuration generation. stg init stg import -s ../patch/preconfig/series # re-generate debian/rules.gen, requires kernel-wedge debian/bin/gencontrol.py # generate linux build file for amd64_none_amd64 fakeroot make -f debian/rules.gen DEB_HOST_ARCH=armhf setup_armhf_none_armmp fakeroot make -f debian/rules.gen DEB_HOST_ARCH=arm64 setup_arm64_none_arm64 fakeroot make -f debian/rules.gen DEB_HOST_ARCH=amd64 setup_amd64_none_amd64 # Applying patches and configuration changes git add debian/build/build_armhf_none_armmp/.config -f git add debian/build/build_arm64_none_arm64/.config -f git add debian/build/build_amd64_none_amd64/.config -f git add debian/config.defines.dump -f git add debian/control -f git add debian/rules.gen -f git add debian/tests/control -f git add debian/*.maintscript -f git add debian/*.bug-presubj -f git commit -m "unmodified debian source" # Learning new git repo head (above commit) by calling stg repair. stg repair stg import -s ../patch/series # Optionally add/remove kernel options if [ -f ../manage-config ]; then ../manage-config amd64 broadcom no_sign fi # Building a custom kernel from Debian kernel source ARCH=amd64 DEB_HOST_ARCH=amd64 DEB_BUILD_PROFILES=nodoc fakeroot make -f debian/rules -j 112 binary-indep ARCH=amd64 DEB_HOST_ARCH=amd64 fakeroot make -f debian/rules.gen -j 112 binary-arch_amd64_none_amd64 popd mv linux-headers-5.10.0-30-2-amd64_5.10.218-1_amd64.deb linux-image-5.10.0-30-2-amd64-unsigned_5.10.218-1_amd64.deb linux-headers-5.10.0-30-2-common_5.10.218-1_all.deb /sonic/target/debs/bullseye/ mkdir: cannot create directory '/vcache/sonic-slave-bullseye/web': Permission denied get_url_version https://sonicstorage.blob.core.windows.net/debian-security/pool/updates/main/l/linux/linux_5.10.218-1.dsc failed make[1]: *** [Makefile:65: /sonic/target/debs/bullseye/linux-headers-5.10.0-30-2-common_5.10.218-1_all.deb] Error 1 make[1]: Leaving directory '/sonic/src/sonic-linux-kernel' [ FAIL LOG END ] [ target/debs/bullseye/linux-headers-5.10.0-30-2-common_5.10.218-1_all.deb ] make: *** [slave.mk:726: target/debs/bullseye/linux-headers-5.10.0-30-2-common_5.10.218-1_all.deb] Error 1 make: *** Waiting for unfinished jobs.... [ finished ] [ target/debs/bullseye/systemd-sonic-generator_1.0.0_amd64.deb ] [ finished ] [ target/debs/bullseye/initramfs-tools_0.140_all.deb ] [ finished ] [ target/debs/bullseye/flashrom_0.9.7_amd64.deb ] make[1]: *** [Makefile.work:622: all] Error 2 make[1]: Leaving directory '/mnt/kvm_storage/jenkins/workspace/Etri-202311/platform-broadcom' make: *** [Makefile:42: all] Error 2 |