Build start time: Fri Jul 4 09:04:53 UTC 2025
[ REASON ] : target/python-wheels/bullseye/sonic_chassisd-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-chassisd /sonic
running pytest
running egg_info
writing sonic_chassisd.egg-info/PKG-INFO
writing dependency_links to sonic_chassisd.egg-info/dependency_links.txt
writing top-level names to sonic_chassisd.egg-info/top_level.txt
reading manifest file 'sonic_chassisd.egg-info/SOURCES.txt'
writing manifest file 'sonic_chassisd.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-chassisd, configfile: pytest.ini
plugins: pyfakefs-5.8.0, cov-2.10.1
collecting ... collected 17 items
tests/test_chassis_db_init.py::test_provision_db PASSED [ 5%]
tests/test_chassisd.py::test_moduleupdater_check_valid_fields PASSED [ 11%]
tests/test_chassisd.py::test_moduleupdater_check_invalid_name PASSED [ 17%]
tests/test_chassisd.py::test_moduleupdater_check_status_update PASSED [ 23%]
tests/test_chassisd.py::test_moduleupdater_check_deinit PASSED [ 29%]
tests/test_chassisd.py::test_configupdater_check_valid_names PASSED [ 35%]
tests/test_chassisd.py::test_configupdater_check_valid_index PASSED [ 41%]
tests/test_chassisd.py::test_configupdater_check_admin_state PASSED [ 47%]
tests/test_chassisd.py::test_configupdater_check_num_modules PASSED [ 52%]
tests/test_chassisd.py::test_midplane_presence_modules PASSED [ 58%]
tests/test_chassisd.py::test_midplane_presence_supervisor PASSED [ 64%]
tests/test_chassisd.py::test_asic_presence PASSED [ 70%]
tests/test_chassisd.py::test_signal_handler PASSED [ 76%]
tests/test_chassisd.py::test_daemon_run_supervisor PASSED [ 82%]
tests/test_chassisd.py::test_daemon_run_linecard PASSED [ 88%]
tests/test_chassisd.py::test_chassis_db_cleanup PASSED [ 94%]
tests/test_chassisd.py::test_chassis_db_bootup_with_empty_slot 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)
tests/test_chassis_db_init.py:3
/sonic/src/sonic-platform-daemons/sonic-chassisd/tests/test_chassis_db_init.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
from imp import load_source
scripts/chassisd:452
/sonic/src/sonic-platform-daemons/sonic-chassisd/scripts/chassisd:452: DeprecationWarning: invalid escape sequence \|
module, lc = re.split('\|', module_host)
-- Docs: https://docs.pytest.org/en/stable/warnings.html
- generated xml file: /sonic/src/sonic-platform-daemons/sonic-chassisd/test-results.xml -
----------- coverage: platform linux, python 3.9.2-final-0 -----------
Name Stmts Miss Cover
---------------------------------------------
scripts/chassis_db_init 47 16 66%
scripts/chassisd 338 45 87%
---------------------------------------------
TOTAL 385 61 84%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml
======================== 17 passed, 3 warnings in 1.46s ========================
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
running build_scripts
copying and adjusting scripts/chassisd -> build/scripts-3.9
copying and adjusting scripts/chassis_db_init -> build/scripts-3.9
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/mock_module_base.py -> build/bdist.linux-x86_64/wheel/tests
copying build/lib/tests/test_chassis_db_init.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/test_chassisd.py -> build/bdist.linux-x86_64/wheel/tests
copying build/lib/tests/mock_swsscommon.py -> build/bdist.linux-x86_64/wheel/tests
running install_egg_info
running egg_info
writing sonic_chassisd.egg-info/PKG-INFO
writing dependency_links to sonic_chassisd.egg-info/dependency_links.txt
writing top-level names to sonic_chassisd.egg-info/top_level.txt
reading manifest file 'sonic_chassisd.egg-info/SOURCES.txt'
writing manifest file 'sonic_chassisd.egg-info/SOURCES.txt'
Copying sonic_chassisd.egg-info to build/bdist.linux-x86_64/wheel/sonic_chassisd-1.0-py3.9.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/sonic_chassisd-1.0.data
creating build/bdist.linux-x86_64/wheel/sonic_chassisd-1.0.data/scripts
copying build/scripts-3.9/chassisd -> build/bdist.linux-x86_64/wheel/sonic_chassisd-1.0.data/scripts
copying build/scripts-3.9/chassis_db_init -> build/bdist.linux-x86_64/wheel/sonic_chassisd-1.0.data/scripts
changing mode of build/bdist.linux-x86_64/wheel/sonic_chassisd-1.0.data/scripts/chassisd to 755
changing mode of build/bdist.linux-x86_64/wheel/sonic_chassisd-1.0.data/scripts/chassis_db_init to 755
creating build/bdist.linux-x86_64/wheel/sonic_chassisd-1.0.dist-info/WHEEL
creating 'dist/sonic_chassisd-1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'sonic_chassisd-1.0.data/scripts/chassis_db_init'
adding 'sonic_chassisd-1.0.data/scripts/chassisd'
adding 'tests/__init__.py'
adding 'tests/mock_module_base.py'
adding 'tests/mock_platform.py'
adding 'tests/mock_swsscommon.py'
adding 'tests/test_chassis_db_init.py'
adding 'tests/test_chassisd.py'
adding 'sonic_chassisd-1.0.dist-info/METADATA'
adding 'sonic_chassisd-1.0.dist-info/WHEEL'
adding 'sonic_chassisd-1.0.dist-info/top_level.txt'
adding 'sonic_chassisd-1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
/sonic
Build end time: Fri Jul 4 09:05:14 UTC 2025
Elapsed time: 0h 0m 21s
|