git: 225605ec1681 - main - Cirrus-CI: Use the default Git history depth

Ed Maste emaste at FreeBSD.org
Mon Jun 7 22:52:01 UTC 2021


The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=225605ec1681d5ac08b297aa4efbc64bcb950fc2

commit 225605ec1681d5ac08b297aa4efbc64bcb950fc2
Author:     Fedor Korotkov <fedor.korotkov at gmail.com>
AuthorDate: 2021-01-29 14:22:54 +0000
Commit:     Ed Maste <emaste at FreeBSD.org>
CommitDate: 2021-06-07 22:50:18 +0000

    Cirrus-CI: Use the default Git history depth
    
    Which is `50`.  I saw a few errors like
    `Failed to force reset to SHA: object not found!` which seems is
    happening because the SHA is not available because there were two
    commits pushed almost simultaneously and the second from the top fails
    with this error because the SHA is not in the history.
    
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/454
    
    Comments on re-commit from emaste:
    
    Originally committed as fcb4797c90f3 and reverted in 80a840b8ba03 due
    to the clone operation taking significantly longer.  However, I have
    seen many failures due to the "object not found" issue recently.
    7 of 37 recent runs failed because of this, and intermittent failures
    like this makes CI much less useful.
    
    Prefer longer-running runs to intermittent failures.
---
 .cirrus.yml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/.cirrus.yml b/.cirrus.yml
index 823d8bc2e1b0..db0e4e4c0543 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -10,9 +10,6 @@ compute_engine_instance:
   memory: 24G
   disk: 40
 
-env:
-  CIRRUS_CLONE_DEPTH: 1
-
 task:
   name: World and kernel amd64 build and boot smoke test
   timeout_in: 120m


More information about the dev-commits-src-main mailing list