[pkg-php-pear] Bug#1011781: libphp-swiftmailer: FTBFS: make[1]: *** [debian/rules:14: override_dh_auto_test] Error 1

Lucas Nussbaum lucas at debian.org
Thu May 26 20:08:15 BST 2022


Source: libphp-swiftmailer
Version: 6.3.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 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>>'
> mkdir -p vendor
> cp debian/autoload.test.php vendor/autoload.php
> phpunit -v --include-path lib
> PHPUnit 9.5.16 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.1.5
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> 
> Testing 
> .............................................................   61 / 1275 (  4%)
> .............................................................  122 / 1275 (  9%)
> .............................................................  183 / 1275 ( 14%)
> .............................................................  244 / 1275 ( 19%)
> .............................................................  305 / 1275 ( 23%)
> .............................................................  366 / 1275 ( 28%)
> .............................................................  427 / 1275 ( 33%)
> .............................................................  488 / 1275 ( 38%)
> .............................................................  549 / 1275 ( 43%)
> .............................................................  610 / 1275 ( 47%)
> .............................................................  671 / 1275 ( 52%)
> .............................................................  732 / 1275 ( 57%)
> .................SSSSSS......................................  793 / 1275 ( 62%)
> ..F..........................................................  854 / 1275 ( 66%)
> .............................................................  915 / 1275 ( 71%)
> .............................................................  976 / 1275 ( 76%)
> ............................................................. 1037 / 1275 ( 81%)
> ............................................................. 1098 / 1275 ( 86%)
> ............................................................. 1159 / 1275 ( 90%)
> ............................................................. 1220 / 1275 ( 95%)
> ........SSSSSSSSSSSSSSSSSSSSS......................SSSS       1275 / 1275 (100%)
> 
> Time: 00:01.242, Memory: 76.01 MB
> 
> There was 1 failure:
> 
> 1) Swift_Transport_Esmtp_Auth_NTLMAuthenticatorTest::testLMv1Generator
> %s: The keys should be the same cause we use the same values to generate them.
> Failed asserting that two strings are equal.
> --- Expected
> +++ Actual
> @@ @@
> -'1879f60127f8a877022132ec221bcbf3ca016a9f76095606'
> +''
> 
> /<<PKGBUILDDIR>>/tests/unit/Swift/Transport/Esmtp/Auth/NTLMAuthenticatorTest.php:39
> 
> --
> 
> There were 31 skipped tests:
> 
> 1) Swift_Signers_OpenDKIMSignerTest::testBasicSigningHeaderManipulation
> Need OpenDKIM extension run these tests.
> 
> /<<PKGBUILDDIR>>/tests/unit/Swift/Signers/OpenDKIMSignerTest.php:12
> 
> 2) Swift_Signers_OpenDKIMSignerTest::testSigningDefaults
> Need OpenDKIM extension run these tests.
> 
> /<<PKGBUILDDIR>>/tests/unit/Swift/Signers/OpenDKIMSignerTest.php:12
> 
> 3) Swift_Signers_OpenDKIMSignerTest::testSigning256
> Need OpenDKIM extension run these tests.
> 
> /<<PKGBUILDDIR>>/tests/unit/Swift/Signers/OpenDKIMSignerTest.php:12
> 
> 4) Swift_Signers_OpenDKIMSignerTest::testSigningRelaxedRelaxed256
> Need OpenDKIM extension run these tests.
> 
> /<<PKGBUILDDIR>>/tests/unit/Swift/Signers/OpenDKIMSignerTest.php:12
> 
> 5) Swift_Signers_OpenDKIMSignerTest::testSigningRelaxedSimple256
> Need OpenDKIM extension run these tests.
> 
> /<<PKGBUILDDIR>>/tests/unit/Swift/Signers/OpenDKIMSignerTest.php:12
> 
> 6) Swift_Signers_OpenDKIMSignerTest::testSigningSimpleRelaxed256
> Need OpenDKIM extension run these tests.
> 
> /<<PKGBUILDDIR>>/tests/unit/Swift/Signers/OpenDKIMSignerTest.php:12
> 
> 7) Swift_Transport_StreamBuffer_BasicSocketAcceptanceTest::testReadLine
> Cannot run test without an SMTP host to connect to (define SWIFT_SMTP_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/BasicSocketAcceptanceTest.php:12
> 
> 8) Swift_Transport_StreamBuffer_BasicSocketAcceptanceTest::testWrite
> Cannot run test without an SMTP host to connect to (define SWIFT_SMTP_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/BasicSocketAcceptanceTest.php:12
> 
> 9) Swift_Transport_StreamBuffer_BasicSocketAcceptanceTest::testBindingOtherStreamsMirrorsWriteOperations
> Cannot run test without an SMTP host to connect to (define SWIFT_SMTP_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/BasicSocketAcceptanceTest.php:12
> 
> 10) Swift_Transport_StreamBuffer_BasicSocketAcceptanceTest::testBindingOtherStreamsMirrorsFlushOperations
> Cannot run test without an SMTP host to connect to (define SWIFT_SMTP_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/BasicSocketAcceptanceTest.php:12
> 
> 11) Swift_Transport_StreamBuffer_BasicSocketAcceptanceTest::testUnbindingStreamPreventsFurtherWrites
> Cannot run test without an SMTP host to connect to (define SWIFT_SMTP_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/BasicSocketAcceptanceTest.php:12
> 
> 12) Swift_Transport_StreamBuffer_ProcessAcceptanceTest::testReadLine
> Cannot run test without a path to sendmail (define SWIFT_SENDMAIL_PATH in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/ProcessAcceptanceTest.php:12
> 
> 13) Swift_Transport_StreamBuffer_ProcessAcceptanceTest::testWrite
> Cannot run test without a path to sendmail (define SWIFT_SENDMAIL_PATH in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/ProcessAcceptanceTest.php:12
> 
> 14) Swift_Transport_StreamBuffer_ProcessAcceptanceTest::testBindingOtherStreamsMirrorsWriteOperations
> Cannot run test without a path to sendmail (define SWIFT_SENDMAIL_PATH in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/ProcessAcceptanceTest.php:12
> 
> 15) Swift_Transport_StreamBuffer_ProcessAcceptanceTest::testBindingOtherStreamsMirrorsFlushOperations
> Cannot run test without a path to sendmail (define SWIFT_SENDMAIL_PATH in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/ProcessAcceptanceTest.php:12
> 
> 16) Swift_Transport_StreamBuffer_ProcessAcceptanceTest::testUnbindingStreamPreventsFurtherWrites
> Cannot run test without a path to sendmail (define SWIFT_SENDMAIL_PATH in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/ProcessAcceptanceTest.php:12
> 
> 17) Swift_Transport_StreamBuffer_SocketTimeoutTest::testTimeoutException
> Cannot run test without an SMTP host to connect to (define SWIFT_SMTP_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/SocketTimeoutTest.php:14
> 
> 18) Swift_Transport_StreamBuffer_SslSocketAcceptanceTest::testReadLine
> Cannot run test without an SSL enabled SMTP host to connect to (define SWIFT_SSL_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/SslSocketAcceptanceTest.php:18
> 
> 19) Swift_Transport_StreamBuffer_SslSocketAcceptanceTest::testWrite
> Cannot run test without an SSL enabled SMTP host to connect to (define SWIFT_SSL_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/SslSocketAcceptanceTest.php:18
> 
> 20) Swift_Transport_StreamBuffer_SslSocketAcceptanceTest::testBindingOtherStreamsMirrorsWriteOperations
> Cannot run test without an SSL enabled SMTP host to connect to (define SWIFT_SSL_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/SslSocketAcceptanceTest.php:18
> 
> 21) Swift_Transport_StreamBuffer_SslSocketAcceptanceTest::testBindingOtherStreamsMirrorsFlushOperations
> Cannot run test without an SSL enabled SMTP host to connect to (define SWIFT_SSL_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/SslSocketAcceptanceTest.php:18
> 
> 22) Swift_Transport_StreamBuffer_SslSocketAcceptanceTest::testUnbindingStreamPreventsFurtherWrites
> Cannot run test without an SSL enabled SMTP host to connect to (define SWIFT_SSL_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/SslSocketAcceptanceTest.php:18
> 
> 23) Swift_Transport_StreamBuffer_TlsSocketAcceptanceTest::testReadLine
> Cannot run test without a TLS enabled SMTP host to connect to (define SWIFT_TLS_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/TlsSocketAcceptanceTest.php:18
> 
> 24) Swift_Transport_StreamBuffer_TlsSocketAcceptanceTest::testWrite
> Cannot run test without a TLS enabled SMTP host to connect to (define SWIFT_TLS_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/TlsSocketAcceptanceTest.php:18
> 
> 25) Swift_Transport_StreamBuffer_TlsSocketAcceptanceTest::testBindingOtherStreamsMirrorsWriteOperations
> Cannot run test without a TLS enabled SMTP host to connect to (define SWIFT_TLS_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/TlsSocketAcceptanceTest.php:18
> 
> 26) Swift_Transport_StreamBuffer_TlsSocketAcceptanceTest::testBindingOtherStreamsMirrorsFlushOperations
> Cannot run test without a TLS enabled SMTP host to connect to (define SWIFT_TLS_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/TlsSocketAcceptanceTest.php:18
> 
> 27) Swift_Transport_StreamBuffer_TlsSocketAcceptanceTest::testUnbindingStreamPreventsFurtherWrites
> Cannot run test without a TLS enabled SMTP host to connect to (define SWIFT_TLS_HOST in tests/acceptance.conf.php if you wish to run this test)
> 
> /<<PKGBUILDDIR>>/tests/acceptance/Swift/Transport/StreamBuffer/TlsSocketAcceptanceTest.php:18
> 
> 28) Swift_Smoke_AttachmentSmokeTest::testAttachmentSending
> Smoke tests are skipped if tests/smoke.conf.php is not edited
> 
> /<<PKGBUILDDIR>>/tests/SwiftMailerSmokeTestCase.php:14
> /<<PKGBUILDDIR>>/tests/smoke/Swift/Smoke/AttachmentSmokeTest.php:12
> 
> 29) Swift_Smoke_BasicSmokeTest::testBasicSending
> Smoke tests are skipped if tests/smoke.conf.php is not edited
> 
> /<<PKGBUILDDIR>>/tests/SwiftMailerSmokeTestCase.php:14
> 
> 30) Swift_Smoke_HtmlWithAttachmentSmokeTest::testAttachmentSending
> Smoke tests are skipped if tests/smoke.conf.php is not edited
> 
> /<<PKGBUILDDIR>>/tests/SwiftMailerSmokeTestCase.php:14
> /<<PKGBUILDDIR>>/tests/smoke/Swift/Smoke/HtmlWithAttachmentSmokeTest.php:12
> 
> 31) Swift_Smoke_InternationalSmokeTest::testAttachmentSending
> Smoke tests are skipped if tests/smoke.conf.php is not edited
> 
> /<<PKGBUILDDIR>>/tests/SwiftMailerSmokeTestCase.php:14
> /<<PKGBUILDDIR>>/tests/smoke/Swift/Smoke/InternationalSmokeTest.php:12
> 
> FAILURES!
> Tests: 1275, Assertions: 18277, Failures: 1, Skipped: 31.
> make[1]: *** [debian/rules:14: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/libphp-swiftmailer_6.3.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&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