Skip to content

LocalExecutor crashes in KinD Deployment with some Dags #47518

@jscheffl

Description

@jscheffl

Body

Attempted to enable K8s tests with LocalExecutor in #47472 and failed in making LocalExecutor working.

Branch: latest main on 2025-03-07

How to re-produce:
Use breeze k8s commands to set-up a KinD cluster, deploy airflow.
Python 3.9, Postgres, LocalExecutor

Open a shell to K8s cluster and airflow dags trigger example_bash_operator + airflow dags unpause example_bash_operator.

Check logs for scheduler Pod (breeze k8s k9s is your friend)

Shortcut if #47472 is merged: breeze k8s run-complete-tests --rebuild-base-image --python 3.9 --executor LocalExecutor - see tests in kubernetes_tests/test_other_executors.py - and these should NOT xfail!

When fixing please remove the XFail in kubernetes_tests/test_other_executors.py in the fix PR.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Assignees

Labels

area:Executors-coreLocalExecutor & SequentialExecutorarea:task-sdkkind:bugThis is a clearly a bugkind:metaHigh-level information important to the community

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions