You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/11/11 06:31:44 UTC

[GitHub] [airflow] tlw-ray commented on issue #12234: DAG success bug Tasks in it no_status

tlw-ray commented on issue #12234:
URL: https://github.com/apache/airflow/issues/12234#issuecomment-725230565


   The problem is very easy to reproduce:
   ~~~python
   from builtins import range
   from datetime import datetime, timedelta
   
   import airflow
   from airflow.models import DAG
   from airflow.operators.bash_operator import BashOperator
   from airflow.operators.dummy_operator import DummyOperator
   
   dt = datetime.now()
   
   args = {
       'start_date': datetime(dt.year, dt.month, dt.day, dt.hour),
   }
   
   dag = DAG(
       dag_id='5分钟一跑测试稳定性',
       default_args=args,
       schedule_interval=timedelta(minutes=5),
   )
   
   
   run_this = BashOperator(
       task_id='pwdTask',
       bash_command='pwd ',
       dag=dag,
   )
   ~~~
   
   ![](https://raw.githubusercontent.com/tlw-ray/docker-airflow-mssql/master/image/Airflow_1_10_12.png)


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org