Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-aiosmtpd.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1662041295.463647/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7_f6oqpe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7_f6oqpe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '169e2c656add4518807b4f546c9fc420', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1662041295.463647/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7_f6oqpe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-aiosmtpd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/python-aiosmtpd-1.4.2-9.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-aiosmtpd.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1662041295.463647/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7_f6oqpe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7_f6oqpe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6754024ba5874c91a0e850e1b5d1950a', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1662041295.463647/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7_f6oqpe:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-aiosmtpd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yYWaM5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf aiosmtpd-1.4.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/aiosmtpd-1.4.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd aiosmtpd-1.4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Implement-Unthreaded-Controller-256.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Code-Hygiene-259.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-URGENT-Fix-RTD-docs-gen.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-Make-Sphinx-RTD-deps-SSOT.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/284.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3BE51q + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd aiosmtpd-1.4.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/aiosmtpd copying aiosmtpd/controller.py -> build/lib/aiosmtpd copying aiosmtpd/smtp.py -> build/lib/aiosmtpd copying aiosmtpd/proxy_protocol.py -> build/lib/aiosmtpd copying aiosmtpd/main.py -> build/lib/aiosmtpd copying aiosmtpd/lmtp.py -> build/lib/aiosmtpd copying aiosmtpd/handlers.py -> build/lib/aiosmtpd copying aiosmtpd/__init__.py -> build/lib/aiosmtpd copying aiosmtpd/__main__.py -> build/lib/aiosmtpd creating build/lib/aiosmtpd/tests copying aiosmtpd/tests/test_starttls.py -> build/lib/aiosmtpd/tests copying aiosmtpd/tests/test_smtp.py -> build/lib/aiosmtpd/tests copying aiosmtpd/tests/test_server.py -> build/lib/aiosmtpd/tests copying aiosmtpd/tests/test_proxyprotocol.py -> build/lib/aiosmtpd/tests copying aiosmtpd/tests/test_main.py -> build/lib/aiosmtpd/tests copying aiosmtpd/tests/test_handlers.py -> build/lib/aiosmtpd/tests copying aiosmtpd/tests/conftest.py -> build/lib/aiosmtpd/tests copying aiosmtpd/tests/test_smtps.py -> build/lib/aiosmtpd/tests copying aiosmtpd/tests/test_lmtp.py -> build/lib/aiosmtpd/tests copying aiosmtpd/tests/__init__.py -> build/lib/aiosmtpd/tests creating build/lib/aiosmtpd/testing copying aiosmtpd/testing/helpers.py -> build/lib/aiosmtpd/testing copying aiosmtpd/testing/statuscodes.py -> build/lib/aiosmtpd/testing copying aiosmtpd/testing/__init__.py -> build/lib/aiosmtpd/testing creating build/lib/aiosmtpd/qa copying aiosmtpd/qa/test_1testsuite.py -> build/lib/aiosmtpd/qa copying aiosmtpd/qa/test_0packaging.py -> build/lib/aiosmtpd/qa copying aiosmtpd/qa/__init__.py -> build/lib/aiosmtpd/qa creating build/lib/aiosmtpd/docs copying aiosmtpd/docs/conf.py -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/__init__.py -> build/lib/aiosmtpd/docs creating build/lib/aiosmtpd/tests/certs copying aiosmtpd/tests/certs/__init__.py -> build/lib/aiosmtpd/tests/certs running egg_info creating aiosmtpd.egg-info writing aiosmtpd.egg-info/PKG-INFO writing dependency_links to aiosmtpd.egg-info/dependency_links.txt writing entry points to aiosmtpd.egg-info/entry_points.txt writing requirements to aiosmtpd.egg-info/requires.txt writing top-level names to aiosmtpd.egg-info/top_level.txt writing manifest file 'aiosmtpd.egg-info/SOURCES.txt' reading manifest file 'aiosmtpd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[oc]' found anywhere in distribution adding license file 'LICENSE' adding license file 'NOTICE' writing manifest file 'aiosmtpd.egg-info/SOURCES.txt' /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'aiosmtpd.docs._exts' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'aiosmtpd.docs._exts' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'aiosmtpd.docs._exts' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'aiosmtpd.docs._exts' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) copying aiosmtpd/py.typed -> build/lib/aiosmtpd copying aiosmtpd/docs/.gitignore -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/Makefile -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/NEWS.rst -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/RTD-requirements.txt -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/auth.rst -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/cli.rst -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/concepts.rst -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/controller.rst -> build/lib/aiosmtpd/docs /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'aiosmtpd.docs._static' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'aiosmtpd.docs._static' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'aiosmtpd.docs._static' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'aiosmtpd.docs._static' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) copying aiosmtpd/docs/handlers.rst -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/index.rst -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/intro.rst -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/lmtp.rst -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/manpage.rst -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/migrating.rst -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/proxyprotocol.rst -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/smtp.rst -> build/lib/aiosmtpd/docs copying aiosmtpd/docs/testing.rst -> build/lib/aiosmtpd/docs creating build/lib/aiosmtpd/docs/_exts copying aiosmtpd/docs/_exts/autoprogramm.py -> build/lib/aiosmtpd/docs/_exts creating build/lib/aiosmtpd/docs/_static copying aiosmtpd/docs/_static/aiosmtpd.css -> build/lib/aiosmtpd/docs/_static copying aiosmtpd/tests/certs/server.crt -> build/lib/aiosmtpd/tests/certs copying aiosmtpd/tests/certs/server.key -> build/lib/aiosmtpd/tests/certs copying aiosmtpd/tests/certs/server_alt.crt -> build/lib/aiosmtpd/tests/certs copying aiosmtpd/tests/certs/server_alt.key -> build/lib/aiosmtpd/tests/certs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gTRByd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd aiosmtpd-1.4.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64 --prefix /usr running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr creating /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd copying build/lib/aiosmtpd/py.typed -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd creating /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs creating /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs/_static copying build/lib/aiosmtpd/docs/_static/aiosmtpd.css -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs/_static creating /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs/_exts copying build/lib/aiosmtpd/docs/_exts/autoprogramm.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs/_exts copying build/lib/aiosmtpd/docs/testing.rst -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/smtp.rst -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/proxyprotocol.rst -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/migrating.rst -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/manpage.rst -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/lmtp.rst -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/intro.rst -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/index.rst -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/handlers.rst -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/controller.rst -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/concepts.rst -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/cli.rst -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/auth.rst -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/RTD-requirements.txt -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/NEWS.rst -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/Makefile -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/.gitignore -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/__init__.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs copying build/lib/aiosmtpd/docs/conf.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs creating /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/qa copying build/lib/aiosmtpd/qa/__init__.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/qa copying build/lib/aiosmtpd/qa/test_0packaging.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/qa copying build/lib/aiosmtpd/qa/test_1testsuite.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/qa creating /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/testing copying build/lib/aiosmtpd/testing/__init__.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/testing copying build/lib/aiosmtpd/testing/statuscodes.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/testing copying build/lib/aiosmtpd/testing/helpers.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/testing creating /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests creating /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/certs copying build/lib/aiosmtpd/tests/certs/server_alt.key -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/certs copying build/lib/aiosmtpd/tests/certs/server_alt.crt -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/certs copying build/lib/aiosmtpd/tests/certs/server.key -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/certs copying build/lib/aiosmtpd/tests/certs/server.crt -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/certs copying build/lib/aiosmtpd/tests/certs/__init__.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/certs copying build/lib/aiosmtpd/tests/__init__.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests copying build/lib/aiosmtpd/tests/test_lmtp.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests copying build/lib/aiosmtpd/tests/test_smtps.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests copying build/lib/aiosmtpd/tests/conftest.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests copying build/lib/aiosmtpd/tests/test_handlers.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests copying build/lib/aiosmtpd/tests/test_main.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests copying build/lib/aiosmtpd/tests/test_proxyprotocol.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests copying build/lib/aiosmtpd/tests/test_server.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests copying build/lib/aiosmtpd/tests/test_smtp.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests copying build/lib/aiosmtpd/tests/test_starttls.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests copying build/lib/aiosmtpd/__main__.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd copying build/lib/aiosmtpd/__init__.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd copying build/lib/aiosmtpd/handlers.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd copying build/lib/aiosmtpd/lmtp.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd copying build/lib/aiosmtpd/main.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd copying build/lib/aiosmtpd/proxy_protocol.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd copying build/lib/aiosmtpd/smtp.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd copying build/lib/aiosmtpd/controller.py -> /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs/_exts/autoprogramm.py to autoprogramm.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs/conf.py to conf.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/qa/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/qa/test_0packaging.py to test_0packaging.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/qa/test_1testsuite.py to test_1testsuite.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/testing/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/testing/statuscodes.py to statuscodes.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/testing/helpers.py to helpers.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/certs/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/test_lmtp.py to test_lmtp.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/test_smtps.py to test_smtps.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/conftest.py to conftest.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/test_handlers.py to test_handlers.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/test_main.py to test_main.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/test_proxyprotocol.py to test_proxyprotocol.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/test_server.py to test_server.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/test_smtp.py to test_smtp.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/tests/test_starttls.py to test_starttls.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/__main__.py to __main__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/handlers.py to handlers.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/lmtp.py to lmtp.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/main.py to main.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/proxy_protocol.py to proxy_protocol.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/smtp.py to smtp.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/controller.py to controller.cpython-311.pyc writing byte-compilation script '/tmp/tmpfwp6trt_.py' /usr/bin/python3 /tmp/tmpfwp6trt_.py removing /tmp/tmpfwp6trt_.py running install_egg_info running egg_info writing aiosmtpd.egg-info/PKG-INFO writing dependency_links to aiosmtpd.egg-info/dependency_links.txt writing entry points to aiosmtpd.egg-info/entry_points.txt writing requirements to aiosmtpd.egg-info/requires.txt writing top-level names to aiosmtpd.egg-info/top_level.txt reading manifest file 'aiosmtpd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[oc]' found anywhere in distribution adding license file 'LICENSE' adding license file 'NOTICE' writing manifest file 'aiosmtpd.egg-info/SOURCES.txt' Copying aiosmtpd.egg-info to /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd-1.5.0a2-py3.11.egg-info running install_scripts Installing aiosmtpd script to /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/bin/__pycache__ + rm -rf /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/examples + rm -f /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11/site-packages/aiosmtpd/docs/.gitignore + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.4.2-9.fc38 --unique-debug-suffix -1.4.2-9.fc38.x86_64 --unique-debug-src-base python-aiosmtpd-1.4.2-9.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/aiosmtpd-1.4.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.5GzymN + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd aiosmtpd-1.4.2 + /usr/bin/python3 -m pytest -v ============================= test session starts ============================== platform linux -- Python 3.11.0rc1, pytest-7.1.2, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/aiosmtpd-1.4.2, configfile: pyproject.toml plugins: mock-3.8.2 collecting ... collected 563 items aiosmtpd/qa/test_0packaging.py::TestVersion::test_pep440 PASSED [ 0%] aiosmtpd/qa/test_0packaging.py::TestVersion::test_ge_master fatal: not a git repository (or any of the parent directories): .git SKIPPED [ 0%] aiosmtpd/qa/test_0packaging.py::TestNews::test_NEWS_version PASSED [ 0%] aiosmtpd/qa/test_0packaging.py::TestNews::test_release_date SKIPPED [ 0%] aiosmtpd/qa/test_1testsuite.py::TestStatusCodes::test_elemtype PASSED [ 0%] aiosmtpd/qa/test_1testsuite.py::TestStatusCodes::test_nameval PASSED [ 1%] aiosmtpd/qa/test_1testsuite.py::TestStatusCodes::test_enhanced PASSED [ 1%] aiosmtpd/qa/test_1testsuite.py::TestStatusCodes::test_commands PASSED [ 1%] aiosmtpd/qa/test_1testsuite.py::TestHarness::test_fqdn_cached PASSED [ 1%] aiosmtpd/tests/test_handlers.py::TestDebugging::test_debugging PASSED [ 1%] aiosmtpd/tests/test_handlers.py::TestDebugging::test_debugging_bytes PASSED [ 1%] aiosmtpd/tests/test_handlers.py::TestDebugging::test_debugging_without_options PASSED [ 2%] aiosmtpd/tests/test_handlers.py::TestDebugging::test_debugging_with_options PASSED [ 2%] aiosmtpd/tests/test_handlers.py::TestMessage::test_prepare_message[bytes] PASSED [ 2%] aiosmtpd/tests/test_handlers.py::TestMessage::test_prepare_message[bytearray] PASSED [ 2%] aiosmtpd/tests/test_handlers.py::TestMessage::test_prepare_message[str] PASSED [ 2%] aiosmtpd/tests/test_handlers.py::TestMessage::test_prepare_message_err[None] PASSED [ 3%] aiosmtpd/tests/test_handlers.py::TestMessage::test_prepare_message_err[List] PASSED [ 3%] aiosmtpd/tests/test_handlers.py::TestMessage::test_prepare_message_err[Dict] PASSED [ 3%] aiosmtpd/tests/test_handlers.py::TestMessage::test_prepare_message_err[Tuple] PASSED [ 3%] aiosmtpd/tests/test_handlers.py::TestMessage::test_message PASSED [ 3%] aiosmtpd/tests/test_handlers.py::TestMessage::test_message_decoded PASSED [ 3%] aiosmtpd/tests/test_handlers.py::TestMessage::test_message_async PASSED [ 4%] aiosmtpd/tests/test_handlers.py::TestMessage::test_message_decoded_async PASSED [ 4%] aiosmtpd/tests/test_handlers.py::TestMailbox::test_mailbox PASSED [ 4%] aiosmtpd/tests/test_handlers.py::TestMailbox::test_mailbox_reset PASSED [ 4%] aiosmtpd/tests/test_handlers.py::TestCLI::test_debugging_no_args PASSED [ 4%] aiosmtpd/tests/test_handlers.py::TestCLI::test_debugging_two_args PASSED [ 4%] aiosmtpd/tests/test_handlers.py::TestCLI::test_debugging_stdout PASSED [ 5%] aiosmtpd/tests/test_handlers.py::TestCLI::test_debugging_stderr PASSED [ 5%] aiosmtpd/tests/test_handlers.py::TestCLI::test_debugging_bad_argument PASSED [ 5%] aiosmtpd/tests/test_handlers.py::TestCLI::test_sink_no_args PASSED [ 5%] aiosmtpd/tests/test_handlers.py::TestCLI::test_sink_any_args PASSED [ 5%] aiosmtpd/tests/test_handlers.py::TestCLI::test_mailbox_no_args PASSED [ 6%] aiosmtpd/tests/test_handlers.py::TestCLI::test_mailbox_too_many_args PASSED [ 6%] aiosmtpd/tests/test_handlers.py::TestCLI::test_mailbox PASSED [ 6%] aiosmtpd/tests/test_handlers.py::TestProxy::test_deliver_bytes PASSED [ 6%] aiosmtpd/tests/test_handlers.py::TestProxy::test_deliver_str PASSED [ 6%] aiosmtpd/tests/test_handlers.py::TestProxyMocked::test_recipients_refused PASSED [ 6%] aiosmtpd/tests/test_handlers.py::TestProxyMocked::test_oserror PASSED [ 7%] aiosmtpd/tests/test_handlers.py::TestHooks::test_hook_HELO PASSED [ 7%] aiosmtpd/tests/test_handlers.py::TestHooks::test_hook_EHLO_deprecated PASSED [ 7%] aiosmtpd/tests/test_handlers.py::TestHooks::test_hook_EHLO_deprecated_warning PASSED [ 7%] aiosmtpd/tests/test_handlers.py::TestHooks::test_hook_EHLO_new PASSED [ 7%] aiosmtpd/tests/test_handlers.py::TestHooks::test_hook_EHLO_incompat[TooShort] PASSED [ 7%] aiosmtpd/tests/test_handlers.py::TestHooks::test_hook_EHLO_incompat[TooLong] PASSED [ 8%] aiosmtpd/tests/test_handlers.py::TestHooks::test_hook_MAIL PASSED [ 8%] aiosmtpd/tests/test_handlers.py::TestHooks::test_hook_RCPT PASSED [ 8%] aiosmtpd/tests/test_handlers.py::TestHooks::test_hook_DATA PASSED [ 8%] aiosmtpd/tests/test_handlers.py::TestHooks::test_hook_AUTH PASSED [ 8%] aiosmtpd/tests/test_handlers.py::TestHooks::test_hook_NoHooks PASSED [ 9%] aiosmtpd/tests/test_handlers.py::TestDeprecation::test_process_message PASSED [ 9%] aiosmtpd/tests/test_handlers.py::TestDeprecation::test_process_message_async PASSED [ 9%] aiosmtpd/tests/test_handlers.py::TestDeprecation::test_ehlo_hook PASSED [ 9%] aiosmtpd/tests/test_handlers.py::TestDeprecation::test_rset_hook PASSED [ 9%] aiosmtpd/tests/test_lmtp.py::test_lhlo PASSED [ 9%] aiosmtpd/tests/test_lmtp.py::test_helo PASSED [ 10%] aiosmtpd/tests/test_lmtp.py::test_ehlo PASSED [ 10%] aiosmtpd/tests/test_lmtp.py::test_help PASSED [ 10%] aiosmtpd/tests/test_main.py::TestMain::test_setuid PASSED [ 10%] aiosmtpd/tests/test_main.py::TestMain::test_setuid_permission_error PASSED [ 10%] aiosmtpd/tests/test_main.py::TestMain::test_setuid_no_pwd_module PASSED [ 11%] aiosmtpd/tests/test_main.py::TestMain::test_n PASSED [ 11%] aiosmtpd/tests/test_main.py::TestMain::test_nosetuid PASSED [ 11%] aiosmtpd/tests/test_main.py::TestMain::test_debug_0 PASSED [ 11%] aiosmtpd/tests/test_main.py::TestMain::test_debug_1 PASSED [ 11%] aiosmtpd/tests/test_main.py::TestMain::test_debug_2 PASSED [ 11%] aiosmtpd/tests/test_main.py::TestMain::test_debug_3 PASSED [ 12%] aiosmtpd/tests/test_main.py::TestMainByWatcher::test_tls PASSED [ 12%] aiosmtpd/tests/test_main.py::TestMainByWatcher::test_tls_noreq PASSED [ 12%] aiosmtpd/tests/test_main.py::TestMainByWatcher::test_smtps PASSED [ 12%] aiosmtpd/tests/test_main.py::TestParseArgs::test_defaults PASSED [ 12%] aiosmtpd/tests/test_main.py::TestParseArgs::test_handler_from_cli PASSED [ 12%] aiosmtpd/tests/test_main.py::TestParseArgs::test_handler_no_from_cli PASSED [ 13%] aiosmtpd/tests/test_main.py::TestParseArgs::test_handler_from_cli_exception PASSED [ 13%] aiosmtpd/tests/test_main.py::TestParseArgs::test_handler_no_from_cli_exception PASSED [ 13%] aiosmtpd/tests/test_main.py::TestParseArgs::test_host_port[args0-localhost-8025] PASSED [ 13%] aiosmtpd/tests/test_main.py::TestParseArgs::test_host_port[args1-foo-25] PASSED [ 13%] aiosmtpd/tests/test_main.py::TestParseArgs::test_host_port[args2-foo-25] PASSED [ 14%] aiosmtpd/tests/test_main.py::TestParseArgs::test_host_port[args3-foo-8025] PASSED [ 14%] aiosmtpd/tests/test_main.py::TestParseArgs::test_host_port[args4-localhost-25] PASSED [ 14%] aiosmtpd/tests/test_main.py::TestParseArgs::test_host_port[args5-::0-25] PASSED [ 14%] aiosmtpd/tests/test_main.py::TestParseArgs::test_bad_port_number PASSED [ 14%] aiosmtpd/tests/test_main.py::TestParseArgs::test_version[--version] PASSED [ 14%] aiosmtpd/tests/test_main.py::TestParseArgs::test_version[-v] PASSED [ 15%] aiosmtpd/tests/test_main.py::TestParseArgs::test_smtps[args0] PASSED [ 15%] aiosmtpd/tests/test_main.py::TestParseArgs::test_smtps[args1] PASSED [ 15%] aiosmtpd/tests/test_main.py::TestParseArgs::test_tls[args0] PASSED [ 15%] aiosmtpd/tests/test_main.py::TestParseArgs::test_tls[args1] PASSED [ 15%] aiosmtpd/tests/test_main.py::TestParseArgs::test_norequiretls PASSED [ 15%] aiosmtpd/tests/test_main.py::TestParseArgs::test_ssl_files_err[smtps-x-x] PASSED [ 16%] aiosmtpd/tests/test_main.py::TestParseArgs::test_ssl_files_err[smtps-cert-x] PASSED [ 16%] aiosmtpd/tests/test_main.py::TestParseArgs::test_ssl_files_err[smtps-x-key] PASSED [ 16%] aiosmtpd/tests/test_main.py::TestParseArgs::test_ssl_files_err[tls-x-x] PASSED [ 16%] aiosmtpd/tests/test_main.py::TestParseArgs::test_ssl_files_err[tls-cert-x] PASSED [ 16%] aiosmtpd/tests/test_main.py::TestParseArgs::test_ssl_files_err[tls-x-key] PASSED [ 17%] aiosmtpd/tests/test_main.py::TestSigint::test_keyboard_interrupt PASSED [ 17%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyData::test_invalid_version PASSED [ 17%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyData::test_invalid_error PASSED [ 17%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyData::test_invalid_protocol PASSED [ 17%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyData::test_mismatch PASSED [ 17%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyData::test_mismatch_raises PASSED [ 18%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyData::test_unsetkey PASSED [ 18%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyData::test_unknownkey PASSED [ 18%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyData::test_unknownkey_raises PASSED [ 18%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyData::test_tlv_none PASSED [ 18%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyData::test_tlv_fake PASSED [ 19%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyData::test_tlv_1 PASSED [ 19%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_1 PASSED [ 19%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_1_ne PASSED [ 19%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_1_ne_raises PASSED [ 19%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_2 PASSED [ 19%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_backmap[1-ALPN] PASSED [ 20%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_backmap[2-AUTHORITY] PASSED [ 20%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_backmap[3-CRC32C] PASSED [ 20%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_backmap[4-NOOP] PASSED [ 20%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_backmap[5-UNIQUE_ID] PASSED [ 20%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_backmap[32-SSL] PASSED [ 20%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_backmap[33-SSL_VERSION] PASSED [ 21%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_backmap[34-SSL_CN] PASSED [ 21%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_backmap[35-SSL_CIPHER] PASSED [ 21%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_backmap[36-SSL_SIG_ALG] PASSED [ 21%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_backmap[37-SSL_KEY_ALG] PASSED [ 21%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_backmap[48-NETNS] PASSED [ 22%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_backmap[None-wrongname] PASSED [ 22%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_parse_partial PASSED [ 22%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_unknowntype_notstrict PASSED [ 22%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_unknowntype_strict PASSED [ 22%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_malformed_ssl_partialok PASSED [ 22%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_malformed_ssl_notpartialok PASSED [ 23%] aiosmtpd/tests/test_proxyprotocol.py::TestProxyTLV::test_eq PASSED [ 23%] aiosmtpd/tests/test_proxyprotocol.py::TestModule::test_get[v1] PASSED [ 23%] aiosmtpd/tests/test_proxyprotocol.py::TestModule::test_get[v2] PASSED [ 23%] aiosmtpd/tests/test_proxyprotocol.py::TestModule::test_get_cut_v1 PASSED [ 23%] aiosmtpd/tests/test_proxyprotocol.py::TestModule::test_get_cut_v2 PASSED [ 23%] aiosmtpd/tests/test_proxyprotocol.py::TestModule::test_get_invalid_sig PASSED [ 24%] aiosmtpd/tests/test_proxyprotocol.py::TestSMTPInit::test_value_error[-1] PASSED [ 24%] aiosmtpd/tests/test_proxyprotocol.py::TestSMTPInit::test_value_error[-1.0] PASSED [ 24%] aiosmtpd/tests/test_proxyprotocol.py::TestSMTPInit::test_value_error[0] PASSED [ 24%] aiosmtpd/tests/test_proxyprotocol.py::TestSMTPInit::test_value_error[0.0] PASSED [ 24%] aiosmtpd/tests/test_proxyprotocol.py::TestSMTPInit::test_lt_3 PASSED [ 25%] aiosmtpd/tests/test_proxyprotocol.py::TestSMTPInit::test_ge_3[3] PASSED [ 25%] aiosmtpd/tests/test_proxyprotocol.py::TestSMTPInit::test_ge_3[3.0] PASSED [ 25%] aiosmtpd/tests/test_proxyprotocol.py::TestSMTPInit::test_ge_3[4] PASSED [ 25%] aiosmtpd/tests/test_proxyprotocol.py::TestSMTPInit::test_ge_3[4.0] PASSED [ 25%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_noproxy PASSED [ 25%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_valid_patterns[joaoreis81] PASSED [ 26%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_valid_patterns[haproxydoc] PASSED [ 26%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_valid_patterns[cloudflare4] PASSED [ 26%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_valid_patterns[cloudflare6] PASSED [ 26%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_valid_patterns[avinetworks] PASSED [ 26%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_valid_patterns[googlecloud] PASSED [ 26%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_tcp4 PASSED [ 27%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_tcp4_random PASSED [ 27%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_tcp6_shortened PASSED [ 27%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_tcp6_random PASSED [ 27%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_unknown PASSED [ 27%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_unknown_short PASSED [ 28%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_invalid_sig PASSED [ 28%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_unsupported_family PASSED [ 28%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_unsupported_proto PASSED [ 28%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_too_long PASSED [ 28%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_malformed_nocr PASSED [ 28%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_malformed_notproxy PASSED [ 29%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_malformed_wrongtype_64 PASSED [ 29%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_malformed_wrongtype_46 PASSED [ 29%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_malformed_wrongtype_6mixed PASSED [ 29%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_malformed_addr[zeroleader] PASSED [ 29%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_malformed_addr[space1] PASSED [ 30%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_malformed_addr[space2] PASSED [ 30%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_malformed_addr[space3] PASSED [ 30%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_malformed_addr[space4] PASSED [ 30%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_malformed_addr[addr6s] PASSED [ 30%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_malformed_addr[addr6d] PASSED [ 30%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_extra[space] PASSED [ 31%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_extra[sptext] PASSED [ 31%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_malformed_addr4 PASSED [ 31%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_ports_oob PASSED [ 31%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV1::test_portd_oob PASSED [ 31%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_1 PASSED [ 31%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_UNSPEC_empty PASSED [ 32%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_UNSPEC_notempty PASSED [ 32%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_INET4[1-] PASSED [ 32%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_INET4[1-fake_tlv] PASSED [ 32%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_INET4[2-] PASSED [ 32%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_INET4[2-fake_tlv] PASSED [ 33%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_INET6[1-] PASSED [ 33%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_INET6[1-fake_tlv] PASSED [ 33%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_INET6[2-] PASSED [ 33%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_INET6[2-fake_tlv] PASSED [ 33%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_UNIX[1-] PASSED [ 33%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_UNIX[1-fake_tlv] PASSED [ 34%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_UNIX[2-] PASSED [ 34%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_UNIX[2-fake_tlv] PASSED [ 34%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_fallback_UNSPEC[0-1] PASSED [ 34%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_fallback_UNSPEC[0-2] PASSED [ 34%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_fallback_UNSPEC[1-0] PASSED [ 34%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_fallback_UNSPEC[2-0] PASSED [ 35%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_fallback_UNSPEC[3-0] PASSED [ 35%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_invalid_sig PASSED [ 35%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_illegal_ver PASSED [ 35%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_unsupported_cmd PASSED [ 35%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_unsupported_fam PASSED [ 36%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_unsupported_proto PASSED [ 36%] aiosmtpd/tests/test_proxyprotocol.py::TestGetV2::test_wrong_proto_6shouldbe4 PASSED [ 36%] aiosmtpd/tests/test_proxyprotocol.py::TestWithController::test_okay[v1] PASSED [ 36%] aiosmtpd/tests/test_proxyprotocol.py::TestWithController::test_okay[v2] PASSED [ 36%] aiosmtpd/tests/test_proxyprotocol.py::TestWithController::test_hiccup[v1] PASSED [ 36%] aiosmtpd/tests/test_proxyprotocol.py::TestWithController::test_hiccup[v2] PASSED [ 37%] aiosmtpd/tests/test_proxyprotocol.py::TestWithController::test_timeout[v1] PASSED [ 37%] aiosmtpd/tests/test_proxyprotocol.py::TestWithController::test_timeout[v2] PASSED [ 37%] aiosmtpd/tests/test_proxyprotocol.py::TestWithController::test_incomplete[v1] PASSED [ 37%] aiosmtpd/tests/test_proxyprotocol.py::TestWithController::test_incomplete[v2] PASSED [ 37%] aiosmtpd/tests/test_proxyprotocol.py::TestHandlerAcceptReject::test_simple[v1-True] PASSED [ 38%] aiosmtpd/tests/test_proxyprotocol.py::TestHandlerAcceptReject::test_simple[v1-False] PASSED [ 38%] aiosmtpd/tests/test_proxyprotocol.py::TestHandlerAcceptReject::test_simple[v2-True] PASSED [ 38%] aiosmtpd/tests/test_proxyprotocol.py::TestHandlerAcceptReject::test_simple[v2-False] PASSED [ 38%] aiosmtpd/tests/test_server.py::TestServer::test_smtp_utf8 PASSED [ 38%] aiosmtpd/tests/test_server.py::TestServer::test_default_max_command_size_limit PASSED [ 38%] aiosmtpd/tests/test_server.py::TestServer::test_special_max_command_size_limit PASSED [ 39%] aiosmtpd/tests/test_server.py::TestServer::test_warn_authreq_notls PASSED [ 39%] aiosmtpd/tests/test_server.py::TestController::test_ready_timeout PASSED [ 39%] aiosmtpd/tests/test_server.py::TestController::test_factory_timeout PASSED [ 39%] aiosmtpd/tests/test_server.py::TestController::test_reuse_loop PASSED [ 39%] aiosmtpd/tests/test_server.py::TestController::test_socket_error_dupe PASSED [ 39%] aiosmtpd/tests/test_server.py::TestController::test_socket_error_default PASSED [ 40%] aiosmtpd/tests/test_server.py::TestController::test_server_attribute PASSED [ 40%] aiosmtpd/tests/test_server.py::TestController::test_enablesmtputf8_flag PASSED [ 40%] aiosmtpd/tests/test_server.py::TestController::test_serverhostname_arg PASSED [ 40%] aiosmtpd/tests/test_server.py::TestController::test_hostname_empty PASSED [ 40%] aiosmtpd/tests/test_server.py::TestController::test_hostname_none PASSED [ 41%] aiosmtpd/tests/test_server.py::TestController::test_testconn_raises PASSED [ 41%] aiosmtpd/tests/test_server.py::TestController::test_getlocalhost PASSED [ 41%] aiosmtpd/tests/test_server.py::TestController::test_getlocalhost_noipv6 PASSED [ 41%] aiosmtpd/tests/test_server.py::TestController::test_getlocalhost_6yes PASSED [ 41%] aiosmtpd/tests/test_server.py::TestController::test_getlocalhost_6no[99] PASSED [ 41%] aiosmtpd/tests/test_server.py::TestController::test_getlocalhost_6no[97] PASSED [ 42%] aiosmtpd/tests/test_server.py::TestController::test_getlocalhost_6inuse PASSED [ 42%] aiosmtpd/tests/test_server.py::TestController::test_getlocalhost_error PASSED [ 42%] aiosmtpd/tests/test_server.py::TestController::test_stop_default PASSED [ 42%] aiosmtpd/tests/test_server.py::TestController::test_stop_assert PASSED [ 42%] aiosmtpd/tests/test_server.py::TestController::test_stop_noassert PASSED [ 42%] aiosmtpd/tests/test_server.py::TestUnixSocketController::test_server_creation PASSED [ 43%] aiosmtpd/tests/test_server.py::TestUnixSocketController::test_server_creation_ssl FAILED [ 43%] aiosmtpd/tests/test_server.py::TestUnthreaded::test_unixsocket PASSED [ 43%] aiosmtpd/tests/test_server.py::TestUnthreaded::test_inet_loopstop PASSED [ 43%] aiosmtpd/tests/test_server.py::TestUnthreaded::test_inet_contstop PASSED [ 43%] aiosmtpd/tests/test_server.py::TestFactory::test_normal_situation PASSED [ 44%] aiosmtpd/tests/test_server.py::TestFactory::test_unknown_args_direct PASSED [ 44%] aiosmtpd/tests/test_server.py::TestFactory::test_unknown_args_inkwargs PASSED [ 44%] aiosmtpd/tests/test_server.py::TestFactory::test_factory_none PASSED [ 44%] aiosmtpd/tests/test_server.py::TestFactory::test_noexc_smtpd_missing PASSED [ 44%] aiosmtpd/tests/test_server.py::TestCompat::test_version PASSED [ 44%] aiosmtpd/tests/test_smtp.py::TestProtocol::test_honors_mail_delimiters PASSED [ 45%] aiosmtpd/tests/test_smtp.py::TestProtocol::test_empty_email PASSED [ 45%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_binary[\x80FAIL\r\n] PASSED [ 45%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_binary[\x80 FAIL\r\n] PASSED [ 45%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_helo PASSED [ 45%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_close_then_continue PASSED [ 46%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_helo_no_hostname PASSED [ 46%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_helo_duplicate PASSED [ 46%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_ehlo PASSED [ 46%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_ehlo_duplicate PASSED [ 46%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_ehlo_no_hostname PASSED [ 46%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_helo_then_ehlo PASSED [ 47%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_ehlo_then_helo PASSED [ 47%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_noop PASSED [ 47%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_noop_with_arg PASSED [ 47%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_quit PASSED [ 47%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_quit_with_args PASSED [ 47%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_help PASSED [ 48%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_help_[HELO] PASSED [ 48%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_help_[EHLO] PASSED [ 48%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_help_[MAIL] PASSED [ 48%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_help_[RCPT] PASSED [ 48%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_help_[DATA] PASSED [ 49%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_help_[RSET] PASSED [ 49%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_help_[NOOP] PASSED [ 49%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_help_[QUIT] PASSED [ 49%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_help_[VRFY] PASSED [ 49%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_help_[AUTH] PASSED [ 49%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_help_esmtp[MAIL] PASSED [ 50%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_help_esmtp[RCPT] PASSED [ 50%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_help_bad_arg PASSED [ 50%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_expn PASSED [ 50%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_no_helo[MAIL] PASSED [ 50%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_no_helo[RCPT] PASSED [ 50%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_no_helo[DATA] PASSED [ 51%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[0] PASSED [ 51%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[1] PASSED [ 51%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[2] PASSED [ 51%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[3] PASSED [ 51%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[4] PASSED [ 52%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[5] PASSED [ 52%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[6] PASSED [ 52%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[7] PASSED [ 52%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[8] PASSED [ 52%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[9] PASSED [ 52%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[10] PASSED [ 53%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[11] PASSED [ 53%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[12] PASSED [ 53%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[13] PASSED [ 53%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[14] PASSED [ 53%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[15] PASSED [ 53%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[16] PASSED [ 54%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[17] PASSED [ 54%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[18] PASSED [ 54%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[19] PASSED [ 54%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[20] PASSED [ 54%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[21] PASSED [ 55%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[22] PASSED [ 55%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[23] PASSED [ 55%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[24] PASSED [ 55%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[25] PASSED [ 55%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[26] PASSED [ 55%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[27] PASSED [ 56%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[28] PASSED [ 56%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[29] PASSED [ 56%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[30] PASSED [ 56%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[31] PASSED [ 56%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[32] PASSED [ 57%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[33] PASSED [ 57%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[34] PASSED [ 57%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[35] PASSED [ 57%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[36] PASSED [ 57%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[37] PASSED [ 57%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[38] PASSED [ 58%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_valid_address[39] PASSED [ 58%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_smtp_errsyntax[noarg] PASSED [ 58%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_smtp_errsyntax[nofrom] PASSED [ 58%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_smtp_errsyntax[noaddr] PASSED [ 58%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_smtp_errsyntax[params_noesmtp] PASSED [ 58%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_smtp_errsyntax[malformed] PASSED [ 59%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_params_esmtp[norm] PASSED [ 59%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_params_esmtp[extralead] PASSED [ 59%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_params_esmtp[extratail] PASSED [ 59%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_from_twice PASSED [ 59%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_esmtp_errsyntax[malformed] PASSED [ 60%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_esmtp_errsyntax[missing] PASSED [ 60%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_esmtp_errsyntax[badsyntax] PASSED [ 60%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_esmtp_errsyntax[space] PASSED [ 60%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_esmtp_params_unrecognized PASSED [ 60%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_bpo27931fix_smtp PASSED [ 60%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_invalid_address[0] PASSED [ 61%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_invalid_address[1] PASSED [ 61%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_esmtp_invalid_address[0] PASSED [ 61%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_mail_esmtp_invalid_address[1] PASSED [ 61%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_no_mail PASSED [ 61%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_smtp_errsyntax[noarg] PASSED [ 61%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_smtp_errsyntax[noto] PASSED [ 62%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_smtp_errsyntax[noaddr] PASSED [ 62%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_smtp_errsyntax[params] PASSED [ 62%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_smtp_errsyntax[malformed] PASSED [ 62%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_esmtp_errsyntax[noarg] PASSED [ 62%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_esmtp_errsyntax[noto] PASSED [ 63%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_esmtp_errsyntax[noaddr] PASSED [ 63%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_esmtp_errsyntax[badparams] PASSED [ 63%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_esmtp_errsyntax[malformed] PASSED [ 63%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_unknown_params PASSED [ 63%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[0] PASSED [ 63%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[1] PASSED [ 64%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[2] PASSED [ 64%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[3] PASSED [ 64%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[4] PASSED [ 64%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[5] PASSED [ 64%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[6] PASSED [ 65%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[7] PASSED [ 65%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[8] PASSED [ 65%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[9] PASSED [ 65%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[10] PASSED [ 65%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[11] PASSED [ 65%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[12] PASSED [ 66%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[13] PASSED [ 66%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[14] PASSED [ 66%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[15] PASSED [ 66%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[16] PASSED [ 66%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[17] PASSED [ 66%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[18] PASSED [ 67%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[19] PASSED [ 67%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[20] PASSED [ 67%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[21] PASSED [ 67%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[22] PASSED [ 67%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[23] PASSED [ 68%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[24] PASSED [ 68%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[25] PASSED [ 68%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[26] PASSED [ 68%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[27] PASSED [ 68%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[28] PASSED [ 68%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[29] PASSED [ 69%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[30] PASSED [ 69%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[31] PASSED [ 69%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[32] PASSED [ 69%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[33] PASSED [ 69%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[34] PASSED [ 69%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[35] PASSED [ 70%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[36] PASSED [ 70%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[37] PASSED [ 70%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[38] PASSED [ 70%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[39] PASSED [ 70%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[40] PASSED [ 71%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[41] PASSED [ 71%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_valid_address[42] PASSED [ 71%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_invalid_address[0] PASSED [ 71%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rcpt_invalid_address[1] PASSED [ 71%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_bpo27931fix_esmtp PASSED [ 71%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rset PASSED [ 72%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_rset_with_arg PASSED [ 72%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_vrfy PASSED [ 72%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_vrfy_no_arg PASSED [ 72%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_vrfy_not_address PASSED [ 72%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_data_no_rcpt PASSED [ 73%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_data_354 PASSED [ 73%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_data_invalid_params PASSED [ 73%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_empty_command PASSED [ 73%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_too_long_command PASSED [ 73%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_way_too_long_command PASSED [ 73%] aiosmtpd/tests/test_smtp.py::TestSMTP::test_unknown_command PASSED [ 74%] aiosmtpd/tests/test_smtp.py::TestSMTPNonDecoding::test_mail_invalid_body_param PASSED [ 74%] aiosmtpd/tests/test_smtp.py::TestSMTPAuth::test_no_ehlo PASSED [ 74%] aiosmtpd/tests/test_smtp.py::TestSMTPAuth::test_helo PASSED [ 74%] aiosmtpd/tests/test_smtp.py::TestSMTPAuth::test_not_enough_values PASSED [ 74%] aiosmtpd/tests/test_smtp.py::TestSMTPAuth::test_already_authenticated PASSED [ 74%] aiosmtpd/tests/test_smtp.py::TestSMTPAuth::test_auth_individually PASSED [ 75%] aiosmtpd/tests/test_smtp.py::TestSMTPAuth::test_rset_maintain_authenticated PASSED [ 75%] aiosmtpd/tests/test_smtp.py::TestSMTPAuth::test_auth_loginteract_warning FAILED [ 75%] aiosmtpd/tests/test_smtp.py::TestSMTPAuth::test_auth_loginteract_warning ERROR [ 75%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_ehlo PASSED [ 75%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_not_supported_mechanism[GSSAPI] PASSED [ 75%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_not_supported_mechanism[DIGEST-MD5] PASSED [ 76%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_not_supported_mechanism[MD5] PASSED [ 76%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_not_supported_mechanism[CRAM-MD5] PASSED [ 76%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_custom_mechanism PASSED [ 76%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_disabled_mechanism PASSED [ 76%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_byclient[login-True] PASSED [ 76%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_byclient[login-False] FAILED [ 77%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_byclient[plain-True] PASSED [ 77%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_byclient[plain-False] PASSED [ 77%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain1_bad_base64_encoding PASSED [ 77%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain1_bad_base64_length PASSED [ 77%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain1_too_many_values PASSED [ 77%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain1_bad_username PASSED [ 78%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain1_bad_password PASSED [ 78%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain1_empty FAILED [ 78%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain1_good_credentials PASSED [ 78%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain1_goodcreds_sanitized_log PASSED [ 78%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain2_good_credentials PASSED [ 79%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain2_bad_credentials PASSED [ 79%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain2_no_credentials FAILED [ 79%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain2_abort PASSED [ 79%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain2_bad_base64_encoding PASSED [ 79%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_login2_bad_base64 PASSED [ 79%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_login2_good_credentials PASSED [ 80%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_login3_good_credentials PASSED [ 80%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_login3_bad_base64 PASSED [ 80%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_login3_bad_username PASSED [ 80%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_login3_bad_password PASSED [ 80%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_login3_empty_credentials FAILED [ 80%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_login3_abort_username PASSED [ 81%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_login3_abort_password FAILED [ 81%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_DENYFALSE PASSED [ 81%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_DENYMISSING PASSED [ 81%] aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_NONE PASSED [ 81%] aiosmtpd/tests/test_smtp.py::TestAuthenticator::test_success PASSED [ 82%] aiosmtpd/tests/test_smtp.py::TestAuthenticator::test_fail_withmesg PASSED [ 82%] aiosmtpd/tests/test_smtp.py::TestRequiredAuthentication::test_help_unauthenticated PASSED [ 82%] aiosmtpd/tests/test_smtp.py::TestRequiredAuthentication::test_help_authenticated PASSED [ 82%] aiosmtpd/tests/test_smtp.py::TestRequiredAuthentication::test_vrfy_unauthenticated PASSED [ 82%] aiosmtpd/tests/test_smtp.py::TestRequiredAuthentication::test_mail_unauthenticated PASSED [ 82%] aiosmtpd/tests/test_smtp.py::TestRequiredAuthentication::test_rcpt_unauthenticated PASSED [ 83%] aiosmtpd/tests/test_smtp.py::TestRequiredAuthentication::test_rcpt_nomail_authenticated PASSED [ 83%] aiosmtpd/tests/test_smtp.py::TestRequiredAuthentication::test_data_unauthenticated PASSED [ 83%] aiosmtpd/tests/test_smtp.py::TestRequiredAuthentication::test_data_authenticated PASSED [ 83%] aiosmtpd/tests/test_smtp.py::TestRequiredAuthentication::test_vrfy_authenticated PASSED [ 83%] aiosmtpd/tests/test_smtp.py::TestRequiredAuthentication::test_mail_authenticated PASSED [ 84%] aiosmtpd/tests/test_smtp.py::TestRequiredAuthentication::test_data_norcpt_authenticated PASSED [ 84%] aiosmtpd/tests/test_smtp.py::TestResetCommands::test_helo PASSED [ 84%] aiosmtpd/tests/test_smtp.py::TestResetCommands::test_ehlo PASSED [ 84%] aiosmtpd/tests/test_smtp.py::TestResetCommands::test_rset PASSED [ 84%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_mail_with_size_too_large PASSED [ 84%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_mail_with_compatible_smtputf8 PASSED [ 85%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_mail_with_unrequited_smtputf8 PASSED [ 85%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_mail_with_incompatible_smtputf8 PASSED [ 85%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_mail_invalid_body PASSED [ 85%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_esmtp_no_size_limit PASSED [ 85%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_process_message_error PASSED [ 85%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_too_long_message_body PASSED [ 86%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_dots_escaped PASSED [ 86%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_unexpected_errors PASSED [ 86%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_unexpected_errors_unhandled PASSED [ 86%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_unexpected_errors_custom_response PASSED [ 86%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_exception_handler_exception PASSED [ 87%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_exception_handler_undescribable PASSED [ 87%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_exception_handler_multiple_connections_lost PASSED [ 87%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_bad_encodings PASSED [ 87%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_data_line_too_long PASSED [ 87%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_long_line_double_count PASSED [ 87%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_long_line_leak PASSED [ 88%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_too_long_body_delay_error PASSED [ 88%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_too_long_body_then_too_long_lines PASSED [ 88%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_too_long_line_delay_error PASSED [ 88%] aiosmtpd/tests/test_smtp.py::TestSMTPWithController::test_too_long_lines_then_too_long_body PASSED [ 88%] aiosmtpd/tests/test_smtp.py::TestCustomization::test_custom_hostname PASSED [ 88%] aiosmtpd/tests/test_smtp.py::TestCustomization::test_default_greeting PASSED [ 89%] aiosmtpd/tests/test_smtp.py::TestCustomization::test_custom_greeting PASSED [ 89%] aiosmtpd/tests/test_smtp.py::TestCustomization::test_mail_invalid_body_param PASSED [ 89%] aiosmtpd/tests/test_smtp.py::TestCustomization::test_limitlocalpart PASSED [ 89%] aiosmtpd/tests/test_smtp.py::TestClientCrash::test_connection_reset_during_DATA PASSED [ 89%] aiosmtpd/tests/test_smtp.py::TestClientCrash::test_connection_reset_during_command PASSED [ 90%] aiosmtpd/tests/test_smtp.py::TestClientCrash::test_connection_reset_in_long_command PASSED [ 90%] aiosmtpd/tests/test_smtp.py::TestClientCrash::test_close_in_command PASSED [ 90%] aiosmtpd/tests/test_smtp.py::TestClientCrash::test_close_in_command_2 PASSED [ 90%] aiosmtpd/tests/test_smtp.py::TestClientCrash::test_close_in_long_command PASSED [ 90%] aiosmtpd/tests/test_smtp.py::TestClientCrash::test_close_in_data PASSED [ 90%] aiosmtpd/tests/test_smtp.py::TestClientCrash::test_sockclose_after_helo PASSED [ 91%] aiosmtpd/tests/test_smtp.py::TestStrictASCII::test_ehlo PASSED [ 91%] aiosmtpd/tests/test_smtp.py::TestStrictASCII::test_bad_encoded_param PASSED [ 91%] aiosmtpd/tests/test_smtp.py::TestStrictASCII::test_mail_param PASSED [ 91%] aiosmtpd/tests/test_smtp.py::TestStrictASCII::test_data PASSED [ 91%] aiosmtpd/tests/test_smtp.py::TestSleepingHandler::test_close_after_helo PASSED [ 92%] aiosmtpd/tests/test_smtp.py::TestTimeout::test_timeout PASSED [ 92%] aiosmtpd/tests/test_smtp.py::TestAuthArgs::test_warn_authreqnotls FAILED [ 92%] aiosmtpd/tests/test_smtp.py::TestAuthArgs::test_log_authmechanisms PASSED [ 92%] aiosmtpd/tests/test_smtp.py::TestAuthArgs::test_authmechname_decorator_badname[has space] PASSED [ 92%] aiosmtpd/tests/test_smtp.py::TestAuthArgs::test_authmechname_decorator_badname[has.dot] PASSED [ 92%] aiosmtpd/tests/test_smtp.py::TestAuthArgs::test_authmechname_decorator_badname[has/slash] PASSED [ 93%] aiosmtpd/tests/test_smtp.py::TestAuthArgs::test_authmechname_decorator_badname[has\\backslash] PASSED [ 93%] aiosmtpd/tests/test_smtp.py::TestLimits::test_limit_wrong_type PASSED [ 93%] aiosmtpd/tests/test_smtp.py::TestLimits::test_limit_wrong_value_type PASSED [ 93%] aiosmtpd/tests/test_smtp.py::TestLimits::test_all_limit_15 PASSED [ 93%] aiosmtpd/tests/test_smtp.py::TestLimits::test_different_limits PASSED [ 93%] aiosmtpd/tests/test_smtp.py::TestLimits::test_different_limits_custom_default PASSED [ 94%] aiosmtpd/tests/test_smtp.py::TestLimits::test_limit_bogus PASSED [ 94%] aiosmtpd/tests/test_smtp.py::TestSanitize::test_loginpassword PASSED [ 94%] aiosmtpd/tests/test_smtp.py::TestSanitize::test_authresult PASSED [ 94%] aiosmtpd/tests/test_smtps.py::TestSMTPS::test_smtps PASSED [ 94%] aiosmtpd/tests/test_starttls.py::TestNoTLS::test_disabled_tls PASSED [ 95%] aiosmtpd/tests/test_starttls.py::TestStartTLS::test_help_starttls PASSED [ 95%] aiosmtpd/tests/test_starttls.py::TestStartTLS::test_starttls_arg PASSED [ 95%] aiosmtpd/tests/test_starttls.py::TestStartTLS::test_starttls FAILED [ 95%] aiosmtpd/tests/test_starttls.py::TestStartTLS::test_starttls_quit FAILED [ 95%] aiosmtpd/tests/test_starttls.py::TestStartTLS::test_failed_handshake FAILED [ 95%] aiosmtpd/tests/test_starttls.py::TestStartTLS::test_tls_handshake_stopcontroller PASSED [ 96%] aiosmtpd/tests/test_starttls.py::TestStartTLS::test_tls_bad_syntax PASSED [ 96%] aiosmtpd/tests/test_starttls.py::TestStartTLS::test_help_after_starttls PASSED [ 96%] aiosmtpd/tests/test_starttls.py::TestStartTLS::test_helo_starttls PASSED [ 96%] aiosmtpd/tests/test_starttls.py::TestTLSEnding::test_eof_received FAILED [ 96%] aiosmtpd/tests/test_starttls.py::TestTLSEnding::test_tls_handshake_failing PASSED [ 96%] aiosmtpd/tests/test_starttls.py::TestTLSForgetsSessionData::test_forget_ehlo FAILED [ 97%] aiosmtpd/tests/test_starttls.py::TestTLSForgetsSessionData::test_forget_mail FAILED [ 97%] aiosmtpd/tests/test_starttls.py::TestTLSForgetsSessionData::test_forget_rcpt FAILED [ 97%] aiosmtpd/tests/test_starttls.py::TestRequireTLS::test_helo_fails PASSED [ 97%] aiosmtpd/tests/test_starttls.py::TestRequireTLS::test_help_fails PASSED [ 97%] aiosmtpd/tests/test_starttls.py::TestRequireTLS::test_ehlo PASSED [ 98%] aiosmtpd/tests/test_starttls.py::TestRequireTLS::test_mail_fails PASSED [ 98%] aiosmtpd/tests/test_starttls.py::TestRequireTLS::test_rcpt_fails PASSED [ 98%] aiosmtpd/tests/test_starttls.py::TestRequireTLS::test_vrfy_fails PASSED [ 98%] aiosmtpd/tests/test_starttls.py::TestRequireTLS::test_data_fails PASSED [ 98%] aiosmtpd/tests/test_starttls.py::TestRequireTLS::test_noop_okay PASSED [ 98%] aiosmtpd/tests/test_starttls.py::TestRequireTLS::test_quit_okay PASSED [ 99%] aiosmtpd/tests/test_starttls.py::TestRequireTLSAUTH::test_auth_notls PASSED [ 99%] aiosmtpd/tests/test_starttls.py::TestRequireTLSAUTH::test_auth_tls FAILED [ 99%] aiosmtpd/tests/test_starttls.py::TestTLSContext::test_verify_mode_nochange PASSED [ 99%] aiosmtpd/tests/test_starttls.py::TestTLSContext::test_certreq_warn PASSED [ 99%] aiosmtpd/tests/test_starttls.py::TestTLSContext::test_nocertreq_chkhost_warn PASSED [100%] ==================================== ERRORS ==================================== _______ ERROR at teardown of TestSMTPAuth.test_auth_loginteract_warning ________ request = > @pytest.fixture def client(request: pytest.FixtureRequest) -> Generator[SMTPClient, None, None]: """ Generic SMTP Client, will connect to the ``host:port`` defined in ``Global.SrvAddr`` unless overriden using :func:`client_data` marker. """ marker = request.node.get_closest_marker("client_data") if marker: markerdata = marker.kwargs or {} else: markerdata = {} addrport = markerdata.get("connect_to", Global.SrvAddr) > with SMTPClient(*addrport) as client: aiosmtpd/tests/conftest.py:306: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , args = (None, None, None) code = 235, message = b'2.7.0 Authentication successful' def __exit__(self, *args): try: code, message = self.docmd("QUIT") if code != 221: > raise SMTPResponseException(code, message) E smtplib.SMTPResponseException: (235, b'2.7.0 Authentication successful') /usr/lib64/python3.11/smtplib.py:284: SMTPResponseException ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: DENYFALSE DENYMISSING DONT LOGIN(builtin) NONE NULL PLAIN(builtin) WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE INFO mail.log:smtp.py:519 Peer: ('::1', 41740, 0, 0) INFO mail.log:smtp.py:601 ('::1', 41740, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 41740, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 41740, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 41740, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 41740, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: DENYFALSE DENYMISSING DONT LOGIN(builtin) NONE NULL PLAIN(builtin) WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE INFO mail.log:smtp.py:519 Peer: ('::1', 41742, 0, 0) INFO mail.log:smtp.py:601 ('::1', 41742, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo example.com\r\n' INFO mail.log:smtp.py:286 ('::1', 41742, 0, 0) >> b'ehlo example.com' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'250-AUTH DENYFALSE DENYMISSING DONT LOGIN NONE NULL PLAIN WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'250 HELP' DEBUG mail.log:smtp.py:286 _handle_client readline: b'AUTH WITH_UNDERSCORE\r\n' INFO mail.log:smtp.py:286 ('::1', 41742, 0, 0) >> b'AUTH WITH_UNDERSCORE' DEBUG mail.log:smtp.py:941 Using handler auth_ hook for 'WITH_UNDERSCORE' DEBUG mail.log:smtp.py:1011 ('::1', 41742, 0, 0) << challenge: b'334 challenge' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'334 challenge' DEBUG mail.log:smtp.py:1017 ('::1', 41742, 0, 0) >> b'=\r\n' DEBUG mail.log:smtp.py:1027 ('::1', 41742, 0, 0) can't decode base64: b'=' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b"501 5.5.2 Can't decode base64" DEBUG mail.log:smtp.py:949 auth_WITH_UNDERSCORE returned '250 OK' WARNING mail.log:smtp.py:189 Session.login_data is deprecated and will be removed in version 2.0 DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'235 2.7.0 Authentication successful' ---------------------------- Captured log teardown ----------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'QUIT\r\n' INFO mail.log:smtp.py:286 ('::1', 41742, 0, 0) >> b'QUIT' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'221 Bye' INFO mail.log:smtp.py:525 ('::1', 41742, 0, 0) connection lost INFO mail.log:smtp.py:746 ('::1', 41742, 0, 0) Connection lost during _handle_client() =================================== FAILURES =================================== ______________ TestUnixSocketController.test_server_creation_ssl _______________ self = safe_socket_dir = PosixPath('/tmp/tmpafng6y9n') ssl_context_server = def test_server_creation_ssl(self, safe_socket_dir, ssl_context_server): sockfile = safe_socket_dir / "smtp" cont = UnixSocketController( Sink(), unix_socket=sockfile, ssl_context=ssl_context_server ) try: > cont.start() aiosmtpd/tests/test_server.py:383: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ aiosmtpd/controller.py:288: in start self._trigger_server() aiosmtpd/controller.py:493: in _trigger_server UnixSocketMixin._trigger_server(self) aiosmtpd/controller.py:470: in _trigger_server s = stk.enter_context(self.ssl_context.wrap_socket(s)) /usr/lib64/python3.11/ssl.py:517: in wrap_socket return self.sslsocket_class._create( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = sock = server_side = False, do_handshake_on_connect = True, suppress_ragged_eofs = True server_hostname = None, context = session = None @classmethod def _create(cls, sock, server_side=False, do_handshake_on_connect=True, suppress_ragged_eofs=True, server_hostname=None, context=None, session=None): if sock.getsockopt(SOL_SOCKET, SO_TYPE) != SOCK_STREAM: raise NotImplementedError("only stream sockets are supported") if server_side: if server_hostname: raise ValueError("server_hostname can only be specified " "in client mode") if session is not None: raise ValueError("session can only be specified in " "client mode") if context.check_hostname and not server_hostname: raise ValueError("check_hostname requires server_hostname") kwargs = dict( family=sock.family, type=sock.type, proto=sock.proto, fileno=sock.fileno() ) self = cls.__new__(cls, **kwargs) super(SSLSocket, self).__init__(**kwargs) self.settimeout(sock.gettimeout()) sock.detach() self._context = context self._session = session self._closed = False self._sslobj = None self.server_side = server_side self.server_hostname = context._encode_hostname(server_hostname) self.do_handshake_on_connect = do_handshake_on_connect self.suppress_ragged_eofs = suppress_ragged_eofs # See if we are connected try: self.getpeername() except OSError as e: if e.errno != errno.ENOTCONN: raise connected = False else: connected = True self._connected = connected if connected: # create the SSL object try: > self._sslobj = self._context._wrap_socket( self, server_side, self.server_hostname, owner=self, session=self._session, ) E ssl.SSLError: Cannot create a client socket with a PROTOCOL_TLS_SERVER context (_ssl.c:795) /usr/lib64/python3.11/ssl.py:1066: SSLError __________________ TestSMTPAuth.test_auth_loginteract_warning __________________ self = client = @handler_data(class_=PeekerHandler) def test_auth_loginteract_warning(self, client): client.ehlo("example.com") resp = client.docmd("AUTH WITH_UNDERSCORE") assert resp == (334, b"challenge") with warnings.catch_warnings(record=True) as w: > assert client.docmd("=") == S.S235_AUTH_SUCCESS E assert (501, b"5.5.2...ecode base64") == StatusCode(co...n successful') E At index 0 diff: 501 != 235 E Full diff: E - StatusCode(code=235, mesg=b'2.7.0 Authentication successful') E + (501, b"5.5.2 Can't decode base64") aiosmtpd/tests/test_smtp.py:987: AssertionError ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: DENYFALSE DENYMISSING DONT LOGIN(builtin) NONE NULL PLAIN(builtin) WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE INFO mail.log:smtp.py:519 Peer: ('::1', 41740, 0, 0) INFO mail.log:smtp.py:601 ('::1', 41740, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 41740, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 41740, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 41740, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 41740, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: DENYFALSE DENYMISSING DONT LOGIN(builtin) NONE NULL PLAIN(builtin) WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE INFO mail.log:smtp.py:519 Peer: ('::1', 41742, 0, 0) INFO mail.log:smtp.py:601 ('::1', 41742, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo example.com\r\n' INFO mail.log:smtp.py:286 ('::1', 41742, 0, 0) >> b'ehlo example.com' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'250-AUTH DENYFALSE DENYMISSING DONT LOGIN NONE NULL PLAIN WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'250 HELP' DEBUG mail.log:smtp.py:286 _handle_client readline: b'AUTH WITH_UNDERSCORE\r\n' INFO mail.log:smtp.py:286 ('::1', 41742, 0, 0) >> b'AUTH WITH_UNDERSCORE' DEBUG mail.log:smtp.py:941 Using handler auth_ hook for 'WITH_UNDERSCORE' DEBUG mail.log:smtp.py:1011 ('::1', 41742, 0, 0) << challenge: b'334 challenge' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'334 challenge' DEBUG mail.log:smtp.py:1017 ('::1', 41742, 0, 0) >> b'=\r\n' DEBUG mail.log:smtp.py:1027 ('::1', 41742, 0, 0) can't decode base64: b'=' DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b"501 5.5.2 Can't decode base64" DEBUG mail.log:smtp.py:949 auth_WITH_UNDERSCORE returned '250 OK' WARNING mail.log:smtp.py:189 Session.login_data is deprecated and will be removed in version 2.0 DEBUG mail.log:smtp.py:587 ('::1', 41742, 0, 0) << b'235 2.7.0 Authentication successful' ________________ TestAuthMechanisms.test_byclient[login-False] _________________ self = caplog = <_pytest.logging.LogCaptureFixture object at 0x7fd7811ad910> auth_peeker_controller = client = , mechanism = 'login' init_resp = False @pytest.mark.parametrize("init_resp", [True, False]) @pytest.mark.parametrize("mechanism", ["login", "plain"]) def test_byclient( self, caplog, auth_peeker_controller, client, mechanism, init_resp ): self._ehlo(client) PW = "goodpasswd" client.user = "goodlogin" client.password = PW auth_meth = getattr(client, "auth_" + mechanism) if (mechanism, init_resp) == ("login", False): > with pytest.raises(SMTPAuthenticationError): E Failed: DID NOT RAISE aiosmtpd/tests/test_smtp.py:1064: Failed ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: DENYFALSE DENYMISSING LOGIN(builtin) NONE NULL PLAIN(builtin) WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE INFO mail.log:smtp.py:519 Peer: ('::1', 41778, 0, 0) INFO mail.log:smtp.py:601 ('::1', 41778, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 41778, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 41778, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 41778, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 41778, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: DENYFALSE DENYMISSING LOGIN(builtin) NONE NULL PLAIN(builtin) WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE INFO mail.log:smtp.py:519 Peer: ('::1', 41780, 0, 0) INFO mail.log:smtp.py:601 ('::1', 41780, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 41780, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo example.com\r\n' INFO mail.log:smtp.py:286 ('::1', 41780, 0, 0) >> b'ehlo example.com' DEBUG mail.log:smtp.py:587 ('::1', 41780, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 41780, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 41780, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 41780, 0, 0) << b'250-AUTH DENYFALSE DENYMISSING LOGIN NONE NULL PLAIN WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE' DEBUG mail.log:smtp.py:587 ('::1', 41780, 0, 0) << b'250 HELP' DEBUG mail.log:smtp.py:286 _handle_client readline: b'AUTH LOGIN\r\n' INFO mail.log:smtp.py:286 ('::1', 41780, 0, 0) >> b'AUTH LOGIN' DEBUG mail.log:smtp.py:941 Using builtin auth_ hook for 'LOGIN' DEBUG mail.log:smtp.py:1011 ('::1', 41780, 0, 0) << challenge: b'334 VXNlciBOYW1lAA==' DEBUG mail.log:smtp.py:587 ('::1', 41780, 0, 0) << b'334 VXNlciBOYW1lAA==' DEBUG mail.log:smtp.py:1011 ('::1', 41780, 0, 0) << challenge: b'334 UGFzc3dvcmQA' DEBUG mail.log:smtp.py:587 ('::1', 41780, 0, 0) << b'334 UGFzc3dvcmQA' DEBUG mail.log:smtp.py:949 auth_LOGIN returned AuthResult(success=True, handled=True, message=None, auth_data=...) WARNING mail.log:smtp.py:189 Session.login_data is deprecated and will be removed in version 2.0 DEBUG mail.log:smtp.py:587 ('::1', 41780, 0, 0) << b'235 2.7.0 Authentication successful' ---------------------------- Captured log teardown ----------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'QUIT\r\n' INFO mail.log:smtp.py:286 ('::1', 41780, 0, 0) >> b'QUIT' DEBUG mail.log:smtp.py:587 ('::1', 41780, 0, 0) << b'221 Bye' INFO mail.log:smtp.py:525 ('::1', 41780, 0, 0) connection lost INFO mail.log:smtp.py:746 ('::1', 41780, 0, 0) Connection lost during _handle_client() _____________________ TestAuthMechanisms.test_plain1_empty _____________________ self = do_auth_plain1 = .do at 0x7fd7819a8ae0> def test_plain1_empty(self, do_auth_plain1): resp = do_auth_plain1("=") > assert resp == S.S501_AUTH_CANTSPLIT E assert (501, b"5.5.2...ecode base64") == StatusCode(co...t auth value") E At index 1 diff: b"5.5.2 Can't decode base64" != b"5.5.2 Can't split auth value" E Full diff: E - StatusCode(code=501, mesg=b"5.5.2 Can't split auth value") E + (501, b"5.5.2 Can't decode base64") aiosmtpd/tests/test_smtp.py:1097: AssertionError ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: DENYFALSE DENYMISSING LOGIN(builtin) NONE NULL PLAIN(builtin) WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE INFO mail.log:smtp.py:519 Peer: ('::1', 41810, 0, 0) INFO mail.log:smtp.py:601 ('::1', 41810, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 41810, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 41810, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 41810, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 41810, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: DENYFALSE DENYMISSING LOGIN(builtin) NONE NULL PLAIN(builtin) WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE INFO mail.log:smtp.py:519 Peer: ('::1', 41812, 0, 0) INFO mail.log:smtp.py:601 ('::1', 41812, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 41812, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo example.com\r\n' INFO mail.log:smtp.py:286 ('::1', 41812, 0, 0) >> b'ehlo example.com' DEBUG mail.log:smtp.py:587 ('::1', 41812, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 41812, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 41812, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 41812, 0, 0) << b'250-AUTH DENYFALSE DENYMISSING LOGIN NONE NULL PLAIN WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE' DEBUG mail.log:smtp.py:587 ('::1', 41812, 0, 0) << b'250 HELP' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'AUTH PLAIN ********\r\n' INFO mail.log:smtp.py:286 ('::1', 41812, 0, 0) >> b'AUTH PLAIN ********' DEBUG mail.log:smtp.py:941 Using builtin auth_ hook for 'PLAIN' DEBUG mail.log:smtp.py:587 ('::1', 41812, 0, 0) << b"501 5.5.2 Can't decode base64" DEBUG mail.log:smtp.py:949 auth_PLAIN returned AuthResult(success=False, handled=True, message=None, auth_data=...) ---------------------------- Captured log teardown ----------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'QUIT\r\n' INFO mail.log:smtp.py:286 ('::1', 41812, 0, 0) >> b'QUIT' DEBUG mail.log:smtp.py:587 ('::1', 41812, 0, 0) << b'221 Bye' INFO mail.log:smtp.py:525 ('::1', 41812, 0, 0) connection lost INFO mail.log:smtp.py:746 ('::1', 41812, 0, 0) Connection lost during _handle_client() ________________ TestAuthMechanisms.test_plain2_no_credentials _________________ self = client_auth_plain2 = def test_plain2_no_credentials(self, client_auth_plain2): resp = client_auth_plain2.docmd("=") > assert resp == S.S501_AUTH_CANTSPLIT E assert (501, b"5.5.2...ecode base64") == StatusCode(co...t auth value") E At index 1 diff: b"5.5.2 Can't decode base64" != b"5.5.2 Can't split auth value" E Full diff: E - StatusCode(code=501, mesg=b"5.5.2 Can't split auth value") E + (501, b"5.5.2 Can't decode base64") aiosmtpd/tests/test_smtp.py:1159: AssertionError ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: DENYFALSE DENYMISSING LOGIN(builtin) NONE NULL PLAIN(builtin) WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE INFO mail.log:smtp.py:519 Peer: ('::1', 41832, 0, 0) INFO mail.log:smtp.py:601 ('::1', 41832, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 41832, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 41832, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 41832, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 41832, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: DENYFALSE DENYMISSING LOGIN(builtin) NONE NULL PLAIN(builtin) WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE INFO mail.log:smtp.py:519 Peer: ('::1', 41834, 0, 0) INFO mail.log:smtp.py:601 ('::1', 41834, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 41834, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo example.com\r\n' INFO mail.log:smtp.py:286 ('::1', 41834, 0, 0) >> b'ehlo example.com' DEBUG mail.log:smtp.py:587 ('::1', 41834, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 41834, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 41834, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 41834, 0, 0) << b'250-AUTH DENYFALSE DENYMISSING LOGIN NONE NULL PLAIN WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE' DEBUG mail.log:smtp.py:587 ('::1', 41834, 0, 0) << b'250 HELP' DEBUG mail.log:smtp.py:286 _handle_client readline: b'AUTH PLAIN\r\n' INFO mail.log:smtp.py:286 ('::1', 41834, 0, 0) >> b'AUTH PLAIN' DEBUG mail.log:smtp.py:941 Using builtin auth_ hook for 'PLAIN' DEBUG mail.log:smtp.py:1011 ('::1', 41834, 0, 0) << challenge: b'334 ' DEBUG mail.log:smtp.py:587 ('::1', 41834, 0, 0) << b'334 ' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:1027 ('::1', 41834, 0, 0) can't decode base64: b'=' DEBUG mail.log:smtp.py:587 ('::1', 41834, 0, 0) << b"501 5.5.2 Can't decode base64" DEBUG mail.log:smtp.py:949 auth_PLAIN returned AuthResult(success=False, handled=True, message=None, auth_data=...) ---------------------------- Captured log teardown ----------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'QUIT\r\n' INFO mail.log:smtp.py:286 ('::1', 41834, 0, 0) >> b'QUIT' DEBUG mail.log:smtp.py:587 ('::1', 41834, 0, 0) << b'221 Bye' INFO mail.log:smtp.py:525 ('::1', 41834, 0, 0) connection lost INFO mail.log:smtp.py:746 ('::1', 41834, 0, 0) Connection lost during _handle_client() _______________ TestAuthMechanisms.test_login3_empty_credentials _______________ self = do_auth_login3 = .do at 0x7fd7819aaa20> def test_login3_empty_credentials(self, do_auth_login3): resp = do_auth_login3("=") > assert resp == S.S334_AUTH_PASSWORD E assert (501, b"5.5.2...ecode base64") == StatusCode(co...UGFzc3dvcmQA') E At index 0 diff: 501 != 334 E Full diff: E - StatusCode(code=334, mesg=b'UGFzc3dvcmQA') E + (501, b"5.5.2 Can't decode base64") aiosmtpd/tests/test_smtp.py:1228: AssertionError ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: DENYFALSE DENYMISSING LOGIN(builtin) NONE NULL PLAIN(builtin) WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE INFO mail.log:smtp.py:519 Peer: ('::1', 41868, 0, 0) INFO mail.log:smtp.py:601 ('::1', 41868, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 41868, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 41868, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 41868, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 41868, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: DENYFALSE DENYMISSING LOGIN(builtin) NONE NULL PLAIN(builtin) WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE INFO mail.log:smtp.py:519 Peer: ('::1', 41870, 0, 0) INFO mail.log:smtp.py:601 ('::1', 41870, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 41870, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo example.com\r\n' INFO mail.log:smtp.py:286 ('::1', 41870, 0, 0) >> b'ehlo example.com' DEBUG mail.log:smtp.py:587 ('::1', 41870, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 41870, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 41870, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 41870, 0, 0) << b'250-AUTH DENYFALSE DENYMISSING LOGIN NONE NULL PLAIN WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE' DEBUG mail.log:smtp.py:587 ('::1', 41870, 0, 0) << b'250 HELP' DEBUG mail.log:smtp.py:286 _handle_client readline: b'AUTH LOGIN\r\n' INFO mail.log:smtp.py:286 ('::1', 41870, 0, 0) >> b'AUTH LOGIN' DEBUG mail.log:smtp.py:941 Using builtin auth_ hook for 'LOGIN' DEBUG mail.log:smtp.py:1011 ('::1', 41870, 0, 0) << challenge: b'334 VXNlciBOYW1lAA==' DEBUG mail.log:smtp.py:587 ('::1', 41870, 0, 0) << b'334 VXNlciBOYW1lAA==' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:1027 ('::1', 41870, 0, 0) can't decode base64: b'=' DEBUG mail.log:smtp.py:587 ('::1', 41870, 0, 0) << b"501 5.5.2 Can't decode base64" DEBUG mail.log:smtp.py:949 auth_LOGIN returned AuthResult(success=False, handled=True, message=None, auth_data=...) ---------------------------- Captured log teardown ----------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'QUIT\r\n' INFO mail.log:smtp.py:286 ('::1', 41870, 0, 0) >> b'QUIT' DEBUG mail.log:smtp.py:587 ('::1', 41870, 0, 0) << b'221 Bye' INFO mail.log:smtp.py:525 ('::1', 41870, 0, 0) connection lost INFO mail.log:smtp.py:746 ('::1', 41870, 0, 0) Connection lost during _handle_client() ________________ TestAuthMechanisms.test_login3_abort_password _________________ self = do_auth_login3 = .do at 0x7fd781968680> def test_login3_abort_password(self, do_auth_login3): resp = do_auth_login3("=") > assert resp == S.S334_AUTH_PASSWORD E assert (501, b"5.5.2...ecode base64") == StatusCode(co...UGFzc3dvcmQA') E At index 0 diff: 501 != 334 E Full diff: E - StatusCode(code=334, mesg=b'UGFzc3dvcmQA') E + (501, b"5.5.2 Can't decode base64") aiosmtpd/tests/test_smtp.py:1238: AssertionError ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: DENYFALSE DENYMISSING LOGIN(builtin) NONE NULL PLAIN(builtin) WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE INFO mail.log:smtp.py:519 Peer: ('::1', 41876, 0, 0) INFO mail.log:smtp.py:601 ('::1', 41876, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 41876, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 41876, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 41876, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 41876, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: DENYFALSE DENYMISSING LOGIN(builtin) NONE NULL PLAIN(builtin) WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE INFO mail.log:smtp.py:519 Peer: ('::1', 41878, 0, 0) INFO mail.log:smtp.py:601 ('::1', 41878, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 41878, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo example.com\r\n' INFO mail.log:smtp.py:286 ('::1', 41878, 0, 0) >> b'ehlo example.com' DEBUG mail.log:smtp.py:587 ('::1', 41878, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 41878, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 41878, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 41878, 0, 0) << b'250-AUTH DENYFALSE DENYMISSING LOGIN NONE NULL PLAIN WITH-DASH WITH-MULTI-DASH WITH_UNDERSCORE' DEBUG mail.log:smtp.py:587 ('::1', 41878, 0, 0) << b'250 HELP' DEBUG mail.log:smtp.py:286 _handle_client readline: b'AUTH LOGIN\r\n' INFO mail.log:smtp.py:286 ('::1', 41878, 0, 0) >> b'AUTH LOGIN' DEBUG mail.log:smtp.py:941 Using builtin auth_ hook for 'LOGIN' DEBUG mail.log:smtp.py:1011 ('::1', 41878, 0, 0) << challenge: b'334 VXNlciBOYW1lAA==' DEBUG mail.log:smtp.py:587 ('::1', 41878, 0, 0) << b'334 VXNlciBOYW1lAA==' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:1027 ('::1', 41878, 0, 0) can't decode base64: b'=' DEBUG mail.log:smtp.py:587 ('::1', 41878, 0, 0) << b"501 5.5.2 Can't decode base64" DEBUG mail.log:smtp.py:949 auth_LOGIN returned AuthResult(success=False, handled=True, message=None, auth_data=...) ---------------------------- Captured log teardown ----------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'QUIT\r\n' INFO mail.log:smtp.py:286 ('::1', 41878, 0, 0) >> b'QUIT' DEBUG mail.log:smtp.py:587 ('::1', 41878, 0, 0) << b'221 Bye' INFO mail.log:smtp.py:525 ('::1', 41878, 0, 0) connection lost INFO mail.log:smtp.py:746 ('::1', 41878, 0, 0) Connection lost during _handle_client() _____________________ TestAuthArgs.test_warn_authreqnotls ______________________ self = caplog = <_pytest.logging.LogCaptureFixture object at 0x7fd78042a0d0> def test_warn_authreqnotls(self, caplog): with pytest.warns(UserWarning) as record: _ = Server(Sink(), auth_required=True, auth_require_tls=False) > assert len(record) == 1 E assert 2 == 1 E + where 2 = len(WarningsChecker(record=True)) aiosmtpd/tests/test_smtp.py:1943: AssertionError ------------------------------ Captured log call ------------------------------- WARNING mail.log:smtp.py:374 auth_required == True but auth_require_tls == False INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) __________________________ TestStartTLS.test_starttls __________________________ self = tls_controller = client = @handler_data(class_=ReceivingHandler) def test_starttls(self, tls_controller, client): sender = "sender@example.com" recipients = ["rcpt1@example.com"] code, _ = client.ehlo("example.com") assert code == 250 assert "starttls" in client.esmtp_features > resp = client.starttls() aiosmtpd/tests/test_starttls.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.11/smtplib.py:790: in starttls self.sock = context.wrap_socket(self.sock, /usr/lib64/python3.11/ssl.py:517: in wrap_socket return self.sslsocket_class._create( /usr/lib64/python3.11/ssl.py:1075: in _create self.do_handshake() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = False @_sslcopydoc def do_handshake(self, block=False): self._check_connected() timeout = self.gettimeout() try: if timeout == 0.0 and block: self.settimeout(None) > self._sslobj.do_handshake() E ssl.SSLZeroReturnError: TLS/SSL connection has been closed (EOF) (_ssl.c:992) /usr/lib64/python3.11/ssl.py:1346: SSLZeroReturnError ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42190, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42190, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42190, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 42190, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 42190, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 42190, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42192, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42192, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42192, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo example.com\r\n' INFO mail.log:smtp.py:286 ('::1', 42192, 0, 0) >> b'ehlo example.com' DEBUG mail.log:smtp.py:587 ('::1', 42192, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 42192, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 42192, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 42192, 0, 0) << b'250-STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42192, 0, 0) << b'250 HELP' DEBUG mail.log:smtp.py:286 _handle_client readline: b'STARTTLS\r\n' INFO mail.log:smtp.py:286 ('::1', 42192, 0, 0) >> b'STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42192, 0, 0) << b'220 Ready to start TLS' ERROR asyncio:base_events.py:1757 Fatal error: protocol.data_received() call failed. protocol: transport: <_SelectorSocketTransport fd=20 read=polling write=> Traceback (most recent call last): File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' ERROR mail.log:smtp.py:595 ('::1', 42192, 0, 0) SMTP session exception Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 908, in smtp_STARTTLS await waiter File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 741, in _handle_client await method(arg) File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 912, in smtp_STARTTLS raise TLSSetupException() from error aiosmtpd.smtp.TLSSetupException INFO mail.log:smtp.py:525 ('::1', 42192, 0, 0) connection lost _______________________ TestStartTLS.test_starttls_quit ________________________ self = tls_controller = client = def test_starttls_quit(self, tls_controller, client): code, _ = client.ehlo("example.com") assert code == 250 > resp = client.starttls() aiosmtpd/tests/test_starttls.py:157: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.11/smtplib.py:790: in starttls self.sock = context.wrap_socket(self.sock, /usr/lib64/python3.11/ssl.py:517: in wrap_socket return self.sslsocket_class._create( /usr/lib64/python3.11/ssl.py:1075: in _create self.do_handshake() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = False @_sslcopydoc def do_handshake(self, block=False): self._check_connected() timeout = self.gettimeout() try: if timeout == 0.0 and block: self.settimeout(None) > self._sslobj.do_handshake() E ssl.SSLZeroReturnError: TLS/SSL connection has been closed (EOF) (_ssl.c:992) /usr/lib64/python3.11/ssl.py:1346: SSLZeroReturnError ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42194, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42194, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42194, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 42194, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 42194, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 42194, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42196, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42196, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42196, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo example.com\r\n' INFO mail.log:smtp.py:286 ('::1', 42196, 0, 0) >> b'ehlo example.com' DEBUG mail.log:smtp.py:587 ('::1', 42196, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 42196, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 42196, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 42196, 0, 0) << b'250-STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42196, 0, 0) << b'250 HELP' DEBUG mail.log:smtp.py:286 _handle_client readline: b'STARTTLS\r\n' INFO mail.log:smtp.py:286 ('::1', 42196, 0, 0) >> b'STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42196, 0, 0) << b'220 Ready to start TLS' ERROR asyncio:base_events.py:1757 Fatal error: protocol.data_received() call failed. protocol: transport: <_SelectorSocketTransport fd=20 read=polling write=> Traceback (most recent call last): File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' ERROR mail.log:smtp.py:595 ('::1', 42196, 0, 0) SMTP session exception Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 908, in smtp_STARTTLS await waiter File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 741, in _handle_client await method(arg) File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 912, in smtp_STARTTLS raise TLSSetupException() from error aiosmtpd.smtp.TLSSetupException INFO mail.log:smtp.py:525 ('::1', 42196, 0, 0) connection lost ______________________ TestStartTLS.test_failed_handshake ______________________ self = client = @handler_data(class_=HandshakeFailingHandler) def test_failed_handshake(self, client): code, _ = client.ehlo("example.com") assert code == 250 > resp = client.starttls() aiosmtpd/tests/test_starttls.py:167: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.11/smtplib.py:790: in starttls self.sock = context.wrap_socket(self.sock, /usr/lib64/python3.11/ssl.py:517: in wrap_socket return self.sslsocket_class._create( /usr/lib64/python3.11/ssl.py:1075: in _create self.do_handshake() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = False @_sslcopydoc def do_handshake(self, block=False): self._check_connected() timeout = self.gettimeout() try: if timeout == 0.0 and block: self.settimeout(None) > self._sslobj.do_handshake() E ssl.SSLZeroReturnError: TLS/SSL connection has been closed (EOF) (_ssl.c:992) /usr/lib64/python3.11/ssl.py:1346: SSLZeroReturnError ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42198, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42198, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42198, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 42198, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 42198, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 42198, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42200, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42200, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42200, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo example.com\r\n' INFO mail.log:smtp.py:286 ('::1', 42200, 0, 0) >> b'ehlo example.com' DEBUG mail.log:smtp.py:587 ('::1', 42200, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 42200, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 42200, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 42200, 0, 0) << b'250-STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42200, 0, 0) << b'250 HELP' DEBUG mail.log:smtp.py:286 _handle_client readline: b'STARTTLS\r\n' INFO mail.log:smtp.py:286 ('::1', 42200, 0, 0) >> b'STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42200, 0, 0) << b'220 Ready to start TLS' ERROR asyncio:base_events.py:1757 Fatal error: protocol.data_received() call failed. protocol: transport: <_SelectorSocketTransport fd=20 read=polling write=> Traceback (most recent call last): File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' ERROR mail.log:smtp.py:595 ('::1', 42200, 0, 0) SMTP session exception Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 908, in smtp_STARTTLS await waiter File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 741, in _handle_client await method(arg) File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 912, in smtp_STARTTLS raise TLSSetupException() from error aiosmtpd.smtp.TLSSetupException INFO mail.log:smtp.py:525 ('::1', 42200, 0, 0) connection lost _______________________ TestTLSEnding.test_eof_received ________________________ self = tls_controller = client = @handler_data(class_=EOFingHandler) def test_eof_received(self, tls_controller, client): # I don't like this. It's too intimately involved with the innards of the SMTP # class. But for the life of me, I can't figure out why coverage there fail # intermittently. # # I suspect it's a race condition, but with what, and how to prevent that from # happening, that's ... a mystery. # Entering portion of code where hang is possible (upon assertion fail), so # we must wrap with "try..finally". try: code, mesg = client.ehlo("example.com") assert code == 250 > resp = client.starttls() aiosmtpd/tests/test_starttls.py:226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.11/smtplib.py:790: in starttls self.sock = context.wrap_socket(self.sock, /usr/lib64/python3.11/ssl.py:517: in wrap_socket return self.sslsocket_class._create( /usr/lib64/python3.11/ssl.py:1075: in _create self.do_handshake() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = False @_sslcopydoc def do_handshake(self, block=False): self._check_connected() timeout = self.gettimeout() try: if timeout == 0.0 and block: self.settimeout(None) > self._sslobj.do_handshake() E ssl.SSLZeroReturnError: TLS/SSL connection has been closed (EOF) (_ssl.c:992) /usr/lib64/python3.11/ssl.py:1346: SSLZeroReturnError ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42218, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42218, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42218, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 42218, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 42218, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 42218, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42220, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42220, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42220, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo example.com\r\n' INFO mail.log:smtp.py:286 ('::1', 42220, 0, 0) >> b'ehlo example.com' DEBUG mail.log:smtp.py:587 ('::1', 42220, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 42220, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 42220, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 42220, 0, 0) << b'250-STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42220, 0, 0) << b'250 HELP' DEBUG mail.log:smtp.py:286 _handle_client readline: b'STARTTLS\r\n' INFO mail.log:smtp.py:286 ('::1', 42220, 0, 0) >> b'STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42220, 0, 0) << b'220 Ready to start TLS' ERROR asyncio:base_events.py:1757 Fatal error: protocol.data_received() call failed. protocol: transport: <_SelectorSocketTransport fd=20 read=polling write=> Traceback (most recent call last): File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' ERROR mail.log:smtp.py:595 ('::1', 42220, 0, 0) SMTP session exception Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 908, in smtp_STARTTLS await waiter File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 741, in _handle_client await method(arg) File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 912, in smtp_STARTTLS raise TLSSetupException() from error aiosmtpd.smtp.TLSSetupException INFO mail.log:smtp.py:525 ('::1', 42220, 0, 0) connection lost __________________ TestTLSForgetsSessionData.test_forget_ehlo __________________ self = client = def test_forget_ehlo(self, client): > resp = client.starttls() aiosmtpd/tests/test_starttls.py:259: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.11/smtplib.py:790: in starttls self.sock = context.wrap_socket(self.sock, /usr/lib64/python3.11/ssl.py:517: in wrap_socket return self.sslsocket_class._create( /usr/lib64/python3.11/ssl.py:1075: in _create self.do_handshake() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = False @_sslcopydoc def do_handshake(self, block=False): self._check_connected() timeout = self.gettimeout() try: if timeout == 0.0 and block: self.settimeout(None) > self._sslobj.do_handshake() E ssl.SSLZeroReturnError: TLS/SSL connection has been closed (EOF) (_ssl.c:992) /usr/lib64/python3.11/ssl.py:1346: SSLZeroReturnError ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42226, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42226, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42226, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 42226, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 42226, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 42226, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42228, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42228, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42228, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo [192.168.122.71]\r\n' INFO mail.log:smtp.py:286 ('::1', 42228, 0, 0) >> b'ehlo [192.168.122.71]' DEBUG mail.log:smtp.py:587 ('::1', 42228, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 42228, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 42228, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 42228, 0, 0) << b'250-STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42228, 0, 0) << b'250 HELP' DEBUG mail.log:smtp.py:286 _handle_client readline: b'STARTTLS\r\n' INFO mail.log:smtp.py:286 ('::1', 42228, 0, 0) >> b'STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42228, 0, 0) << b'220 Ready to start TLS' ERROR asyncio:base_events.py:1757 Fatal error: protocol.data_received() call failed. protocol: transport: <_SelectorSocketTransport fd=20 read=polling write=> Traceback (most recent call last): File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' ERROR mail.log:smtp.py:595 ('::1', 42228, 0, 0) SMTP session exception Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 908, in smtp_STARTTLS await waiter File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 741, in _handle_client await method(arg) File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 912, in smtp_STARTTLS raise TLSSetupException() from error aiosmtpd.smtp.TLSSetupException INFO mail.log:smtp.py:525 ('::1', 42228, 0, 0) connection lost __________________ TestTLSForgetsSessionData.test_forget_mail __________________ self = client = @pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning") def test_forget_mail(self, client): code, _ = client.ehlo("example.com") assert code == 250 resp = client.mail("sender@example.com") assert resp == S.S250_OK > resp = client.starttls() aiosmtpd/tests/test_starttls.py:270: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.11/smtplib.py:790: in starttls self.sock = context.wrap_socket(self.sock, /usr/lib64/python3.11/ssl.py:517: in wrap_socket return self.sslsocket_class._create( /usr/lib64/python3.11/ssl.py:1075: in _create self.do_handshake() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = False @_sslcopydoc def do_handshake(self, block=False): self._check_connected() timeout = self.gettimeout() try: if timeout == 0.0 and block: self.settimeout(None) > self._sslobj.do_handshake() E ssl.SSLZeroReturnError: TLS/SSL connection has been closed (EOF) (_ssl.c:992) /usr/lib64/python3.11/ssl.py:1346: SSLZeroReturnError ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42230, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42230, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42230, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 42230, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 42230, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 42230, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42232, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42232, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42232, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo example.com\r\n' INFO mail.log:smtp.py:286 ('::1', 42232, 0, 0) >> b'ehlo example.com' DEBUG mail.log:smtp.py:587 ('::1', 42232, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 42232, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 42232, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 42232, 0, 0) << b'250-STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42232, 0, 0) << b'250 HELP' DEBUG mail.log:smtp.py:286 _handle_client readline: b'mail FROM:\r\n' INFO mail.log:smtp.py:286 ('::1', 42232, 0, 0) >> b'mail FROM:' INFO mail.log:smtp.py:1287 ('::1', 42232, 0, 0) sender: sender@example.com DEBUG mail.log:smtp.py:587 ('::1', 42232, 0, 0) << b'250 OK' DEBUG mail.log:smtp.py:286 _handle_client readline: b'STARTTLS\r\n' INFO mail.log:smtp.py:286 ('::1', 42232, 0, 0) >> b'STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42232, 0, 0) << b'220 Ready to start TLS' ERROR asyncio:base_events.py:1757 Fatal error: protocol.data_received() call failed. protocol: transport: <_SelectorSocketTransport fd=20 read=polling write=> Traceback (most recent call last): File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' ERROR mail.log:smtp.py:595 ('::1', 42232, 0, 0) SMTP session exception Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 908, in smtp_STARTTLS await waiter File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 741, in _handle_client await method(arg) File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 912, in smtp_STARTTLS raise TLSSetupException() from error aiosmtpd.smtp.TLSSetupException INFO mail.log:smtp.py:525 ('::1', 42232, 0, 0) connection lost __________________ TestTLSForgetsSessionData.test_forget_rcpt __________________ self = client = def test_forget_rcpt(self, client): code, _ = client.ehlo("example.com") assert code == 250 resp = client.mail("sender@example.com") assert resp == S.S250_OK resp = client.rcpt("rcpt@example.com") assert resp == S.S250_OK > resp = client.starttls() aiosmtpd/tests/test_starttls.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.11/smtplib.py:790: in starttls self.sock = context.wrap_socket(self.sock, /usr/lib64/python3.11/ssl.py:517: in wrap_socket return self.sslsocket_class._create( /usr/lib64/python3.11/ssl.py:1075: in _create self.do_handshake() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = False @_sslcopydoc def do_handshake(self, block=False): self._check_connected() timeout = self.gettimeout() try: if timeout == 0.0 and block: self.settimeout(None) > self._sslobj.do_handshake() E ssl.SSLZeroReturnError: TLS/SSL connection has been closed (EOF) (_ssl.c:992) /usr/lib64/python3.11/ssl.py:1346: SSLZeroReturnError ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42234, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42234, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42234, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 42234, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 42234, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 42234, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42236, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42236, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42236, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo example.com\r\n' INFO mail.log:smtp.py:286 ('::1', 42236, 0, 0) >> b'ehlo example.com' DEBUG mail.log:smtp.py:587 ('::1', 42236, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 42236, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 42236, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 42236, 0, 0) << b'250-STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42236, 0, 0) << b'250 HELP' DEBUG mail.log:smtp.py:286 _handle_client readline: b'mail FROM:\r\n' INFO mail.log:smtp.py:286 ('::1', 42236, 0, 0) >> b'mail FROM:' INFO mail.log:smtp.py:1287 ('::1', 42236, 0, 0) sender: sender@example.com DEBUG mail.log:smtp.py:587 ('::1', 42236, 0, 0) << b'250 OK' DEBUG mail.log:smtp.py:286 _handle_client readline: b'rcpt TO:\r\n' INFO mail.log:smtp.py:286 ('::1', 42236, 0, 0) >> b'rcpt TO:' INFO mail.log:smtp.py:1329 ('::1', 42236, 0, 0) recip: rcpt@example.com DEBUG mail.log:smtp.py:587 ('::1', 42236, 0, 0) << b'250 OK' DEBUG mail.log:smtp.py:286 _handle_client readline: b'STARTTLS\r\n' INFO mail.log:smtp.py:286 ('::1', 42236, 0, 0) >> b'STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42236, 0, 0) << b'220 Ready to start TLS' ERROR asyncio:base_events.py:1757 Fatal error: protocol.data_received() call failed. protocol: transport: <_SelectorSocketTransport fd=20 read=polling write=> Traceback (most recent call last): File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' ERROR mail.log:smtp.py:595 ('::1', 42236, 0, 0) SMTP session exception Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 908, in smtp_STARTTLS await waiter File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 741, in _handle_client await method(arg) File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 912, in smtp_STARTTLS raise TLSSetupException() from error aiosmtpd.smtp.TLSSetupException INFO mail.log:smtp.py:525 ('::1', 42236, 0, 0) connection lost _______________________ TestRequireTLSAUTH.test_auth_tls _______________________ self = client = def test_auth_tls(self, client): > resp = client.starttls() aiosmtpd/tests/test_starttls.py:351: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.11/smtplib.py:790: in starttls self.sock = context.wrap_socket(self.sock, /usr/lib64/python3.11/ssl.py:517: in wrap_socket return self.sslsocket_class._create( /usr/lib64/python3.11/ssl.py:1075: in _create self.do_handshake() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , block = False @_sslcopydoc def do_handshake(self, block=False): self._check_connected() timeout = self.gettimeout() try: if timeout == 0.0 and block: self.settimeout(None) > self._sslobj.do_handshake() E ssl.SSLZeroReturnError: TLS/SSL connection has been closed (EOF) (_ssl.c:992) /usr/lib64/python3.11/ssl.py:1346: SSLZeroReturnError ------------------------------ Captured log setup ------------------------------ INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42282, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42282, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42282, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' INFO mail.log:smtp.py:539 ('::1', 42282, 0, 0) EOF received INFO mail.log:smtp.py:746 ('::1', 42282, 0, 0) Connection lost during _handle_client() INFO mail.log:smtp.py:525 ('::1', 42282, 0, 0) connection lost INFO mail.log:smtp.py:407 Available AUTH mechanisms: LOGIN(builtin) PLAIN(builtin) INFO mail.log:smtp.py:519 Peer: ('::1', 42284, 0, 0) INFO mail.log:smtp.py:601 ('::1', 42284, 0, 0) handling connection DEBUG mail.log:smtp.py:587 ('::1', 42284, 0, 0) << b'220 6754024ba5874c91a0e850e1b5d1950a Python SMTP 1.5.0a2' ------------------------------ Captured log call ------------------------------- DEBUG mail.log:smtp.py:286 _handle_client readline: b'ehlo [192.168.122.71]\r\n' INFO mail.log:smtp.py:286 ('::1', 42284, 0, 0) >> b'ehlo [192.168.122.71]' DEBUG mail.log:smtp.py:587 ('::1', 42284, 0, 0) << b'250-6754024ba5874c91a0e850e1b5d1950a' DEBUG mail.log:smtp.py:587 ('::1', 42284, 0, 0) << b'250-SIZE 33554432' DEBUG mail.log:smtp.py:587 ('::1', 42284, 0, 0) << b'250-SMTPUTF8' DEBUG mail.log:smtp.py:587 ('::1', 42284, 0, 0) << b'250-STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42284, 0, 0) << b'250 HELP' DEBUG mail.log:smtp.py:286 _handle_client readline: b'STARTTLS\r\n' INFO mail.log:smtp.py:286 ('::1', 42284, 0, 0) >> b'STARTTLS' DEBUG mail.log:smtp.py:587 ('::1', 42284, 0, 0) << b'220 Ready to start TLS' ERROR asyncio:base_events.py:1757 Fatal error: protocol.data_received() call failed. protocol: transport: <_SelectorSocketTransport fd=20 read=polling write=> Traceback (most recent call last): File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' ERROR mail.log:smtp.py:595 ('::1', 42284, 0, 0) SMTP session exception Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 908, in smtp_STARTTLS await waiter File "/usr/lib64/python3.11/asyncio/selector_events.py", line 1001, in _read_ready__data_received self._protocol.data_received(data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'SSLProtocol' object has no attribute 'data_received' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 741, in _handle_client await method(arg) File "/builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py", line 912, in smtp_STARTTLS raise TLSSetupException() from error aiosmtpd.smtp.TLSSetupException INFO mail.log:smtp.py:525 ('::1', 42284, 0, 0) connection lost =============================== warnings summary =============================== aiosmtpd/tests/test_handlers.py: 7 warnings aiosmtpd/tests/test_main.py: 13 warnings aiosmtpd/tests/test_proxyprotocol.py: 74 warnings aiosmtpd/tests/test_server.py: 4 warnings aiosmtpd/tests/test_smtp.py: 2 warnings /builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/tests/conftest.py:203: DeprecationWarning: There is no current event loop default_loop = asyncio.get_event_loop() aiosmtpd/tests/test_handlers.py::TestMessage::test_message_async aiosmtpd/tests/test_handlers.py::TestMessage::test_message_decoded_async /builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/handlers.py:221: DeprecationWarning: There is no current event loop self.loop = loop or asyncio.get_event_loop() aiosmtpd/tests/test_handlers.py: 2 warnings aiosmtpd/tests/test_server.py: 2 warnings aiosmtpd/tests/test_smtp.py: 3 warnings aiosmtpd/tests/test_starttls.py: 4 warnings /builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/smtp.py:211: DeprecationWarning: There is no current event loop return asyncio.get_event_loop() aiosmtpd/tests/test_main.py::TestMain::test_setuid aiosmtpd/tests/test_main.py::TestMain::test_debug_0 aiosmtpd/tests/test_main.py::TestMain::test_debug_1 aiosmtpd/tests/test_main.py::TestMain::test_debug_2 aiosmtpd/tests/test_main.py::TestMain::test_debug_3 aiosmtpd/tests/test_main.py::TestMainByWatcher::test_tls aiosmtpd/tests/test_main.py::TestMainByWatcher::test_tls_noreq aiosmtpd/tests/test_main.py::TestMainByWatcher::test_smtps aiosmtpd/tests/test_main.py::TestSigint::test_keyboard_interrupt /builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/main.py:255: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() aiosmtpd/tests/test_main.py::TestMain::test_debug_3 /builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/tests/test_main.py:196: DeprecationWarning: There is no current event loop assert asyncio.get_event_loop().get_debug() aiosmtpd/tests/test_server.py::TestUnthreaded::test_unixsocket aiosmtpd/tests/test_server.py::TestUnthreaded::test_inet_loopstop aiosmtpd/tests/test_server.py::TestUnthreaded::test_inet_contstop /builddir/build/BUILD/aiosmtpd-1.4.2/aiosmtpd/tests/test_server.py:402: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead thread.setDaemon(True) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED aiosmtpd/tests/test_server.py::TestUnixSocketController::test_server_creation_ssl FAILED aiosmtpd/tests/test_smtp.py::TestSMTPAuth::test_auth_loginteract_warning FAILED aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_byclient[login-False] FAILED aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain1_empty - a... FAILED aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_plain2_no_credentials FAILED aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_login3_empty_credentials FAILED aiosmtpd/tests/test_smtp.py::TestAuthMechanisms::test_login3_abort_password FAILED aiosmtpd/tests/test_smtp.py::TestAuthArgs::test_warn_authreqnotls - as... FAILED aiosmtpd/tests/test_starttls.py::TestStartTLS::test_starttls - ssl.SSL... FAILED aiosmtpd/tests/test_starttls.py::TestStartTLS::test_starttls_quit - ss... FAILED aiosmtpd/tests/test_starttls.py::TestStartTLS::test_failed_handshake FAILED aiosmtpd/tests/test_starttls.py::TestTLSEnding::test_eof_received - ss... FAILED aiosmtpd/tests/test_starttls.py::TestTLSForgetsSessionData::test_forget_ehlo FAILED aiosmtpd/tests/test_starttls.py::TestTLSForgetsSessionData::test_forget_mail FAILED aiosmtpd/tests/test_starttls.py::TestTLSForgetsSessionData::test_forget_rcpt FAILED aiosmtpd/tests/test_starttls.py::TestRequireTLSAUTH::test_auth_tls - s... ERROR aiosmtpd/tests/test_smtp.py::TestSMTPAuth::test_auth_loginteract_warning ====== 16 failed, 545 passed, 2 skipped, 126 warnings, 1 error in 49.72s ======= + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-aiosmtpd-1.4.2-9.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tcrul1 + umask 022 + cd /builddir/build/BUILD + cd aiosmtpd-1.4.2 + DOCDIR=/builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/share/doc/python3-aiosmtpd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/share/doc/python3-aiosmtpd + cp -pr README.rst /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/share/doc/python3-aiosmtpd + cp -pr examples /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64/usr/share/doc/python3-aiosmtpd + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-aiosmtpd = 1.4.2-9.fc38 python3-aiosmtpd = 1.4.2-9.fc38 python3.11-aiosmtpd = 1.4.2-9.fc38 python3.11dist(aiosmtpd) = 1.5~a2 python3dist(aiosmtpd) = 1.5~a2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.11 python3.11dist(atpublic) python3.11dist(attrs) Obsoletes: python-aiosmtpd < 1.4.2-9.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64 Wrote: /builddir/build/RPMS/python3-aiosmtpd-1.4.2-9.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.j5Ogb9 + umask 022 + cd /builddir/build/BUILD + cd aiosmtpd-1.4.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-aiosmtpd-1.4.2-9.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.qYFbR5 + umask 022 + cd /builddir/build/BUILD + rm -rf aiosmtpd-1.4.2 aiosmtpd-1.4.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0