504 errors from cgit-beta

David Wolfskill david at catwhisker.org
Thu Nov 12 16:12:51 UTC 2020


I don't have a solution; indeed: I am not seeing the issue, but thought
that comparing notes might have some value....

On Thu, Nov 12, 2020 at 03:56:59PM +0000, Davíð Steinn Geirsson wrote:
> ...
> We are getting frequent 504 errors when running `git fetch` against an
> existing checkout of `ports.git` from https://cgit-beta.freebsd.org/ports.git:
> 
> ```
> $ git fetch cgit-beta
> error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504
> fatal: the remote end hung up unexpectedly
> ```
> 
> We have a scheduled CI pipeline that runs every 4 hours and pulls in new
> changes from https://cgit-beta.freebsd.org/ports.git and it seems to
> fail about half of the time. Just looking at the last 24 hours:
> Thu, 12 Nov 2020 12:29:26 +0000 - failed
> Thu, 12 Nov 2020 08:28:49 +0000 - success
> Thu, 12 Nov 2020 04:28:44 +0000 - failed
> Thu, 12 Nov 2020 00:28:25 +0000 - success
> Wed, 11 Nov 2020 20:27:53 +0000 - failed
> Wed, 11 Nov 2020 16:29:27 +0000 - success
> Wed, 11 Nov 2020 12:29:09 +0000 - failed

I only update nightly (in two passes), hitting src, ports, and doc.
FWIW, the local repos are "mirror clones" (vs. clones that have/are
working directories); I doubt that's significant, but I could easily be
quite wrong about that.

Anyway, here are the latest status lines from my log:

g1-48(12.2-S)[6] grep '^git repo sync' /var/log/git.log | tail -12
git repo sync started at Wed Nov 11 11:15:00 UTC 2020
git repo sync for src ended at Wed Nov 11 11:15:02 UTC 2020 exit status 0
git repo sync for ports ended at Wed Nov 11 11:15:02 UTC 2020 exit status 0
git repo sync for doc ended at Wed Nov 11 11:15:02 UTC 2020 exit status 0
git repo sync started at Thu Nov 12 10:15:00 UTC 2020
git repo sync for src ended at Thu Nov 12 10:16:03 UTC 2020 exit status 0
git repo sync for ports ended at Thu Nov 12 10:17:12 UTC 2020 exit status 0
git repo sync for doc ended at Thu Nov 12 10:17:16 UTC 2020 exit status 0
git repo sync started at Thu Nov 12 11:15:00 UTC 2020
git repo sync for src ended at Thu Nov 12 11:15:02 UTC 2020 exit status 0
git repo sync for ports ended at Thu Nov 12 11:15:02 UTC 2020 exit status 0
git repo sync for doc ended at Thu Nov 12 11:15:02 UTC 2020 exit status 0

> I saw the recent discussion on the change in GC settings
> (https://lists.freebsd.org/pipermail/freebsd-git/2020-October/000466.html)
> and tried to reset our checkout (deleted the ports project in our gitlab,
> created a new clone from cgit-beta and pushed into a new, clean project),
> but it did not have any effect.

I have not changed mine since 16 Oct 2020; it's documented in
http://www.catwhisker.org/~david/FreeBSD/repo-sync.html (in case that's
useful or interesting).

(That said, I'm not actually trying to use the got repo for anything but
to verify that syncing works; I still use svn for my real FreeBSD
src.ports/doc syncing.)

> Any ideas what could be causing this?
> 
> PS: Has any date been decided on when the switchover will happen and git
> becomes the canonical source of truth? I am excited to not have to touch
> subversion again :)
> 
> Thanks,
> -Davíð

Peace,
david
-- 
David H. Wolfskill                              david at catwhisker.org
Donald Trump is exhibiting the maturity of a 2-year-old in a meltdown.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-git/attachments/20201112/0351524f/attachment.sig>


More information about the freebsd-git mailing list