Content

상위 폴더로 이동
+++ --- Applying local submodule patches --- +++
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-utilities.patch:703: trailing whitespace.
import click
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-utilities.patch:704: trailing whitespace.
import utilities_common.cli as clicommon
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-utilities.patch:705: trailing whitespace.
import utilities_common.multi_asic as multi_asic_util
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-utilities.patch:706: trailing whitespace.
from sonic_py_common import multi_asic
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-utilities.patch:707: trailing whitespace.
from swsscommon.swsscommon import SonicV2Connector, ConfigDBConnector
warning: squelched 3487 whitespace errors
warning: 3492 lines add whitespace errors.
  applied:         sonic-utilities
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-swss.patch:88: trailing whitespace.
	
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-swss.patch:105: trailing whitespace.
        SWSS_LOG_NOTICE("Thi DEBUG [AclOrch]: Force supporting Enum value %d for dTel Action ID: 0x%x", 
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-swss.patch:112: trailing whitespace.
	
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-swss.patch:140: trailing whitespace.
	
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-swss.patch:284: trailing whitespace.
				
warning: squelched 2 whitespace errors
warning: 7 lines add whitespace errors.
  applied:         sonic-swss
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-swss-new.patch:7: trailing whitespace.
#include "ptporch.h"
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-swss-new.patch:8: trailing whitespace.
#include "saiptp.h" // Include header containing Vendor Extension IDs
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-swss-new.patch:9: trailing whitespace.
#include "logger.h"
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-swss-new.patch:10: trailing whitespace.
#include "sai_serialize.h"
/var/lib/jenkins/workspace/ETRI-202505/platform-vs/patches/sonic-swss-new.patch:11: trailing whitespace.
#include "tokenize.h"
warning: squelched 771 whitespace errors
warning: 776 lines add whitespace errors.
  applied:         sonic-swss-new
  applied:         sonic-sairedis-vslib
  applied:         sonic-sairedis-meta
  applied:         sonic-sairedis-SAI
  applied:         sonic-sairedis-SAI-apidef
  applied:         sonic-mgmt-framework
+++ --- 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"                 : "20260909.110150"
"BUILD_LOG_TIMESTAMP"             : "none"
"SONIC_IMAGE_VERSION"             : "etri-202505.27-8610ff460"
"BLDENV"                          : "bookworm"
"VS_PREPARE_MEM"                  : "yes"
"INCLUDE_MGMT_FRAMEWORK"          : "y"
"INCLUDE_ICCPD"                   : "n"
"INCLUDE_STP"                     : "y"
"INCLUDE_SYSTEM_TELEMETRY"        : "y"
"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/systemd-sonic-generator_1.0.0_amd64.deb ] 
[ building ] [ target/debs/bookworm/sonic-platform-vs_1.0_amd64.deb ] 
[ building ] [ target/debs/bookworm/initramfs-tools_0.142_all.deb ] 
[ building ] [ target/debs/bookworm/linux-headers-6.1.0-29-2-common_6.1.123-1_all.deb ] 
[ finished ] [ target/debs/bookworm/initramfs-tools_0.142_all.deb ] 
[ building ] [ target/debs/bookworm/sonic-device-data_1.0-1_all.deb ] 
[ finished ] [ target/debs/bookworm/sonic-platform-vs_1.0_amd64.deb ] 
[ building ] [ target/debs/bookworm/ifupdown2_3.0.0-1_all.deb ] 
[ finished ] [ target/debs/bookworm/ifupdown2_3.0.0-1_all.deb ] 
[ building ] [ target/debs/bookworm/kdump-tools_1.8.1_amd64.deb ] 
[ finished ] [ target/debs/bookworm/systemd-sonic-generator_1.0.0_amd64.deb ] 
[ building ] [ target/debs/bookworm/libpam-radius-auth_1.4.1-1_amd64.deb ] 
[ finished ] [ target/debs/bookworm/kdump-tools_1.8.1_amd64.deb ] 
[ building ] [ target/debs/bookworm/libnss-radius_1.0.1-1_amd64.deb ] 
[ finished ] [ target/debs/bookworm/libnss-radius_1.0.1-1_amd64.deb ] 
[ building ] [ target/debs/bookworm/libtac2_1.4.1-1_amd64.deb ] 
[ finished ] [ target/debs/bookworm/libtac2_1.4.1-1_amd64.deb ] 
[ building ] [ target/debs/bookworm/monit_5.20.0-6_amd64.deb ] 
[ finished ] [ target/debs/bookworm/libpam-radius-auth_1.4.1-1_amd64.deb ] 
[ building ] [ target/debs/bookworm/libnl-3-200_3.7.0-0.2+b1sonic1_amd64.deb ] 
[ finished ] [ target/debs/bookworm/monit_5.20.0-6_amd64.deb ] 
[ building ] [ target/debs/bookworm/libyang2t64_2.1.148-0.2_amd64.deb ] 
[ finished ] [ target/debs/bookworm/libnl-3-200_3.7.0-0.2+b1sonic1_amd64.deb ] 
[ building ] [ target/debs/bookworm/sonic-nettools_0.0.1-0_amd64.deb ] 
[ finished ] [ target/debs/bookworm/libyang2t64_2.1.148-0.2_amd64.deb ] 
[ building ] [ target/debs/bookworm/libnl-3-200_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ finished ] [ target/debs/bookworm/libnl-3-200_3.7.0-0.2+b1sonic1_amd64.deb-install ] 
[ building ] [ target/debs/bookworm/sonic-utilities-data_1.0-1_all.deb ] 
[ finished ] [ target/debs/bookworm/sonic-nettools_0.0.1-0_amd64.deb ] 
[ building ] [ target/debs/bookworm/sonic-host-services-data_1.0-1_all.deb ] 
[ finished ] [ target/debs/bookworm/sonic-utilities-data_1.0-1_all.deb ] 
[ building ] [ target/debs/bookworm/bash_5.1-2_amd64.deb ] 
[ finished ] [ target/debs/bookworm/sonic-host-services-data_1.0-1_all.deb ] 
[ building ] [ target/debs/bookworm/libtac2_1.4.1-1_amd64.deb-install ] 
[ finished ] [ target/debs/bookworm/libtac2_1.4.1-1_amd64.deb-install ] 
[ building ] [ target/files/bookworm/supervisor-proc-exit-listener ] 
[ finished ] [ target/files/bookworm/supervisor-proc-exit-listener ] 
[ building ] [ target/files/bookworm/swss_vars.j2 ] 
[ finished ] [ target/files/bookworm/swss_vars.j2 ] 
[ building ] [ target/files/bookworm/rsyslog_plugin.conf.j2 ] 
[ finished ] [ target/files/bookworm/rsyslog_plugin.conf.j2 ] 
[ building ] [ target/files/bookworm/container ] 
[ finished ] [ target/files/bookworm/container ] 
[ building ] [ target/files/bookworm/readiness_probe.sh ] 
[ finished ] [ target/files/bookworm/readiness_probe.sh ] 
[ building ] [ target/files/bookworm/container_startup.py ] 
[ finished ] [ target/files/bookworm/container_startup.py ] 
[ building ] [ target/python-wheels/bookworm/redis_dump_load-1.1-py3-none-any.whl ] 
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/bookworm/redis_dump_load-1.1-py3-none-any.whl ] 
[ building ] [ target/debs/bookworm/socat_1.7.4.1-3_amd64.deb ] 
[ finished ] [ target/debs/bookworm/socat_1.7.4.1-3_amd64.deb ] 
[ building ] [ target/debs/bookworm/symcrypt-openssl_1.5.2_amd64.deb ] 
[ finished ] [ target/debs/bookworm/symcrypt-openssl_1.5.2_amd64.deb ] 
[ building ] [ target/python-wheels/bookworm/redis_dump_load-1.1-py3-none-any.whl-install ] 
[ finished ] [ target/python-wheels/bookworm/redis_dump_load-1.1-py3-none-any.whl-install ] 
[ building ] [ target/debs/bookworm/p4lang-pi_0.1.0-15_amd64.deb ] 
[ finished ] [ target/debs/bookworm/bash_5.1-2_amd64.deb ] 
[ building ] [ target/debs/bookworm/libdashapi_1.0.0_amd64.deb ] 
[ finished ] [ target/debs/bookworm/sonic-device-data_1.0-1_all.deb ] 
[ building ] [ target/files/bookworm/sysctl-net.conf ] 
[ finished ] [ target/files/bookworm/sysctl-net.conf ] 
[ building ] [ target/files/bookworm/update_chassisdb_config ] 
[ finished ] [ target/files/bookworm/update_chassisdb_config ] 
[ building ] [ target/debs/bookworm/iptables_1.8.9-2_amd64.deb ] 
[ finished ] [ target/debs/bookworm/iptables_1.8.9-2_amd64.deb ] 
[ building ] [ target/files/bookworm/arp_update ] 
[ finished ] [ target/files/bookworm/arp_update ] 
[ building ] [ target/files/bookworm/arp_update_vars.j2 ] 
[ finished ] [ target/files/bookworm/arp_update_vars.j2 ] 
[ building ] [ target/python-wheels/bookworm/scapy-2.4.5-py2.py3-none-any.whl ] 
Removing patch ../scapy.patch/0004-Fix-fd-leak-in-worker-thread.patch
Restoring scapy/sendrecv.py

