[pkg-php-pear] Bug#1020127: php-amqplib: FTBFS: make[1]: *** [debian/rules:23: override_dh_auto_test] Error 1

Lucas Nussbaum lucas at debian.org
Sun Sep 18 07:39:09 BST 2022


Source: php-amqplib
Version: 3.2.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> TEST_RABBIT_SERVER_DIR=$(mktemp -d --tmpdir rabbitmq.XXXXXX) ; \
> mkdir -p $TEST_RABBIT_SERVER_DIR/log ; \
> export RABBITMQ_NODENAME=test ; \
> env RABBITMQ_MNESIA_BASE=$TEST_RABBIT_SERVER_DIR/mnesia \
>   RABBITMQ_CONFIG_FILE=debian/rabbitmq.conf \
>   RABBITMQ_LOG_BASE=$TEST_RABBIT_SERVER_DIR/log \
>   RABBITMQ_NODE_IP_ADDRESS=127.0.0.1 \
>   HOME=$TEST_RABBIT_SERVER_DIR \
>   /usr/lib/rabbitmq/bin/rabbitmq-server > $TEST_RABBIT_SERVER_DIR/log/output.txt 2>&1 & \
> TEST_RABBIT_SERVER_PID=$! ; \
> HOME=$TEST_RABBIT_SERVER_DIR /usr/lib/rabbitmq/bin/rabbitmqctl wait \
>   -q --pid $TEST_RABBIT_SERVER_PID ; \
> phpunit ; \
> exit=$? ; \
> env RABBITMQ_MNESIA_BASE=$TEST_RABBIT_SERVER_DIR/mnesia \
>   RABBITMQ_LOG_BASE=$TEST_RABBIT_SERVER_DIR/log \
>   RABBITMQ_NODE_IP_ADDRESS=127.0.0.1 \
>   HOME=$TEST_RABBIT_SERVER_DIR \
>   /usr/lib/rabbitmq/bin/rabbitmqctl stop > $TEST_RABBIT_SERVER_DIR/log/stop_output.txt 2>&1 & \
> exit $exit
> PHPUnit 9.5.24 #StandWithUkraine
> 
> Runtime:       PHP 8.1.7
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> Warning:       No code coverage driver available
> Warning:       Your XML configuration validates against a deprecated schema.
> Suggestion:    Migrate your XML configuration using "--migrate-configuration"!
> 
> ...............................................................  63 / 827 (  7%)
> ......................................F........................ 126 / 827 ( 15%)
> ............................................................... 189 / 827 ( 22%)
> ............................................................... 252 / 827 ( 30%)
> ............................................................... 315 / 827 ( 38%)
> ............................................................... 378 / 827 ( 45%)
> ............................................................... 441 / 827 ( 53%)
> ............................................................... 504 / 827 ( 60%)
> ............................................................... 567 / 827 ( 68%)
> ............................................................... 630 / 827 ( 76%)
> ............................................................... 693 / 827 ( 83%)
> ............................................................... 756 / 827 ( 91%)
> .......................SSSSSSSS........SS....S................. 819 / 827 ( 99%)
> ........                                                        827 / 827 (100%)
> 
> Time: 01:02.936, Memory: 18.00 MB
> 
> There was 1 failure:
> 
> 1) PhpAmqpLib\Tests\Unit\Wire\AMQPReaderTest::testDecodeFloatingPointValues
> Failed asserting that 0.0010000000474974513 matches expected 0.001.
> 
> /<<PKGBUILDDIR>>/tests/Unit/Wire/AMQPReaderTest.php:64
> 
> --
> 
> There were 11 skipped tests:
> 
> 1) PhpAmqpLib\Tests\Functional\Connection\ConnectionAuthTest::plain_auth_passwordless_must_fail
> Unable to connect to "https://localhost:15671/api/users/test_544450276": 7 Failed to connect to localhost port 15671 after 0 ms: Connection refused
> 
> /<<PKGBUILDDIR>>/tests/Functional/Connection/ConnectionAuthTest.php:86
> /<<PKGBUILDDIR>>/tests/Functional/Connection/ConnectionAuthTest.php:25
> 
> 2) PhpAmqpLib\Tests\Functional\Connection\ConnectionClosedTest::must_throw_exception_broken_pipe_wait with data set #0 ('stream', false)
> TOXIPROXY_HOST is not set
> 
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:91
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:81
> /<<PKGBUILDDIR>>/tests/Functional/Connection/ConnectionClosedTest.php:37
> 
> 3) PhpAmqpLib\Tests\Functional\Connection\ConnectionClosedTest::must_throw_exception_broken_pipe_wait with data set #1 ('stream', true)
> TOXIPROXY_HOST is not set
> 
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:91
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:81
> /<<PKGBUILDDIR>>/tests/Functional/Connection/ConnectionClosedTest.php:37
> 
> 4) PhpAmqpLib\Tests\Functional\Connection\ConnectionClosedTest::must_throw_exception_broken_pipe_wait with data set #2 ('socket', false)
> TOXIPROXY_HOST is not set
> 
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:91
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:81
> /<<PKGBUILDDIR>>/tests/Functional/Connection/ConnectionClosedTest.php:37
> 
> 5) PhpAmqpLib\Tests\Functional\Connection\ConnectionClosedTest::must_throw_exception_broken_pipe_wait with data set #3 ('socket', true)
> TOXIPROXY_HOST is not set
> 
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:91
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:81
> /<<PKGBUILDDIR>>/tests/Functional/Connection/ConnectionClosedTest.php:37
> 
> 6) PhpAmqpLib\Tests\Functional\Connection\ConnectionClosedTest::must_throw_exception_broken_pipe_write with data set #0 ('stream', 1024)
> TOXIPROXY_HOST is not set
> 
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:91
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:81
> /<<PKGBUILDDIR>>/tests/Functional/Connection/ConnectionClosedTest.php:85
> 
> 7) PhpAmqpLib\Tests\Functional\Connection\ConnectionClosedTest::must_throw_exception_broken_pipe_write with data set #1 ('stream', 32768)
> TOXIPROXY_HOST is not set
> 
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:91
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:81
> /<<PKGBUILDDIR>>/tests/Functional/Connection/ConnectionClosedTest.php:85
> 
> 8) PhpAmqpLib\Tests\Functional\Connection\ConnectionClosedTest::must_throw_exception_broken_pipe_write with data set #2 ('socket', 32768)
> TOXIPROXY_HOST is not set
> 
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:91
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:81
> /<<PKGBUILDDIR>>/tests/Functional/Connection/ConnectionClosedTest.php:85
> 
> 9) PhpAmqpLib\Tests\Functional\Connection\ConnectionClosedTest::must_throw_exception_after_connection_was_restored with data set #0 ('stream')
> TOXIPROXY_HOST is not set
> 
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:91
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:81
> /<<PKGBUILDDIR>>/tests/Functional/Connection/ConnectionClosedTest.php:229
> 
> 10) PhpAmqpLib\Tests\Functional\Connection\ConnectionClosedTest::must_throw_exception_after_connection_was_restored with data set #1 ('socket')
> TOXIPROXY_HOST is not set
> 
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:91
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:81
> /<<PKGBUILDDIR>>/tests/Functional/Connection/ConnectionClosedTest.php:229
> 
> 11) PhpAmqpLib\Tests\Functional\Connection\ConnectionUnresponsiveTest::must_throw_timeout_exception_on_missing_connect_response with data set #0 ('stream')
> TOXIPROXY_HOST is not set
> 
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:91
> /<<PKGBUILDDIR>>/tests/Functional/AbstractConnectionTest.php:81
> /<<PKGBUILDDIR>>/tests/Functional/Connection/ConnectionUnresponsiveTest.php:63
> 
> FAILURES!
> Tests: 827, Assertions: 1085, Failures: 1, Skipped: 11.
> make[1]: *** [debian/rules:23: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/php-amqplib_3.2.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-php-pear mailing list