t4n1o commented on issue #18541:
URL: https://github.com/apache/airflow/issues/18541#issuecomment-940093303


   Even this ulta-simple dag fails:
   ```
   """Test the smtp send email feature with airflow."""
   from datetime import timedelta
   from textwrap import dedent
   
   from airflow import DAG
   
   from airflow.operators.bash import BashOperator
   from airflow.utils.dates import days_ago
   
   # These args will get passed on to each operator
   # You can override them on a per-task basis during operator initialization
   default_args = {
       'owner': 'airflow',
       'depends_on_past': False,
       'email': ['[email protected]'],
       'email_on_failure': True,
       'email_on_retry': True,
       'retries': 1,
       'retry_delay': timedelta(seconds=8),
   }
   with DAG(
       'Succeed_test',
       default_args=default_args,
       description='Test suceeding!',
       schedule_interval=timedelta(days=1),
       start_date=days_ago(2),
       tags=['debug'],
   ) as dag:
   
       t1 = BashOperator(
           task_id='succeed_every_time',
           bash_command='echo 0',
       )
   
       t1
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to