I am trying to identify what in a .log file makes a specific task marked as "Successful" vs "Failure" in airflow. I am getting the sense that this is dependent upon the operator (PythonOperator
vs EmailOperator
vs BashOperator
etc.).
I am seeing different return codes. For example, INFO - Task exited with return code 1
or INFO - Task exited with return code 0
or INFO - Process psutil.Process(pid=00000, status='terminated') (00000) terminated with exit code -15
I am not seeing consistency.. I first thought INFO - Task exited with return code 0
constituted a success, but I see some failure logs also have this.
I would appreciate any insight into understanding different return code #.