The GitHub Actions job "Build Images" on airflow.git has failed. Run started by GitHub user ryantam626 (triggered by ryantam626).
Head commit for run: a4384ed7d68d943464bc5a5d1c498909ef1a8562 / Ryan Tam <[email protected]> Wait for xcom sidecar container to start before sidecar exec According to k8s's docs on pod phase [1], "Running" state means "The Pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting.". There is no guarantee that the xcom sidecar container will have been running by the time the `extract_com` is used by KPO's `execute` - meaning if the base container has completed before the xcom sidecar container is running, the entire operator fails because you cannot exec against a non-running container. Fix is to wait for the xcom sidecar container to be in the running state before we exec against it, which this commit implements. [1] - https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase [2] - https://github.com/schattian/airflow/blob/86171ff43f8977021708cfa241da64f96c4c15e2/airflow/providers/cncf/kubernetes/operators/kubernetes_pod.py#L398 Report URL: https://github.com/apache/airflow/actions/runs/2669870583 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
