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

   ### Apache Airflow Provider(s)
   
   microsoft-azure
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-microsoft-azure==8.4.0
   
   ### Apache Airflow version
   
   2.8.0
   
   ### Operating System
   
   Ubuntu 22.04
   
   ### Deployment
   
   Other Docker-based deployment
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   I have a task that has failed in azure batch account that returns as 
successful in the airflow overview. When running this code locally I noticed 
that the wait_for_job_tasks_to_complete method of the azure batch hook returned 
no failed batch tasks, hence the airflow task is not set to failed. When using 
the the azure SDK directly on this task it returns as failed. As such I believe 
the somewhere in the hook the information on the batch task is lost.
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   Create a task in azure batch that fails and wait for it with the airflow 
batch hook (wait_for_job_tasks_to_complete). You will notice that the this 
method suggests that the task has succeeded.
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to