Daniel Gies created AIRFLOW-965:
-----------------------------------

             Summary: ONE_SUCCESS TriggerRule is triggering with only skips
                 Key: AIRFLOW-965
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-965
             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: Daniel Gies
             Fix For: 1.8.0rc5


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