Re: python-xiaomi-ble: autopktest failure on s390x: test_Xiaomi_MS1BB_MI_obj4a08 test_Xiaomi_HS1BB_illuminanca_and_motion test_Xiaomi_XMPIRO2SXS

Paul Gevers <[email protected]>
Newsgroups gmane.linux.debian.ports.s390
Message-ID <[email protected]>
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 <[email protected]> 
wrote:
> Source: python-xiaomi-ble
> Version: 0.36.0-1
> Severity: serious
> User: [email protected]
> 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={
OpenPGP_signature.asc (application/pgp-signature, 495 B)
-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAmgMgdMFAwAAAAAACgkQnFyZ6wW9dQqs
uQf+JjkUznb4bKmfdegC1YWn5z3HLF6p1kbee3iFT6QnRq7JZwGdj2K+qy+mzdJ4tO00BQ+a4OpN
4gtblVPAYC1lDV25Pv4I7Q5JBTpnGqRkCuBL9FvqVE3BYaYBm7O99w5YOVjaELWebS/LFJk9neFa
zoAvBANYW8bNcgIf7Fbeyl7RYn3y0p404zqjSO0HSgFfUE7kWbA/a5awyr40KuvtwYepjlE1ZdfC
ULnkkggtSew/2a4GxV0mWRAChPasfg/MoR2/fdugHRE5K7R5hzNiORdiPPOKWXycqEvgxodJVvD+
9zjfHk2ax8vV0rh6UsBk7TQY0S+dCscBPliTP0KD5A==
=ZiJz
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.