Build start time: Fri Jul 4 09:04:31 UTC 2025
[ REASON ] : target/python-wheels/bullseye/sonic_xcvrd-1.0-py3-none-any.whl does not exist NON-EXISTENT PREREQUISITES: target/python-wheels/bullseye/sonic_py_common-1.0-py3-none-any.whl-install target/python-wheels/bullseye/sonic_platform_common-1.0-py3-none-any.whl-install target/debs/bullseye/libswsscommon_1.0.0_amd64.deb-install target/debs/bullseye/python3-swsscommon_1.0.0_amd64.deb-install
[ FLAGS FILE ] : []
[ FLAGS DEPENDS ] : []
[ FLAGS DIFF ] : []
/sonic/src/sonic-platform-daemons/sonic-xcvrd /sonic
running pytest
running egg_info
writing sonic_xcvrd.egg-info/PKG-INFO
writing dependency_links to sonic_xcvrd.egg-info/dependency_links.txt
writing entry points to sonic_xcvrd.egg-info/entry_points.txt
writing requirements to sonic_xcvrd.egg-info/requires.txt
writing top-level names to sonic_xcvrd.egg-info/top_level.txt
reading manifest file 'sonic_xcvrd.egg-info/SOURCES.txt'
writing manifest file 'sonic_xcvrd.egg-info/SOURCES.txt'
running build_ext
============================= test session starts ==============================
platform linux -- Python 3.9.2, pytest-6.0.2, py-1.10.0, pluggy-0.13.0 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /sonic/src/sonic-platform-daemons/sonic-xcvrd, configfile: pytest.ini
plugins: pyfakefs-5.8.0, cov-2.10.1
collecting ... collected 163 items
tests/test_xcvrd.py::TestXcvrdThreadException::test_CmisManagerTask_task_run_with_exception PASSED [ 0%]
tests/test_xcvrd.py::TestXcvrdThreadException::test_CmisManagerTask_get_xcvr_api_exception PASSED [ 1%]
tests/test_xcvrd.py::TestXcvrdThreadException::test_DomInfoUpdateTask_task_run_with_exception PASSED [ 1%]
tests/test_xcvrd.py::TestXcvrdThreadException::test_SfpStateUpdateTask_task_run_with_exception PASSED [ 2%]
tests/test_xcvrd.py::TestXcvrdThreadException::test_DaemonXcvrd_run_with_exception PASSED [ 3%]
tests/test_xcvrd.py::TestXcvrdScript::test_is_cmis_api[CmisApi-True] PASSED [ 3%]
tests/test_xcvrd.py::TestXcvrdScript::test_is_cmis_api[CCmisApi-True] PASSED [ 4%]
tests/test_xcvrd.py::TestXcvrdScript::test_is_cmis_api[Sff8636Api-False] PASSED [ 4%]
tests/test_xcvrd.py::TestXcvrdScript::test_is_cmis_api[Sff8436Api-False] PASSED [ 5%]
tests/test_xcvrd.py::TestXcvrdScript::test_post_port_dom_info_to_db PASSED [ 6%]
tests/test_xcvrd.py::TestXcvrdScript::test_post_port_sfp_firmware_info_to_db PASSED [ 6%]
tests/test_xcvrd.py::TestXcvrdScript::test_post_port_pm_info_to_db PASSED [ 7%]
tests/test_xcvrd.py::TestXcvrdScript::test_del_port_sfp_dom_info_from_db PASSED [ 7%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_cmis_state_from_state_db[True-mock_status_dict0-INSERTED] PASSED [ 8%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_cmis_state_from_state_db[False-mock_status_dict1-UNKNOWN] PASSED [ 9%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_cmis_state_from_state_db[True-mock_status_dict2-UNKNOWN] PASSED [ 9%]
tests/test_xcvrd.py::TestXcvrdScript::test_update_port_transceiver_status_table_hw PASSED [ 10%]
tests/test_xcvrd.py::TestXcvrdScript::test_delete_port_from_status_table_hw PASSED [ 11%]
tests/test_xcvrd.py::TestXcvrdScript::test_delete_port_from_status_table_sw PASSED [ 11%]
tests/test_xcvrd.py::TestXcvrdScript::test_post_port_dom_threshold_info_to_db PASSED [ 12%]
tests/test_xcvrd.py::TestXcvrdScript::test_post_port_sfp_info_to_db PASSED [ 12%]
tests/test_xcvrd.py::TestXcvrdScript::test_post_port_sfp_info_and_dom_thr_to_db_once PASSED [ 13%]
tests/test_xcvrd.py::TestXcvrdScript::test_init_port_sfp_status_tbl PASSED [ 14%]
tests/test_xcvrd.py::TestXcvrdScript::test_load_media_settings_missing_file PASSED [ 14%]
tests/test_xcvrd.py::TestXcvrdScript::test_load_optical_si_settings_missing_file PASSED [ 15%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_key PASSED [ 15%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_speed_lane_count_and_subport[True-data0-expected0] PASSED [ 16%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_speed_lane_count_and_subport[True-data1-expected1] PASSED [ 17%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_speed_lane_count_and_subport[True-data2-expected2] PASSED [ 17%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_speed_lane_count_and_subport[True-data3-expected3] PASSED [ 18%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_speed_lane_count_and_subport[False-data4-expected4] PASSED [ 19%]
tests/test_xcvrd.py::TestXcvrdScript::test_is_si_per_speed_supported PASSED [ 19%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict0-7-key0-expected0] PASSED [ 20%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict1-7-key1-expected1] PASSED [ 20%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict2-7-key2-expected2] PASSED [ 21%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict3-7-key3-expected3] PASSED [ 22%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict4-7-key4-expected4] PASSED [ 22%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict5-7-key5-expected5] PASSED [ 23%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict6-7-key6-expected6] PASSED [ 23%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict7-7-key7-expected7] PASSED [ 24%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict8-7-key8-expected8] PASSED [ 25%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict9-7-key9-expected9] PASSED [ 25%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict10-7-key10-expected10] PASSED [ 26%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict11-7-key11-expected11] PASSED [ 26%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict12-7-key12-expected12] PASSED [ 27%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict13-6-key13-expected13] PASSED [ 28%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict14--1-key14-expected14] PASSED [ 28%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict15-7-key15-expected15] PASSED [ 29%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict16-7-key16-expected16] PASSED [ 30%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict17-7-key17-expected17] PASSED [ 30%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict18-7-key18-expected18] PASSED [ 31%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict19-7-key19-expected19] PASSED [ 31%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict20-7-key20-expected20] PASSED [ 32%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict21-7-key21-expected21] PASSED [ 33%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict22-7-key22-expected22] PASSED [ 33%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict23-7-key23-expected23] PASSED [ 34%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict24-7-key24-expected24] PASSED [ 34%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict25-7-key25-expected25] PASSED [ 35%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict26-7-key26-expected26] PASSED [ 36%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict27-7-key27-expected27] PASSED [ 36%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict28-7-key28-expected28] PASSED [ 37%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict29-7-key29-expected29] PASSED [ 38%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_media_settings_value[media_settings_dict30-7-key30-expected30] PASSED [ 38%]
tests/test_xcvrd.py::TestXcvrdScript::test_notify_media_setting PASSED [ 39%]
tests/test_xcvrd.py::TestXcvrdScript::test_notify_media_setting_with_comma PASSED [ 39%]
tests/test_xcvrd.py::TestXcvrdScript::test_fetch_optics_si_setting PASSED [ 40%]
tests/test_xcvrd.py::TestXcvrdScript::test_fetch_optics_si_setting_with_comma PASSED [ 41%]
tests/test_xcvrd.py::TestXcvrdScript::test_fetch_optics_si_setting_with_port PASSED [ 41%]
tests/test_xcvrd.py::TestXcvrdScript::test_fetch_optics_si_setting_negative PASSED [ 42%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_module_vendor_key PASSED [ 42%]
tests/test_xcvrd.py::TestXcvrdScript::test_detect_port_in_error_status PASSED [ 43%]
tests/test_xcvrd.py::TestXcvrdScript::test_is_error_sfp_status PASSED [ 44%]
tests/test_xcvrd.py::TestXcvrdScript::test_handle_port_update_event PASSED [ 44%]
tests/test_xcvrd.py::TestXcvrdScript::test_handle_port_config_change PASSED [ 45%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_port_mapping PASSED [ 46%]
tests/test_xcvrd.py::TestXcvrdScript::test_DaemonXcvrd_wait_for_port_config_done PASSED [ 46%]
tests/test_xcvrd.py::TestXcvrdScript::test_DaemonXcvrd_run PASSED [ 47%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_update_port_transceiver_status_table_sw_cmis_state PASSED [ 47%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_handle_port_change_event PASSED [ 48%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_get_configured_freq PASSED [ 49%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_get_configured_tx_power_from_db PASSED [ 49%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_task_run_stop PASSED [ 50%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_is_appl_reconfigure_required[2-lane_appl_code0-True] PASSED [ 50%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_is_appl_reconfigure_required[0-lane_appl_code1-True] PASSED [ 51%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_is_appl_reconfigure_required[1-lane_appl_code2-False] PASSED [ 52%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_is_cmis_application_update_required[1-15-lane_appl_code0-default_dp_state0-default_config_status0-False] PASSED [ 52%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_is_cmis_application_update_required[1-15-lane_appl_code1-default_dp_state1-default_config_status1-True] PASSED [ 53%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_is_cmis_application_update_required[1-240-lane_appl_code2-default_dp_state2-default_config_status2-False] PASSED [ 53%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_is_cmis_application_update_required[1-240-lane_appl_code3-default_dp_state3-default_config_status3-True] PASSED [ 54%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_is_cmis_application_update_required[1-240-lane_appl_code4-default_dp_state4-default_config_status4-True] PASSED [ 55%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_is_cmis_application_update_required[4-240-lane_appl_code5-default_dp_state5-default_config_status5-True] PASSED [ 55%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_is_cmis_application_update_required[3-192-lane_appl_code6-default_dp_state6-default_config_status6-False] PASSED [ 56%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_is_cmis_application_update_required[1-15-lane_appl_code7-default_dp_state7-default_config_status7-True] PASSED [ 57%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_is_cmis_application_update_required[-1-15-lane_appl_code8-default_dp_state8-default_config_status8-False] PASSED [ 57%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[800G L C2M-800000] PASSED [ 58%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[400G CR8-400000] PASSED [ 58%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[200GBASE-CR4 (Clause 136)-200000] PASSED [ 59%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[100GBASE-CR2 (Clause 136)-100000] PASSED [ 60%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[CAUI-4 C2M (Annex 83E)-100000] PASSED [ 60%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[50GBASE-CR-50000] PASSED [ 61%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[LAUI-2 C2M (Annex 135C)-50000] PASSED [ 61%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[40GBASE-CR4 (Clause 85)-40000] PASSED [ 62%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[XLAUI C2M (Annex 83B)-40000] PASSED [ 63%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[XLPPI (Annex 86A)-40000] PASSED [ 63%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[25GBASE-CR CA-N (Clause 110)-25000] PASSED [ 64%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[10GBASE-CX4 (Clause 54)-10000] PASSED [ 65%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[SFI (SFF-8431)-10000] PASSED [ 65%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[XFI (SFF INF-8071i)-10000] PASSED [ 66%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[1000BASE -CX(Clause 39)-1000] PASSED [ 66%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_interface_speed[Unknown Interface-0] PASSED [ 67%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_get_cmis_host_lanes_mask[8-400000-0-255] PASSED [ 68%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_get_cmis_host_lanes_mask[4-100000-1-15] PASSED [ 68%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_get_cmis_host_lanes_mask[4-100000-2-240] PASSED [ 69%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_get_cmis_host_lanes_mask[4-100000-0-15] PASSED [ 69%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_get_cmis_host_lanes_mask[4-100000-9-0] PASSED [ 70%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_get_cmis_host_lanes_mask[1-50000-2-2] PASSED [ 71%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_get_cmis_host_lanes_mask[1-200000-2-0] PASSED [ 71%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_post_port_active_apsel_to_db_error_cases PASSED [ 72%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_post_port_active_apsel_to_db PASSED [ 73%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_task_worker PASSED [ 73%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_task_worker_fastboot PASSED [ 74%]
tests/test_xcvrd.py::TestXcvrdScript::test_CmisManagerTask_task_worker_host_tx_ready_false PASSED [ 74%]
tests/test_xcvrd.py::TestXcvrdScript::test_DomInfoUpdateTask_get_dom_polling_from_config_db[Ethernet0-disabled] PASSED [ 75%]
tests/test_xcvrd.py::TestXcvrdScript::test_DomInfoUpdateTask_get_dom_polling_from_config_db[Ethernet4-disabled] PASSED [ 76%]
tests/test_xcvrd.py::TestXcvrdScript::test_DomInfoUpdateTask_get_dom_polling_from_config_db[Ethernet8-disabled] PASSED [ 76%]
tests/test_xcvrd.py::TestXcvrdScript::test_DomInfoUpdateTask_get_dom_polling_from_config_db[Ethernet12-disabled] PASSED [ 77%]
tests/test_xcvrd.py::TestXcvrdScript::test_DomInfoUpdateTask_get_dom_polling_from_config_db[Ethernet16-enabled] PASSED [ 77%]
tests/test_xcvrd.py::TestXcvrdScript::test_DomInfoUpdateTask_get_dom_polling_from_config_db[Ethernet20-enabled] PASSED [ 78%]
tests/test_xcvrd.py::TestXcvrdScript::test_DomInfoUpdateTask_is_port_in_cmis_initialization_process[True-False-None-False] PASSED [ 79%]
tests/test_xcvrd.py::TestXcvrdScript::test_DomInfoUpdateTask_is_port_in_cmis_initialization_process[False-False-INSERTED-True] PASSED [ 79%]
tests/test_xcvrd.py::TestXcvrdScript::test_DomInfoUpdateTask_is_port_in_cmis_initialization_process[False-False-READY-False] PASSED [ 80%]
tests/test_xcvrd.py::TestXcvrdScript::test_DomInfoUpdateTask_is_port_in_cmis_initialization_process[False-False-UNKNOWN-True] PASSED [ 80%]
tests/test_xcvrd.py::TestXcvrdScript::test_DomInfoUpdateTask_is_port_in_cmis_initialization_process[False-True-None-False] PASSED [ 81%]
tests/test_xcvrd.py::TestXcvrdScript::test_DomInfoUpdateTask_handle_port_change_event PASSED [ 82%]
tests/test_xcvrd.py::TestXcvrdScript::test_DomInfoUpdateTask_task_run_stop PASSED [ 82%]
tests/test_xcvrd.py::TestXcvrdScript::test_DomInfoUpdateTask_task_worker PASSED [ 83%]
tests/test_xcvrd.py::TestXcvrdScript::test_SfpStateUpdateTask_handle_port_change_event PASSED [ 84%]
tests/test_xcvrd.py::TestXcvrdScript::test_SfpStateUpdateTask_task_run_stop PASSED [ 84%]
tests/test_xcvrd.py::TestXcvrdScript::test_SfpStateUpdateTask_retry_eeprom_reading PASSED [ 85%]
tests/test_xcvrd.py::TestXcvrdScript::test_SfpStateUpdateTask_mapping_event_from_change_event PASSED [ 85%]
tests/test_xcvrd.py::TestXcvrdScript::test_SfpStateUpdateTask_task_worker PASSED [ 86%]
tests/test_xcvrd.py::TestXcvrdScript::test_SfpStateUpdateTask_on_add_logical_port PASSED [ 87%]
tests/test_xcvrd.py::TestXcvrdScript::test_sfp_insert_events PASSED [ 87%]
tests/test_xcvrd.py::TestXcvrdScript::test_sfp_remove_events PASSED [ 88%]
tests/test_xcvrd.py::TestXcvrdScript::test_wrapper_get_presence PASSED [ 88%]
tests/test_xcvrd.py::TestXcvrdScript::test_wrapper_is_replaceable PASSED [ 89%]
tests/test_xcvrd.py::TestXcvrdScript::test_wrapper_get_transceiver_info PASSED [ 90%]
tests/test_xcvrd.py::TestXcvrdScript::test_wrapper_get_transceiver_firmware_info PASSED [ 90%]
tests/test_xcvrd.py::TestXcvrdScript::test_wrapper_get_transceiver_dom_info PASSED [ 91%]
tests/test_xcvrd.py::TestXcvrdScript::test_wrapper_get_transceiver_dom_threshold_info PASSED [ 92%]
tests/test_xcvrd.py::TestXcvrdScript::test_wrapper_get_transceiver_status PASSED [ 92%]
tests/test_xcvrd.py::TestXcvrdScript::test_wrapper_get_transceiver_pm PASSED [ 93%]
tests/test_xcvrd.py::TestXcvrdScript::test_wrapper_get_transceiver_change_event PASSED [ 93%]
tests/test_xcvrd.py::TestXcvrdScript::test_wrapper_get_sfp_type PASSED [ 94%]
tests/test_xcvrd.py::TestXcvrdScript::test_wrapper_get_sfp_error_description PASSED [ 95%]
tests/test_xcvrd.py::TestXcvrdScript::test_check_port_in_range PASSED [ 95%]
tests/test_xcvrd.py::TestXcvrdScript::test_get_serdes_si_setting_val_str PASSED [ 96%]
tests/test_xcvrd.py::TestXcvrdScript::test_DaemonXcvrd_init_deinit_fastboot_enabled PASSED [ 96%]
tests/test_xcvrd.py::TestXcvrdScript::test_DaemonXcvrd_init_deinit_cold PASSED [ 97%]
tests/test_xcvrd.py::TestXcvrdScript::test_load_optical_si_file_from_platform_folder PASSED [ 98%]
tests/test_xcvrd.py::TestXcvrdScript::test_load_optical_si_file_from_hwsku_folder PASSED [ 98%]
tests/test_xcvrd.py::TestXcvrdScript::test_load_media_settings_file_from_platform_folder PASSED [ 99%]
tests/test_xcvrd.py::TestXcvrdScript::test_load_media_settings_file_from_hwsku_folder PASSED [100%]
=============================== warnings summary ===============================
/usr/lib/python3/dist-packages/_pytest/junitxml.py:446
/usr/lib/python3/dist-packages/_pytest/junitxml.py:446: PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0. See:
https://docs.pytest.org/en/stable/deprecations.html#junit-family-default-value-change-to-xunit2
for more information.
_issue_warning_captured(deprecated.JUNIT_XML_DEFAULT_FAMILY, config.hook, 2)
-- Docs: https://docs.pytest.org/en/stable/warnings.html
- generated xml file: /sonic/src/sonic-platform-daemons/sonic-xcvrd/test-results.xml -
----------- coverage: platform linux, python 3.9.2-final-0 -----------
Name Stmts Miss Cover
--------------------------------------------------------------------
xcvrd/__init__.py 0 0 100%
xcvrd/xcvrd.py 1554 324 79%
xcvrd/xcvrd_utilities/__init__.py 0 0 100%
xcvrd/xcvrd_utilities/media_settings_parser.py 215 7 97%
xcvrd/xcvrd_utilities/optics_si_parser.py 110 29 74%
xcvrd/xcvrd_utilities/port_mapping.py 191 25 87%
xcvrd/xcvrd_utilities/sfp_status_helper.py 27 2 93%
--------------------------------------------------------------------
TOTAL 2097 387 82%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml
======================= 163 passed, 1 warning in 10.64s ========================
running bdist_wheel
running build
running build_py
Generating grammar tables from /usr/lib/python3.9/lib2to3/Grammar.txt
Generating grammar tables from /usr/lib/python3.9/lib2to3/PatternGrammar.txt
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/tests
copying build/lib/tests/test_xcvrd.py -> build/bdist.linux-x86_64/wheel/tests
copying build/lib/tests/__init__.py -> build/bdist.linux-x86_64/wheel/tests
copying build/lib/tests/mock_platform.py -> build/bdist.linux-x86_64/wheel/tests
copying build/lib/tests/mock_swsscommon.py -> build/bdist.linux-x86_64/wheel/tests
creating build/bdist.linux-x86_64/wheel/xcvrd
creating build/bdist.linux-x86_64/wheel/xcvrd/xcvrd_utilities
copying build/lib/xcvrd/xcvrd_utilities/media_settings_parser.py -> build/bdist.linux-x86_64/wheel/xcvrd/xcvrd_utilities
copying build/lib/xcvrd/xcvrd_utilities/optics_si_parser.py -> build/bdist.linux-x86_64/wheel/xcvrd/xcvrd_utilities
copying build/lib/xcvrd/xcvrd_utilities/__init__.py -> build/bdist.linux-x86_64/wheel/xcvrd/xcvrd_utilities
copying build/lib/xcvrd/xcvrd_utilities/port_mapping.py -> build/bdist.linux-x86_64/wheel/xcvrd/xcvrd_utilities
copying build/lib/xcvrd/xcvrd_utilities/sfp_status_helper.py -> build/bdist.linux-x86_64/wheel/xcvrd/xcvrd_utilities
copying build/lib/xcvrd/xcvrd.py -> build/bdist.linux-x86_64/wheel/xcvrd
copying build/lib/xcvrd/__init__.py -> build/bdist.linux-x86_64/wheel/xcvrd
running install_egg_info
running egg_info
writing sonic_xcvrd.egg-info/PKG-INFO
writing dependency_links to sonic_xcvrd.egg-info/dependency_links.txt
writing entry points to sonic_xcvrd.egg-info/entry_points.txt
writing requirements to sonic_xcvrd.egg-info/requires.txt
writing top-level names to sonic_xcvrd.egg-info/top_level.txt
reading manifest file 'sonic_xcvrd.egg-info/SOURCES.txt'
writing manifest file 'sonic_xcvrd.egg-info/SOURCES.txt'
Copying sonic_xcvrd.egg-info to build/bdist.linux-x86_64/wheel/sonic_xcvrd-1.0-py3.9.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/sonic_xcvrd-1.0.dist-info/WHEEL
creating 'dist/sonic_xcvrd-1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'tests/__init__.py'
adding 'tests/mock_platform.py'
adding 'tests/mock_swsscommon.py'
adding 'tests/test_xcvrd.py'
adding 'xcvrd/__init__.py'
adding 'xcvrd/xcvrd.py'
adding 'xcvrd/xcvrd_utilities/__init__.py'
adding 'xcvrd/xcvrd_utilities/media_settings_parser.py'
adding 'xcvrd/xcvrd_utilities/optics_si_parser.py'
adding 'xcvrd/xcvrd_utilities/port_mapping.py'
adding 'xcvrd/xcvrd_utilities/sfp_status_helper.py'
adding 'sonic_xcvrd-1.0.dist-info/METADATA'
adding 'sonic_xcvrd-1.0.dist-info/WHEEL'
adding 'sonic_xcvrd-1.0.dist-info/entry_points.txt'
adding 'sonic_xcvrd-1.0.dist-info/top_level.txt'
adding 'sonic_xcvrd-1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
/sonic
Build end time: Fri Jul 4 09:04:53 UTC 2025
Elapsed time: 0h 0m 22s
|