Build start time: Tue Dec 2 08:39:55 UTC 2025
[ REASON ] : target/python-wheels/bookworm/sonic_sensormond-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-sensormond /sonic
Defaulting to user installation because normal site-packages is not writeable
Processing /sonic/src/sonic-platform-daemons/sonic-sensormond
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: sonic-sensormond
Building wheel for sonic-sensormond (setup.py): started
Building wheel for sonic-sensormond (setup.py): finished with status 'done'
Created wheel for sonic-sensormond: filename=sonic_sensormond-1.0-py3-none-any.whl size=11039 sha256=0fddbbfeb27fa4c536a328bd3c0cb0fd64f0eca2c5545901459a32d7a5f6a0b6
Stored in directory: /var/jenkins/.cache/pip/wheels/82/55/bd/689ccb69b45f8c8e44a7f232606a7102a698aecd3a0d9972df
Successfully built sonic-sensormond
Installing collected packages: sonic-sensormond
Successfully installed sonic-sensormond-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-sensormond 1.0
Uninstalling sonic-sensormond-1.0:
Successfully uninstalled sonic-sensormond-1.0
Defaulting to user installation because normal site-packages is not writeable
Processing /sonic/src/sonic-platform-daemons/sonic-sensormond
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
WARNING: sonic-sensormond 1.0 does not provide the extra 'testing'
Building wheels for collected packages: sonic-sensormond
Building wheel for sonic-sensormond (setup.py): started
Building wheel for sonic-sensormond (setup.py): finished with status 'done'
Created wheel for sonic-sensormond: filename=sonic_sensormond-1.0-py3-none-any.whl size=11039 sha256=17814f24a1d0a63a6a5970c589b47faaaa98ed3cc45d83fed79f6665cf700b11
Stored in directory: /var/jenkins/.cache/pip/wheels/82/55/bd/689ccb69b45f8c8e44a7f232606a7102a698aecd3a0d9972df
Successfully built sonic-sensormond
Installing collected packages: sonic-sensormond
Successfully installed sonic-sensormond-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-sensormond 1.0
Uninstalling sonic-sensormond-1.0:
Successfully uninstalled sonic-sensormond-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-sensormond, configfile: pytest.ini
plugins: pyfakefs-5.7.4, cov-4.0.0
collecting ... collected 24 items
tests/test_sensormond.py::test_sensor_status_set_over_threshold PASSED [ 4%]
tests/test_sensormond.py::test_sensor_status_set_under_threshold PASSED [ 8%]
tests/test_sensormond.py::test_sensor_status_set_not_available PASSED [ 12%]
tests/test_sensormond.py::TestVoltageUpdater::test_deinit PASSED [ 16%]
tests/test_sensormond.py::TestVoltageUpdater::test_over_voltage PASSED [ 20%]
tests/test_sensormond.py::TestVoltageUpdater::test_under_voltage PASSED [ 25%]
tests/test_sensormond.py::TestVoltageUpdater::test_update_voltage_sensor_with_exception PASSED [ 29%]
tests/test_sensormond.py::TestVoltageUpdater::test_update_module_voltage_sensors PASSED [ 33%]
tests/test_sensormond.py::TestCurrentUpdater::test_deinit PASSED [ 37%]
tests/test_sensormond.py::TestCurrentUpdater::test_over_current PASSED [ 41%]
tests/test_sensormond.py::TestCurrentUpdater::test_under_current PASSED [ 45%]
tests/test_sensormond.py::TestCurrentUpdater::test_update_current_sensor_with_exception PASSED [ 50%]
tests/test_sensormond.py::TestCurrentUpdater::test_update_module_current_sensors PASSED [ 54%]
tests/test_sensormond.py::test_updater_voltage_sensor_check_modular_chassis PASSED [ 58%]
tests/test_sensormond.py::test_updater_voltage_sensor_check_chassis_table PASSED [ 62%]
tests/test_sensormond.py::test_updater_voltage_sensor_check_min_max PASSED [ 66%]
tests/test_sensormond.py::test_updater_current_sensor_check_modular_chassis PASSED [ 70%]
tests/test_sensormond.py::test_updater_current_sensor_check_chassis_table PASSED [ 75%]
tests/test_sensormond.py::test_updater_current_sensor_check_min_max PASSED [ 79%]
tests/test_sensormond.py::test_signal_handler PASSED [ 83%]
tests/test_sensormond.py::test_daemon_run PASSED [ 87%]
tests/test_sensormond.py::test_try_get PASSED [ 91%]
tests/test_sensormond.py::test_update_entity_info PASSED [ 95%]
tests/test_sensormond.py::test_main PASSED [100%]
=============================== warnings summary ===============================
tests/test_sensormond.py:5
/sonic/src/sonic-platform-daemons/sonic-sensormond/tests/test_sensormond.py:5: 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-sensormond/test-results.xml -
---------- coverage: platform linux, python 3.11.2-final-0 -----------
Name Stmts Miss Cover
----------------------------------------
scripts/sensormond 291 10 97%
----------------------------------------
TOTAL 291 10 97%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml
======================== 24 passed, 1 warning in 0.64s =========================
* Getting build dependencies for sdist...
* Building sdist...
running sdist
running egg_info
writing sonic_sensormond.egg-info/PKG-INFO
writing dependency_links to sonic_sensormond.egg-info/dependency_links.txt
writing top-level names to sonic_sensormond.egg-info/top_level.txt
writing manifest file 'sonic_sensormond.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-sensormond-1.0
creating sonic-sensormond-1.0/scripts
creating sonic-sensormond-1.0/sonic_sensormond.egg-info
creating sonic-sensormond-1.0/tests
creating sonic-sensormond-1.0/tests/mocked_libs
creating sonic-sensormond-1.0/tests/mocked_libs/sonic_platform
copying files to sonic-sensormond-1.0...
copying pytest.ini -> sonic-sensormond-1.0
copying setup.cfg -> sonic-sensormond-1.0
copying setup.py -> sonic-sensormond-1.0
copying scripts/sensormond -> sonic-sensormond-1.0/scripts
copying sonic_sensormond.egg-info/PKG-INFO -> sonic-sensormond-1.0/sonic_sensormond.egg-info
copying sonic_sensormond.egg-info/SOURCES.txt -> sonic-sensormond-1.0/sonic_sensormond.egg-info
copying sonic_sensormond.egg-info/dependency_links.txt -> sonic-sensormond-1.0/sonic_sensormond.egg-info
copying sonic_sensormond.egg-info/top_level.txt -> sonic-sensormond-1.0/sonic_sensormond.egg-info
copying tests/__init__.py -> sonic-sensormond-1.0/tests
copying tests/mock_platform.py -> sonic-sensormond-1.0/tests
copying tests/mock_swsscommon.py -> sonic-sensormond-1.0/tests
copying tests/sensors.yaml -> sonic-sensormond-1.0/tests
copying tests/test_sensormond.py -> sonic-sensormond-1.0/tests
copying tests/mocked_libs/sonic_platform/__init__.py -> sonic-sensormond-1.0/tests/mocked_libs/sonic_platform
copying tests/mocked_libs/sonic_platform/chassis.py -> sonic-sensormond-1.0/tests/mocked_libs/sonic_platform
copying tests/mocked_libs/sonic_platform/platform.py -> sonic-sensormond-1.0/tests/mocked_libs/sonic_platform
Writing sonic-sensormond-1.0/setup.cfg
Creating tar archive
removing 'sonic-sensormond-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/__init__.py -> build/lib/tests
copying tests/mock_platform.py -> build/lib/tests
copying tests/test_sensormond.py -> build/lib/tests
copying tests/mock_swsscommon.py -> build/lib/tests
running build_scripts
creating build/scripts-3.11
copying and adjusting scripts/sensormond -> build/scripts-3.11
changing mode of build/scripts-3.11/sensormond 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/__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_sensormond.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_sensormond.egg-info/PKG-INFO
writing dependency_links to sonic_sensormond.egg-info/dependency_links.txt
writing top-level names to sonic_sensormond.egg-info/top_level.txt
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
reading manifest file 'sonic_sensormond.egg-info/SOURCES.txt'
writing manifest file 'sonic_sensormond.egg-info/SOURCES.txt'
Copying sonic_sensormond.egg-info to build/bdist.linux-x86_64/wheel/sonic_sensormond-1.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/sonic_sensormond-1.0.data
creating build/bdist.linux-x86_64/wheel/sonic_sensormond-1.0.data/scripts
copying build/scripts-3.11/sensormond -> build/bdist.linux-x86_64/wheel/sonic_sensormond-1.0.data/scripts
changing mode of build/bdist.linux-x86_64/wheel/sonic_sensormond-1.0.data/scripts/sensormond to 755
creating build/bdist.linux-x86_64/wheel/sonic_sensormond-1.0.dist-info/WHEEL
creating '/sonic/src/sonic-platform-daemons/sonic-sensormond/dist/.tmp-1cpbv8ph/sonic_sensormond-1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'sonic_sensormond-1.0.data/scripts/sensormond'
adding 'tests/__init__.py'
adding 'tests/mock_platform.py'
adding 'tests/mock_swsscommon.py'
adding 'tests/test_sensormond.py'
adding 'sonic_sensormond-1.0.dist-info/METADATA'
adding 'sonic_sensormond-1.0.dist-info/WHEEL'
adding 'sonic_sensormond-1.0.dist-info/top_level.txt'
adding 'sonic_sensormond-1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built sonic-sensormond-1.0.tar.gz and sonic_sensormond-1.0-py3-none-any.whl
/sonic
Build end time: Tue Dec 2 08:40:10 UTC 2025
Elapsed time: 0h 0m 15s
|