Your message dated Tue, 25 Jun 2024 08:06:39 +0200
with message-id <[email protected]>
and subject line Re: Bug#1073574: phpunit: FTBFS with pkg-php-tools_1.45+nmu1: 
make[1]: *** [debian/rules:43: override_dh_auto_test] Error 1
has caused the Debian Bug report #1073574,
regarding phpunit: FTBFS with pkg-php-tools_1.45+nmu1: make[1]: *** 
[debian/rules:43: override_dh_auto_test] Error 1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1073574: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1073574
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: phpunit
Version: 9.6.19-1
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
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

--- End Message ---
--- Begin Message ---
Hi,

Le Mon, Jun 17, 2024 at 11:30:20AM -0300, Athos Ribeiro a écrit :
> Source: phpunit
> Version: 9.6.19-1
> Severity: normal
> Justification: FTBFS
[…]
> During a test rebuild, phpunit was found to fail to build with
> pkg-php-tools 1.45 available in experimental.

Thanks but…
[…]
> > Failed asserting that "/tmp/unreadable_dir_666dfb5d4ea1d1.03770300" is not 
> > readable.
[…]
> > Failed asserting that "/tmp/not_writable_dir_666dfb5d4eb227.96318457" is 
> > not writable.
[…]

Looks like a false positive (weird permissions in your build environment
maybe). Thanks again for the mbf!

Cheers,

taffit

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to