[pkg-php-pear] Bug#952325: php-tijsverkoyen-css-to-inline-styles: FTBFS: tests failed

Lucas Nussbaum lucas at debian.org
Sun Feb 23 13:53:58 GMT 2020


Source: php-tijsverkoyen-css-to-inline-styles
Version: 2.2.2-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 --bootstrap src/autoload.php
> PHPUnit 8.5.2 by Sebastian Bergmann and contributors.
> 
>   Warning - The configuration file did not pass validation!
>   The following problems have been detected:
> 
>   Line 12:
>   - Element 'phpunit', attribute 'syntaxCheck': The attribute 'syntaxCheck' is not allowed.
> 
>   Test results may not be as expected.
> 
> 
> .........................W........F......                         41 / 41 (100%)
> 
> Time: 32 ms, Memory: 6.00 MB
> 
> There was 1 warning:
> 
> 1) TijsVerkoyen\CssToInlineStyles\tests\CssToInlineStylesTest::testNoXMLHeaderPresent
> Using assertNotContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringNotContainsString() or assertStringNotContainsStringIgnoringCase() instead.
> 
> --
> 
> There was 1 failure:
> 
> 1) TijsVerkoyen\CssToInlineStyles\tests\CssToInlineStylesTest::testSpecificity
> Failed asserting that two strings are equal.
> --- Expected
> +++ Actual
> @@ @@
>  '<a class="one" id="ONE" style="border: 1px solid red; width: 20px !important; border-bottom: 2px; height: 20px; margin: 10px; padding: 100px;">\n
> -  <img class="two" id="TWO" style="padding-bottom: 20px; padding: 0; border: none; padding-top: 30px;"></a>'
> +  <img class="two" id="TWO" style="padding-bottom: 20px; padding: 0; border: none; padding-top: 30px;">\n
> +</a>'
> 
> /<<PKGBUILDDIR>>/tests/CssToInlineStylesTest.php:263
> /<<PKGBUILDDIR>>/tests/CssToInlineStylesTest.php:204
> 
> FAILURES!
> Tests: 41, Assertions: 93, Failures: 1, Warnings: 1.
> make[1]: *** [debian/rules:13: override_dh_auto_test] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/php-tijsverkoyen-css-to-inline-styles_2.2.2-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