[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#910788: php-codecoverage: autopkgtest needs update for new version of xdebug



Source: php-codecoverage
Version: 6.0.8+dfsg-1
X-Debbugs-CC: debian-ci@lists.debian.org, xdebug@packages.debian.org
User: debian-ci@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: -----------------------]

*** /tmp/ediff240222m	Thu Oct 11 10:56:59 2018
--- /tmp/ediff2402DBt	Thu Oct 11 10:57:00 2018
***************
*** 11,16 ****
--- 11,17 ----
  libjs-twitter-bootstrap	2.0.2+dfsg-10
  libmagic-mgc	1:5.34-2
  libmagic1	1:5.34-2
+ libpcre2-8-0	10.31-3
  libpng16-16	1.6.34-2
  libsodium23	1.0.16-2
  libxml2	2.9.4+dfsg1-7+b1
***************
*** 33,48 ****
  php-token-stream	3.0.0-2
  php-tokenizer	1.1.0-1
  php-webmozart-assert	1.3.0-1
! php-xdebug	2.6.1+2.5.5-1
  php-xml	1:7.2+62
- php7.2-cli	7.2.9-1
  php7.2-common	7.2.9-1
- php7.2-json	7.2.9-1
  php7.2-mbstring	7.2.9-1
- php7.2-opcache	7.2.9-1
- php7.2-phpdbg	7.2.9-1
- php7.2-readline	7.2.9-1
  php7.2-xml	7.2.9-1
  phpunit	7.4.0-1
  phpunit-code-unit-reverse-lookup	1.0.1-1
  phpunit-comparator	3.0.2-1
--- 34,50 ----
  php-token-stream	3.0.0-2
  php-tokenizer	1.1.0-1
  php-webmozart-assert	1.3.0-1
! php-xdebug	2.7.0~beta1+2.5.5-1
  php-xml	1:7.2+62
  php7.2-common	7.2.9-1
  php7.2-mbstring	7.2.9-1
  php7.2-xml	7.2.9-1
+ php7.3-cli	7.3.0~rc2-2
+ php7.3-common	7.3.0~rc2-2
+ php7.3-json	7.3.0~rc2-2
+ php7.3-opcache	7.3.0~rc2-2
+ php7.3-phpdbg	7.3.0~rc2-2
+ php7.3-readline	7.3.0~rc2-2
  phpunit	7.4.0-1
  phpunit-code-unit-reverse-lookup	1.0.1-1
  phpunit-comparator	3.0.2-1

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: