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

Head commit for run:
a8672034adf36d6de47c58fca2de0be27595314c / Jarek Potiuk <[email protected]>
Add better diagnostics when tests fail

The "post_test" action had not worked as intended when there was
a test failure and did not upload dump of the container logs. It turned
out that the "if" conditions in the sub-action do not propagate from the
parent action, so "failure()" condition was never met.

This PR spplits post-test actions to "success" and "failure" ones, and
triggers each action respectively when the tests succeed or fail.

It also includes two fixes that makes CI debugging better:

* only logs from failed test suite are includeded in the dump
  (previously all currently running containers were included)

* postgres uses now log_collector, which should help with not
  loosing essential logs (such as deadlock logs). Standard stderr
  logging might loose logs. For that we need to give the collector
  a bit of time to propagate the logs before we dump them from
  the container

* postgres runs now as host User/Group and writes logs as this
  local user which allows to avoid changing permissions for the
  logs folder and allows the developers to see postgres logs
  straight in their logs folder.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to