You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2023/02/08 19:14:21 UTC

[GitHub] [airflow] potiuk commented on issue #9392: 2 notifications send `on_failure`

potiuk commented on issue #9392:
URL: https://github.com/apache/airflow/issues/9392#issuecomment-1423113517

   > I also have this issue, and wonder why it did not qualify as an issue in Airflow?
   > 
   > In my case, it happens with the on_failure_callback of a DAG. The DAG has multiple tasks (without individual callbacks) and a DAG-level timeout of a few minutes. When the timeout is triggered, the running tasks are terminated (marked skipped) and the main DAG fails. It triggers the on_failure_callback not once, but twice with the same context. Is there any reason why that would happen twice? It's consistent and happens every time this DAG times out. The second invocation is a few seconds after the first, I also checked the context and stack traces and they are exactly the same.
   
   If you provide a detailed stack trace @Oduig  in a new issue (especially after migration to latest version of airflow) - please open a new issue.  This issue is about airflow 1.10.9 which reached EOL way more than 2 years ago. If you are also using 1.10 then the answer can be only answer: Upgrade to latest airflow.
   
   If you are upgraded to latest airflow and the issue is reproducible, opening a new issue with reproducible steps (including the logs and stack traces) is a good idea. 


-- 
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-unsubscribe@airflow.apache.org

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