Dear s390x porters,

This bug has your user tag already, but it wasn't X-Debbugs-CC to you, you might want to help out. (Start of report below, full report from https://bugs.debian.org/1103588)

Paul

On Sat, 19 Apr 2025 13:40:01 +0200 Chris Hofstaedtler <z...@debian.org> wrote:
Source: python-xiaomi-ble
Version: 0.36.0-1
Severity: serious
User: debian-s...@lists.debian.org
Usertags: s390x

python-xiaomi-ble autopktests fail on s390x:

https://ci.debian.net/packages/p/python-xiaomi-ble/testing/s390x/59901553/

 39s =================================== FAILURES 
===================================
 39s _________________________ test_Xiaomi_MS1BB_MI_obj4a08 
_________________________
39s 39s def test_Xiaomi_MS1BB_MI_obj4a08():
 39s         """Test Xiaomi parser for Linptech HS1BB(MI) motion + illuminance 
(4a08)."""
 39s         data_string = 
b"HY\xeb*\xc2\xfc\xe0,\xa0\xb4:\xf28\x00\x00\xa2\xd9\xf0_"
 39s         advertisement = bytes_to_service_info(data_string, 
address="A4:C1:38:05:8E:E9")
 39s         bindkey = "7475a4a77584401780ffc3ee62dd353c"
39s 39s device = XiaomiBluetoothDeviceData(bindkey=bytes.fromhex(bindkey))
 39s         assert device.supported(advertisement)
 39s         assert device.bindkey_verified
 39s >       assert device.update(advertisement) == SensorUpdate(
 39s             title="Motion Sensor 8EE9 (HS1BB(MI))",
 39s             devices={
 39s                 None: SensorDeviceInfo(
 39s                     name="Motion Sensor 8EE9",
 39s                     manufacturer="Xiaomi",
 39s                     model="HS1BB(MI)",
 39s                     hw_version=None,
 39s                     sw_version="Xiaomi (MiBeacon V5 encrypted)",
 39s                 )
 39s             },
 39s             entity_descriptions={
 39s                 KEY_ILLUMINANCE: SensorDescription(
 39s                     device_key=KEY_ILLUMINANCE,
 39s                     device_class=DeviceClass.ILLUMINANCE,
 39s                     native_unit_of_measurement=Units.LIGHT_LUX,
 39s                 ),
 39s                 KEY_SIGNAL_STRENGTH: SensorDescription(
 39s                     device_key=KEY_SIGNAL_STRENGTH,
 39s                     device_class=DeviceClass.SIGNAL_STRENGTH,
 39s                     native_unit_of_measurement="dBm",
 39s                 ),
 39s             },
 39s             entity_values={
 39s                 KEY_ILLUMINANCE: SensorValue(
 39s                     name="Illuminance", device_key=KEY_ILLUMINANCE, 
native_value=228
 39s                 ),
 39s                 KEY_SIGNAL_STRENGTH: SensorValue(
 39s                     name="Signal Strength", 
device_key=KEY_SIGNAL_STRENGTH, native_value=-60
 39s                 ),
 39s             },
 39s             binary_entity_descriptions={
 39s                 KEY_BINARY_MOTION: BinarySensorDescription(
 39s                     device_key=KEY_BINARY_MOTION,
 39s                     device_class=BinarySensorDeviceClass.MOTION,
 39s                 ),
 39s             },
 39s             binary_entity_values={

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to