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

Head commit for run:
e6f5e3470d37ce50ba17a6188af689a6bc4e580e / Ash Berlin-Taylor <a...@apache.org>
Fix error from BashOperator tasks from clean_in_fork

Since a bashoperator does fork+exec, the clean_in_fork process gets called
again just before bash is invoked, and it was failing if the cleanup had
already happened.

The error we saw was this:

```
{"timestamp":"2025-03-25T14:47:40.633847Z","level":"error","event":"  File 
\"/usr/local/lib/python3.11/site-packages/airflow/settings.py\", line 393, in 
clean_in_fork","chan":"stderr","logger":"task"}
{"timestamp":"2025-03-25T14:47:40.633862Z","level":"error","event":"    if 
engine:","chan":"stderr","logger":"task"}
{"timestamp":"2025-03-25T14:47:40.633880Z","level":"error","event":"       
^^^^^^","chan":"stderr","logger":"task"}
{"timestamp":"2025-03-25T14:47:40.633898Z","level":"error","event":"NameError: 
name 'engine' is not defined","chan":"stderr","logger":"task"}
```

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

With regards,
GitHub Actions via GitBox


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

Reply via email to