Content

상위 폴더로 이동
+++ --- Patching modifications by ETRI --- +++
patch -p1 -N < ./etri-patch/klish-Makefile.diff || true
patching file src/sonic-mgmt-framework/CLI/klish/Makefile
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file src/sonic-mgmt-framework/CLI/klish/Makefile.rej
+++ --- 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-vs'
"SECURE_UPGRADE_PROD_SIGNING_TOOL": ""
/mnt/kvm_storage/jenkins/workspace/Etri-202311/platform-vs/src/sonic-build-hooks /mnt/kvm_storage/jenkins/workspace/Etri-202311/platform-vs
make[2]: Entering directory '/mnt/kvm_storage/jenkins/workspace/Etri-202311/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 '/mnt/kvm_storage/jenkins/workspace/Etri-202311/platform-vs/src/sonic-build-hooks'
/mnt/kvm_storage/jenkins/workspace/Etri-202311/platform-vs
Checking sonic-slave-base image: sonic-slave-bullseye:89f8c60fa40
Checking sonic-slave-user image: sonic-slave-bullseye-jenkins:d48c779993b
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"            : ""
"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.152325"
"BUILD_LOG_TIMESTAMP"             : "none"
"SONIC_IMAGE_VERSION"             : "etri-202311.97-755caefc8"
"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"      : ""
"BUILD_MULTIASIC_KVM"             : "n"
"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/libtac2_1.4.1-1_amd64.deb-install ] 
[ building ] [ target/debs/bullseye/libnl-3-200_3.5.0-1_amd64.deb-install ] 
[ building ] [ target/debs/bullseye/libnl-cli-3-dev_3.5.0-1_amd64.deb ] 
[ finished ] [ target/debs/bullseye/libnl-cli-3-dev_3.5.0-1_amd64.deb ] 
[ building ] [ target/debs/bullseye/libyang2_2.0.112-6_amd64.deb-install ] 
[ finished ] [ target/debs/bullseye/libtac2_1.4.1-1_amd64.deb-install ] 
[ building ] [ target/files/bullseye/sysctl-net.conf ] 
[ finished ] [ target/files/bullseye/sysctl-net.conf ] 
[ building ] [ target/files/bullseye/supervisor-proc-exit-listener ] 
[ finished ] [ target/files/bullseye/supervisor-proc-exit-listener ] 
[ building ] [ target/files/bullseye/update_chassisdb_config ] 
[ finished ] [ target/files/bullseye/update_chassisdb_config ] 
[ building ] [ target/files/bullseye/swss_vars.j2 ] 
[ finished ] [ target/files/bullseye/swss_vars.j2 ] 
[ building ] [ target/files/bullseye/rsyslog_plugin.conf.j2 ] 
[ finished ] [ target/files/bullseye/rsyslog_plugin.conf.j2 ] 
[ building ] [ target/files/bullseye/container ] 
[ finished ] [ target/files/bullseye/container ] 
[ building ] [ target/files/bullseye/readiness_probe.sh ] 
[ finished ] [ target/files/bullseye/readiness_probe.sh ] 
[ building ] [ target/files/bullseye/container_startup.py ] 
[ finished ] [ target/files/bullseye/container_startup.py ] 
[ building ] [ target/python-wheels/bullseye/redis_dump_load-1.1-py3-none-any.whl ] 
[ 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 06:23:35 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/vs/platform-changes.patch" ]; then
cat patch/vs/platform-changes.patch
git stash -- patch/
git apply patch/vs/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 vs 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....
Defaulting to user installation because normal site-packages is not writeable
Processing /sonic/src/redis-dump-load
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: redis in /usr/local/lib/python3.9/dist-packages (from redis-dump-load==1.1) (6.2.0)
Requirement already satisfied: async-timeout>=4.0.3 in /usr/local/lib/python3.9/dist-packages (from redis->redis-dump-load==1.1) (5.0.1)
Building wheels for collected packages: redis-dump-load
  Building wheel for redis-dump-load (setup.py): started
  Building wheel for redis-dump-load (setup.py): finished with status 'done'
  Created wheel for redis-dump-load: filename=redis_dump_load-1.1-py3-none-any.whl size=12583 sha256=35598c32b9337dda28aa88225797c754e5dc84def4cd9f2fcca5964e6a2af206
  Stored in directory: /var/jenkins/.cache/pip/wheels/7c/10/bf/edb8f29082eecc6e6b3f8d61fcbc42d5e46d653ea1ac91a116
Successfully built redis-dump-load
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: redis-dump-load
  WARNING: The scripts redis-dump and redis-load are installed in '/var/jenkins/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed redis-dump-load-1.1

[notice] A new release of pip is available: 24.2 -> 25.1.1
[notice] To update, run: python3 -m pip install --upgrade pip
Found existing installation: redis-dump-load 1.1
Uninstalling redis-dump-load-1.1:
  Successfully uninstalled redis-dump-load-1.1
Removing patch ../redis-dump-load.patch/0002-Fix-setup.py-for-test-and-bdist_wheel.patch
Restoring setup.py

Removing patch ../redis-dump-load.patch/0001-Use-pipelines-when-dumping-52.patch
Restoring redisdl.py

No patches applied
[ finished ] [ target/python-wheels/bullseye/redis_dump_load-1.1-py3-none-any.whl ] 
[ finished ] [ target/debs/bullseye/libnl-3-200_3.5.0-1_amd64.deb-install ] 
[ finished ] [ target/debs/bullseye/libyang2_2.0.112-6_amd64.deb-install ] 
make[1]: *** [Makefile.work:622: all] Error 2
make[1]: Leaving directory '/mnt/kvm_storage/jenkins/workspace/Etri-202311/platform-vs'
make: *** [Makefile:42: all] Error 2