[pkg-php-pear] Bug#910788: php-codecoverage: autopkgtest needs update for new version of xdebug

Paul Gevers elbrus at debian.org
Thu Oct 11 10:01:47 BST 2018


Source: php-codecoverage
Version: 6.0.8+dfsg-1
X-Debbugs-CC: debian-ci at lists.debian.org, xdebug at packages.debian.org
User: debian-ci at lists.debian.org
Usertags: needs-update
Control: affects -1 src:xdebug

Dear maintainers,

With a recent upload of xdebug the autopkgtest of php-codecoverage fails
in testing when that autopkgtest is run with the binary packages of
xdebug from unstable. It passes when run with only packages from
testing. In tabular form:
                       pass            fail
xdebug                 from testing    2.7.0~beta1+2.5.5-1
php-codecoverage       from testing    6.0.8+dfsg-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. To be honest,
I am quite puzzled about what is going on. The issue seems very much
like bug 910264 (closed) which fixed itself apparently. I fear that the
test of php-codecoverage has a versioned dependency on some php7.2*
package that it doesn't declare, and due to alternatives, the php7.3*
version gets installed and doesn't do the right thing for the test.
Apart from the output, I also attach the delta of installed packages
between a successful run and the failing one.

Currently this regression is contributing to the delay of the migration
of xdebug to testing [1]. Of course, xdebug shouldn't just break your
autopkgtest (or even worse, your package), but it seems to me that its
php-codecoverage that needs to improve its (versioned) (test)
dependencies. I could be wrong though, please reassign to xdebug (or any
other package) if you think the issue lies elsewhere.

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from xdebug should really add
a versioned Breaks on the unfixed version of (one of your) package(s).
Note: the Breaks is nice even if the issue is only in the autopkgtest as
it helps the migration software to figure out the right versions to
combine in the tests.

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=xdebug

https://ci.debian.net/data/autopkgtest/testing/amd64/p/php-codecoverage/1127874/log.gz

autopkgtest [04:41:59]: test phpunit: [-----------------------
patching file tests/bootstrap.php
Class 'DOMDocument' not found
patching file tests/bootstrap.php
autopkgtest [04:42:00]: test phpunit: -----------------------]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: php-codecoverage-installed-packages.diff
Type: text/x-diff
Size: 1235 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-php-pear/attachments/20181011/f20c9d35/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-php-pear/attachments/20181011/f20c9d35/attachment.sig>


More information about the pkg-php-pear mailing list