Source: phpunit Version: 9.6.19-1 Severity: normal Justification: FTBFS Tags: trixie sid ftbfs User: pkg-php-p...@lists.alioth.debian.org Usertags: pkg-php-tools-1.45
Hi, During a test rebuild, phpunit was found to fail to build with pkg-php-tools 1.45 available in experimental. To reproduce this locally, you need to install pkg-php-tools from experimental on an unstable system or build chroot. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > ./mimic/bin/phpunit > PHPUnit 9.6.19 by Sebastian Bergmann and contributors. > > Runtime: PHP 8.2.18 > Configuration: /<<PKGBUILDDIR>>/phpunit.xml > ... > > Time: 00:14.083, Memory: 32.00 MB > > There were 4 failures: > > 1) PHPUnit\Framework\AssertTest::testAssertDirectoryIsNotReadable > Failed asserting that "/tmp/unreadable_dir_666dfb5d4ea1d1.03770300" is not > readable. > > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Constraint/Constraint.php:122 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Constraint/Constraint.php:56 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Assert.php:2438 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Assert.php:767 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Assert.php:886 > /<<PKGBUILDDIR>>/tests/unit/Framework/AssertTest.php:565 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestCase.php:1617 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestCase.php:1223 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestResult.php:729 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestCase.php:973 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/TestRunner.php:651 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/Command.php:146 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/Command.php:99 > > 2) PHPUnit\Framework\AssertTest::testAssertDirectoryIsNotWritable > Failed asserting that "/tmp/not_writable_dir_666dfb5d4eb227.96318457" is not > writable. > > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Constraint/Constraint.php:122 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Constraint/Constraint.php:56 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Assert.php:2438 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Assert.php:806 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Assert.php:928 > /<<PKGBUILDDIR>>/tests/unit/Framework/AssertTest.php:595 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestCase.php:1617 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestCase.php:1223 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestResult.php:729 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestCase.php:973 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/TestRunner.php:651 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/Command.php:146 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/Command.php:99 > > 3) PHPUnit\Framework\AssertTest::testAssertFileIsNotReadable > Failed asserting that "/tmp/unreadableEyKG3w" is not readable. > > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Constraint/Constraint.php:122 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Constraint/Constraint.php:56 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Assert.php:2438 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Assert.php:767 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Assert.php:1009 > /<<PKGBUILDDIR>>/tests/unit/Framework/AssertTest.php:647 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestCase.php:1617 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestCase.php:1223 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestResult.php:729 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestCase.php:973 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/TestRunner.php:651 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/Command.php:146 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/Command.php:99 > > 4) PHPUnit\Framework\AssertTest::testAssertFileIsNotWritable > Failed asserting that "/tmp/not_writableeD3Hvx" is not writable. > > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Constraint/Constraint.php:122 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Constraint/Constraint.php:56 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Assert.php:2438 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Assert.php:806 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Assert.php:1051 > /<<PKGBUILDDIR>>/tests/unit/Framework/AssertTest.php:665 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestCase.php:1617 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestCase.php:1223 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestResult.php:729 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestCase.php:973 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/TestRunner.php:651 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/Command.php:146 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/Command.php:99 > > -- > > There was 1 incomplete test: > > 1) > /<<PKGBUILDDIR>>/tests/end-to-end/generic/class-name-does-not-match-filename-invocation-without-path.phpt > https://github.com/sebastianbergmann/phpunit/issues/5074 > > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Runner/PhptTestCase.php:210 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/TestRunner.php:651 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/Command.php:146 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/Command.php:99 > > Caused by > Failed asserting that string matches format description. > --- Expected > +++ Actual > @@ @@ > PHPUnit 9.6.19 by Sebastian Bergmann and contributors. > > -Warning: Test case class not matching filename is deprecated > - in %sWrongClassNameTest.php > - Class name was 'WrongClassNameBar', expected > 'WrongClassNameTest' > - > . 1 / 1 > (100%) > > -Time: %s, Memory: %s > +Time: 00:00.001, Memory: 4.00 MB > > OK (1 test, 1 assertion) > > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Constraint/Constraint.php:122 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Constraint/Constraint.php:56 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Assert.php:2438 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/Assert.php:2045 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Runner/PhptTestCase.php:380 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Runner/PhptTestCase.php:205 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/Framework/TestSuite.php:685 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/TestRunner.php:651 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/Command.php:146 > /<<PKGBUILDDIR>>/mimic/share/php/PHPUnit/TextUI/Command.php:99 > > -- > > There were 53 skipped tests: > ... The full build log is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/pkg-php-tools_1.45/0/phpunit/phpunit_9.6.19-1+rebuild1718483782_amd64-2024-06-15T20:36:23Z.build