airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <>
Subject [jira] [Commented] (AIRFLOW-5536) Output log was removed on EXITING from sub-shell
Date Tue, 24 Sep 2019 09:41:00 GMT


ASF subversion and git services commented on AIRFLOW-5536:

Commit 43671685f356bb4c69ab7a0d3087ad8a9467844f in airflow's branch refs/heads/v1-10-test
from Jarek Potiuk
[;h=4367168 ]

[AIRFLOW-5536] Better handling of temporary output files

> Output log was removed on EXITING from sub-shell
> ------------------------------------------------
>                 Key: AIRFLOW-5536
>                 URL:
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: ci
>    Affects Versions: 2.0.0, 1.10.5
>            Reporter: Jarek Potiuk
>            Priority: Major
>             Fix For: 1.10.6
> Output log is now by default deleted at exit from the build scripts on CI (via trap),
This can be disabled but by default it is enabled and the way it worked (handling EXIT signal)
it was removed also when sub-shell (hooks/build) exited (and there were still some writing
to those files that could happen afterwards).
> Also in case of CRON build - when all the build cache was deleted, also the temporary
directory was deleted right after it was created (and trying to write to the output log failed).
Therefore the log is now simply created in a temporary directory provided by the filesystem.

This message was sent by Atlassian Jira

View raw message