OpenLineage - dag_run.update_state() - AssertionError: daemonic processes are not allowed to have children #41676
Closed
1 of 2 tasks
Labels
area:providers
kind:bug
This is a clearly a bug
needs-triage
label for new issues that we didn't triage yet
provider:openlineage
AIP-53
Apache Airflow Provider(s)
openlineage
Versions of Apache Airflow Providers
apache-airflow-providers-openlineage==1.10.0
Apache Airflow version
2.9.3
Operating System
NAME="Amazon Linux" VERSION="2" ID="amzn"
Deployment
Other Docker-based deployment
Deployment details
No response
What happened
After upgrading the openlineage provider from 1.7.1 to 1.10.0 we have been encountering the following error:
We have a check operator that runs a check that may fail. On the next run of that check, it marks the check in the previous DAGRun as success so as to not clutter the Airflow UI, then runs
update_state()
on the previous DAGRun. This is done so that the previous DAGRun itself is marked as success, iff all of its tasks are in a success/skipped state.What you think should happen instead
dag_run.update_state() should be callable from within an Operator without error with the OpenLineage provider enabled.
How to reproduce
Anything else
I strongly suspect this issue is caused by #39235 which was included in 1.8.0, as the issue started for us after upgrading from 1.7.1 to 1.10.0.
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: