Content

상위 폴더로 이동
Build start time: Wed Oct 1 09:06:32 UTC 2025
[ REASON ] :      target/python-wheels/bookworm/sonic_ledd-1.1-py3-none-any.whl does not exist   NON-EXISTENT PREREQUISITES: target/python-wheels/bookworm/sonic_py_common-1.0-py3-none-any.whl-install target/debs/bookworm/libswsscommon_1.0.0_amd64.deb-install target/debs/bookworm/python3-swsscommon_1.0.0_amd64.deb-install 
[ FLAGS  FILE    ] : [] 
[ FLAGS  DEPENDS ] : [] 
[ FLAGS  DIFF    ] : [] 
/sonic/src/sonic-platform-daemons/sonic-ledd /sonic
Defaulting to user installation because normal site-packages is not writeable
Processing /sonic/src/sonic-platform-daemons/sonic-ledd
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: sonic-ledd
  Building wheel for sonic-ledd (setup.py): started
  Building wheel for sonic-ledd (setup.py): finished with status 'done'
  Created wheel for sonic-ledd: filename=sonic_ledd-1.1-py3-none-any.whl size=4357 sha256=3b906eeea9c72f3b4af3aaf7a45cd41f4ebbe5b891df84baa0d13044d20094d6
  Stored in directory: /var/jenkins/.cache/pip/wheels/b0/38/5f/8afaec90c67153aeb80c06e83329adcb6674e9355c0f077a48
Successfully built sonic-ledd
Installing collected packages: sonic-ledd
Successfully installed sonic-ledd-1.1

[notice] A new release of pip is available: 24.2 -> 25.2
[notice] To update, run: python3 -m pip install --upgrade pip
Found existing installation: sonic-ledd 1.1
Uninstalling sonic-ledd-1.1:
  Successfully uninstalled sonic-ledd-1.1
Defaulting to user installation because normal site-packages is not writeable
Processing /sonic/src/sonic-platform-daemons/sonic-ledd
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
WARNING: sonic-ledd 1.1 does not provide the extra 'testing'
Building wheels for collected packages: sonic-ledd
  Building wheel for sonic-ledd (setup.py): started
  Building wheel for sonic-ledd (setup.py): finished with status 'done'
  Created wheel for sonic-ledd: filename=sonic_ledd-1.1-py3-none-any.whl size=4357 sha256=df4852c67c27f6c4f729c576503413ae572ac4f0ab42bd106be4a95e62a86b66
  Stored in directory: /var/jenkins/.cache/pip/wheels/b0/38/5f/8afaec90c67153aeb80c06e83329adcb6674e9355c0f077a48
Successfully built sonic-ledd
Installing collected packages: sonic-ledd
Successfully installed sonic-ledd-1.1

[notice] A new release of pip is available: 24.2 -> 25.2
[notice] To update, run: python3 -m pip install --upgrade pip
Found existing installation: sonic-ledd 1.1
Uninstalling sonic-ledd-1.1:
  Successfully uninstalled sonic-ledd-1.1
============================= 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/src/sonic-platform-daemons/sonic-ledd, configfile: pytest.ini
plugins: pyfakefs-5.7.4, cov-4.0.0
collecting ... collected 15 items

tests/test_ledd.py::test_help_args PASSED                                [  6%]
tests/test_ledd.py::test_version_args PASSED                             [ 13%]
tests/test_ledd.py::test_bad_args PASSED                                 [ 20%]
tests/test_ledd.py::test_port_initialization PASSED                      [ 26%]
tests/test_ledd.py::test_front_panel_ports_initialization PASSED         [ 33%]
tests/test_ledd.py::test_front_panel_ports_update_port_led PASSED        [ 40%]
tests/test_ledd.py::test_front_panel_ports_update_port_state PASSED      [ 46%]
tests/test_ledd.py::test_port_state_observer_initialization PASSED       [ 53%]
tests/test_ledd.py::test_port_state_observer_get_database_table PASSED   [ 60%]
tests/test_ledd.py::test_daemon_ledd_initialization PASSED               [ 66%]
tests/test_ledd.py::test_daemon_ledd_run_timeout PASSED                  [ 73%]
tests/test_ledd.py::test_find_front_panel_ports PASSED                   [ 80%]
tests/test_ledd.py::test_get_port_table_event PASSED                     [ 86%]
tests/test_ledd.py::test_get_port_table_event_no_key PASSED              [ 93%]
tests/test_ledd.py::test_port_does_not_exist PASSED                      [100%]

