Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2020 08:12:47 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        =?iso-8859-1?B?RGF27fA=?= Steinn Geirsson <david@isnic.is>
Cc:        freebsd-git@freebsd.org
Subject:   Re: 504 errors from cgit-beta
Message-ID:  <20201112161247.GK1450@albert.catwhisker.org>
In-Reply-To: <20201112155659.GQ913@mail>
References:  <20201112155659.GQ913@mail>

next in thread | previous in thread | raw e-mail | index | archive | help

--K7eaAr91nZCNGuk7
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=ED=F0 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=
=2Egit:
>=20
> ```
> $ git fetch cgit-beta
> error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504
> fatal: the remote end hung up unexpectedly
> ```
>=20
> 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?
>=20
> 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 :)
>=20
> Thanks,
> -Dav=ED=F0

Peace,
david
--=20
David H. Wolfskill                              david@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.

--K7eaAr91nZCNGuk7
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl+tXv9fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy
OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2
PcnGEggAsWcawOnZUUOxdFz7p3aW5SxM8VGtpkELjCY+dzV+Mc9GqvTuO3TPUIEM
W/1ClGfypDISoqvKaO8INKuyMiXjlwI2z/cOsxjAsp/UxVkh9E/S19n3grWSJkGm
1jdJplAF9QGgX6EG7aJdy3FXyFlQqsfjRCJqmEjo/heHpKhRrkzLDkMlmW53pCf8
fljbwcC9PgkeoPluVHknu0KY3ZTO4vUUPleAGfNmH4fQ2LuWsjC6+ec2xKPiZ6zx
iB8h43G3vF4gUPLv0glKdRYgzIVc8MIjIyB2SXaowKGUSwFG+X5CU/TMNav39xIM
SgPj4aO7LCsKceUejflJteXMHWPppw==
=s90/
-----END PGP SIGNATURE-----

--K7eaAr91nZCNGuk7--



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