Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-5536

Output log was removed on EXITING from sub-shell

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 1.10.5
    • Fix Version/s: 1.10.6
    • Component/s: ci
    • Labels:
      None

      Description

      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.

       

       

        Attachments

          Activity

            People

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment