Frank Massi created AIRFLOW-872:
-----------------------------------

             Summary: Tasks are not skipping correctly
                 Key: AIRFLOW-872
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-872
             Project: Apache Airflow
          Issue Type: Bug
          Components: cli, DagRun, webserver
    Affects Versions: Airflow 1.8
         Environment: docker-compose using docker-compose-LocalExecutor.yml  on 
this fork/branch https://github.com/fdm1/docker-airflow/tree/v1-8-not-skipping

            Reporter: Frank Massi
         Attachments: Screen Shot 2017-02-13 at 1.09.35 PM.png, Screen Shot 
2017-02-13 at 1.11.09 PM.png, Screen Shot 2017-02-13 at 1.11.15 PM.png, Screen 
Shot 2017-02-13 at 1.13.13 PM.png

When using the BranchPythonOperator or ShortCircuitOperator to make Dags 
idempotent, if running the Dag after a successful DagRun and clearing the 
initial task, the second task skips and then the Dag enters a failed state, as 
opposed to skipping all remaining tasks and marking the Dag successful.

Steps to reproduce are outlined here: 
https://github.com/fdm1/docker-airflow/blob/v1-8-not-skipping/dags/test_clear_bug.py#L4-L9

In 1.7.1.3, the tasks do skip correctly, so this appears to be a new bug.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to