kaxil commented on issue #12659:
URL: https://github.com/apache/airflow/issues/12659#issuecomment-734921519


   I can confirm the bug. I was able to reproduce it with task with 
`task_concurrency` or `depends_on_past` with `LocalExecutor` and the following 
DAG:
   
   ```python
   from airflow import models
   from airflow.operators.dummy_operator import DummyOperator
   from airflow.operators.bash_operator import BashOperator
   from datetime import datetime, timedelta
   
   default_args = {
       'owner': 'airflow',
       'start_date': datetime(2018, 10, 31),
       'retries': 3,
       'retry_delay': timedelta(minutes=5)
   }
   
   dag_name = 'dag-bugcheck'
   
   with models.DAG(dag_name,
                   default_args=default_args,
                   schedule_interval='0 0 * * *',
                   catchup=False,
                   max_active_runs=5,
                   ) as dag:
   
       test1 = DummyOperator(
           task_id='test1',
           task_concurrency=10,
       )
   
       test2 = BashOperator(
           task_id='test2',
           bash_command='echo hi',
           depends_on_past=True,
       )
   
       test3 = BashOperator(
           task_id='test3',
           bash_command='echo hi',
       )
   
   ```


----------------------------------------------------------------
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:
[email protected]


Reply via email to