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

Bug#941264: phpunit breaks php-cache-lite autopkgtest: tries to write to /usr/bin/.phpunit.result.cache

Source: phpunit, php-cache-lite
Control: found -1 phpunit/8.3.5-1
Control: found -1 php-cache-lite/1.8.2-1
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainers,

With a recent upload of phpunit the autopkgtest of php-cache-lite 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    8.3.5-1
php-cache-lite         from testing    1.8.2-1
versioned deps [0]     from testing    from unstable
all others             from testing    from testing

I copied some of the output at the bottom of this report. It seems the
test now tries to write in /usr/bin, which is obviously not good.

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


[0] You can see what packages were added from the second line of the log
file quoted below. The migration software adds source package from
unstable to the list if they are needed to install packages from
phpunit/8.3.5-1. I.e. due to versioned dependencies or breaks/conflicts.
[1] https://qa.debian.org/excuses.php?package=phpunit


autopkgtest [02:12:32]: test command1: [-----------------------
PHPUnit 8.3.5 by Sebastian Bergmann and contributors.

........................                                          24 /
24 (100%)PHP Warning:
file_put_contents(/usr/bin/.phpunit.result.cache): failed to open
stream: Permission denied in
/usr/share/php/PHPUnit/Runner/DefaultTestResultCache.php on line 108

Time: 15.44 seconds, Memory: 4.00 MB

OK (24 tests, 30 assertions)
autopkgtest [02:12:48]: test command1: -----------------------]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: