From 241b740f4b19000609e6f370b68de9798cef9d1f Mon Sep 17 00:00:00 2001 From: Lucian Petrut Date: Wed, 2 Aug 2023 08:01:58 +0000 Subject: [PATCH] windows: log available disk space Some Windows test jobs have failed after the OSDs ran out of disk space. Those jobs use Linux VMs with 128GBs of storage and run 3 OSDs, each having 15GB. In order to get a better picture, we'll log the disk space usage, including the vstart directory contents. Signed-off-by: Lucian Petrut --- scripts/ceph-windows/run_tests | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/ceph-windows/run_tests b/scripts/ceph-windows/run_tests index 56543d81..fad5fe9e 100644 --- a/scripts/ceph-windows/run_tests +++ b/scripts/ceph-windows/run_tests @@ -54,6 +54,9 @@ function collect_artifacts() { SSH_USER=$UBUNTU_SSH_USER SSH_ADDRESS=$UBUNTU_VM_IP ssh_exec ./ceph/build/bin/ceph status SSH_USER=$UBUNTU_SSH_USER SSH_ADDRESS=$UBUNTU_VM_IP ssh_exec free -h + SSH_USER=$UBUNTU_SSH_USER SSH_ADDRESS=$UBUNTU_VM_IP ssh_exec df -h + SSH_USER=$UBUNTU_SSH_USER SSH_ADDRESS=$UBUNTU_VM_IP ssh_exec \ + "du -sh ./ceph-vstart/*" SSH_USER=$UBUNTU_SSH_USER SSH_ADDRESS=$UBUNTU_VM_IP ssh_exec \ "journalctl -b > /tmp/journal" -- 2.39.5