mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-20 20:54:29 +08:00
Show information about OOM killer in CI
Include OOM kill event logs into error printout. Previously these would only be visible by inspecting the postgres log and looking for killed by signal 9.
This commit is contained in:
parent
e33bd89727
commit
8f5698f49d
2
.github/workflows/linux-build-and-test.yaml
vendored
2
.github/workflows/linux-build-and-test.yaml
vendored
@ -144,6 +144,8 @@ jobs:
|
||||
# wait in case there are in-progress coredumps
|
||||
sleep 10
|
||||
if coredumpctl -q list >/dev/null; then echo "::set-output name=coredumps::true"; fi
|
||||
# print OOM killer information
|
||||
sudo journalctl --system -q --facility=kern --grep "Killed process" || true
|
||||
fi
|
||||
if [[ -s regression.log ]]; then echo "::set-output name=regression_diff::true"; fi
|
||||
grep -e 'FAILED' -e 'failed (ignored)' installcheck.log || true
|
||||
|
@ -118,6 +118,8 @@ jobs:
|
||||
# wait in case there are in-progress coredumps
|
||||
sleep 10
|
||||
if coredumpctl -q list >/dev/null; then echo "::set-output name=coredumps::true"; fi
|
||||
# print OOM killer information
|
||||
sudo journalctl --system -q --facility=kern --grep "Killed process" || true
|
||||
fi
|
||||
if [[ -s regression.log ]]; then echo "::set-output name=regression_diff::true"; fi
|
||||
grep -e 'FAILED' -e 'failed (ignored)' installcheck.log || true
|
||||
|
Loading…
x
Reference in New Issue
Block a user