Hi All,

 

We are hitting a bug with LAVA 2021.08: email notifications seem to be broken.

We believe this is due to a bug between eventlet 0.26.0 and dnspython.

Visibly, this is fixed in eventlet 0.32.0: https://github.com/eventlet/eventlet/issues/619

 

Did you face the same bug?

Any idea about how to fix that?

 

Thanks a lot,

 

Philippe

 

Trace below:

ERROR:lava_scheduler_app:[Errno -3] Lookup timed out

Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 435, in resolve

    return _proxy.query(name, rdtype, raise_on_no_answer=raises,

  File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 391, in query

    return end()

  File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 370, in end

    raise result[1]

  File "/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 351, in step

    a = fun(*args, **kwargs)

  File "/usr/lib/python3/dist-packages/dns/resolver.py", line 1089, in query

    return self.resolve(qname, rdtype, rdclass, tcp, source,

 File "/usr/lib/python3/dist-packages/dns/resolver.py", line 1043, in resolve

    timeout = self._compute_timeout(start, lifetime)

  File "/usr/lib/python3/dist-packages/dns/resolver.py", line 950, in _compute_timeout

    raise Timeout(timeout=duration)

dns.exception.Timeout: The DNS operation timed out after 5.104917526245117 seconds