deepak4babu opened a new issue, #55163:
URL: https://github.com/apache/airflow/issues/55163

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   2.10.3
   
   ### What happened?
   
   We have a dag with a deferrable task with 2 retries and some 
on_failure_callbacks. Once trigger failed on both retries, the task was 
rescheduled by the scheduler to run in worker and it got failed immediately 
with the attached error.
   
   <img width="923" height="443" alt="Image" 
src="https://github.com/user-attachments/assets/a38078b3-c08c-4808-abb3-1fa49050c70c";
 />
   
   Later the on failure callback ran in dag-processor.
   
   ### What you think should happen instead?
   
   The task shouldn't have failed and the callbacks should have run in worker.
   
   ### How to reproduce
   
   It is not easily reproducible. It happened only twice for us.
   
   Create a dag with deferrable task that has some retries and failure 
callbacks. Make sure the trigger fails and the control returns back, to run the 
on failure callback.
   
   ### Operating System
   
   PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" 
VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian 
HOME_URL="https://www.debian.org/"; SUPPORT_URL="https://www.debian.org/support"; 
BUG_REPORT_URL="https://bugs.debian.org/";
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-celery==3.8.3
   apache-airflow-providers-cncf-kubernetes==10.1.0
   apache-airflow-providers-common-compat==1.2.1
   apache-airflow-providers-common-io==1.4.2
   apache-airflow-providers-common-sql==1.19.0
   apache-airflow-providers-fab==1.5.2
   apache-airflow-providers-ftp==3.11.1
   apache-airflow-providers-http==4.13.2
   apache-airflow-providers-imap==3.7.0
   apache-airflow-providers-smtp==1.8.0
   apache-airflow-providers-sqlite==3.9.0
   soroco.scout.extensions.provider==425.2.0
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   We use slightly modified version of official helm chart
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to