]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
windows: log available disk space 2155/head
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 2 Aug 2023 08:01:58 +0000 (08:01 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 2 Aug 2023 08:08:26 +0000 (08:08 +0000)
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 <lpetrut@cloudbasesolutions.com>
scripts/ceph-windows/run_tests

index 56543d81cca9061a4d274ca970248a77ca4d13a8..fad5fe9e33d10da7a4f033d9b94288638006c2cd 100644 (file)
@@ -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"