Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 2021 17:52:07 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 31cbc4f946ae - stable/13 - Cirrus-CI: add df/du to track down disk full issues
Message-ID:  <202103051752.125Hq7nN072184@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=31cbc4f946ae0e69dbb76898713a1fc3df1a19f3

commit 31cbc4f946ae0e69dbb76898713a1fc3df1a19f3
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-03-01 03:07:05 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2021-03-05 17:49:59 +0000

    Cirrus-CI: add df/du to track down disk full issues
    
    Cirrus-CI: show mounted filesystems and free space at start
    
    CI runs have been encountering disk full errors.  Add a `df` invocation
    so that we can see what we're working with.
    
    (cherry picked from commit af11c2029006b64da41a78f2e2dcc910e13ce07a)
    
    Cirrus-CI: Add more information to help track down disk full issues
    
    Execute df(1) before and after the build (reporting in MiB for
    consistency), and du(1) of /usr/obj.  Also include the uname.
    
    (cherry picked from commit f2f24008a2b1b3c7a1c4b75e9b9c2d0f08abc27b)
---
 .cirrus.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.cirrus.yml b/.cirrus.yml
index c577ca8aeca3..840e0eb81e23 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -14,7 +14,9 @@ task:
   timeout_in: 120m
   install_script:
   - pkg install -y qemu42 uefi-edk2-qemu-x86_64 llvm11
-  setup_user_script:
+  setup_script:
+  - uname -a
+  - df -m
   - pw useradd user
   - mkdir -p /usr/obj/$(pwd -P)
   - chown user:user /usr/obj/$(pwd -P)
@@ -24,3 +26,6 @@ task:
   - su user -c "make CROSS_TOOLCHAIN=llvm11 WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages"
   test_script:
   - sh tools/boot/ci-qemu-test.sh
+  post_script:
+  - df -m
+  - du -m -s /usr/obj
\ No newline at end of file



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103051752.125Hq7nN072184>