Skip to content

Commit b6caa4c

Browse files
authored
Merge pull request #17400 from philip-stoev/ci-journalctl
ci: Add journalctl output to the buildkite artifacts
2 parents ea0d8b1 + bc82b93 commit b6caa4c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ci/plugins/cloudtest/hooks/pre-exit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,9 @@ kubectl describe all > kubectl-describe-all.log || true
2828
buildkite-agent artifact upload "kubectl-*.log"
2929
buildkite-agent artifact upload /var/log/dmesg
3030

31+
# shellcheck disable=SC2024
32+
sudo journalctl --merge > journalctl-merge.log
33+
buildkite-agent artifact upload journalctl-merge.log
34+
3135
ci_unimportant_heading "cloudtest: Resetting..."
3236
bin/ci-builder run stable test/cloudtest/reset

ci/plugins/mzcompose/hooks/pre-exit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ buildkite-agent artifact upload services.log
2424

2525
buildkite-agent artifact upload /var/log/dmesg
2626

27+
# shellcheck disable=SC2024
28+
sudo journalctl --merge > journalctl-merge.log
29+
buildkite-agent artifact upload journalctl-merge.log
30+
2731
netstat -ant > netstat-ant.log
2832
buildkite-agent artifact upload netstat-ant.log
2933

0 commit comments

Comments
 (0)