[pkg-php-pear] Bug#980659: php-codesniffer: FTBFS: tests failed
Lucas Nussbaum
lucas at debian.org
Wed Jan 20 21:00:44 GMT 2021
Source: php-codesniffer
Version: 3.5.8-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 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>>'
> cd PHP_CodeSniffer-* && phpunit
> PHPUnit 9.5.1 by Sebastian Bergmann and contributors.
>
> ............................................................... 63 / 657 ( 9%)
> ............................................................... 126 / 657 ( 19%)
> ............................................................... 189 / 657 ( 28%)
> ...................................................S........... 252 / 657 ( 38%)
> ............................................................... 315 / 657 ( 47%)
> ............................................................... 378 / 657 ( 57%)
> ............................................................... 441 / 657 ( 67%)
> ......SSSS.......................S............................. 504 / 657 ( 76%)
> S.............................................................. 567 / 657 ( 86%)
> ................SS............................................. 630 / 657 ( 95%)
> .F......................... 657 / 657 (100%)
>
> 437 sniff test files generated 784 unique error codes; 447 were fixable (57%)
>
> Time: 00:03.283, Memory: 50.00 MB
>
> There was 1 failure:
>
> 1) PHP_CodeSniffer\Standards\Squiz\Tests\Commenting\FileCommentUnitTest::testSniff
> Fixed version of FileCommentUnitTest.1.inc does not match expected version in FileCommentUnitTest.1.inc.fixed; the diff is
> [31m--- src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.inc.fixed[0m
> [32m+++ PHP_CodeSniffer[0m
> @@ -25,7 +25,7 @@
> * @author
> * @copyright 1997 Squiz Pty Ltd (ABN 77 084 670 600)
> * @copyright 1994-1997 Squiz Pty Ltd (ABN 77 084 670 600)
> [31m-* @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600)[0m
> [32m+* @copyright 2021 Squiz Pty Ltd (ABN 77 084 670 600)[0m
> * @license http://www.php.net/license/3_0.txt
> * @summary An unknown summary tag
> *
> Fixed version of FileCommentUnitTest.1.js does not match expected version in FileCommentUnitTest.1.js.fixed; the diff is
> [31m--- src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.js.fixed[0m
> [32m+++ PHP_CodeSniffer[0m
> @@ -25,7 +25,7 @@
> * @author
> * @copyright 1997 Squiz Pty Ltd (ABN 77 084 670 600)
> * @copyright 1994-1997 Squiz Pty Ltd (ABN 77 084 670 600)
> [31m-* @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600)[0m
> [32m+* @copyright 2021 Squiz Pty Ltd (ABN 77 084 670 600)[0m
> * @license http://www.php.net/license/3_0.txt
> * @summary An unknown summary tag
> *
>
> /<<PKGBUILDDIR>>/PHP_CodeSniffer-3.5.8/tests/Standards/AbstractSniffUnitTest.php:206
> /<<PKGBUILDDIR>>/PHP_CodeSniffer-3.5.8/tests/TestSuite.php:28
>
> FAILURES!
> Tests: 657, Assertions: 3137, Failures: 1, Skipped: 9.
> make[1]: *** [debian/rules:13: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/01/20/php-codesniffer_3.5.8-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!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
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