You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2023/06/07 09:20:20 UTC

[GitHub] [airflow]: Workflow run "Build images for Fix Kubernetes executor set wrong task status https://github.com/apache/airflow/pull/31274 " failed!

The GitHub Actions job "Build images for Fix Kubernetes executor set wrong task status https://github.com/apache/airflow/pull/31274
" on airflow.git has failed.
Run started by GitHub user pankajastro (triggered by pankajastro).

Head commit for run:
7c92d794dbe1f478c731d32dde184223e0ed30a8 / Pankaj <pa...@astronomer.io>
Fix Kubernetes executor set wrong task status

In the case of multiple schedulers and lots of tasks running
If somehow schedulers restart and try to adopt pods
in some cases, it sets the wrong task status.
In this PR, I'm changing some checks so that if the pod status is non-terminal
then set the task status Failed only
if the pod event type is DELETED and POD_EXECUTOR_DONE_KEY is in the pod label

Report URL: https://github.com/apache/airflow/actions/runs/5198240355

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org