Removing patch ../scapy.patch/0003-Do-not-resolve-the-interface-name-globally.patch
Restoring doc/scapy/usage.rst
Restoring test/regression.uts
Restoring scapy/sendrecv.py

Removing patch ../scapy.patch/0002-Check-if-the-network-interface-still-exists.patch
Restoring scapy/arch/linux.py

Removing patch ../scapy.patch/0001-Fix-version-string-generation-when-scapy-is-a-submod.patch
Restoring scapy/__init__.py

No patches applied
[ finished ] [ target/python-wheels/bookworm/scapy-2.4.5-py2.py3-none-any.whl ] 
[ building ] [ target/debs/bookworm/lm-sensors_3.6.0-7.1_amd64.deb ] 
[ finished ] [ target/debs/bookworm/lm-sensors_3.6.0-7.1_amd64.deb ] 
[ building ] [ target/python-wheels/bookworm/sonic_platform_pddf_common-1.0-py3-none-any.whl ] 
[ finished ] [ target/python-wheels/bookworm/sonic_platform_pddf_common-1.0-py3-none-any.whl ] 
[ building ] [ target/debs/bookworm/linuxptp_4.2-sonic-0_amd64.deb ] 
[ finished ] [ target/debs/bookworm/libdashapi_1.0.0_amd64.deb ] 
[ finished ] [ target/debs/bookworm/linuxptp_4.2-sonic-0_amd64.deb ] 
[ FAIL LOG START ] [ target/debs/bookworm/linuxptp_4.2-sonic-0_amd64.deb ]
Build start time: Wed Sep 9 02:14:39 UTC 2026
[ REASON ] :      target/debs/bookworm/linuxptp_4.2-sonic-0_amd64.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/linuxptp'
# --- 1. Clean and Download source code ---
rm -rf linuxptp-4.2
git clone --branch v4.2 --depth 1 http://git.code.sf.net/p/linuxptp/code linuxptp-4.2

