Content

상위 폴더로 이동
Build start time: Fri Oct 3 10:42:20 UTC 2025
[ REASON ] :      target/python-wheels/bookworm/sonic_thermalctld-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-thermalctld /sonic
Defaulting to user installation because normal site-packages is not writeable
Processing /sonic/src/sonic-platform-daemons/sonic-thermalctld
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: sonic-thermalctld
  Building wheel for sonic-thermalctld (setup.py): started
  Building wheel for sonic-thermalctld (setup.py): finished with status 'done'
  Created wheel for sonic-thermalctld: filename=sonic_thermalctld-1.0-py3-none-any.whl size=16060 sha256=c7cb4b26c7bd58825e24309f08e9dc3838cb847c98fb445aec0f6e01f626d08f
  Stored in directory: /var/jenkins/.cache/pip/wheels/75/be/89/af337c86b48557892efc35de15ca5b3bfab9a8831ac3361654
Successfully built sonic-thermalctld
Installing collected packages: sonic-thermalctld
Successfully installed sonic-thermalctld-1.0

[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-thermalctld 1.0
Uninstalling sonic-thermalctld-1.0:
  Successfully uninstalled sonic-thermalctld-1.0
Defaulting to user installation because normal site-packages is not writeable
Processing /sonic/src/sonic-platform-daemons/sonic-thermalctld
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
WARNING: sonic-thermalctld 1.0 does not provide the extra 'testing'
Building wheels for collected packages: sonic-thermalctld
  Building wheel for sonic-thermalctld (setup.py): started
  Building wheel for sonic-thermalctld (setup.py): finished with status 'done'
  Created wheel for sonic-thermalctld: filename=sonic_thermalctld-1.0-py3-none-any.whl size=16060 sha256=bd5b3988cd915743e7401fef17922a9b5c78eb5256c486bbae83febd1de8976f
  Stored in directory: /var/jenkins/.cache/pip/wheels/75/be/89/af337c86b48557892efc35de15ca5b3bfab9a8831ac3361654
Successfully built sonic-thermalctld
Installing collected packages: sonic-thermalctld
Successfully installed sonic-thermalctld-1.0

[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-thermalctld 1.0
Uninstalling sonic-thermalctld-1.0:
  Successfully uninstalled sonic-thermalctld-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-thermalctld, configfile: pytest.ini
plugins: pyfakefs-5.7.4, cov-4.0.0
collecting ... collected 36 items

tests/test_thermalctld.py::TestFanStatus::test_set_presence PASSED       [  2%]
tests/test_thermalctld.py::TestFanStatus::test_set_under_speed PASSED    [  5%]
tests/test_thermalctld.py::TestFanStatus::test_set_over_speed PASSED     [  8%]
tests/test_thermalctld.py::TestFanUpdater::test_refresh_fan_drawer_status_fan_drawer_get_name_not_impl PASSED [ 11%]
tests/test_thermalctld.py::TestFanUpdater::test_update_fan_with_exception PASSED [ 13%]
tests/test_thermalctld.py::TestFanUpdater::test_set_fan_led_exception PASSED [ 16%]
tests/test_thermalctld.py::TestFanUpdater::test_fan_absent PASSED        [ 19%]
tests/test_thermalctld.py::TestFanUpdater::test_fan_faulty PASSED        [ 22%]
tests/test_thermalctld.py::TestFanUpdater::test_fan_under_speed PASSED   [ 25%]
tests/test_thermalctld.py::TestFanUpdater::test_fan_over_speed PASSED    [ 27%]
tests/test_thermalctld.py::TestFanUpdater::test_update_psu_fans PASSED   [ 30%]
tests/test_thermalctld.py::TestFanUpdater::test_update_module_fans PASSED [ 33%]
tests/test_thermalctld.py::TestThermalMonitor::test_main PASSED          [ 36%]
tests/test_thermalctld.py::test_insufficient_fan_number PASSED           [ 38%]
tests/test_thermalctld.py::test_temperature_status_set_over_temper PASSED [ 41%]
tests/test_thermalctld.py::test_temperstatus_set_under_temper PASSED     [ 44%]
tests/test_thermalctld.py::test_temperature_status_set_not_available PASSED [ 47%]
tests/test_thermalctld.py::TestTemperatureUpdater::test_deinit PASSED    [ 50%]
tests/test_thermalctld.py::TestTemperatureUpdater::test_deinit_exception PASSED [ 52%]
tests/test_thermalctld.py::TestTemperatureUpdater::test_over_temper PASSED [ 55%]
tests/test_thermalctld.py::TestTemperatureUpdater::test_under_temper PASSED [ 58%]
tests/test_thermalctld.py::TestTemperatureUpdater::test_update_psu_thermals PASSED [ 61%]
tests/test_thermalctld.py::TestTemperatureUpdater::test_update_sfp_thermals PASSED [ 63%]
tests/test_thermalctld.py::TestTemperatureUpdater::test_update_thermal_with_exception PASSED [ 66%]
tests/test_thermalctld.py::TestTemperatureUpdater::test_update_module_thermals PASSED [ 69%]
tests/test_thermalctld.py::test_dpu_chassis_thermals Exception ignored in: 
Traceback (most recent call last):
  File "/sonic/src/sonic-platform-daemons/sonic-thermalctld/scripts/thermalctld", line 559, in __del__
    table_keys = self.table.getKeys()
                 ^^^^^^^^^^^^^^^^^^
AttributeError: 'Table' object has no attribute 'getKeys'
PASSED              [ 72%]
tests/test_thermalctld.py::test_dpu_chassis_state_deinit PASSED          [ 75%]
tests/test_thermalctld.py::test_updater_dpu_thermal_check_chassis_table PASSED [ 77%]
tests/test_thermalctld.py::test_updater_thermal_check_modular_chassis Exception ignored in: 
Traceback (most recent call last):
  File "/sonic/src/sonic-platform-daemons/sonic-thermalctld/scripts/thermalctld", line 559, in __del__
    table_keys = self.table.getKeys()
                 ^^^^^^^^^^^^^^^^^^
AttributeError: 'Table' object has no attribute 'getKeys'
PASSED [ 80%]
tests/test_thermalctld.py::test_updater_thermal_check_chassis_table PASSED [ 83%]
tests/test_thermalctld.py::test_updater_thermal_check_min_max PASSED     [ 86%]
tests/test_thermalctld.py::test_signal_handler Exception ignored in: 
Traceback (most recent call last):
  File "/sonic/src/sonic-platform-daemons/sonic-thermalctld/scripts/thermalctld", line 195, in __del__
    table_keys = self.table.getKeys()
                 ^^^^^^^^^^^^^^^^^^
AttributeError: 'Table' object has no attribute 'getKeys'
Exception ignored in: 
Traceback (most recent call last):
  File "/sonic/src/sonic-platform-daemons/sonic-thermalctld/scripts/thermalctld", line 559, in __del__
    table_keys = self.table.getKeys()
                 ^^^^^^^^^^^^^^^^^^
AttributeError: 'Table' object has no attribute 'getKeys'
PASSED                    [ 88%]
tests/test_thermalctld.py::test_daemon_run Exception ignored in: 
Traceback (most recent call last):
  File "/sonic/src/sonic-platform-daemons/sonic-thermalctld/scripts/thermalctld", line 195, in __del__
    table_keys = self.table.getKeys()
                 ^^^^^^^^^^^^^^^^^^
AttributeError: 'Table' object has no attribute 'getKeys'
Exception ignored in: 
Traceback (most recent call last):
  File "/sonic/src/sonic-platform-daemons/sonic-thermalctld/scripts/thermalctld", line 559, in __del__
    table_keys = self.table.getKeys()
                 ^^^^^^^^^^^^^^^^^^
AttributeError: 'Table' object has no attribute 'getKeys'
PASSED                        [ 91%]
tests/test_thermalctld.py::test_try_get PASSED                           [ 94%]
tests/test_thermalctld.py::test_update_entity_info PASSED                [ 97%]
tests/test_thermalctld.py::test_main PASSED                              [100%]

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

tests/test_thermalctld.py: 10 warnings
  /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-thermalctld/scripts/thermalctld", line 195, in __del__
      table_keys = self.table.getKeys()
                   ^^^^^^^^^^^^^^^^^^
  AttributeError: 'Table' object has no attribute 'getKeys'
  
    warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

tests/test_thermalctld.py: 15 warnings
  /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-thermalctld/scripts/thermalctld", line 559, in __del__
      table_keys = self.table.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-thermalctld/test-results.xml -

---------- coverage: platform linux, python 3.11.2-final-0 -----------
Name                  Stmts   Miss  Cover
-----------------------------------------
scripts/thermalctld     515     58    89%
-----------------------------------------
TOTAL                   515     58    89%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml

======================= 36 passed, 26 warnings in 1.17s ========================
Exception ignored in: 
Traceback (most recent call last):
  File "/sonic/src/sonic-platform-daemons/sonic-thermalctld/scripts/thermalctld", line 195, in __del__
    table_keys = self.table.getKeys()
                 ^^^^^^^^^^^^^^^^^^
AttributeError: 'Table' object has no attribute 'getKeys'
Exception ignored in: 
Traceback (most recent call last):
  File "/sonic/src/sonic-platform-daemons/sonic-thermalctld/scripts/thermalctld", line 559, in __del__
    table_keys = self.table.getKeys()
                 ^^^^^^^^^^^^^^^^^^
AttributeError: 'Table' object has no attribute 'getKeys'
* Getting build dependencies for sdist...
* Building sdist...
running sdist
running egg_info
writing sonic_thermalctld.egg-info/PKG-INFO
writing dependency_links to sonic_thermalctld.egg-info/dependency_links.txt
writing top-level names to sonic_thermalctld.egg-info/top_level.txt
writing manifest file 'sonic_thermalctld.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-thermalctld-1.0
creating sonic-thermalctld-1.0/scripts
creating sonic-thermalctld-1.0/sonic_thermalctld.egg-info
creating sonic-thermalctld-1.0/tests
creating sonic-thermalctld-1.0/tests/mocked_libs
creating sonic-thermalctld-1.0/tests/mocked_libs/sonic_platform
creating sonic-thermalctld-1.0/tests/mocked_libs/swsscommon
copying files to sonic-thermalctld-1.0...
copying pytest.ini -> sonic-thermalctld-1.0
copying setup.cfg -> sonic-thermalctld-1.0
copying setup.py -> sonic-thermalctld-1.0
copying scripts/thermalctld -> sonic-thermalctld-1.0/scripts
copying sonic_thermalctld.egg-info/PKG-INFO -> sonic-thermalctld-1.0/sonic_thermalctld.egg-info
copying sonic_thermalctld.egg-info/SOURCES.txt -> sonic-thermalctld-1.0/sonic_thermalctld.egg-info
copying sonic_thermalctld.egg-info/dependency_links.txt -> sonic-thermalctld-1.0/sonic_thermalctld.egg-info
copying sonic_thermalctld.egg-info/top_level.txt -> sonic-thermalctld-1.0/sonic_thermalctld.egg-info
copying tests/__init__.py -> sonic-thermalctld-1.0/tests
copying tests/mock_platform.py -> sonic-thermalctld-1.0/tests
copying tests/mock_swsscommon.py -> sonic-thermalctld-1.0/tests
copying tests/test_thermalctld.py -> sonic-thermalctld-1.0/tests
copying tests/mocked_libs/sonic_platform/__init__.py -> sonic-thermalctld-1.0/tests/mocked_libs/sonic_platform
copying tests/mocked_libs/sonic_platform/chassis.py -> sonic-thermalctld-1.0/tests/mocked_libs/sonic_platform
copying tests/mocked_libs/sonic_platform/platform.py -> sonic-thermalctld-1.0/tests/mocked_libs/sonic_platform
copying tests/mocked_libs/swsscommon/__init__.py -> sonic-thermalctld-1.0/tests/mocked_libs/swsscommon
copying tests/mocked_libs/swsscommon/swsscommon.py -> sonic-thermalctld-1.0/tests/mocked_libs/swsscommon
Writing sonic-thermalctld-1.0/setup.cfg
Creating tar archive
removing 'sonic-thermalctld-1.0' (and everything under it)
* Building wheel from sdist
* Getting build dependencies for wheel...
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/tests
copying tests/test_thermalctld.py -> build/lib/tests
copying tests/__init__.py -> build/lib/tests
copying tests/mock_platform.py -> build/lib/tests
copying tests/mock_swsscommon.py -> build/lib/tests
running build_scripts
creating build/scripts-3.11
copying and adjusting scripts/thermalctld -> build/scripts-3.11
changing mode of build/scripts-3.11/thermalctld from 644 to 755
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/tests
copying build/lib/tests/test_thermalctld.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
running install_egg_info
running egg_info
writing sonic_thermalctld.egg-info/PKG-INFO
writing dependency_links to sonic_thermalctld.egg-info/dependency_links.txt
writing top-level names to sonic_thermalctld.egg-info/top_level.txt
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
reading manifest file 'sonic_thermalctld.egg-info/SOURCES.txt'
writing manifest file 'sonic_thermalctld.egg-info/SOURCES.txt'
Copying sonic_thermalctld.egg-info to build/bdist.linux-x86_64/wheel/sonic_thermalctld-1.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/sonic_thermalctld-1.0.data
creating build/bdist.linux-x86_64/wheel/sonic_thermalctld-1.0.data/scripts
copying build/scripts-3.11/thermalctld -> build/bdist.linux-x86_64/wheel/sonic_thermalctld-1.0.data/scripts
changing mode of build/bdist.linux-x86_64/wheel/sonic_thermalctld-1.0.data/scripts/thermalctld to 755
creating build/bdist.linux-x86_64/wheel/sonic_thermalctld-1.0.dist-info/WHEEL
creating '/sonic/src/sonic-platform-daemons/sonic-thermalctld/dist/.tmp-b7kxvu5r/sonic_thermalctld-1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'sonic_thermalctld-1.0.data/scripts/thermalctld'
adding 'tests/__init__.py'
adding 'tests/mock_platform.py'
adding 'tests/mock_swsscommon.py'
adding 'tests/test_thermalctld.py'
adding 'sonic_thermalctld-1.0.dist-info/METADATA'
adding 'sonic_thermalctld-1.0.dist-info/WHEEL'
adding 'sonic_thermalctld-1.0.dist-info/top_level.txt'
adding 'sonic_thermalctld-1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built sonic-thermalctld-1.0.tar.gz and sonic_thermalctld-1.0-py3-none-any.whl
/sonic
Build end time: Fri Oct 3 10:42:34 UTC 2025
Elapsed time: 0h 0m 14s