Build start time: Thu Nov 20 08:19:45 UTC 2025
[ REASON ] : target/docker-dhcp-relay.gz does not exist NON-EXISTENT PREREQUISITES: docker-start target/docker-config-engine-bookworm.gz-load target/python-wheels/bookworm/sonic_utilities-1.2-py3-none-any.whl-install target/debs/bookworm/python3-swsscommon_1.0.0_amd64.deb-install
[ FLAGS FILE ] : []
[ FLAGS DEPENDS ] : []
[ FLAGS DIFF ] : []
============================= test session starts ==============================
platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0+repack -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /sonic/dockers/docker-dhcp-relay/cli-plugin-tests, configfile: pytest.ini
plugins: pyfakefs-5.7.4, cov-4.0.0
collecting ... collected 140 items
test_clear_dhcp_relay.py::test_plugin_registration PASSED [ 0%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv6_counter[None] PASSED [ 1%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv6_counter[Vlan1000] PASSED [ 2%]
test_clear_dhcp_relay.py::test_is_vlan_interface_valid[test_param_result0] PASSED [ 2%]
test_clear_dhcp_relay.py::test_is_vlan_interface_valid[test_param_result1] PASSED [ 3%]
test_clear_dhcp_relay.py::test_is_vlan_interface_valid[test_param_result2] PASSED [ 4%]
test_clear_dhcp_relay.py::test_clear_dhcpv4_db_counters[None-None-keys0-db_dhcp_type0-paused_vlans0] PASSED [ 5%]
test_clear_dhcp_relay.py::test_clear_dhcpv4_db_counters[RX-Offer-keys1-db_dhcp_type1-paused_vlans1] PASSED [ 5%]
test_clear_dhcp_relay.py::test_clear_dhcpv4_db_counters[TX-Ack-keys2-db_dhcp_type2-paused_vlans2] PASSED [ 6%]
test_clear_dhcp_relay.py::test_clear_dhcpv4_db_counters[TX-Ack-keys3-None-paused_vlans3] PASSED [ 7%]
test_clear_dhcp_relay.py::test_notify_dhcpmon_processes[10-Vlan1000-procs0] PASSED [ 7%]
test_clear_dhcp_relay.py::test_notify_dhcpmon_processes[12--procs1] PASSED [ 8%]
test_clear_dhcp_relay.py::test_notify_dhcpmon_processes[12--procs2] PASSED [ 9%]
test_clear_dhcp_relay.py::test_notify_dhcpmon_processes[12-Vlan2000-procs3] PASSED [ 10%]
test_clear_dhcp_relay.py::test_notify_dhcpmon_processes[100-Vlan1000-procs4] PASSED [ 10%]
test_clear_dhcp_relay.py::test_clear_dhcp6relay_clear_counters[Vlan1000] PASSED [ 11%]
test_clear_dhcp_relay.py::test_clear_dhcp6relay_clear_counters[None] PASSED [ 12%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv6_counters[Vlan1000] PASSED [ 12%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv6_counters[None] PASSED [ 13%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters_no_root PASSED [ 14%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters_locked PASSED [ 15%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters_vlan_invalid PASSED [ 15%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans0-None-None-] PASSED [ 16%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans0-None-None-Vlan1000] PASSED [ 17%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans0-None-RX-] PASSED [ 17%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans0-None-RX-Vlan1000] PASSED [ 18%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans0-None-TX-] PASSED [ 19%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans0-None-TX-Vlan1000] PASSED [ 20%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans0-Discover-None-] PASSED [ 20%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans0-Discover-None-Vlan1000] PASSED [ 21%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans0-Discover-RX-] PASSED [ 22%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans0-Discover-RX-Vlan1000] PASSED [ 22%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans0-Discover-TX-] PASSED [ 23%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans0-Discover-TX-Vlan1000] PASSED [ 24%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans1-None-None-] PASSED [ 25%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans1-None-None-Vlan1000] PASSED [ 25%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans1-None-RX-] PASSED [ 26%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans1-None-RX-Vlan1000] PASSED [ 27%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans1-None-TX-] PASSED [ 27%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans1-None-TX-Vlan1000] PASSED [ 28%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans1-Discover-None-] PASSED [ 29%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans1-Discover-None-Vlan1000] PASSED [ 30%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans1-Discover-RX-] PASSED [ 30%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans1-Discover-RX-Vlan1000] PASSED [ 31%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans1-Discover-TX-] PASSED [ 32%]
test_clear_dhcp_relay.py::test_clear_dhcp_relay_ipv4_counters[failed_vlans1-Discover-TX-Vlan1000] PASSED [ 32%]
test_clear_dhcp_relay.py::test_get_failed_vlans[done] PASSED [ 33%]
test_clear_dhcp_relay.py::test_get_failed_vlans[] PASSED [ 34%]
test_clear_dhcp_relay.py::test_clear_writing_state_db_flag PASSED [ 35%]
test_clear_dhcp_relay.py::test_get_paused_vlans[True-vlans0-result0] PASSED [ 35%]
test_clear_dhcp_relay.py::test_get_paused_vlans[False-vlans1-result1] PASSED [ 36%]
test_clear_dhcp_relay.py::test_get_paused_vlans[True-vlans2-result2] PASSED [ 37%]
test_clear_dhcp_relay.py::test_get_paused_vlans[False-vlans3-result3] PASSED [ 37%]
test_clear_dhcp_relay.py::test_is_write_db_paused PASSED [ 38%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_plugin_registration PASSED [ 39%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_dhcp_relay_add_del_with_nonexist_vlanid_ipv4[add] PASSED [ 40%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_del_dhcp_relay_with_invalid_ip[ipv4-add] PASSED [ 40%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_del_duplicate_dhcp_relay[ipv4-add] PASSED [ 41%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_del_dhcp_relay_with_invalid_ip[ipv4-del] PASSED [ 42%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_del_duplicate_dhcp_relay[ipv4-del] PASSED [ 42%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_dhcp_relay_add_del_with_nonexist_vlanid_ipv4[del] PASSED [ 43%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_del_dhcp_relay_with_invalid_ip[ipv6-del] PASSED [ 44%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_del_duplicate_dhcp_relay[ipv6-del] PASSED [ 45%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_del_dhcp_relay_with_invalid_ip[ipv6-add] PASSED [ 45%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_del_duplicate_dhcp_relay[ipv6-add] PASSED [ 46%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_dhcp_with_exist_ip[ipv6] PASSED [ 47%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_del_nonexist_dhcp_relay[ipv6] PASSED [ 47%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_del_dhcp_relay[ipv6] PASSED [ 48%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_del_multiple_dhcp_relay[ipv6] PASSED [ 49%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_dhcp_with_exist_ip[ipv4] PASSED [ 50%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_del_nonexist_dhcp_relay[ipv4] PASSED [ 50%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_del_dhcp_relay[ipv4] PASSED [ 51%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_del_multiple_dhcp_relay[ipv4] PASSED [ 52%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_dhcp_relay_del_with_nonexist_vlanid_ipv6 PASSED [ 52%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_del_dhcp_relay_with_enable_dhcp_server PASSED [ 53%]
test_config_dhcp_relay.py::TestConfigDhcpRelay::test_config_add_dhcp_relay_ipv6_with_non_entry PASSED [ 54%]
test_config_vlan_dhcp_relay.py::TestConfigVlanDhcpRelay::test_plugin_registration PASSED [ 55%]
test_config_vlan_dhcp_relay.py::TestConfigVlanDhcpRelay::test_config_vlan_add_dhcp_relay_with_nonexist_vlanid PASSED [ 55%]
test_config_vlan_dhcp_relay.py::TestConfigVlanDhcpRelay::test_config_vlan_add_dhcp_relay_with_invalid_vlanid PASSED [ 56%]
test_config_vlan_dhcp_relay.py::TestConfigVlanDhcpRelay::test_config_vlan_add_dhcp_relay_with_invalid_ip PASSED [ 57%]
test_config_vlan_dhcp_relay.py::TestConfigVlanDhcpRelay::test_config_vlan_add_dhcp_relay_with_exist_ip PASSED [ 57%]
test_config_vlan_dhcp_relay.py::TestConfigVlanDhcpRelay::test_config_vlan_add_del_dhcp_relay_dest PASSED [ 58%]
test_config_vlan_dhcp_relay.py::TestConfigVlanDhcpRelay::test_config_vlan_add_del_dhcpv6_relay_dest PASSED [ 59%]
test_config_vlan_dhcp_relay.py::TestConfigVlanDhcpRelay::test_config_vlan_add_del_multiple_dhcpv6_relay_dest PASSED [ 60%]
test_config_vlan_dhcp_relay.py::TestConfigVlanDhcpRelay::test_config_vlan_remove_nonexist_dhcp_relay_dest PASSED [ 60%]
test_config_vlan_dhcp_relay.py::TestConfigVlanDhcpRelay::test_config_vlan_remove_dhcp_relay_dest_with_nonexist_vlanid PASSED [ 61%]
test_show_dhcp4relay_counters.py::test_plugin_registration PASSED [ 62%]
test_show_dhcp4relay_counters.py::test_is_vlan_interface_valid[Vlan1000-True] PASSED [ 62%]
test_show_dhcp4relay_counters.py::test_is_vlan_interface_valid[Vlan1000-False] PASSED [ 63%]
test_show_dhcp4relay_counters.py::test_is_vlan_interface_valid[-True] PASSED [ 64%]
test_show_dhcp4relay_counters.py::test_is_vlan_interface_valid[-False] PASSED [ 65%]
test_show_dhcp4relay_counters.py::test_get_vlan_members_from_config_db PASSED [ 65%]
test_show_dhcp4relay_counters.py::test_get_count_from_db[None-0] PASSED [ 66%]
test_show_dhcp4relay_counters.py::test_get_count_from_db[{'Unknown':'0','Discover':'1','Offer':'0'}-1] PASSED [ 67%]
test_show_dhcp4relay_counters.py::test_get_count_from_db[{'Unknown':'0','Request':'1','Offer':'0'}-0] PASSED [ 67%]
test_show_dhcp4relay_counters.py::test_append_vlan_count_with_type_specified[Vlan1000-dirs_count0] PASSED [ 68%]
test_show_dhcp4relay_counters.py::test_append_vlan_count_with_type_specified[Vlan1000-dirs_count1] PASSED [ 69%]
test_show_dhcp4relay_counters.py::test_get_interfaces_type[Ethernet1-Vlan1000-Downlink] PASSED [ 70%]
test_show_dhcp4relay_counters.py::test_get_interfaces_type[Ethernet4-Vlan1000-Uplink] PASSED [ 70%]
test_show_dhcp4relay_counters.py::test_get_interfaces_type[Ethernet5-Vlan3000-Unknown] PASSED [ 71%]
test_show_dhcp4relay_counters.py::test_get_interfaces_type[eth0-Vlan3000-MGMT] PASSED [ 72%]
test_show_dhcp4relay_counters.py::test_append_interfaces_count_with_type_specified[interfaces0-dirs_count0-Vlan1000] PASSED [ 72%]
test_show_dhcp4relay_counters.py::test_append_interfaces_count_with_type_specified[interfaces1-dirs_count1-Vlan3000] PASSED [ 73%]
test_show_dhcp4relay_counters.py::test_generate_output_with_type_specified PASSED [ 74%]
test_show_dhcp4relay_counters.py::test_append_vlan_count_without_type_specified[Vlan1000-types_count0] PASSED [ 75%]
test_show_dhcp4relay_counters.py::test_append_vlan_count_without_type_specified[Vlan1000-types_count1] PASSED [ 75%]
test_show_dhcp4relay_counters.py::test_natural_sort_key PASSED [ 76%]
test_show_dhcp4relay_counters.py::test_append_interfaces_count_without_type_specified[types_count0] PASSED [ 77%]
test_show_dhcp4relay_counters.py::test_append_interfaces_count_without_type_specified[types_count1] PASSED [ 77%]
test_show_dhcp4relay_counters.py::test_generate_output_without_type_specified PASSED [ 78%]
test_show_dhcp4relay_counters.py::test_get_mgmt_intfs PASSED [ 79%]
test_show_dhcp4relay_counters.py::test_get_vlans_from_counters_db[-expected_result0] PASSED [ 80%]
test_show_dhcp4relay_counters.py::test_get_vlans_from_counters_db[Vlan1000-expected_result1] PASSED [ 80%]
test_show_dhcp4relay_counters.py::test_get_vlans_from_counters_db[Vlan100-expected_result2] PASSED [ 81%]
test_show_dhcp4relay_counters.py::test_print_dhcpv4_relay_counter_data_with_type_specified PASSED [ 82%]
test_show_dhcp4relay_counters.py::test_print_dhcpv4_relay_counter_data_without_type_specified PASSED [ 82%]
test_show_dhcp4relay_counters.py::test_dhcp_relay_ip4counters_vlan_invalid PASSED [ 83%]
test_show_dhcp4relay_counters.py::test_dhcp_relay_ip4counters[None-None-expected_dirs0-expected_types0] PASSED [ 84%]
test_show_dhcp4relay_counters.py::test_dhcp_relay_ip4counters[None-Discover-expected_dirs1-expected_types1] PASSED [ 85%]
test_show_dhcp4relay_counters.py::test_dhcp_relay_ip4counters[RX-None-expected_dirs2-expected_types2] PASSED [ 85%]
test_show_dhcp4relay_counters.py::test_dhcp_relay_ip4counters[RX-Offer-expected_dirs3-expected_types3] PASSED [ 86%]
test_show_dhcp4relay_counters.py::test_dhcp_relay_ip4counters_incorrect_dir[--dir=fail] PASSED [ 87%]
test_show_dhcp4relay_counters.py::test_dhcp_relay_ip4counters_incorrect_dir[--type=fail] PASSED [ 87%]
test_show_dhcp6relay_counters.py::TestDhcp6RelayCounters::test_show_counts PASSED [ 88%]
test_show_dhcp_relay.py::test_plugin_registration PASSED [ 89%]
test_show_dhcp_relay.py::test_dhcp_relay_column_output[feature_table0] PASSED [ 90%]
test_show_dhcp_relay.py::test_dhcp_relay_column_output[feature_table1] PASSED [ 90%]
test_show_dhcp_relay.py::test_dhcp_relay_column_output[feature_table2] PASSED [ 91%]
test_show_dhcp_relay.py::test_dhcp_relay_column_output[feature_table3] PASSED [ 92%]
test_show_dhcp_relay.py::test_show_dhcp_relay_0_ipv6_with_header <- ../../../../usr/local/lib/python3.11/dist-packages/pyfakefs/fake_filesystem_unittest.py PASSED [ 92%]
test_show_dhcp_relay.py::test_show_dhcp_relay_1_ipv6_without_header <- ../../../../usr/local/lib/python3.11/dist-packages/pyfakefs/fake_filesystem_unittest.py PASSED [ 93%]
test_show_dhcp_relay.py::test_show_dhcp_relay_2_ipv4_with_header <- ../../../../usr/local/lib/python3.11/dist-packages/pyfakefs/fake_filesystem_unittest.py PASSED [ 94%]
test_show_dhcp_relay.py::test_show_dhcp_relay_3_ipv4_with_disabled_dhcp_server_with_header <- ../../../../usr/local/lib/python3.11/dist-packages/pyfakefs/fake_filesystem_unittest.py PASSED [ 95%]
test_show_dhcp_relay.py::test_show_dhcp_relay_4_ipv4_with_enabled_dhcp_server_with_header <- ../../../../usr/local/lib/python3.11/dist-packages/pyfakefs/fake_filesystem_unittest.py PASSED [ 95%]
test_show_dhcp_relay.py::test_show_new_added_dhcp_relay_0_ipv6 <- ../../../../usr/local/lib/python3.11/dist-packages/pyfakefs/fake_filesystem_unittest.py PASSED [ 96%]
test_show_dhcp_relay.py::test_show_new_added_dhcp_relay_1_ipv4 <- ../../../../usr/local/lib/python3.11/dist-packages/pyfakefs/fake_filesystem_unittest.py PASSED [ 97%]
test_show_dhcp_relay.py::test_show_multi_dhcp_relay_0_ipv6 <- ../../../../usr/local/lib/python3.11/dist-packages/pyfakefs/fake_filesystem_unittest.py PASSED [ 97%]
test_show_dhcp_relay.py::test_show_multi_dhcp_relay_1_ipv4 <- ../../../../usr/local/lib/python3.11/dist-packages/pyfakefs/fake_filesystem_unittest.py PASSED [ 98%]
test_show_dhcp_relay.py::test_is_dhcp_server_enabled[True] PASSED [ 99%]
test_show_dhcp_relay.py::test_is_dhcp_server_enabled[False] PASSED [100%]
- generated xml file: /sonic/dockers/docker-dhcp-relay/cli-plugin-tests/test-results.xml -
---------- coverage: platform linux, python 3.11.2-final-0 -----------
Name Stmts Miss Cover
------------------------------------------------------------------------------------------------
/sonic/dockers/docker-dhcp-relay/cli/clear/plugins/clear_dhcp_relay.py 161 14 91%
/sonic/dockers/docker-dhcp-relay/cli/config/plugins/dhcp_relay.py 211 26 88%
/sonic/dockers/docker-dhcp-relay/cli/show/plugins/show_dhcp_relay.py 274 34 88%
/sonic/src/sonic-host-services/tests/common/mock_configdb.py 121 57 53%
/sonic/src/sonic-utilities/tests/mock_tables/dbconnector.py 145 45 69%
/usr/lib/python3/dist-packages/_distutils_hack/__init__.py 98 93 5%
/usr/lib/python3/dist-packages/_pytest/_argcomplete.py 37 36 3%
/usr/lib/python3/dist-packages/_pytest/_code/code.py 721 707 2%
/usr/lib/python3/dist-packages/_pytest/_code/source.py 145 143 1%
/usr/lib/python3/dist-packages/_pytest/_io/terminalwriter.py 120 74 38%
/usr/lib/python3/dist-packages/_pytest/_io/wcwidth.py 25 16 36%
/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py 86 73 15%
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py 624 354 43%
/usr/lib/python3/dist-packages/_pytest/cacheprovider.py 313 260 17%
/usr/lib/python3/dist-packages/_pytest/capture.py 567 490 14%
/usr/lib/python3/dist-packages/_pytest/compat.py 161 116 28%
/usr/lib/python3/dist-packages/_pytest/config/__init__.py 875 719 18%
/usr/lib/python3/dist-packages/_pytest/config/argparsing.py 259 214 17%
/usr/lib/python3/dist-packages/_pytest/config/compat.py 38 19 50%
/usr/lib/python3/dist-packages/_pytest/debugging.py 230 221 4%
/usr/lib/python3/dist-packages/_pytest/deprecated.py 24 23 4%
/usr/lib/python3/dist-packages/_pytest/doctest.py 355 347 2%
/usr/lib/python3/dist-packages/_pytest/faulthandler.py 58 44 24%
/usr/lib/python3/dist-packages/_pytest/fixtures.py 820 393 52%
/usr/lib/python3/dist-packages/_pytest/helpconfig.py 132 122 8%
/usr/lib/python3/dist-packages/_pytest/junitxml.py 367 258 30%
/usr/lib/python3/dist-packages/_pytest/legacypath.py 216 188 13%
/usr/lib/python3/dist-packages/_pytest/logging.py 400 290 28%
/usr/lib/python3/dist-packages/_pytest/main.py 468 303 35%
/usr/lib/python3/dist-packages/_pytest/mark/__init__.py 127 112 12%
/usr/lib/python3/dist-packages/_pytest/mark/structures.py 272 190 30%
/usr/lib/python3/dist-packages/_pytest/monkeypatch.py 167 153 8%
/usr/lib/python3/dist-packages/_pytest/nodes.py 333 223 33%
/usr/lib/python3/dist-packages/_pytest/nose.py 29 21 28%
/usr/lib/python3/dist-packages/_pytest/pastebin.py 70 69 1%
/usr/lib/python3/dist-packages/_pytest/pathlib.py 378 313 17%
/usr/lib/python3/dist-packages/_pytest/python.py 904 586 35%
/usr/lib/python3/dist-packages/_pytest/python_path.py 16 15 6%
/usr/lib/python3/dist-packages/_pytest/reports.py 292 255 13%
/usr/lib/python3/dist-packages/_pytest/runner.py 287 166 42%
/usr/lib/python3/dist-packages/_pytest/scope.py 39 29 26%
/usr/lib/python3/dist-packages/_pytest/setuponly.py 58 51 12%
/usr/lib/python3/dist-packages/_pytest/setupplan.py 24 20 17%
/usr/lib/python3/dist-packages/_pytest/skipping.py 162 133 18%
/usr/lib/python3/dist-packages/_pytest/stash.py 36 30 17%
/usr/lib/python3/dist-packages/_pytest/stepwise.py 74 72 3%
/usr/lib/python3/dist-packages/_pytest/terminal.py 903 691 23%
/usr/lib/python3/dist-packages/_pytest/threadexception.py 42 27 36%
/usr/lib/python3/dist-packages/_pytest/tmpdir.py 101 90 11%
/usr/lib/python3/dist-packages/_pytest/unittest.py 248 237 4%
/usr/lib/python3/dist-packages/_pytest/unraisableexception.py 44 29 34%
/usr/lib/python3/dist-packages/_pytest/warnings.py 74 54 27%
/usr/lib/python3/dist-packages/cryptography/__about__.py 4 0 100%
/usr/lib/python3/dist-packages/cryptography/__init__.py 2 0 100%
/usr/lib/python3/dist-packages/lazy_object_proxy/__init__.py 17 4 76%
/usr/lib/python3/dist-packages/lazy_object_proxy/_version.py 2 0 100%
/usr/lib/python3/dist-packages/lazy_object_proxy/utils.py 33 17 48%
/usr/lib/python3/dist-packages/parameterized/__init__.py 2 0 100%
/usr/lib/python3/dist-packages/parameterized/parameterized.py 339 219 35%
/usr/lib/python3/dist-packages/pluggy/_callers.py 40 12 70%
/usr/lib/python3/dist-packages/pluggy/_hooks.py 156 92 41%
/usr/lib/python3/dist-packages/pluggy/_manager.py 190 145 24%
/usr/lib/python3/dist-packages/pluggy/_result.py 30 24 20%
/usr/lib/python3/dist-packages/pluggy/_tracing.py 41 31 24%
/usr/lib/python3/dist-packages/psutil/__init__.py 943 699 26%
/usr/lib/python3/dist-packages/psutil/_common.py 408 216 47%
/usr/lib/python3/dist-packages/psutil/_compat.py 298 260 13%
/usr/lib/python3/dist-packages/psutil/_pslinux.py 1240 973 22%
/usr/lib/python3/dist-packages/psutil/_psposix.py 95 65 32%
/usr/lib/python3/dist-packages/py/__metainfo.py 2 0 100%
/usr/lib/python3/dist-packages/py/_builtin.py 112 78 30%
/usr/lib/python3/dist-packages/py/_code/__init__.py 0 0 100%
/usr/lib/python3/dist-packages/py/_code/_assertionnew.py 239 210 12%
/usr/lib/python3/dist-packages/py/_code/assertion.py 63 52 17%
/usr/lib/python3/dist-packages/py/_code/code.py 531 410 23%
/usr/lib/python3/dist-packages/py/_code/source.py 279 245 12%
/usr/lib/python3/dist-packages/py/_io/__init__.py 0 0 100%
/usr/lib/python3/dist-packages/py/_io/capture.py 266 215 19%
/usr/lib/python3/dist-packages/py/_io/saferepr.py 49 39 20%
/usr/lib/python3/dist-packages/py/_io/terminalwriter.py 272 220 19%
/usr/lib/python3/dist-packages/py/_log/__init__.py 0 0 100%
/usr/lib/python3/dist-packages/py/_log/log.py 117 73 38%
/usr/lib/python3/dist-packages/py/_log/warning.py 60 53 12%
/usr/lib/python3/dist-packages/py/_path/cacheutil.py 70 43 39%
/usr/lib/python3/dist-packages/py/_path/local.py 697 687 1%
/usr/lib/python3/dist-packages/py/_path/svnurl.py 255 214 16%
/usr/lib/python3/dist-packages/py/_path/svnwc.py 808 669 17%
/usr/lib/python3/dist-packages/py/_process/__init__.py 0 0 100%
/usr/lib/python3/dist-packages/py/_process/cmdexec.py 34 22 35%
/usr/lib/python3/dist-packages/py/_process/forkedfunc.py 92 77 16%
/usr/lib/python3/dist-packages/py/_process/killproc.py 17 12 29%
/usr/lib/python3/dist-packages/py/_std.py 15 6 60%
/usr/lib/python3/dist-packages/py/_vendored_packages/apipkg/__init__.py 155 119 23%
/usr/lib/python3/dist-packages/py/_vendored_packages/iniconfig/__init__.py 122 99 19%
/usr/lib/python3/dist-packages/py/_xmlgen.py 170 119 30%
/usr/lib/python3/dist-packages/pytest/__init__.py 84 82 2%
/usr/lib/python3/dist-packages/pytest_cov/compat.py 17 13 24%
/usr/lib/python3/dist-packages/pytest_cov/embed.py 69 63 9%
/usr/lib/python3/dist-packages/pytest_cov/engine.py 244 223 9%
/usr/lib/python3/dist-packages/pytest_cov/plugin.py 223 193 13%
/usr/lib/python3/dist-packages/swsscommon/__init__.py 0 0 100%
/usr/lib/python3/dist-packages/swsscommon/swsscommon.py 2863 971 66%
conftest.py 22 0 100%
mock_config.py 3 0 100%
mock_tables.py 96 47 51%
test_clear_dhcp_relay.py 210 5 98%
test_config_dhcp_relay.py 177 0 100%
test_config_vlan_dhcp_relay.py 151 0 100%
test_show_dhcp4relay_counters.py 211 0 100%
test_show_dhcp6relay_counters.py 22 2 91%
test_show_dhcp_relay.py 103 2 98%
------------------------------------------------------------------------------------------------
TOTAL 25491 17265 32%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml
============================= 140 passed in 24.81s =============================
Client: Docker Engine - Community
Version: 24.0.2
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.10.5
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.18.1
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 2
Running: 1
Paused: 0
Stopped: 1
Images: 631
Server Version: 24.0.2
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc version: v1.1.7-0-g860f061
init version: de40ad0
Security Options:
seccomp
Profile: builtin
Kernel Version: 5.15.0-119-generic
Operating System: Debian GNU/Linux 12 (bookworm) (containerized)
OSType: linux
Architecture: x86_64
CPUs: 112
Total Memory: 503.3GiB
Name: 182dc380cad5
ID: 13303fda-d183-4518-95d9-9a75262b5dac
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
BuildKit is currently disabled; enable it by removing the DOCKER_BUILDKIT=0
environment-variable.
Sending build context to Docker daemon 847.9MB
Step 1/34 : FROM docker-config-engine-bookworm-sonic:latest
---> 4c9ce206b5af
Step 2/34 : ARG docker_container_name
---> Running in 47ae4bc9047e
Removing intermediate container 47ae4bc9047e
---> 874a9bca5ae9
Step 3/34 : ARG image_version
---> Running in cdb09ab96a91
Removing intermediate container cdb09ab96a91
---> 0d7039d841cb
Step 4/34 : ENV DEBIAN_FRONTEND=noninteractive
---> Running in ccfb78fc78d7
Removing intermediate container ccfb78fc78d7
---> ed10ab60e009
Step 5/34 : ENV IMAGE_VERSION=$image_version
---> Running in cdc4a421d530
Removing intermediate container cdc4a421d530
---> e6546af0891c
Step 6/34 : ARG SONIC_VERSION_CACHE
---> Running in f9f9914f2250
Removing intermediate container f9f9914f2250
---> 695dd86080f5
Step 7/34 : ARG SONIC_VERSION_CONTROL_COMPONENTS
---> Running in e7cdbe9f00d9
Removing intermediate container e7cdbe9f00d9
---> c6691baa2ebd
Step 8/34 : COPY ["buildinfo", "/usr/local/share/buildinfo"]
---> a31fd998d822
Step 9/34 : COPY vcache/ /sonic/target/vcache/docker-dhcp-relay
---> 77fe7a332646
Step 10/34 : RUN dpkg -i /usr/local/share/buildinfo/sonic-build-hooks_1.0_all.deb
---> Running in a6bc687f12f9
(Reading database ... 11226 files and directories currently installed.)
Preparing to unpack .../sonic-build-hooks_1.0_all.deb ...
Unpacking sonic-build-hooks (1.0) over (1.0) ...
Setting up sonic-build-hooks (1.0) ...
Removing intermediate container a6bc687f12f9
---> d873bfc50437
Step 11/34 : ENV IMAGENAME=docker-dhcp-relay
---> Running in 56375b1ccfc3
Removing intermediate container 56375b1ccfc3
---> 99e96b51834a
Step 12/34 : ENV DISTRO=bookworm
---> Running in e755498c855f
Removing intermediate container e755498c855f
---> ff722c3f42db
Step 13/34 : RUN pre_run_buildinfo docker-dhcp-relay
---> Running in e57f67adc9eb
Removing intermediate container e57f67adc9eb
---> 6be6bacaa115
Step 14/34 : RUN apt-get update
---> Running in f66bf7f1789a
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 [48.0 kB]
Get:5 http://debian-archive.trafficmanager.net/debian bookworm/main Sources [9494 kB]
Get:6 http://debian-archive.trafficmanager.net/debian bookworm/contrib Sources [51.1 kB]
Get:7 http://debian-archive.trafficmanager.net/debian bookworm/non-free-firmware Sources [7148 B]
Get:8 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 Packages [8791 kB]
Get:9 http://debian-archive.trafficmanager.net/debian bookworm/contrib amd64 Packages [53.5 kB]
Get:10 http://debian-archive.trafficmanager.net/debian bookworm/non-free-firmware amd64 Packages [6368 B]
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/contrib amd64 Packages [5856 B]
Get:14 http://debian-archive.trafficmanager.net/debian bookworm-backports/main amd64 Packages [298 kB]
Get:15 http://debian-archive.trafficmanager.net/debian bookworm-backports/non-free-firmware amd64 Packages [3828 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/non-free-firmware Sources [796 B]
Get:18 http://debian-archive.trafficmanager.net/debian-security bookworm-security/main Sources [183 kB]
Get:19 http://debian-archive.trafficmanager.net/debian-security bookworm-security/main amd64 Packages [287 kB]
Get:20 http://debian-archive.trafficmanager.net/debian-security bookworm-security/non-free-firmware amd64 Packages [688 B]
Get:21 http://debian-archive.trafficmanager.net/debian-security bookworm-security/contrib amd64 Packages [896 B]
Fetched 19.5 MB in 6s (3177 kB/s)
Reading package lists...
Removing intermediate container f66bf7f1789a
---> 78414c29805c
Step 15/34 : RUN apt-get install -y libjsoncpp-dev python3-dev build-essential
---> Running in 370c9ce08912
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu bzip2 cpp cpp-12 dpkg-dev
g++ g++-12 gcc gcc-12 libasan8 libbinutils libc-dev-bin libc6-dev libcc1-0
libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libexpat1-dev libgcc-12-dev
libgomp1 libgprofng0 libisl23 libitm1 libjs-jquery libjs-sphinxdoc
libjs-underscore libjsoncpp25 liblsan0 libmpc3 libmpfr6 libnsl-dev
libpython3-dev libpython3.11-dev libquadmath0 libstdc++-12-dev libtirpc-dev
libtsan2 libubsan1 linux-libc-dev make patch python3.11-dev rpcsvc-proto
xz-utils zlib1g-dev
Suggested packages:
binutils-doc bzip2-doc cpp-doc gcc-12-locales cpp-12-doc debian-keyring
g++-multilib g++-12-multilib gcc-12-doc gcc-multilib manpages-dev autoconf
automake libtool flex bison gdb gcc-doc gcc-12-multilib glibc-doc gnupg | sq
| sqop | pgpainless-cli sensible-utils git bzr libstdc++-12-doc make-doc ed
diffutils-doc
Recommended packages:
fakeroot gnupg | sq | sqop | pgpainless-cli libalgorithm-merge-perl manpages
manpages-dev libc-devtools libfile-fcntllock-perl liblocale-gettext-perl
javascript-common
The following NEW packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu build-essential bzip2 cpp
cpp-12 dpkg-dev g++ g++-12 gcc gcc-12 libasan8 libbinutils libc-dev-bin
libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl
libexpat1-dev libgcc-12-dev libgomp1 libgprofng0 libisl23 libitm1
libjs-jquery libjs-sphinxdoc libjs-underscore libjsoncpp-dev libjsoncpp25
liblsan0 libmpc3 libmpfr6 libnsl-dev libpython3-dev libpython3.11-dev
libquadmath0 libstdc++-12-dev libtirpc-dev libtsan2 libubsan1 linux-libc-dev
make patch python3-dev python3.11-dev rpcsvc-proto xz-utils zlib1g-dev
0 upgraded, 51 newly installed, 0 to remove and 17 not upgraded.
Need to get 73.4 MB of archives.
After this operation, 296 MB of additional disk space will be used.
Get:1 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 bzip2 amd64 1.0.8-5+b1 [49.8 kB]
Get:2 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 xz-utils amd64 5.4.1-1 [471 kB]
Get:3 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 binutils-common amd64 2.40-2 [2487 kB]
Get:4 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libbinutils amd64 2.40-2 [572 kB]
Get:5 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libctf-nobfd0 amd64 2.40-2 [153 kB]
Get:6 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libctf0 amd64 2.40-2 [89.8 kB]
Get:7 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libgprofng0 amd64 2.40-2 [812 kB]
Get:8 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 binutils-x86-64-linux-gnu amd64 2.40-2 [2246 kB]
Get:9 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 binutils amd64 2.40-2 [65.0 kB]
Get:10 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libc-dev-bin amd64 2.36-9+deb12u13 [47.4 kB]
Get:11 http://debian-archive.trafficmanager.net/debian-security bookworm-security/main amd64 linux-libc-dev amd64 6.1.158-1 [2204 kB]
Get:12 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libcrypt-dev amd64 1:4.4.33-2 [118 kB]
Get:13 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libtirpc-dev amd64 1.3.3+ds-1 [191 kB]
Get:14 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libnsl-dev amd64 1.3.0-2 [66.4 kB]
Get:15 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 rpcsvc-proto amd64 1.4.3-1 [63.3 kB]
Get:16 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libc6-dev amd64 2.36-9+deb12u13 [1904 kB]
Get:17 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libisl23 amd64 0.25-1.1 [683 kB]
Get:18 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libmpfr6 amd64 4.2.0-1 [701 kB]
Get:19 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libmpc3 amd64 1.3.1-1 [51.5 kB]
Get:20 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 cpp-12 amd64 12.2.0-14+deb12u1 [9768 kB]
Get:21 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 cpp amd64 4:12.2.0-3 [6836 B]
Get:22 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libcc1-0 amd64 12.2.0-14+deb12u1 [41.7 kB]
Get:23 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libgomp1 amd64 12.2.0-14+deb12u1 [116 kB]
Get:24 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libitm1 amd64 12.2.0-14+deb12u1 [26.1 kB]
Get:25 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libasan8 amd64 12.2.0-14+deb12u1 [2193 kB]
Get:26 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 liblsan0 amd64 12.2.0-14+deb12u1 [969 kB]
Get:27 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libtsan2 amd64 12.2.0-14+deb12u1 [2197 kB]
Get:28 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libubsan1 amd64 12.2.0-14+deb12u1 [883 kB]
Get:29 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libquadmath0 amd64 12.2.0-14+deb12u1 [145 kB]
Get:30 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libgcc-12-dev amd64 12.2.0-14+deb12u1 [2437 kB]
Get:31 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 gcc-12 amd64 12.2.0-14+deb12u1 [19.3 MB]
Get:32 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 gcc amd64 4:12.2.0-3 [5216 B]
Get:33 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libstdc++-12-dev amd64 12.2.0-14+deb12u1 [2047 kB]
Get:34 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 g++-12 amd64 12.2.0-14+deb12u1 [10.7 MB]
Get:35 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 g++ amd64 4:12.2.0-3 [1356 B]
Get:36 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 make amd64 4.3-4.1 [396 kB]
Get:37 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libdpkg-perl all 1.21.22 [603 kB]
Get:38 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 patch amd64 2.7.6-7 [128 kB]
Get:39 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 dpkg-dev all 1.21.22 [1353 kB]
Get:40 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B]
Get:41 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libexpat1-dev amd64 2.5.0-1+deb12u2 [151 kB]
Get:42 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB]
Get:43 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB]
Get:44 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libjs-sphinxdoc all 5.3.0-4 [130 kB]
Get:45 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libjsoncpp25 amd64 1.9.5-4 [78.6 kB]
Get:46 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libjsoncpp-dev amd64 1.9.5-4 [26.4 kB]
Get:47 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 zlib1g-dev amd64 1:1.2.13.dfsg-1 [916 kB]
Get:48 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libpython3.11-dev amd64 3.11.2-6+deb12u6 [4742 kB]
Get:49 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libpython3-dev amd64 3.11.2-1+b1 [9572 B]
Get:50 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 python3.11-dev amd64 3.11.2-6+deb12u6 [615 kB]
Get:51 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 python3-dev amd64 3.11.2-1+b1 [26.2 kB]
[91mN: Ignoring file 'debian.sources.back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
[0m[91mN: Ignoring file 'debian.sources.back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
[0mFetched 73.4 MB in 4s (19.1 MB/s)
Selecting previously unselected package bzip2.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 11226 files and directories currently installed.)
Preparing to unpack .../00-bzip2_1.0.8-5+b1_amd64.deb ...
Unpacking bzip2 (1.0.8-5+b1) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../01-xz-utils_5.4.1-1_amd64.deb ...
Unpacking xz-utils (5.4.1-1) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../02-binutils-common_2.40-2_amd64.deb ...
Unpacking binutils-common:amd64 (2.40-2) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../03-libbinutils_2.40-2_amd64.deb ...
Unpacking libbinutils:amd64 (2.40-2) ...
Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack .../04-libctf-nobfd0_2.40-2_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.40-2) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack .../05-libctf0_2.40-2_amd64.deb ...
Unpacking libctf0:amd64 (2.40-2) ...
Selecting previously unselected package libgprofng0:amd64.
Preparing to unpack .../06-libgprofng0_2.40-2_amd64.deb ...
Unpacking libgprofng0:amd64 (2.40-2) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../07-binutils-x86-64-linux-gnu_2.40-2_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.40-2) ...
Selecting previously unselected package binutils.
Preparing to unpack .../08-binutils_2.40-2_amd64.deb ...
Unpacking binutils (2.40-2) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../09-libc-dev-bin_2.36-9+deb12u13_amd64.deb ...
Unpacking libc-dev-bin (2.36-9+deb12u13) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../10-linux-libc-dev_6.1.158-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (6.1.158-1) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../11-libcrypt-dev_1%3a4.4.33-2_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.33-2) ...
Selecting previously unselected package libtirpc-dev:amd64.
Preparing to unpack .../12-libtirpc-dev_1.3.3+ds-1_amd64.deb ...
Unpacking libtirpc-dev:amd64 (1.3.3+ds-1) ...
Selecting previously unselected package libnsl-dev:amd64.
Preparing to unpack .../13-libnsl-dev_1.3.0-2_amd64.deb ...
Unpacking libnsl-dev:amd64 (1.3.0-2) ...
Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../14-rpcsvc-proto_1.4.3-1_amd64.deb ...
Unpacking rpcsvc-proto (1.4.3-1) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../15-libc6-dev_2.36-9+deb12u13_amd64.deb ...
Unpacking libc6-dev:amd64 (2.36-9+deb12u13) ...
Selecting previously unselected package libisl23:amd64.
Preparing to unpack .../16-libisl23_0.25-1.1_amd64.deb ...
Unpacking libisl23:amd64 (0.25-1.1) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../17-libmpfr6_4.2.0-1_amd64.deb ...
Unpacking libmpfr6:amd64 (4.2.0-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../18-libmpc3_1.3.1-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.3.1-1) ...
Selecting previously unselected package cpp-12.
Preparing to unpack .../19-cpp-12_12.2.0-14+deb12u1_amd64.deb ...
Unpacking cpp-12 (12.2.0-14+deb12u1) ...
Selecting previously unselected package cpp.
Preparing to unpack .../20-cpp_4%3a12.2.0-3_amd64.deb ...
Unpacking cpp (4:12.2.0-3) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../21-libcc1-0_12.2.0-14+deb12u1_amd64.deb ...
Unpacking libcc1-0:amd64 (12.2.0-14+deb12u1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../22-libgomp1_12.2.0-14+deb12u1_amd64.deb ...
Unpacking libgomp1:amd64 (12.2.0-14+deb12u1) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../23-libitm1_12.2.0-14+deb12u1_amd64.deb ...
Unpacking libitm1:amd64 (12.2.0-14+deb12u1) ...
Selecting previously unselected package libasan8:amd64.
Preparing to unpack .../24-libasan8_12.2.0-14+deb12u1_amd64.deb ...
Unpacking libasan8:amd64 (12.2.0-14+deb12u1) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../25-liblsan0_12.2.0-14+deb12u1_amd64.deb ...
Unpacking liblsan0:amd64 (12.2.0-14+deb12u1) ...
Selecting previously unselected package libtsan2:amd64.
Preparing to unpack .../26-libtsan2_12.2.0-14+deb12u1_amd64.deb ...
Unpacking libtsan2:amd64 (12.2.0-14+deb12u1) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../27-libubsan1_12.2.0-14+deb12u1_amd64.deb ...
Unpacking libubsan1:amd64 (12.2.0-14+deb12u1) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../28-libquadmath0_12.2.0-14+deb12u1_amd64.deb ...
Unpacking libquadmath0:amd64 (12.2.0-14+deb12u1) ...
Selecting previously unselected package libgcc-12-dev:amd64.
Preparing to unpack .../29-libgcc-12-dev_12.2.0-14+deb12u1_amd64.deb ...
Unpacking libgcc-12-dev:amd64 (12.2.0-14+deb12u1) ...
Selecting previously unselected package gcc-12.
Preparing to unpack .../30-gcc-12_12.2.0-14+deb12u1_amd64.deb ...
Unpacking gcc-12 (12.2.0-14+deb12u1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../31-gcc_4%3a12.2.0-3_amd64.deb ...
Unpacking gcc (4:12.2.0-3) ...
Selecting previously unselected package libstdc++-12-dev:amd64.
Preparing to unpack .../32-libstdc++-12-dev_12.2.0-14+deb12u1_amd64.deb ...
Unpacking libstdc++-12-dev:amd64 (12.2.0-14+deb12u1) ...
Selecting previously unselected package g++-12.
Preparing to unpack .../33-g++-12_12.2.0-14+deb12u1_amd64.deb ...
Unpacking g++-12 (12.2.0-14+deb12u1) ...
Selecting previously unselected package g++.
Preparing to unpack .../34-g++_4%3a12.2.0-3_amd64.deb ...
Unpacking g++ (4:12.2.0-3) ...
Selecting previously unselected package make.
Preparing to unpack .../35-make_4.3-4.1_amd64.deb ...
Unpacking make (4.3-4.1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../36-libdpkg-perl_1.21.22_all.deb ...
Unpacking libdpkg-perl (1.21.22) ...
Selecting previously unselected package patch.
Preparing to unpack .../37-patch_2.7.6-7_amd64.deb ...
Unpacking patch (2.7.6-7) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../38-dpkg-dev_1.21.22_all.deb ...
Unpacking dpkg-dev (1.21.22) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../39-build-essential_12.9_amd64.deb ...
Unpacking build-essential (12.9) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../40-libexpat1-dev_2.5.0-1+deb12u2_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.5.0-1+deb12u2) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../41-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ...
Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../42-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ...
Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../43-libjs-sphinxdoc_5.3.0-4_all.deb ...
Unpacking libjs-sphinxdoc (5.3.0-4) ...
Selecting previously unselected package libjsoncpp25:amd64.
Preparing to unpack .../44-libjsoncpp25_1.9.5-4_amd64.deb ...
Unpacking libjsoncpp25:amd64 (1.9.5-4) ...
Selecting previously unselected package libjsoncpp-dev:amd64.
Preparing to unpack .../45-libjsoncpp-dev_1.9.5-4_amd64.deb ...
Unpacking libjsoncpp-dev:amd64 (1.9.5-4) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../46-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
Selecting previously unselected package libpython3.11-dev:amd64.
Preparing to unpack .../47-libpython3.11-dev_3.11.2-6+deb12u6_amd64.deb ...
Unpacking libpython3.11-dev:amd64 (3.11.2-6+deb12u6) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../48-libpython3-dev_3.11.2-1+b1_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.11.2-1+b1) ...
Selecting previously unselected package python3.11-dev.
Preparing to unpack .../49-python3.11-dev_3.11.2-6+deb12u6_amd64.deb ...
Unpacking python3.11-dev (3.11.2-6+deb12u6) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../50-python3-dev_3.11.2-1+b1_amd64.deb ...
Unpacking python3-dev (3.11.2-1+b1) ...
Setting up binutils-common:amd64 (2.40-2) ...
Setting up linux-libc-dev:amd64 (6.1.158-1) ...
Setting up libctf-nobfd0:amd64 (2.40-2) ...
Setting up libgomp1:amd64 (12.2.0-14+deb12u1) ...
Setting up bzip2 (1.0.8-5+b1) ...
Setting up libtirpc-dev:amd64 (1.3.3+ds-1) ...
Setting up rpcsvc-proto (1.4.3-1) ...
Setting up make (4.3-4.1) ...
Setting up libmpfr6:amd64 (4.2.0-1) ...
Setting up xz-utils (5.4.1-1) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) doesn't exist
Setting up libquadmath0:amd64 (12.2.0-14+deb12u1) ...
Setting up libmpc3:amd64 (1.3.1-1) ...
Setting up patch (2.7.6-7) ...
Setting up libjsoncpp25:amd64 (1.9.5-4) ...
Setting up libdpkg-perl (1.21.22) ...
Setting up libubsan1:amd64 (12.2.0-14+deb12u1) ...
Setting up libnsl-dev:amd64 (1.3.0-2) ...
Setting up libcrypt-dev:amd64 (1:4.4.33-2) ...
Setting up libasan8:amd64 (12.2.0-14+deb12u1) ...
Setting up libtsan2:amd64 (12.2.0-14+deb12u1) ...
Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Setting up libbinutils:amd64 (2.40-2) ...
Setting up libisl23:amd64 (0.25-1.1) ...
Setting up libc-dev-bin (2.36-9+deb12u13) ...
Setting up libcc1-0:amd64 (12.2.0-14+deb12u1) ...
Setting up liblsan0:amd64 (12.2.0-14+deb12u1) ...
Setting up libitm1:amd64 (12.2.0-14+deb12u1) ...
Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Setting up libctf0:amd64 (2.40-2) ...
Setting up libjsoncpp-dev:amd64 (1.9.5-4) ...
Setting up cpp-12 (12.2.0-14+deb12u1) ...
Setting up libgprofng0:amd64 (2.40-2) ...
Setting up libgcc-12-dev:amd64 (12.2.0-14+deb12u1) ...
Setting up libjs-sphinxdoc (5.3.0-4) ...
Setting up cpp (4:12.2.0-3) ...
Setting up libc6-dev:amd64 (2.36-9+deb12u13) ...
Setting up binutils-x86-64-linux-gnu (2.40-2) ...
Setting up libstdc++-12-dev:amd64 (12.2.0-14+deb12u1) ...
Setting up binutils (2.40-2) ...
Setting up dpkg-dev (1.21.22) ...
Setting up libexpat1-dev:amd64 (2.5.0-1+deb12u2) ...
Setting up gcc-12 (12.2.0-14+deb12u1) ...
Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
Setting up g++-12 (12.2.0-14+deb12u1) ...
Setting up gcc (4:12.2.0-3) ...
Setting up libpython3.11-dev:amd64 (3.11.2-6+deb12u6) ...
Setting up g++ (4:12.2.0-3) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.9) ...
Setting up libpython3-dev:amd64 (3.11.2-1+b1) ...
Setting up python3.11-dev (3.11.2-6+deb12u6) ...
Setting up python3-dev (3.11.2-1+b1) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Removing intermediate container 370c9ce08912
---> 5a3ff5b3811c
Step 16/34 : RUN pip3 install psutil
---> Running in 730089ed4e29
Collecting psutil
Downloading psutil-7.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (22 kB)
Downloading psutil-7.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (277 kB)
Installing collected packages: psutil
Successfully installed psutil-7.0.0
[91mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[0mRemoving intermediate container 730089ed4e29
---> 44b3d9a0a5cf
Step 17/34 : COPY debs//libnl-3-200_3.7.0-0.2+b1sonic1_amd64.deb debs//libnl-route-3-200_3.7.0-0.2+b1sonic1_amd64.deb debs//libnl-genl-3-200_3.7.0-0.2+b1sonic1_amd64.deb debs//libnl-nf-3-200_3.7.0-0.2+b1sonic1_amd64.deb debs//libnl-cli-3-200_3.7.0-0.2+b1sonic1_amd64.deb debs//libyang_1.0.73_amd64.deb debs//isc-dhcp-relay_4.4.3-P1-2_amd64.deb debs//sonic-dhcpmon_1.0.0-0_amd64.deb debs//sonic-dhcp6relay_1.0.0-0_amd64.deb debs//libswsscommon_1.0.0_amd64.deb /debs/
---> 42ca779badd5
Step 18/34 : RUN dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f --no-remove; } || return 1; }; dpkg_apt /debs/libnl-3-200_3.7.0-0.2+b1sonic1_amd64.deb && dpkg_apt /debs/libnl-route-3-200_3.7.0-0.2+b1sonic1_amd64.deb && dpkg_apt /debs/libnl-genl-3-200_3.7.0-0.2+b1sonic1_amd64.deb && dpkg_apt /debs/libnl-nf-3-200_3.7.0-0.2+b1sonic1_amd64.deb && dpkg_apt /debs/libnl-cli-3-200_3.7.0-0.2+b1sonic1_amd64.deb && dpkg_apt /debs/libyang_1.0.73_amd64.deb && dpkg_apt /debs/isc-dhcp-relay_4.4.3-P1-2_amd64.deb && dpkg_apt /debs/sonic-dhcpmon_1.0.0-0_amd64.deb && dpkg_apt /debs/sonic-dhcp6relay_1.0.0-0_amd64.deb && dpkg_apt /debs/libswsscommon_1.0.0_amd64.deb
---> Running in 8cfc5110d78f
(Reading database ... 15620 files and directories currently installed.)
Preparing to unpack .../libnl-3-200_3.7.0-0.2+b1sonic1_amd64.deb ...
Unpacking libnl-3-200:amd64 (3.7.0-0.2+b1sonic1) over (3.7.0-0.2+b1sonic1) ...
Setting up libnl-3-200:amd64 (3.7.0-0.2+b1sonic1) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
(Reading database ... 15620 files and directories currently installed.)
Preparing to unpack .../libnl-route-3-200_3.7.0-0.2+b1sonic1_amd64.deb ...
Unpacking libnl-route-3-200:amd64 (3.7.0-0.2+b1sonic1) over (3.7.0-0.2+b1sonic1) ...
Setting up libnl-route-3-200:amd64 (3.7.0-0.2+b1sonic1) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
(Reading database ... 15620 files and directories currently installed.)
Preparing to unpack .../libnl-genl-3-200_3.7.0-0.2+b1sonic1_amd64.deb ...
Unpacking libnl-genl-3-200:amd64 (3.7.0-0.2+b1sonic1) over (3.7.0-0.2+b1sonic1) ...
Setting up libnl-genl-3-200:amd64 (3.7.0-0.2+b1sonic1) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
(Reading database ... 15620 files and directories currently installed.)
Preparing to unpack .../libnl-nf-3-200_3.7.0-0.2+b1sonic1_amd64.deb ...
Unpacking libnl-nf-3-200:amd64 (3.7.0-0.2+b1sonic1) over (3.7.0-0.2+b1sonic1) ...
Setting up libnl-nf-3-200:amd64 (3.7.0-0.2+b1sonic1) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
(Reading database ... 15620 files and directories currently installed.)
Preparing to unpack .../libnl-cli-3-200_3.7.0-0.2+b1sonic1_amd64.deb ...
Unpacking libnl-cli-3-200:amd64 (3.7.0-0.2+b1sonic1) over (3.7.0-0.2+b1sonic1) ...
Setting up libnl-cli-3-200:amd64 (3.7.0-0.2+b1sonic1) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
(Reading database ... 15620 files and directories currently installed.)
Preparing to unpack /debs/libyang_1.0.73_amd64.deb ...
Unpacking libyang (1.0.73) over (1.0.73) ...
Setting up libyang (1.0.73) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Selecting previously unselected package isc-dhcp-relay.
(Reading database ... 15620 files and directories currently installed.)
Preparing to unpack .../isc-dhcp-relay_4.4.3-P1-2_amd64.deb ...
Unpacking isc-dhcp-relay (4.4.3-P1-2) ...
Setting up isc-dhcp-relay (4.4.3-P1-2) ...
[91m
Configuration file '/etc/init.d/isc-dhcp-relay', does not exist on system.
Installing new config file as you requested.
[0m[91mGenerating /etc/default/isc-dhcp-relay...
[0m[91minvoke-rc.d: could not determine current runlevel
[0m[91minvoke-rc.d: policy-rc.d denied execution of start.
[0mSelecting previously unselected package sonic-dhcpmon.
(Reading database ... 15629 files and directories currently installed.)
Preparing to unpack .../sonic-dhcpmon_1.0.0-0_amd64.deb ...
Unpacking sonic-dhcpmon (1.0.0-0) ...
[91mdpkg: dependency problems prevent configuration of sonic-dhcpmon:
sonic-dhcpmon depends on libevent-2.1-7 (>= 2.1.8-stable); however:
Package libevent-2.1-7 is not installed.
sonic-dhcpmon depends on libevent-pthreads-2.1-7 (>= 2.1.8-stable); however:
Package libevent-pthreads-2.1-7 is not installed.
sonic-dhcpmon depends on libexplain51 (>= 1.4.D001); however:
Package libexplain51 is not installed.
dpkg: error processing package sonic-dhcpmon (--install):
dependency problems - leaving unconfigured
[0m[91mErrors were encountered while processing:
sonic-dhcpmon
[0mReading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
libevent-2.1-7 libevent-core-2.1-7 libevent-pthreads-2.1-7 libexplain51 lsof
The following NEW packages will be installed:
libevent-2.1-7 libevent-core-2.1-7 libevent-pthreads-2.1-7 libexplain51 lsof
0 upgraded, 5 newly installed, 0 to remove and 17 not upgraded.
1 not fully installed or removed.
Need to get 1043 kB of archives.
After this operation, 2770 kB of additional disk space will be used.
Get:1 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libevent-2.1-7 amd64 2.1.12-stable-8 [180 kB]
Get:2 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libevent-core-2.1-7 amd64 2.1.12-stable-8 [131 kB]
Get:3 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libevent-pthreads-2.1-7 amd64 2.1.12-stable-8 [53.6 kB]
Get:4 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 lsof amd64 4.95.0-1 [318 kB]
Get:5 http://debian-archive.trafficmanager.net/debian bookworm/main amd64 libexplain51 amd64 1.4.D001-12+b1 [360 kB]
[91mN: Ignoring file 'debian.sources.back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
[0mFetched 1043 kB in 1s (1991 kB/s)
Selecting previously unselected package libevent-2.1-7:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 15632 files and directories currently installed.)
Preparing to unpack .../libevent-2.1-7_2.1.12-stable-8_amd64.deb ...
Unpacking libevent-2.1-7:amd64 (2.1.12-stable-8) ...
Selecting previously unselected package libevent-core-2.1-7:amd64.
Preparing to unpack .../libevent-core-2.1-7_2.1.12-stable-8_amd64.deb ...
Unpacking libevent-core-2.1-7:amd64 (2.1.12-stable-8) ...
Selecting previously unselected package libevent-pthreads-2.1-7:amd64.
Preparing to unpack .../libevent-pthreads-2.1-7_2.1.12-stable-8_amd64.deb ...
Unpacking libevent-pthreads-2.1-7:amd64 (2.1.12-stable-8) ...
Selecting previously unselected package lsof.
Preparing to unpack .../lsof_4.95.0-1_amd64.deb ...
Unpacking lsof (4.95.0-1) ...
Selecting previously unselected package libexplain51:amd64.
Preparing to unpack .../libexplain51_1.4.D001-12+b1_amd64.deb ...
Unpacking libexplain51:amd64 (1.4.D001-12+b1) ...
Setting up libevent-core-2.1-7:amd64 (2.1.12-stable-8) ...
Setting up libevent-2.1-7:amd64 (2.1.12-stable-8) ...
Setting up lsof (4.95.0-1) ...
Setting up libexplain51:amd64 (1.4.D001-12+b1) ...
Setting up libevent-pthreads-2.1-7:amd64 (2.1.12-stable-8) ...
Setting up sonic-dhcpmon (1.0.0-0) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Selecting previously unselected package sonic-dhcp6relay.
(Reading database ... 15681 files and directories currently installed.)
Preparing to unpack .../sonic-dhcp6relay_1.0.0-0_amd64.deb ...
Unpacking sonic-dhcp6relay (1.0.0-0) ...
Setting up sonic-dhcp6relay (1.0.0-0) ...
(Reading database ... 15684 files and directories currently installed.)
Preparing to unpack .../libswsscommon_1.0.0_amd64.deb ...
Unpacking libswsscommon (1.0.0) over (1.0.0) ...
Setting up libswsscommon (1.0.0) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Removing intermediate container 8cfc5110d78f
---> 3dab2b376215
Step 19/34 : COPY python-wheels//sonic_dhcp_utilities-1.0-py3-none-any.whl /python-wheels/
---> b77a67076e7c
Step 20/34 : RUN cd /python-wheels/ && pip3 install sonic_dhcp_utilities-1.0-py3-none-any.whl
---> Running in b8b6426ca60a
Processing ./sonic_dhcp_utilities-1.0-py3-none-any.whl
Collecting freezegun (from sonic-dhcp-utilities==1.0)
Downloading freezegun-1.5.1-py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: psutil in /usr/local/lib/python3.11/dist-packages (from sonic-dhcp-utilities==1.0) (7.0.0)
Collecting python-dateutil>=2.7 (from freezegun->sonic-dhcp-utilities==1.0)
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.11/dist-packages (from python-dateutil>=2.7->freezegun->sonic-dhcp-utilities==1.0) (1.17.0)
Downloading freezegun-1.5.1-py3-none-any.whl (17 kB)
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Installing collected packages: python-dateutil, freezegun, sonic-dhcp-utilities
Successfully installed freezegun-1.5.1 python-dateutil-2.9.0.post0 sonic-dhcp-utilities-1.0
[91mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[0mRemoving intermediate container b8b6426ca60a
---> a0d1d57a56b5
Step 21/34 : RUN apt-get remove -y build-essential python3-dev
---> Running in 753fa3925654
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
binutils binutils-common binutils-x86-64-linux-gnu bzip2 cpp cpp-12 dpkg-dev
g++ g++-12 gcc gcc-12 libasan8 libbinutils libc-dev-bin libc6-dev libcc1-0
libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libexpat1-dev libgcc-12-dev
libgomp1 libgprofng0 libisl23 libitm1 libjs-jquery libjs-sphinxdoc
libjs-underscore liblsan0 libmpc3 libmpfr6 libnsl-dev libpython3-dev
libpython3.11-dev libquadmath0 libstdc++-12-dev libtirpc-dev libtsan2
libubsan1 linux-libc-dev make patch python3.11-dev rpcsvc-proto xz-utils
zlib1g-dev
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
build-essential python3-dev
0 upgraded, 0 newly installed, 2 to remove and 17 not upgraded.
After this operation, 179 kB disk space will be freed.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 15684 files and directories currently installed.)
Removing build-essential (12.9) ...
Removing python3-dev (3.11.2-1+b1) ...
Removing intermediate container 753fa3925654
---> 995255e0571e
Step 22/34 : RUN apt-get clean -y && apt-get autoclean -y && apt-get autoremove -y && rm -rf /debs
---> Running in 68bc2f31f5ef
Reading package lists...
Building dependency tree...
Reading state information...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
binutils binutils-common binutils-x86-64-linux-gnu bzip2 cpp cpp-12 dpkg-dev
g++ g++-12 gcc gcc-12 libasan8 libbinutils libc-dev-bin libc6-dev libcc1-0
libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libexpat1-dev libgcc-12-dev
libgomp1 libgprofng0 libisl23 libitm1 libjs-jquery libjs-sphinxdoc
libjs-underscore liblsan0 libmpc3 libmpfr6 libnsl-dev libpython3-dev
libpython3.11-dev libquadmath0 libstdc++-12-dev libtirpc-dev libtsan2
libubsan1 linux-libc-dev make patch python3.11-dev rpcsvc-proto xz-utils
zlib1g-dev
0 upgraded, 0 newly installed, 47 to remove and 17 not upgraded.
After this operation, 296 MB disk space will be freed.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 15654 files and directories currently installed.)
Removing g++ (4:12.2.0-3) ...
Removing gcc (4:12.2.0-3) ...
Removing dpkg-dev (1.21.22) ...
Removing bzip2 (1.0.8-5+b1) ...
Removing cpp (4:12.2.0-3) ...
Removing g++-12 (12.2.0-14+deb12u1) ...
Removing libstdc++-12-dev:amd64 (12.2.0-14+deb12u1) ...
Removing python3.11-dev (3.11.2-6+deb12u6) ...
Removing libpython3-dev:amd64 (3.11.2-1+b1) ...
Removing libpython3.11-dev:amd64 (3.11.2-6+deb12u6) ...
Removing libexpat1-dev:amd64 (2.5.0-1+deb12u2) ...
Removing zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
Removing libc6-dev:amd64 (2.36-9+deb12u13) ...
Removing libc-dev-bin (2.36-9+deb12u13) ...
Removing libcrypt-dev:amd64 (1:4.4.33-2) ...
Removing libdpkg-perl (1.21.22) ...
Removing libjs-sphinxdoc (5.3.0-4) ...
Removing libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Removing libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Removing libnsl-dev:amd64 (1.3.0-2) ...
Removing libtirpc-dev:amd64 (1.3.3+ds-1) ...
Removing linux-libc-dev:amd64 (6.1.158-1) ...
Removing make (4.3-4.1) ...
Removing patch (2.7.6-7) ...
Removing rpcsvc-proto (1.4.3-1) ...
Removing xz-utils (5.4.1-1) ...
Removing gcc-12 (12.2.0-14+deb12u1) ...
Removing binutils (2.40-2) ...
Removing binutils-x86-64-linux-gnu (2.40-2) ...
Removing libgprofng0:amd64 (2.40-2) ...
Removing libctf0:amd64 (2.40-2) ...
Removing libbinutils:amd64 (2.40-2) ...
Removing binutils-common:amd64 (2.40-2) ...
Removing cpp-12 (12.2.0-14+deb12u1) ...
Removing libgcc-12-dev:amd64 (12.2.0-14+deb12u1) ...
Removing libasan8:amd64 (12.2.0-14+deb12u1) ...
Removing libcc1-0:amd64 (12.2.0-14+deb12u1) ...
Removing libctf-nobfd0:amd64 (2.40-2) ...
Removing libgomp1:amd64 (12.2.0-14+deb12u1) ...
Removing libisl23:amd64 (0.25-1.1) ...
Removing libitm1:amd64 (12.2.0-14+deb12u1) ...
Removing liblsan0:amd64 (12.2.0-14+deb12u1) ...
Removing libmpc3:amd64 (1.3.1-1) ...
Removing libmpfr6:amd64 (4.2.0-1) ...
Removing libquadmath0:amd64 (12.2.0-14+deb12u1) ...
Removing libtsan2:amd64 (12.2.0-14+deb12u1) ...
Removing libubsan1:amd64 (12.2.0-14+deb12u1) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Removing intermediate container 68bc2f31f5ef
---> 5fdf435b301c
Step 23/34 : COPY ["docker_init.sh", "start.sh", "/usr/bin/"]
---> 201a06fa3823
Step 24/34 : COPY ["docker-dhcp-relay.supervisord.conf.j2", "port-name-alias-map.txt.j2", "wait_for_intf.sh.j2", "/usr/share/sonic/templates/"]
---> 3f3053f5a03f
Step 25/34 : COPY ["dhcp-relay.programs.j2", "dhcpv4-relay.agents.j2", "dhcpv6-relay.agents.j2", "dhcp-relay.monitors.j2", "/usr/share/sonic/templates/"]
---> 49b1629739bb
Step 26/34 : COPY ["files/supervisor-proc-exit-listener", "/usr/bin"]
---> 15a3ee1507dc
Step 27/34 : COPY ["critical_processes", "/etc/supervisor"]
---> f2794411c46f
Step 28/34 : COPY ["cli", "/cli/"]
---> 90a011c1e124
Step 29/34 : ENTRYPOINT ["/usr/bin/docker_init.sh"]
---> Running in 2fa68a1b6f79
Removing intermediate container 2fa68a1b6f79
---> 7de60d7e96c4
Step 30/34 : RUN post_run_buildinfo docker-dhcp-relay
---> Running in 8cdac4f7dfef
./
./pip/
./deb/
Removing intermediate container 8cdac4f7dfef
---> 34154dbb4b02
Step 31/34 : RUN post_run_cleanup docker-dhcp-relay
---> Running in d5abfd7b458c
[91m++ get_version_cache_option
[0m[91m++ '[' '!' -z ']'
++ echo -n ''
++ return 1
[0m[91m+ '[' '!' -z '' ']'
[0m[91m+ apt-get -s clean -y
[0mDel /var/cache/apt/archives/* /var/cache/apt/archives/partial/*
Del /var/lib/apt/lists/partial/*
Del
[91m+ apt-get -s autoclean -y
[0mReading package lists...
Building dependency tree...
Reading state information...
[91m+ apt-get -s autoremove -y
[0mReading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
[91m+ rm -f '/var/cache/apt/archives/*.deb' '/var/cache/apt/*.bin'
[0m[91m+ [[ ! docker-dhcp-relay =~ -slave- ]]
[0m[91m+ rm -f /var/lib/apt/lists/auxfiles /var/lib/apt/lists/debian-archive.trafficmanager.net_debian-security_dists_bookworm-security_InRelease /var/lib/apt/lists/debian-archive.trafficmanager.net_debian-security_dists_bookworm-security_contrib_binary-amd64_Packages.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian-security_dists_bookworm-security_contrib_source_Sources.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian-security_dists_bookworm-security_main_binary-amd64_Packages.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian-security_dists_bookworm-security_main_source_Sources.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian-security_dists_bookworm-security_non-free-firmware_binary-amd64_Packages.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian-security_dists_bookworm-security_non-free-firmware_source_Sources.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian_dists_bookworm-backports_InRelease /var/lib/apt/lists/debian-archive.trafficmanager.net_debian_dists_bookworm-backports_contrib_binary-amd64_Packages.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian_dists_bookworm-backports_main_binary-amd64_Packages.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian_dists_bookworm-backports_non-free-firmware_binary-amd64_Packages.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian_dists_bookworm-updates_InRelease /var/lib/apt/lists/debian-archive.trafficmanager.net_debian_dists_bookworm-updates_main_binary-amd64_Packages.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian_dists_bookworm-updates_main_source_Sources.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian_dists_bookworm_InRelease /var/lib/apt/lists/debian-archive.trafficmanager.net_debian_dists_bookworm_contrib_binary-amd64_Packages.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian_dists_bookworm_contrib_source_Sources.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian_dists_bookworm_main_binary-amd64_Packages.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian_dists_bookworm_main_source_Sources.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian_dists_bookworm_non-free-firmware_binary-amd64_Packages.lz4 /var/lib/apt/lists/debian-archive.trafficmanager.net_debian_dists_bookworm_non-free-firmware_source_Sources.lz4 /var/lib/apt/lists/lock /var/lib/apt/lists/partial
[0m[91mrm: cannot remove '/var/lib/apt/lists/auxfiles': Is a directory
[0m[91mrm: cannot remove '/var/lib/apt/lists/partial': Is a directory
[0m[91m+ rm -rf /sonic/target /ssh
[0m[91m+ rm -f '/tmp/*'
[0m[91m+ rm -rf /debs /python-wheels /root/.cache
[0m[91m+ find /
[0m[91m+ grep -E __pycache__
[0m[91m+ xargs rm -rf
[0m[91m+ rm -rf '/usr/local/share/buildinfo/build-versions/*'
[0m[91m+ symlink_build_hooks -d
[0m[91m+ set_reproducible_mirrors -d
[0m[91m+ local 'expression=s/^#\s*\(.*http:\/\/packages.trafficmanager.net\/\)/\1/'
+ local 'expression2=/^#*deb.*http:\/\/packages.trafficmanager.net\//! s/^#*deb/#&/'
+ local 'expression3=$a#SET_REPR_MIRRORS'
+ '[' -d = -d ']'
[0m[91m+ expression='s/^deb.*http:\/\/packages.trafficmanager.net\//#\0/'
+ expression2='/^#*deb.*http:\/\/packages.trafficmanager.net\//! s/^#\s*(#*deb)/\1/'
+ expression3=/#SET_REPR_MIRRORS/d
[0m[91m+ [[ -d != \-\d ]]
+ [[ -d == \-\d ]]
[0m[91m+ '[' -f /etc/apt/sources.list.d/debian.sources.back ']'
[0m[91m+ mv /etc/apt/sources.list.d/debian.sources.back /etc/apt/sources.list.d/debian.sources
[0m[91m++ find /etc/apt/sources.list.d/ -type f
[0m[91m+ local 'mirrors=/etc/apt/sources.list /etc/apt/sources.list.d/debian.sources'
[0m[91m+ for mirror in $mirrors
[0m[91m+ grep -iq 'http:\/\/packages.trafficmanager.net\/' /etc/apt/sources.list
[0m[91m+ continue
+ for mirror in $mirrors
[0m[91m+ grep -iq 'http:\/\/packages.trafficmanager.net\/' /etc/apt/sources.list.d/debian.sources
[0m[91m+ continue
[0m[91m+ rm -f /usr/local/share/buildinfo/versions/01-versions-deb
[0m[91m+ rm -f /etc/apt/preferences.d/01-versions-deb
[0mRemoving intermediate container d5abfd7b458c
---> 9cc453efe2dc
Step 32/34 : LABEL Tag=etri-202505.13-0216238cd
---> Running in 408ef60c747d
Removing intermediate container 408ef60c747d
---> 35e2199011eb
Step 33/34 : LABEL com.azure.sonic.manifest=
{
"version": "1.0.0",
"package": {
"version": "1.0.0",
"depends": ["database^1.0.0"],
"name": "dhcp-relay"
},
"service": {
"name": "dhcp_relay",
"requires": ["config-setup"],
"after": ["swss", "syncd", "teamd"],
"before": [],
"dependent-of": ["swss"],
"asic-service": false,
"host-service": true,
"warm-shutdown": {
"after": [],
"before": []
},
"fast-shutdown": {
"after": [],
"before": []
},
"syslog": {
"support-rate-limit": true
}
},
"container": {
"privileged": false,
"volumes": ["/etc/sonic:/etc/sonic:ro", "/etc/localtime:/etc/localtime:ro"],
"tmpfs": ["/tmp/", "/var/tmp/"]
},
"cli": {
"config": "/cli/config/plugins/dhcp_relay.py",
"show": "/cli/show/plugins/show_dhcp_relay.py",
"clear": "/cli/clear/plugins/clear_dhcp_relay.py"
}
}
---> Running in 3110ea946b9c
Removing intermediate container 3110ea946b9c
---> afb8bc4ad3f9
Step 34/34 : LABEL com.azure.sonic.versions.libswsscommon=1.0.0
---> Running in efb8f0540d2f
Removing intermediate container efb8f0540d2f
---> f7da0fdc1416
[Warning] One or more build-args [uid user frr_user_gid frr_user_uid guid SONIC_VERSION_CACHE_SOURCE] were not consumed
Successfully built 9315de9f706a
Successfully tagged docker-dhcp-relay-sonic:latest
e3c29c4f13e8c56f0675c2c12719265a23b3c71f74422faf16301e8d78807294
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile.cleanup
#2 transferring dockerfile: 312B done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/docker-dhcp-relay-sonic:latest
#3 DONE 0.0s
#4 FROM docker.io/library/docker-dhcp-relay-sonic:latest
#4 DONE 0.0s
#5 [output 1/1] COPY --from=docker-dhcp-relay-sonic:latest /cache.tgz cache.tgz
#5 DONE 0.0s
#6 exporting to client directory
#6 copying files 180B done
#6 DONE 0.0s
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile.cleanup
#2 transferring dockerfile: 312B done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/docker-dhcp-relay-sonic:latest
#3 DONE 0.0s
#4 [final 1/2] FROM docker.io/library/docker-dhcp-relay-sonic:latest
#4 CACHED
#5 [final 2/2] RUN rm /cache.tgz
#5 DONE 1.3s
#6 exporting to image
#6 exporting layers done
#6 writing image sha256:d65e2a04c08a7d139ca3ba81d34a8762a3de4acaa933a492cb691e0eae1e569b done
#6 naming to docker.io/library/docker-dhcp-relay-sonic:latest done
#6 DONE 0.0s
Error response from daemon: conflict: unable to remove repository reference "tmp-docker-dhcp-relay-sonic:latest" (must force) - container e3c29c4f13e8 is using its referenced image 9315de9f706a
sync: error opening 'dockers/docker-dhcp-relay/vcache/cache.base64': No such file or directory
docker-dhcp-relay-sonic-latest
Attempting docker image lock for docker-dhcp-relay save
Obtained docker image lock for docker-dhcp-relay save
Tagging docker image docker-dhcp-relay-sonic:latest as docker-dhcp-relay:latest
Saving docker image docker-dhcp-relay:latest
Released docker image lock for docker-dhcp-relay save
Removing docker image docker-dhcp-relay-sonic:latest
Untagged: docker-dhcp-relay-sonic:latest
Build end time: Thu Nov 20 08:22:43 UTC 2025
Elapsed time: 0h 2m 58s
|