pushd linuxptp-4.2
# --- 2. Build source code ---
make
# --- 3. Prepare "Staging" directory ---
rm -rf debian_pkg
# Create necessary directory structure to prevent 'install' failure
# We use standard Debian paths: /usr/sbin for binaries, /usr/share/man for manuals
mkdir -p debian_pkg/usr/sbin
mkdir -p debian_pkg/usr/share/man/man8
mkdir -p debian_pkg/DEBIAN
# --- 4. Install into Staging ---
# We override 'prefix' to /usr (default is /usr/local)
# We override 'mandir' to /usr/share/man
# We use 'realpath' to ensure the staging path is absolute
make install DESTDIR=$(realpath debian_pkg) prefix=/usr mandir=/usr/share/man
# --- 5. Create 'control' file ---
echo "Package: linuxptp" > debian_pkg/DEBIAN/control
echo "Version: 4.2-sonic-0" >> debian_pkg/DEBIAN/control
echo "Architecture: amd64" >> debian_pkg/DEBIAN/control
echo "Maintainer: SONiC Builder " >> debian_pkg/DEBIAN/control
echo "Description: PTP (IEEE 1588) implementation for Linux" >> debian_pkg/DEBIAN/control
# Basic dependency (libc6 is standard)
echo "Depends: libc6" >> debian_pkg/DEBIAN/control
# --- 6. Build the .deb package ---
# Build the package inside the parent directory
dpkg-deb --build debian_pkg ..
popd

# Move the generated .deb file to the destination folder
# The filename usually includes version/arch, so we use wildcard move to be safe
mv *.deb /sonic/target/debs/bookworm/
Cloning into 'linuxptp-4.2'...
error: RPC failed; curl 56 Recv failure: Connection reset by peer
error: 6197 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
make[1]: *** [Makefile:12: /sonic/target/debs/bookworm/linuxptp_4.2-sonic-0_amd64.deb] Error 128
make[1]: Leaving directory '/sonic/src/linuxptp'
[  FAIL LOG END  ] [ target/debs/bookworm/linuxptp_4.2-sonic-0_amd64.deb ]
[ building ] [ target/debs/bookworm/hsflowd_2.0.51-26_amd64.deb ] 
[ finished ] [ target/debs/bookworm/hsflowd_2.0.51-26_amd64.deb ] 
[ finished ] [ target/debs/bookworm/p4lang-pi_0.1.0-15_amd64.deb ] 
make: *** [slave.mk:757: target/debs/bookworm/linuxptp_4.2-sonic-0_amd64.deb] Error 1
make: *** Waiting for unfinished jobs....
[ finished ] [ target/debs/bookworm/linux-headers-6.1.0-29-2-common_6.1.123-1_all.deb ] 
make[1]: *** [Makefile.work:611: all] Error 2
make[1]: Leaving directory '/var/lib/jenkins/workspace/ETRI-202505/platform-vs'
make: *** [Makefile:53: all] Error 2