Hello there!
I’ve just updated my Chatmail Relay which went fine. No issues there.
But after the update, when I run “cmdeploy test”, it stops at this error:
[gw1] [ 97%] FAILED cmdeploy/src/cmdeploy/tests/online/test_0_login.py::test_no_vrfy
=================================== FAILURES ===================================_________________________________ test_no_vrfy _________________________________[gw1] linux – Python 3.13.5 /.../relay/venv/bin/python3
cmfactory = <cmdeploy.tests.plugin.ChatmailACFactory object at 0x7f42f4687380>chatmail_config = <chatmaild.config.Config object at 0x7f42f7402d50>maildomain = ‘###Maildomain removed for privacy###’
def test_no_vrfy(cmfactory, chatmail_config, maildomain):
ac = cmfactory.get_online_account()
addr = ac.get_config(“addr”)
s = smtplib.SMTP(maildomain)
^^^^^^^^^^^^^^^^^^^^^^^^
cmdeploy/src/cmdeploy/tests/online/test_0_login.py:96:
/usr/lib/python3.13/smtplib.py:255: in init(code, msg) = self.connect(host, port)^^^^^^^^^^^^^^^^^^^^^^^^/usr/lib/python3.13/smtplib.py:341: in connectself.sock = self._get_socket(host, port, self.timeout)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^/usr/lib/python3.13/smtplib.py:312: in _get_socketreturn socket.create_connection((host, port), timeout,/usr/lib/python3.13/socket.py:864: in create_connectionraise exceptions[0]
address = (‘###removed###’, 25), timeout = <object object at 0x7f42fd77d4e0>source_address = None
def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
source_address=None, *, all_errors=False):
“”"Connect to address and return the socket object.
Convenience function. Connect to *address* (a 2-tuple ``(host,
port)``) and return the socket object. Passing the optional
*timeout* parameter will set the timeout on the socket instance
before attempting to connect. If no *timeout* is supplied, the
global default timeout setting returned by :func:`getdefaulttimeout`
is used. If *source_address* is set it must be a tuple of (host, port)
for the socket to bind as a source address before making the connection.
A host of '' or port 0 tells the OS to use the default. When a connection
cannot be created, raises the last error if *all_errors* is False,
and an ExceptionGroup of all errors if *all_errors* is True.
"""
host, port = address
exceptions = []
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
af, socktype, proto, canonname, sa = res
sock = None
try:
sock = socket(af, socktype, proto)
if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
sock.settimeout(timeout)
if source_address:
sock.bind(source_address)
sock.connect(sa)
E OSError: [Errno 101] Network is unreachable
/usr/lib/python3.13/socket.py:849: OSError
============================= slowest 5 durations ==============================
135.64s call src/cmdeploy/tests/online/test_0_login.py::test_no_vrfy
10.03s call src/cmdeploy/tests/online/test_1_basic.py::test_reject_missing_dkim[fake@example.org]
10.02s call src/cmdeploy/tests/online/test_1_basic.py::test_reject_missing_dkim[fake@testrun.org]
5.11s call src/cmdeploy/tests/online/test_2_deltachat.py::TestMetadataTokens::test_set_get_metadata
5.05s call src/cmdeploy/tests/online/test_0_login.py::test_login_basic_functioning[smtp]
The relay is working fine though. I’m just curious what causes this error.
Maybe you awesome people can give me a hint ![]()
Greetings!
Hoiba
--
Sorry for the wall of text, I tried to upload a txt-file with the complete error messages but my account isn’t allowed to upload files yet ![]()