The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
b138d55fb28d1b6ef0db99a83922b1635c1aa7b5 / Jarek Potiuk <[email protected]>
Image used for k8s tests copies airflow sources with airflow user

When you have localy umask set to 077 or similar (disallowing
group access), the PROD image used to run k8s tests was not working
properly. The files copied to k8s image when preparing k8s
image for local testing were copied using `root` user. This worked
with no problems when group read access was set (umask 022 or 002 is
usually set by defailt). But when someone had umask set to disable
group read access when checking out the repository (077 or similar)
then the files copied to the K8s image had no group read access
and airflow failed with strange "import error".

This PR adds `--chown airflow:0` to all files copied when k8s image
is prepared and makes sure that airflow user is set by default. This
should work regardless of the umask setting (as long as the host owner
has read access to checked out repository).

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to