Content

상위 폴더로 이동
Build start time: Thu Nov 20 08:06:12 UTC 2025
[ REASON ] :      target/python-wheels/bookworm/sonic_syseepromd-1.0-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/python-wheels/bookworm/sonic_platform_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-syseepromd /sonic
Defaulting to user installation because normal site-packages is not writeable
Processing /sonic/src/sonic-platform-daemons/sonic-syseepromd
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: sonic-syseepromd
  Building wheel for sonic-syseepromd (setup.py): started
  Building wheel for sonic-syseepromd (setup.py): finished with status 'done'
  Created wheel for sonic-syseepromd: filename=sonic_syseepromd-1.0-py3-none-any.whl size=3463 sha256=52f0c3d5167e3e77fb8e2f92807224b131b008eae40ac7be8dd2d9384d06b93c
  Stored in directory: /var/jenkins/.cache/pip/wheels/94/33/6d/2d138667f7e2fb3549a5d5c614169521dc44c0febeafef8d69
Successfully built sonic-syseepromd
Installing collected packages: sonic-syseepromd
Successfully installed sonic-syseepromd-1.0

[notice] A new release of pip is available: 24.2 -> 25.3
[notice] To update, run: python3 -m pip install --upgrade pip
Found existing installation: sonic-syseepromd 1.0
Uninstalling sonic-syseepromd-1.0:
  Successfully uninstalled sonic-syseepromd-1.0
Defaulting to user installation because normal site-packages is not writeable
Processing /sonic/src/sonic-platform-daemons/sonic-syseepromd
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
WARNING: sonic-syseepromd 1.0 does not provide the extra 'testing'
Building wheels for collected packages: sonic-syseepromd
  Building wheel for sonic-syseepromd (setup.py): started
  Building wheel for sonic-syseepromd (setup.py): finished with status 'done'
  Created wheel for sonic-syseepromd: filename=sonic_syseepromd-1.0-py3-none-any.whl size=3463 sha256=8fd26df33a936392f183cadb4e97c1508ba219fb0fc625ad1d8b2a875a047ff7
  Stored in directory: /var/jenkins/.cache/pip/wheels/94/33/6d/2d138667f7e2fb3549a5d5c614169521dc44c0febeafef8d69
Successfully built sonic-syseepromd
Installing collected packages: sonic-syseepromd
Successfully installed sonic-syseepromd-1.0

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

tests/test_syseepromd.py::test_post_eeprom_to_db_eeprom_read_fail PASSED [ 12%]
tests/test_syseepromd.py::test_post_eeprom_to_db_update_fail PASSED      [ 25%]
tests/test_syseepromd.py::test_post_eeprom_to_db_ok PASSED               [ 37%]
tests/test_syseepromd.py::test_clear_db PASSED                           [ 50%]
tests/test_syseepromd.py::test_detect_eeprom_table_integrity PASSED      [ 62%]
tests/test_syseepromd.py::test_signal_handler PASSED                     [ 75%]
tests/test_syseepromd.py::test_run PASSED                                [ 87%]
tests/test_syseepromd.py::test_main PASSED                               [100%]

=============================== warnings summary ===============================
tests/test_syseepromd.py:3
  /sonic/src/sonic-platform-daemons/sonic-syseepromd/tests/test_syseepromd.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  # Replace with importlib once we no longer need to support Python 2

tests/test_syseepromd.py::test_detect_eeprom_table_integrity
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: 
  
  Traceback (most recent call last):
    File "/sonic/src/sonic-platform-daemons/sonic-syseepromd/scripts/syseepromd", line 83, in __del__
      self.clear_db()
    File "/sonic/src/sonic-platform-daemons/sonic-syseepromd/scripts/syseepromd", line 104, in clear_db
      self.eeprom_tbl._del(key)
    File "/sonic/src/sonic-platform-daemons/sonic-syseepromd/tests/mocked_libs/swsscommon/swsscommon.py", line 16, in _del
      del self.mock_dict[key]
          ~~~~~~~~~~~~~~^^^^^
  KeyError: 'key1'
  
    warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

tests/test_syseepromd.py::test_signal_handler
tests/test_syseepromd.py::test_main
  /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: 
  
  Traceback (most recent call last):
    File "/sonic/src/sonic-platform-daemons/sonic-syseepromd/scripts/syseepromd", line 83, in __del__
      self.clear_db()
    File "/sonic/src/sonic-platform-daemons/sonic-syseepromd/scripts/syseepromd", line 102, in clear_db
      keys = self.eeprom_tbl.getKeys()
             ^^^^^^^^^^^^^^^^^^^^^^^
  AttributeError: 'Table' object has no attribute 'getKeys'
  
    warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

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

---------- coverage: platform linux, python 3.11.2-final-0 -----------
Name                 Stmts   Miss  Cover
----------------------------------------
scripts/syseepromd      99     10    90%
----------------------------------------
TOTAL                   99     10    90%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml

======================== 8 passed, 4 warnings in 3.46s =========================
* Getting build dependencies for sdist...
* Building sdist...
running sdist
running egg_info
writing sonic_syseepromd.egg-info/PKG-INFO
writing dependency_links to sonic_syseepromd.egg-info/dependency_links.txt
writing top-level names to sonic_syseepromd.egg-info/top_level.txt
writing manifest file 'sonic_syseepromd.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-syseepromd-1.0
creating sonic-syseepromd-1.0/scripts
creating sonic-syseepromd-1.0/sonic_syseepromd.egg-info
creating sonic-syseepromd-1.0/tests
creating sonic-syseepromd-1.0/tests/mocked_libs
creating sonic-syseepromd-1.0/tests/mocked_libs/sonic_platform
creating sonic-syseepromd-1.0/tests/mocked_libs/swsscommon
copying files to sonic-syseepromd-1.0...
copying pytest.ini -> sonic-syseepromd-1.0
copying setup.cfg -> sonic-syseepromd-1.0
copying setup.py -> sonic-syseepromd-1.0
copying scripts/syseepromd -> sonic-syseepromd-1.0/scripts
copying sonic_syseepromd.egg-info/PKG-INFO -> sonic-syseepromd-1.0/sonic_syseepromd.egg-info
copying sonic_syseepromd.egg-info/SOURCES.txt -> sonic-syseepromd-1.0/sonic_syseepromd.egg-info
copying sonic_syseepromd.egg-info/dependency_links.txt -> sonic-syseepromd-1.0/sonic_syseepromd.egg-info
copying sonic_syseepromd.egg-info/top_level.txt -> sonic-syseepromd-1.0/sonic_syseepromd.egg-info
copying tests/__init__.py -> sonic-syseepromd-1.0/tests
copying tests/test_syseepromd.py -> sonic-syseepromd-1.0/tests
copying tests/mocked_libs/sonic_platform/__init__.py -> sonic-syseepromd-1.0/tests/mocked_libs/sonic_platform
copying tests/mocked_libs/sonic_platform/chassis.py -> sonic-syseepromd-1.0/tests/mocked_libs/sonic_platform
copying tests/mocked_libs/sonic_platform/platform.py -> sonic-syseepromd-1.0/tests/mocked_libs/sonic_platform
copying tests/mocked_libs/swsscommon/__init__.py -> sonic-syseepromd-1.0/tests/mocked_libs/swsscommon
copying tests/mocked_libs/swsscommon/swsscommon.py -> sonic-syseepromd-1.0/tests/mocked_libs/swsscommon
Writing sonic-syseepromd-1.0/setup.cfg
Creating tar archive
removing 'sonic-syseepromd-1.0' (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/syseepromd -> build/scripts-3.11
changing mode of build/scripts-3.11/syseepromd from 644 to 755
installing to build/bdist.linux-x86_64/wheel
running install
running install_egg_info
running egg_info
writing sonic_syseepromd.egg-info/PKG-INFO
writing dependency_links to sonic_syseepromd.egg-info/dependency_links.txt
writing top-level names to sonic_syseepromd.egg-info/top_level.txt
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
reading manifest file 'sonic_syseepromd.egg-info/SOURCES.txt'
writing manifest file 'sonic_syseepromd.egg-info/SOURCES.txt'
Copying sonic_syseepromd.egg-info to build/bdist.linux-x86_64/wheel/sonic_syseepromd-1.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/sonic_syseepromd-1.0.data
creating build/bdist.linux-x86_64/wheel/sonic_syseepromd-1.0.data/scripts
copying build/scripts-3.11/syseepromd -> build/bdist.linux-x86_64/wheel/sonic_syseepromd-1.0.data/scripts
changing mode of build/bdist.linux-x86_64/wheel/sonic_syseepromd-1.0.data/scripts/syseepromd to 755
creating build/bdist.linux-x86_64/wheel/sonic_syseepromd-1.0.dist-info/WHEEL
creating '/sonic/src/sonic-platform-daemons/sonic-syseepromd/dist/.tmp-_9i04nki/sonic_syseepromd-1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'sonic_syseepromd-1.0.data/scripts/syseepromd'
adding 'sonic_syseepromd-1.0.dist-info/METADATA'
adding 'sonic_syseepromd-1.0.dist-info/WHEEL'
adding 'sonic_syseepromd-1.0.dist-info/top_level.txt'
adding 'sonic_syseepromd-1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built sonic-syseepromd-1.0.tar.gz and sonic_syseepromd-1.0-py3-none-any.whl
/sonic
Build end time: Thu Nov 20 08:06:31 UTC 2025
Elapsed time: 0h 0m 19s