[Pkg-utopia-maintainers] Bug#1050436: upower: autopkgtest regression on i386: excessive precision?

Michael Biebl biebl at debian.org
Thu Aug 31 23:37:13 BST 2023


On Thu, 24 Aug 2023 17:18:35 +0200 Paul Gevers <elbrus at debian.org> wrote:
> Source: upower 1.90.2-4
> Severity: serious
> Tags: sid trixie
> X-Debbugs-CC: bunk at debian.org
> User: debian-ci at lists.debian.org
> Usertags: regression
> Control: affects -1 src:libgudev
> 
> Dear maintainer(s),
> 
> With a recent upload of upower, the autopkgtest of upower fails on i386 
> in testing when that autopkgtest is run with the binary packages of 
> upower and libgudev from unstable. It passes when run with only packages 
> from testing. In tabular form:
> 
>                         pass            fail
> libgudev               from testing    238-2
> upower                 from testing    1.90.2-4
> all others             from testing    from testing
> 
> I copied some of the output at the bottom of this report. Looking at the 
> error this *seems* to me the result of the excessive precision of i386, 
> but I hope the i386 porter (in XDCC) can shed his light on that too.
> 
> Currently this regression is blocking the migration of libgudev to 
> testing [1]. Due to the nature of this issue, I filed this bug report 
> against both packages. Can you please investigate the situation and 
> reassign the bug to the right package?
> 
> More information about this bug and the reason for filing it can be found on
> https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
> 
> Paul
> 
> [1] https://qa.debian.org/excuses.php?package=libgudev
> 
> https://ci.debian.net/data/autopkgtest/testing/i386/u/upower/37102682/log.gz
> 
> 208s ======================================================================
> 208s FAIL: test_battery_energy_charge_mixed 
> (__main__.Tests.test_battery_energy_charge_mixed)
> 208s battery which reports both current charge and energy
> 208s ----------------------------------------------------------------------
> 208s Traceback (most recent call last):
> 208s   File "/usr/libexec/upower/integration-test.py", line 887, in 
> test_battery_energy_charge_mixed
> 208s     self.assertEqual(self.get_dbus_dev_property(bat0_up, 
> 'Percentage'), 40.0)
> 208s AssertionError: 40.00000000000001 != 40.0

Adrian, as i386 porter, could you have a look at this?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20230901/f4459c09/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list