Skip to content

Instantly share code, notes, and snippets.

@diggzhang
Created April 11, 2018 08:12
Show Gist options
  • Save diggzhang/a106e89ae78fea77fbc5532384a2f324 to your computer and use it in GitHub Desktop.
Save diggzhang/a106e89ae78fea77fbc5532384a2f324 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/Users/xingzezhang/.pyenv/versions/3.4.0/envs/apache-airflow-env-py34/lib/python3.4/site-packages/airflow/models.py", line 1618, in handle_failure
self.email_alert(error, is_retry=True)
File "/Users/xingzezhang/.pyenv/versions/3.4.0/envs/apache-airflow-env-py34/lib/python3.4/site-packages/airflow/models.py", line 1779, in email_alert
send_email(task.email, title, body)
File "/Users/xingzezhang/.pyenv/versions/3.4.0/envs/apache-airflow-env-py34/lib/python3.4/site-packages/airflow/utils/email.py", line 44, in send_email
return backend(to, subject, html_content, files=files, dryrun=dryrun, cc=cc, bcc=bcc, mime_subtype=mime_subtype)
File "/Users/xingzezhang/.pyenv/versions/3.4.0/envs/apache-airflow-env-py34/lib/python3.4/site-packages/airflow/utils/email.py", line 87, in send_email_smtp
send_MIME_email(SMTP_MAIL_FROM, recipients, msg, dryrun)
File "/Users/xingzezhang/.pyenv/versions/3.4.0/envs/apache-airflow-env-py34/lib/python3.4/site-packages/airflow/utils/email.py", line 107, in send_MIME_email
s = smtplib.SMTP_SSL(SMTP_HOST, SMTP_PORT) if SMTP_SSL else smtplib.SMTP(SMTP_HOST, SMTP_PORT)
File "/Users/xingzezhang/.pyenv/versions/3.4.0/lib/python3.4/smtplib.py", line 894, in __init__
source_address)
File "/Users/xingzezhang/.pyenv/versions/3.4.0/lib/python3.4/smtplib.py", line 242, in __init__
(code, msg) = self.connect(host, port)
File "/Users/xingzezhang/.pyenv/versions/3.4.0/lib/python3.4/smtplib.py", line 321, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/Users/xingzezhang/.pyenv/versions/3.4.0/lib/python3.4/smtplib.py", line 900, in _get_socket
self.source_address)
File "/Users/xingzezhang/.pyenv/versions/3.4.0/lib/python3.4/socket.py", line 491, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/Users/xingzezhang/.pyenv/versions/3.4.0/lib/python3.4/socket.py", line 530, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known
[2018-04-11 16:05:11,510] {models.py:1644} ERROR - SSH operator error: error running cmd: /bin/bash /tmp/test_here_pro/underlying_onions_data_source_preparation.sh, error: /bin/bash: /tmp/test_here_pro/underlying_onions_data_source_preparation.sh: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment