[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#992522: cpio breaks postfix autopkgtest on armhf and i386: Connection refused



Source: cpio, postfix
Control: found -1 cpio/2.13+dfsg-6
Control: found -1 postfix/3.5.6-1
Severity: serious
Tags: sid bookworm
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of cpio the autopkgtest of postfix fails in testing
on armhf and i386 when that autopkgtest is run with the binary packages
of cpio from unstable. It passes when run with only packages from
testing. In tabular form:

                       pass            fail
cpio                   from testing    2.13+dfsg-6
postfix                from testing    3.5.6-1
versioned deps [0]     from testing    from unstable
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of cpio to testing
[1]. Due to the nature of this issue, I filed this bug report against
both packages. Can you please investigate the situation and reassign the
bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=cpio

https://ci.debian.net/data/autopkgtest/testing/armhf/p/postfix/14686387/log.gz

autopkgtest [09:19:34]: test postfix: [-----------------------
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  cpio libicu67 ssl-cert
Suggested packages:
  libarchive1 postfix-mysql postfix-pgsql postfix-ldap postfix-pcre
  postfix-lmdb postfix-sqlite resolvconf postfix-cdb mail-reader ufw
  postfix-doc
The following NEW packages will be installed:
  cpio libicu67 postfix ssl-cert
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.0 MB of archives.
After this operation, 36.3 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian unstable/main armhf cpio armhf
2.13+dfsg-6 [236 kB]
Get:2 http://deb.debian.org/debian testing/main armhf libicu67 armhf
67.1-7 [8319 kB]
Get:3 http://deb.debian.org/debian testing/main armhf ssl-cert all
1.1.0+nmu1 [21.0 kB]
Get:4 http://deb.debian.org/debian testing/main armhf postfix armhf
3.5.6-1+b1 [1450 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 10.0 MB in 0s (60.3 MB/s)
Selecting previously unselected package cpio.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 13517 files and directories currently installed.)
Preparing to unpack .../cpio_2.13+dfsg-6_armhf.deb ...
Unpacking cpio (2.13+dfsg-6) ...
Selecting previously unselected package libicu67:armhf.
Preparing to unpack .../libicu67_67.1-7_armhf.deb ...
Unpacking libicu67:armhf (67.1-7) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../ssl-cert_1.1.0+nmu1_all.deb ...
Unpacking ssl-cert (1.1.0+nmu1) ...
Selecting previously unselected package postfix.
Preparing to unpack .../postfix_3.5.6-1+b1_armhf.deb ...
Unpacking postfix (3.5.6-1+b1) ...
Setting up cpio (2.13+dfsg-6) ...
update-alternatives: using /bin/mt-gnu to provide /bin/mt (mt) in auto mode
Setting up libicu67:armhf (67.1-7) ...
Setting up ssl-cert (1.1.0+nmu1) ...
Setting up postfix (3.5.6-1+b1) ...
Adding group `postfix' (GID 109) ...
Done.
Adding system user `postfix' (UID 106) ...
Adding new user `postfix' (UID 106) with group `postfix' ...
Not creating home directory `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (GID 110) ...
Done.
setting myhostname: localhost
setting alias maps
setting alias database
mailname is not a fully qualified domain name.  Not changing /etc/mailname.
setting destinations: $myhostname, localhost, localhost.localdomain,
localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_command
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
setting inet_protocols: all
/etc/aliases does not exist, creating it.
WARNING: /etc/aliases exists, but does not have a root alias.

Postfix (main.cf) is now set up with a default configuration.  If you
need to
make changes, edit /etc/postfix/main.cf (and others) as needed.  To view
Postfix configuration values, see postconf(1).

After modifying main.cf, be sure to run 'systemctl reload postfix'.

Running newaliases
Created symlink
/etc/systemd/system/multi-user.target.wants/postfix.service →
/lib/systemd/system/postfix.service.
Processing triggers for libc-bin (2.31-13) ...
EEEEEEE.EEEEEE.
======================================================================
ERROR: test_00_listening (__main__.PostfixTest)
Postfix is listening
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 219, in test_00_listening
    self._setUp()
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 68, in _setUp
    reply = self._check_auth("PLAIN")
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 421, in _check_auth
    self.s = smtplib.SMTP('localhost', port=2525)
  File "/usr/lib/python3.9/smtplib.py", line 253, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/lib/python3.9/smtplib.py", line 339, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/lib/python3.9/smtplib.py", line 310, in _get_socket
    return socket.create_connection((host, port), timeout,
  File "/usr/lib/python3.9/socket.py", line 843, in create_connection
    raise err
  File "/usr/lib/python3.9/socket.py", line 831, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

======================================================================
ERROR: test_10_commands (__main__.PostfixTest)
Basic SMTP commands
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 240, in test_10_commands
    code, msg = self.s.ehlo()
AttributeError: 'NoneType' object has no attribute 'ehlo'

======================================================================
ERROR: test_10_sending_mail_direct (__main__.PostfixTest)
Mail delivered normally
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 319, in test_10_sending_mail_direct
    self._test_roundtrip_mail(self.user)
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 314, in _test_roundtrip_mail
    self._test_deliver_mail(user_sent_to, auth_user, auth_pass,
use_tls=use_tls)
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 263, in _test_deliver_mail
    failed =
self.s.sendmail('root',[user_sent_to.login,'does-not-exist'],'''From:
Rooty <root>
AttributeError: 'NoneType' object has no attribute 'sendmail'

======================================================================
ERROR: test_10_sending_mail_direct_auth (__main__.PostfixTest)
Mail authentication
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 328, in test_10_sending_mail_direct_auth
    self.assertRaises(smtplib.SMTPAuthenticationError, self.s.login,
'root', 'crapcrapcrap')
AttributeError: 'NoneType' object has no attribute 'login'

======================================================================
ERROR: test_10_sending_mail_direct_auth_full (__main__.PostfixTest)
Mail delivered with authentication
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 335, in test_10_sending_mail_direct_auth_full
    self._test_roundtrip_mail(self.user, auth_user=self.user.login,
auth_pass=self.user.password)
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 314, in _test_roundtrip_mail
    self._test_deliver_mail(user_sent_to, auth_user, auth_pass,
use_tls=use_tls)
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 260, in _test_deliver_mail
    self.s.login(auth_user, auth_pass)
AttributeError: 'NoneType' object has no attribute 'login'

======================================================================
ERROR: test_10_sending_mail_direct_with_tls (__main__.PostfixTest)
Mail delivered normally with TLS
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 323, in test_10_sending_mail_direct_with_tls
    self._test_roundtrip_mail(self.user, use_tls=True)
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 314, in _test_roundtrip_mail
    self._test_deliver_mail(user_sent_to, auth_user, auth_pass,
use_tls=use_tls)
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 262, in _test_deliver_mail
    self.s.starttls()
AttributeError: 'NoneType' object has no attribute 'starttls'

======================================================================
ERROR: test_10_sending_mail_forward_normal (__main__.PostfixTest)
Mail delivered via .forward
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 348, in test_10_sending_mail_forward_normal
    self._test_roundtrip_mail(forward_user, self.user)
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 314, in _test_roundtrip_mail
    self._test_deliver_mail(user_sent_to, auth_user, auth_pass,
use_tls=use_tls)
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 263, in _test_deliver_mail
    failed =
self.s.sendmail('root',[user_sent_to.login,'does-not-exist'],'''From:
Rooty <root>
AttributeError: 'NoneType' object has no attribute 'sendmail'

======================================================================
ERROR: test_11_security_CVE_2008_2936 (__main__.PostfixTest)
CVE-2008-2936 fixed
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 394, in test_11_security_CVE_2008_2936
    failed = self.s.sendmail('root',[self.user.login],'''From: Evil <root>
AttributeError: 'NoneType' object has no attribute 'sendmail'

======================================================================
ERROR: test_20_sasldb_cram_md5 (__main__.PostfixTest)
Test sasldb CRAM-MD5
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 436, in test_20_sasldb_cram_md5
    self.s.quit()
AttributeError: 'NoneType' object has no attribute 'quit'

======================================================================
ERROR: test_20_sasldb_digest_md5 (__main__.PostfixTest)
Test sasldb DIGEST-MD5 is supported
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 452, in test_20_sasldb_digest_md5
    self.s.quit()
AttributeError: 'NoneType' object has no attribute 'quit'

======================================================================
ERROR: test_20_sasldb_login (__main__.PostfixTest)
Test sasldb LOGIN is supported
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 466, in test_20_sasldb_login
    self.s.quit()
AttributeError: 'NoneType' object has no attribute 'quit'

======================================================================
ERROR: test_20_sasldb_plain (__main__.PostfixTest)
Test sasldb PLAIN
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 480, in test_20_sasldb_plain
    self.s.quit()
AttributeError: 'NoneType' object has no attribute 'quit'

======================================================================
ERROR: test_21_security_CVE_2011_1720 (__main__.PostfixTest)
CVE-2011-1720 fixed
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ikbbdi1_/downtmp/build.x4r/src/debian/tests/test-postfix.py",
line 496, in test_21_security_CVE_2011_1720
    self.s.quit()
AttributeError: 'NoneType' object has no attribute 'quit'

----------------------------------------------------------------------
Ran 15 tests in 7.137s

FAILED (errors=13)


Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: