[pkg-php-pear] Bug#1006733: phpunit breaks php-nesbot-carbon autopkgtest: rounding differences
Paul Gevers
elbrus at debian.org
Thu Mar 3 20:37:35 GMT 2022
Source: phpunit, php-nesbot-carbon
Control: found -1 phpunit/9.5.14-1
Control: found -1 php-nesbot-carbon/2.55.2-1
Severity: serious
Tags: sid bookworm
Usertags: breaks needs-update
Dear maintainer(s),
With a recent upload of phpunit the autopkgtest of php-nesbot-carbon
fails in testing when that autopkgtest is run with the binary packages
of phpunit from unstable. It passes when run with only packages from
testing. In tabular form:
pass fail
phpunit from testing 9.5.14-1
php-nesbot-carbon from testing 2.55.2-1
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of phpunit 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=phpunit
https://ci.debian.net/data/autopkgtest/testing/amd64/p/php-nesbot-carbon/19683262/log.gz
There were 2 failures:
1) Tests\Carbon\DiffTest::testFloatDiff
Failed asserting that 0.999999999988426 is identical to 0.99999999998843.
/tmp/autopkgtest-lxc._34mbrtd/downtmp/build.AFw/src/tests/Carbon/DiffTest.php:1638
2) Tests\CarbonImmutable\DiffTest::testFloatDiff
Failed asserting that 0.999999999988426 is identical to 0.99999999998843.
/tmp/autopkgtest-lxc._34mbrtd/downtmp/build.AFw/src/tests/CarbonImmutable/DiffTest.php:1587
--
There were 4 skipped tests:
1) Tests\Carbon\GenericMacroTest::testGenericMacroBinding
Use of $this in macros is deprecated and may not work in PHP 8.
/tmp/autopkgtest-lxc._34mbrtd/downtmp/build.AFw/src/tests/Carbon/GenericMacroTest.php:26
2) Tests\Carbon\SerializationTest::testMsgPackExtension
This test needs msgpack extension to be enabled.
/tmp/autopkgtest-lxc._34mbrtd/downtmp/build.AFw/src/tests/Carbon/SerializationTest.php:146
3) Tests\CarbonImmutable\GenericMacroTest::testGenericMacroBinding
Use of $this in macros is deprecated and may not work in PHP 8.
/tmp/autopkgtest-lxc._34mbrtd/downtmp/build.AFw/src/tests/CarbonImmutable/GenericMacroTest.php:26
4) Tests\CarbonImmutable\SerializationTest::testMsgPackExtension
This test needs msgpack extension to be enabled.
/tmp/autopkgtest-lxc._34mbrtd/downtmp/build.AFw/src/tests/CarbonImmutable/SerializationTest.php:143
FAILURES!
Tests: 5495, Assertions: 190546, Failures: 2, Skipped: 4.
autopkgtest [19:12:13]: test phpunit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-php-pear/attachments/20220303/7fc52a48/attachment.sig>
More information about the pkg-php-pear
mailing list