Vagrantfile: dump containerd log after critest

It is used to debug if there is any flaky test cases.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
This commit is contained in:
Wei Fu 2022-08-07 12:36:17 +08:00
parent de68174ec3
commit 782fd3c8e6

1
Vagrantfile vendored
View File

@ -259,6 +259,7 @@ EOF
function cleanup() function cleanup()
{ {
journalctl -u containerd > /tmp/containerd.log journalctl -u containerd > /tmp/containerd.log
cat /tmp/containerd.log
systemctl stop containerd systemctl stop containerd
} }
selinux=$(getenforce) selinux=$(getenforce)