dag.test
unable to run after encountering an issue due to a DB error
#41119
Labels
area:core
kind:bug
This is a clearly a bug
needs-triage
label for new issues that we didn't triage yet
Apache Airflow version
2.9.3
If "Other Airflow 2 version" selected, which one?
No response
What happened?
An exception raised while evaluating
dag.test
makes it impossible to run dag.test again w/o first reinitializing the DB. The error encountered in any subsequent runs is:The workaround to enable running the DAG again is to do:
airflow db reset -y && airflow db migrate
See logs of two consecutive runs in the details below.
What you think should happen instead?
The DAG/task should be evaluated again (i.e. same behavior as the 1st run).
How to reproduce
Save the below DAG definition as a script, then run it twice in a row:
Operating System
Rocky Linux 9.3 (Blue Onyx)
Versions of Apache Airflow Providers
Deployment
Virtualenv installation
Deployment details
apache-airflow[amazon]
(to silence import errors in other dags)Anything else?
This issue observed in 2.9.0 as well.
Log of the 1st run
Log of the 2nd run
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: