From e230c849fd6a1667525d18537edefc70efdf6a0e Mon Sep 17 00:00:00 2001 From: Jelte Fennema Date: Wed, 24 Aug 2022 12:24:47 +0200 Subject: [PATCH] CI: Store postgres logs as artifacts (#6236) If a test fails sometimes the diff of the output isn't very helpful. In those cases looking at the postgres logs can help a lot. We were only storing these logs as artifacts for arbitrary config tests and tap tests, now we also store them for our regular test runs. --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 50f0e66bc..117ed5119 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -410,6 +410,15 @@ jobs: - store_artifacts: name: 'Save core dumps' path: /tmp/core_dumps + - store_artifacts: + name: 'Save coordinator log' + path: src/test/regress/tmp_check/master/log + - store_artifacts: + name: 'Save worker1 log' + path: src/test/regress/tmp_check/worker.57637/log + - store_artifacts: + name: 'Save worker2 log' + path: src/test/regress/tmp_check/worker.57638/log - codecov/upload: flags: 'test_<< parameters.pg_major >>,<< parameters.make >>' when: always