Task retries 3 times despite succeed #59352
Unanswered
akbarnotopb
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Apache Airflow version
Airflow 2.9.3 (google composer 2)
What happened?
tl;dr
My task’s first attempt ends with
Marking task as SUCCESSbut never showsTask exited with return code 0. Then Airflow retries it two more times. Why? Which component is actually failing?I have a task that ended up running 3 times.
Attempt 1
Marking task as SUCCESSbut no
Task exited with return code 0(which normally appears).Attempt 2
This attempt looks normal:
But despite the normal exit, the scheduler triggered a third attempt.
Attempt 3
It immediately logs:
Dependencies not met for <TaskInstance: etl_extras.raw_kafka manual__2025-11-27T08:58:13.686272+00:00 [success]>, dependency 'Task Instance State' FAILED: Task is in the 'success' state.Questions
What you think should happen instead?
The dag should run succesfully
How to reproduce
I have no idea (yet) how to reproduce this problem outside of our existing environments.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions