Content

상위 폴더로 이동
Build start time: Wed Sep 24 05:50:38 UTC 2025
[ REASON ] :      target/debs/bullseye/sonic-dhcp6relay_1.0.0-0_amd64.deb does not exist   NON-EXISTENT PREREQUISITES: target/debs/bullseye/libswsscommon_1.0.0_amd64.deb-install target/debs/bullseye/libswsscommon-dev_1.0.0_amd64.deb-install 
[ FLAGS  FILE    ] : [] 
[ FLAGS  DEPENDS ] : [] 
[ FLAGS  DIFF    ] : [] 
/sonic/src/dhcprelay /sonic
dpkg-buildpackage: info: source package sonic-dhcp6relay
dpkg-buildpackage: info: source version 1.0.0-0
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Kelly Yeh 
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/sonic/src/dhcprelay'
dh clean --parallel
   dh_auto_clean
	make -j112 clean
make[2]: Entering directory '/sonic/src/dhcprelay'
rm -rf build build-test *.html *.xml
find . -name *.gcda -exec rm -f {} \;
find . -name *.gcno -exec rm -f {} \;
find . -name *.gcov -exec rm -f {} \;
echo ' '
 
make[2]: Leaving directory '/sonic/src/dhcprelay'
   dh_clean
make[1]: Leaving directory '/sonic/src/dhcprelay'
 debian/rules build
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/sonic/src/dhcprelay'
dh build --parallel
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
	make -j112 "INSTALL=install --strip-program=true"
make[2]: Entering directory '/sonic/src/dhcprelay'
g++ -Wl,-z,relro -Wl,-z,now build/src/sender.o build/src/relay.o build/src/config_interface.o build/src/main.o -levent -lhiredis -lswsscommon -pthread -lboost_thread -lboost_system -o build/dhcp6relay
g++ -Wl,-z,relro -Wl,-z,now build-test/test/mock_send.o build-test/test/main.o build-test/src/relay.o build-test/src/config_interface.o build-test/test/mock_relay.o build-test/test/mock_config_interface.o -levent -lhiredis -lswsscommon -pthread -lboost_thread -lboost_system --coverage -lgtest -lgmock -pthread -lstdc++fs -fsanitize=address -o build-test/dhcp6relay-test
make[2]: Leaving directory '/sonic/src/dhcprelay'
   dh_auto_test
	make -j112 test
make[2]: Entering directory '/sonic/src/dhcprelay'
sudo ASAN_OPTIONS=detect_leaks=0 ./build-test/dhcp6relay-test --gtest_output=xml:build-test/dhcp6relay-test-test-result.xml || true
gcovr -r ./ --html --html-details -o build-test/dhcp6relay-test-code-coverage.html
gcovr -r ./ --xml-pretty -o build-test/dhcp6relay-test-code-coverage.xml
[==========] Running 44 tests from 10 test suites.
[----------] Global test environment set-up.
[----------] 2 tests from helper
[ RUN      ] helper.toString
[       OK ] helper.toString (0 ms)
[ RUN      ] helper.send_udp
[       OK ] helper.send_udp (0 ms)
[----------] 2 tests from helper (0 ms total)

[----------] 5 tests from parsePacket
[ RUN      ] parsePacket.parse_ether_frame
[       OK ] parsePacket.parse_ether_frame (0 ms)
[ RUN      ] parsePacket.parse_ip6_hdr
[       OK ] parsePacket.parse_ip6_hdr (0 ms)
[ RUN      ] parsePacket.parse_udp
[       OK ] parsePacket.parse_udp (0 ms)
[ RUN      ] parsePacket.parse_dhcpv6_hdr
[       OK ] parsePacket.parse_dhcpv6_hdr (0 ms)
[ RUN      ] parsePacket.parse_dhcpv6_relay
[       OK ] parsePacket.parse_dhcpv6_relay (0 ms)
[----------] 5 tests from parsePacket (0 ms total)

[----------] 2 tests from sock
[ RUN      ] sock.sock_open
[       OK ] sock.sock_open (3 ms)
[ RUN      ] sock.sock_open_invalid_filter
[       OK ] sock.sock_open_invalid_filter (32 ms)
[----------] 2 tests from sock (35 ms total)

[----------] 3 tests from prepareConfig
[ RUN      ] prepareConfig.prepare_relay_config
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] prepareConfig.prepare_relay_config (1 ms)
[ RUN      ] prepareConfig.prepare_lo_socket
[       OK ] prepareConfig.prepare_lo_socket (1 ms)
[ RUN      ] prepareConfig.prepare_vlan_sockets
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] prepareConfig.prepare_vlan_sockets (0 ms)
[----------] 3 tests from prepareConfig (2 ms total)

[----------] 2 tests from counter
[ RUN      ] counter.initialize_counter
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] counter.initialize_counter (1 ms)
[ RUN      ] counter.increase_counter
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] counter.increase_counter (0 ms)
[----------] 2 tests from counter (1 ms total)

[----------] 15 tests from relay
[ RUN      ] relay.relay_client
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] relay.relay_client (0 ms)
[ RUN      ] relay.relay_relay_forw
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] relay.relay_relay_forw (0 ms)
[ RUN      ] relay.relay_relay_reply
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] relay.relay_relay_reply (0 ms)
[ RUN      ] relay.signal_init
[       OK ] relay.signal_init (0 ms)
[ RUN      ] relay.signal_start
[       OK ] relay.signal_start (1 ms)
[ RUN      ] relay.signal_callback
[       OK ] relay.signal_callback (0 ms)
[ RUN      ] relay.dhcp6relay_stop
[       OK ] relay.dhcp6relay_stop (0 ms)
[ RUN      ] relay.update_vlan_mapping
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] relay.update_vlan_mapping (1 ms)
[ RUN      ] relay.client_packet_handler
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] relay.client_packet_handler (0 ms)
[ RUN      ] relay.server_callback
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] relay.server_callback (0 ms)
[ RUN      ] relay.client_callback
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] relay.client_callback (0 ms)
[ RUN      ] relay.shutdown_relay
[warn] event_del_: event has no event_base set.
[warn] event_del_: event has no event_base set.
[warn] event_del_: event has no event_base set.
[warn] event_del_: event has no event_base set.
[warn] event_base_free_: no base to free
[       OK ] relay.shutdown_relay (0 ms)
[ RUN      ] relay.loop_relay
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] relay.loop_relay (0 ms)
[ RUN      ] relay.get_relay_int_from_relay_msg
[       OK ] relay.get_relay_int_from_relay_msg (0 ms)
[ RUN      ] relay.server_callback_dualtor
[       OK ] relay.server_callback_dualtor (1 ms)
[----------] 15 tests from relay (3 ms total)

[----------] 5 tests from options
[ RUN      ] options.Add
[       OK ] options.Add (0 ms)
[ RUN      ] options.Delete
[       OK ] options.Delete (0 ms)
[ RUN      ] options.Get
[       OK ] options.Get (0 ms)
[ RUN      ] options.MarshalBinary
[       OK ] options.MarshalBinary (0 ms)
[ RUN      ] options.UnmarshalBinary
[       OK ] options.UnmarshalBinary (0 ms)
[----------] 5 tests from options (0 ms total)

[----------] 2 tests from relay_msg
[ RUN      ] relay_msg.MarshalBinary
[       OK ] relay_msg.MarshalBinary (0 ms)
[ RUN      ] relay_msg.UnmarshalBinary
[       OK ] relay_msg.UnmarshalBinary (0 ms)
[----------] 2 tests from relay_msg (0 ms total)

[----------] 2 tests from dhcpv6_msg
[ RUN      ] dhcpv6_msg.MarshalBinary
[       OK ] dhcpv6_msg.MarshalBinary (1 ms)
[ RUN      ] dhcpv6_msg.UnmarshalBinary
[       OK ] dhcpv6_msg.UnmarshalBinary (0 ms)
[----------] 2 tests from dhcpv6_msg (1 ms total)