=============================== warnings summary ===============================
tests/test_ledd.py:3
  /sonic/src/sonic-platform-daemons/sonic-ledd/tests/test_ledd.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
    from imp import load_source

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

---------- coverage: platform linux, python 3.11.2-final-0 -----------
Name           Stmts   Miss  Cover
----------------------------------
scripts/ledd     187     33    82%
----------------------------------
TOTAL            187     33    82%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml

======================== 15 passed, 1 warning in 0.32s =========================
* Getting build dependencies for sdist...
* Building sdist...
running sdist
running egg_info
writing sonic_ledd.egg-info/PKG-INFO
writing dependency_links to sonic_ledd.egg-info/dependency_links.txt
writing top-level names to sonic_ledd.egg-info/top_level.txt
writing manifest file 'sonic_ledd.egg-info/SOURCES.txt'
warning: sdist: standard file not found: should have one of README, README.rst, README.txt, README.md

running check
creating sonic-ledd-1.1
creating sonic-ledd-1.1/scripts
creating sonic-ledd-1.1/sonic_ledd.egg-info
creating sonic-ledd-1.1/tests
copying files to sonic-ledd-1.1...
copying pytest.ini -> sonic-ledd-1.1
copying setup.cfg -> sonic-ledd-1.1
copying setup.py -> sonic-ledd-1.1
copying scripts/ledd -> sonic-ledd-1.1/scripts
copying sonic_ledd.egg-info/PKG-INFO -> sonic-ledd-1.1/sonic_ledd.egg-info
copying sonic_ledd.egg-info/SOURCES.txt -> sonic-ledd-1.1/sonic_ledd.egg-info
copying sonic_ledd.egg-info/dependency_links.txt -> sonic-ledd-1.1/sonic_ledd.egg-info
copying sonic_ledd.egg-info/top_level.txt -> sonic-ledd-1.1/sonic_ledd.egg-info
copying tests/__init__.py -> sonic-ledd-1.1/tests
copying tests/mock_swsscommon.py -> sonic-ledd-1.1/tests
copying tests/test_ledd.py -> sonic-ledd-1.1/tests
Writing sonic-ledd-1.1/setup.cfg
Creating tar archive
removing 'sonic-ledd-1.1' (and everything under it)
* Building wheel from sdist
* Getting build dependencies for wheel...
* Building wheel...
running bdist_wheel
running build
running build_scripts
creating build
creating build/scripts-3.11
copying and adjusting scripts/ledd -> build/scripts-3.11
changing mode of build/scripts-3.11/ledd from 644 to 755
installing to build/bdist.linux-x86_64/wheel
running install
running install_egg_info
running egg_info
writing sonic_ledd.egg-info/PKG-INFO
writing dependency_links to sonic_ledd.egg-info/dependency_links.txt
writing top-level names to sonic_ledd.egg-info/top_level.txt
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
reading manifest file 'sonic_ledd.egg-info/SOURCES.txt'
writing manifest file 'sonic_ledd.egg-info/SOURCES.txt'
Copying sonic_ledd.egg-info to build/bdist.linux-x86_64/wheel/sonic_ledd-1.1.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/sonic_ledd-1.1.data
creating build/bdist.linux-x86_64/wheel/sonic_ledd-1.1.data/scripts
copying build/scripts-3.11/ledd -> build/bdist.linux-x86_64/wheel/sonic_ledd-1.1.data/scripts
changing mode of build/bdist.linux-x86_64/wheel/sonic_ledd-1.1.data/scripts/ledd to 755
creating build/bdist.linux-x86_64/wheel/sonic_ledd-1.1.dist-info/WHEEL
creating '/sonic/src/sonic-platform-daemons/sonic-ledd/dist/.tmp-_w809y_g/sonic_ledd-1.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'sonic_ledd-1.1.data/scripts/ledd'
adding 'sonic_ledd-1.1.dist-info/METADATA'
adding 'sonic_ledd-1.1.dist-info/WHEEL'
adding 'sonic_ledd-1.1.dist-info/top_level.txt'
adding 'sonic_ledd-1.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built sonic-ledd-1.1.tar.gz and sonic_ledd-1.1-py3-none-any.whl
/sonic
Build end time: Wed Oct 1 09:07:03 UTC 2025
Elapsed time: 0h 0m 31s