[pkg-php-pear] Bug#952314: php-masterminds-html5: FTBFS: tests failed
Lucas Nussbaum
lucas at debian.org
Sun Feb 23 13:53:18 GMT 2020
Source: php-masterminds-html5
Version: 2.7.0+dfsg-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit
> PHPUnit 8.5.2 by Sebastian Bergmann and contributors.
>
> Warning - The configuration file did not pass validation!
> The following problems have been detected:
>
> Line 9:
> - Element 'blacklist': This element is not expected. Expected is ( whitelist ).
>
> Test results may not be as expected.
>
>
> .........R..W...............W......R...R....................... 63 / 170 ( 37%)
> ............R...............R..........EE.....R......R..R...... 126 / 170 ( 74%)
> .....................................R.....R 170 / 170 (100%)
>
> Time: 56 ms, Memory: 6.00 MB
>
> There were 2 errors:
>
> 1) Masterminds\HTML5\Tests\Parser\TokenizerTest::testTagsWithAttributeAndMissingName
> Trying to access array offset on value of type null
>
> /<<PKGBUILDDIR>>/test/HTML5/Parser/TokenizerTest.php:29
> /<<PKGBUILDDIR>>/test/HTML5/Parser/TokenizerTest.php:488
>
> 2) Masterminds\HTML5\Tests\Parser\TokenizerTest::testTagNotClosedAfterTagName
> Trying to access array offset on value of type null
>
> /<<PKGBUILDDIR>>/test/HTML5/Parser/TokenizerTest.php:29
> /<<PKGBUILDDIR>>/test/HTML5/Parser/TokenizerTest.php:514
>
> --
>
> There were 2 warnings:
>
> 1) Masterminds\HTML5\Tests\Html5Test::testEncodingUtf8
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> 2) Masterminds\HTML5\Tests\Html5Test::testAttributes
> Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStringIgnoringCase() instead.
>
> --
>
> There were 10 risky tests:
>
> 1) Masterminds\HTML5\Tests\ElementsTest::testFoo
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/test/HTML5/TestCase.php:14
>
> 2) Masterminds\HTML5\Tests\Html5Test::testFoo
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/test/HTML5/TestCase.php:14
>
> 3) Masterminds\HTML5\Tests\Parser\CharacterReferenceTest::testFoo
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/test/HTML5/TestCase.php:14
>
> 4) Masterminds\HTML5\Tests\Parser\DOMTreeBuilderTest::testFoo
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/test/HTML5/TestCase.php:14
>
> 5) Masterminds\HTML5\Tests\Parser\ScannerTest::testFoo
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/test/HTML5/TestCase.php:14
>
> 6) Masterminds\HTML5\Tests\Parser\TokenizerTest::testFoo
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/test/HTML5/TestCase.php:14
>
> 7) Masterminds\HTML5\Tests\Parser\TreeBuildingRulesTest::testFoo
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/test/HTML5/TestCase.php:14
>
> 8) Masterminds\HTML5\Tests\Parser\UTF8UtilsTest::testFoo
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/test/HTML5/TestCase.php:14
>
> 9) Masterminds\HTML5\Tests\Serializer\OutputRulesTest::testFoo
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/test/HTML5/TestCase.php:14
>
> 10) Masterminds\HTML5\Tests\Serializer\TraverserTest::testFoo
> This test did not perform any assertions
>
> /<<PKGBUILDDIR>>/test/HTML5/TestCase.php:14
>
> ERRORS!
> Tests: 170, Assertions: 2023, Errors: 2, Warnings: 2, Risky: 10.
> make[1]: *** [debian/rules:22: override_dh_auto_test] Error 2
The full build log is available from:
http://qa-logs.debian.net/2020/02/22/php-masterminds-html5_2.7.0+dfsg-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the pkg-php-pear
mailing list