Content

상위 폴더로 이동
Build start time: Fri Jul 4 08:48:47 UTC 2025
[ REASON ] :      target/python-wheels/bullseye/sonic_pcied-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 
[ FLAGS  FILE    ] : [] 
[ FLAGS  DEPENDS ] : [] 
[ FLAGS  DIFF    ] : [] 
/sonic/src/sonic-platform-daemons/sonic-pcied /sonic
running pytest
running egg_info
writing sonic_pcied.egg-info/PKG-INFO
writing dependency_links to sonic_pcied.egg-info/dependency_links.txt
writing requirements to sonic_pcied.egg-info/requires.txt
writing top-level names to sonic_pcied.egg-info/top_level.txt
reading manifest file 'sonic_pcied.egg-info/SOURCES.txt'
writing manifest file 'sonic_pcied.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-pcied, configfile: pytest.ini
plugins: pyfakefs-5.8.0, cov-2.10.1
collecting ... collected 9 items

tests/test_DaemonPcied.py::TestDaemonPcied::test_signal_handler PASSED   [ 11%]
tests/test_DaemonPcied.py::TestDaemonPcied::test_run PASSED              [ 22%]
tests/test_DaemonPcied.py::TestDaemonPcied::test_check_pcie_devices PASSED [ 33%]
tests/test_DaemonPcied.py::TestDaemonPcied::test_update_pcie_devices_status_db PASSED [ 44%]
tests/test_DaemonPcied.py::TestDaemonPcied::test_check_n_update_pcie_aer_stats PASSED [ 55%]
tests/test_DaemonPcied.py::TestDaemonPcied::test_update_aer_to_statedb PASSED [ 66%]
tests/test_pcied.py::test_main PASSED                                    [ 77%]
tests/test_pcied.py::test_read_id_file PASSED                            [ 88%]
tests/test_pcied.py::test_load_platform_pcieutil 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_DaemonPcied.py:4
  /sonic/src/sonic-platform-daemons/sonic-pcied/tests/test_DaemonPcied.py:4: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    from imp import load_source  # Replace with importlib once we no longer need to support Python 2

tests/test_pcied.py::test_load_platform_pcieutil
  /sonic/src/sonic-platform-daemons/sonic-pcied/tests/mocked_libs/sonic_platform_base/sonic_pcie/pcie_common.py:40: DeprecationWarning: invalid escape sequence \w
    p1 = "^(\w+):(\w+)\.(\w)\s(.*)\s*\(*.*\)*"

tests/test_pcied.py::test_load_platform_pcieutil
  /sonic/src/sonic-platform-daemons/sonic-pcied/tests/mocked_libs/sonic_platform_base/sonic_pcie/pcie_common.py:41: DeprecationWarning: invalid escape sequence \w
    p2 = "^.*:.*:.*:(\w+)\s*\(*.*\)*"

-- Docs: https://docs.pytest.org/en/stable/warnings.html
- generated xml file: /sonic/src/sonic-platform-daemons/sonic-pcied/test-results.xml -

----------- coverage: platform linux, python 3.9.2-final-0 -----------
Name            Stmts   Miss  Cover
-----------------------------------
scripts/pcied     133     18    86%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml

=================== 9 passed, 4 warnings in 60.26s (0:01:00) ===================
running bdist_wheel
running build
running build_scripts
copying and adjusting scripts/pcied -> build/scripts-3.9
installing to build/bdist.linux-x86_64/wheel
running install
running install_egg_info
running egg_info
writing sonic_pcied.egg-info/PKG-INFO
writing dependency_links to sonic_pcied.egg-info/dependency_links.txt
writing requirements to sonic_pcied.egg-info/requires.txt
writing top-level names to sonic_pcied.egg-info/top_level.txt
reading manifest file 'sonic_pcied.egg-info/SOURCES.txt'
writing manifest file 'sonic_pcied.egg-info/SOURCES.txt'
Copying sonic_pcied.egg-info to build/bdist.linux-x86_64/wheel/sonic_pcied-1.0-py3.9.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/sonic_pcied-1.0.data
creating build/bdist.linux-x86_64/wheel/sonic_pcied-1.0.data/scripts
copying build/scripts-3.9/pcied -> build/bdist.linux-x86_64/wheel/sonic_pcied-1.0.data/scripts
changing mode of build/bdist.linux-x86_64/wheel/sonic_pcied-1.0.data/scripts/pcied to 755
creating build/bdist.linux-x86_64/wheel/sonic_pcied-1.0.dist-info/WHEEL
creating 'dist/sonic_pcied-1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'sonic_pcied-1.0.data/scripts/pcied'
adding 'sonic_pcied-1.0.dist-info/METADATA'
adding 'sonic_pcied-1.0.dist-info/WHEEL'
adding 'sonic_pcied-1.0.dist-info/top_level.txt'
adding 'sonic_pcied-1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
/sonic
Build end time: Fri Jul 4 08:49:53 UTC 2025
Elapsed time: 0h 1m 6s