[----------] 6 tests from configInterface
[ RUN      ] configInterface.initialize_swss
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] configInterface.initialize_swss (0 ms)
[ RUN      ] configInterface.deinitialize_swss
[       OK ] configInterface.deinitialize_swss (0 ms)
[ RUN      ] configInterface.get_dhcp
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] configInterface.get_dhcp (0 ms)
[ RUN      ] configInterface.handleRelayNotification
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] configInterface.handleRelayNotification (0 ms)
[ RUN      ] configInterface.processRelayNotification
unknown file: Failure
C++ exception with description "Unable to connect to redis (unix-socket): Cannot assign requested address" thrown in the test body.
[  FAILED  ] configInterface.processRelayNotification (1 ms)
[ RUN      ] configInterface.stopSwssNotificationPoll
[       OK ] configInterface.stopSwssNotificationPoll (0 ms)
[----------] 6 tests from configInterface (1 ms total)

[----------] Global test environment tear-down
[==========] 44 tests from 10 test suites ran. (44 ms total)
[  PASSED  ] 28 tests.
[  FAILED  ] 16 tests, listed below:
[  FAILED  ] prepareConfig.prepare_relay_config
[  FAILED  ] prepareConfig.prepare_vlan_sockets
[  FAILED  ] counter.initialize_counter
[  FAILED  ] counter.increase_counter
[  FAILED  ] relay.relay_client
[  FAILED  ] relay.relay_relay_forw
[  FAILED  ] relay.relay_relay_reply
[  FAILED  ] relay.update_vlan_mapping
[  FAILED  ] relay.client_packet_handler
[  FAILED  ] relay.server_callback
[  FAILED  ] relay.client_callback
[  FAILED  ] relay.loop_relay
[  FAILED  ] configInterface.initialize_swss
[  FAILED  ] configInterface.get_dhcp
[  FAILED  ] configInterface.handleRelayNotification
[  FAILED  ] configInterface.processRelayNotification

16 FAILED TESTS
make[2]: Leaving directory '/sonic/src/dhcprelay'
   create-stamp debian/debhelper-build-stamp
make[1]: Leaving directory '/sonic/src/dhcprelay'
 fakeroot debian/rules binary
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/sonic/src/dhcprelay'
dh binary --parallel
   dh_testroot
   dh_prep
   dh_auto_install
	make -j112 install DESTDIR=/sonic/src/dhcprelay/debian/sonic-dhcp6relay AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
make[2]: Entering directory '/sonic/src/dhcprelay'
install -D build/dhcp6relay /sonic/src/dhcprelay/debian/sonic-dhcp6relay/usr/sbin/dhcp6relay
make[2]: Leaving directory '/sonic/src/dhcprelay'
   dh_installdocs
   dh_installchangelogs
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_dwz
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
   dh_installdeb
   dh_gencontrol
dpkg-gencontrol: warning: Built-Using field of package sonic-dhcp6relay: substitution variable ${misc:Built-Using} used, but is not defined
dpkg-gencontrol: warning: Built-Using field of package sonic-dhcp6relay: substitution variable ${misc:Built-Using} used, but is not defined
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'sonic-dhcp6relay' in '../sonic-dhcp6relay_1.0.0-0_amd64.deb'.
dpkg-deb: building package 'sonic-dhcp6relay-dbgsym' in '../sonic-dhcp6relay-dbgsym_1.0.0-0_amd64.deb'.
make[1]: Leaving directory '/sonic/src/dhcprelay'
 dpkg-genbuildinfo --build=binary --admindir=/sonic/dpkg/tmp.qLYss7bcJX
 dpkg-genchanges --build=binary >../sonic-dhcp6relay_1.0.0-0_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 fakeroot debian/rules clean
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/sonic/src/dhcprelay'
dh clean --parallel
   dh_auto_clean
	make -j112 clean
make[2]: Entering directory '/sonic/src/dhcprelay'
rm -rf build build-test *.html *.xml
find . -name *.gcda -exec rm -f {} \;
find . -name *.gcno -exec rm -f {} \;
find . -name *.gcov -exec rm -f {} \;
echo ' '
 
make[2]: Leaving directory '/sonic/src/dhcprelay'
   dh_clean
make[1]: Leaving directory '/sonic/src/dhcprelay'
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
/sonic
Build end time: Wed Sep 24 05:51:29 UTC 2025
Elapsed time: 0h 0m 51s