Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tLlMK-00GqJc-6y for buildfarm-members@arkaria.postgresql.org; Thu, 12 Dec 2024 15:44:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tLlMH-00D7uC-JY for buildfarm-members@arkaria.postgresql.org; Thu, 12 Dec 2024 15:44:10 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tLlMH-00D7tk-5b for buildfarm-members@lists.postgresql.org; Thu, 12 Dec 2024 15:44:10 +0000 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tLlMA-002TAy-Qg for buildfarm-members@lists.postgresql.org; Thu, 12 Dec 2024 15:44:08 +0000 Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-467918c35easo11869651cf.2 for ; Thu, 12 Dec 2024 07:44:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1734018241; x=1734623041; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=7SltiYcjvp+0iinqkErEtaTJ+I9W2hBEIU3CIbm6rTk=; b=yD9KcJNVzjrXFDfkEE8oHB710BVd5C129HaK9of/G1A/M7dHEZAn/X2qlMsu8+2BGl TRXf09RUyN6oCUJcUhdaDx6yc3OOBVowMUsByWSyTvs++Fv0ORuHZ5vUhgLh5uoXPWLl nNZMDHGlnYX658t8QW/btu6Atj0zbio7ttGoZmD07FOmuvMq3wqGXzgTcL1ngf/XWjXF iaPDY8OrH6f6yyMbcPwQOFMptxWYVCTPLVjsmcRF/6ilNWl50sXiNj00lDPoK3Cfu8pS +0IBBn0QzPuC31BEMXkU+E5hsZgOboRXowkGy/UYEZn85AIaLmag5apX8+BlPb28USIC 4akQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734018241; x=1734623041; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7SltiYcjvp+0iinqkErEtaTJ+I9W2hBEIU3CIbm6rTk=; b=BqALat+neMlRtbMPs/dyze0UJA5oEGbnS281qccdYws9j/qCUc2LjvQ0Cbyo9smujO yJ17i/3GoZJ4gGP/a5nvioFbrhr/0fdbPafCB22+BNpgAd41PxUHyefY+X562abaE43E SwcgOKOJpqx6ItstCCs3lP2WnAR9dSeCh7/6sTgQtBLeny0/Mheza+I5Rd+tJ2k5/f/L 51YLTR3TE0J98L6cFzq6fQSbbgW21eDFWsSpdrWAM8ZxZ6GrYvzCv2nnjCD1Mv2+Afvh APNpaKkndWKBNqfseGg7u/CgyBD4pmEetYcj9eMD96e3hdcuo4imCfChl0P54Djk4J+Q 3p4Q== X-Gm-Message-State: AOJu0Yz/zAIblO3hBRxqXqc2uX5k76DMNYinUG47B0zTK9tTalOCa6Nl U1FXXVKdvSZvXLgg96ORvkx7B7ZVmZLmyYIdNStvQqTMpq50Uy8cE6O67gQvP5lHEpTezEOYV9H VUkA= X-Gm-Gg: ASbGnct50wxTb2DsY0B1VvYjcFmLh2VTUVG9mAhJKRbk+XLnIGe8tRtNOnqkqMnigjT KNFcZiue2ORjd+ZuvxNOuIccp3uuKHyNhEsig1CCihbjftBgQ3K2BqWYhwAxrcFEX/rJU6nIEgp u8V5EDtuX7N2DaaYiVkXFZBsHBnxcWpf3luWqcDc1U6Cz42OKjqzIcCACUlj/hTzKZ8HjHaaNl+ 8zHPgwkz26mSyBeZzuxrXAdeH+vttH49DSEhcQyylNAnXhruTOS1rD4ea6TUPbRUUQ= X-Google-Smtp-Source: AGHT+IEKNBn639yoa9pug8p/+yTIRPDmUy//nhu5HhjdVMcCdPG4K09w3v7gBlP+lVkvc3kWReypMw== X-Received: by 2002:a05:622a:38c:b0:467:5384:50ed with SMTP id d75a77b69052e-467a15e7c35mr16096721cf.10.1734018241045; Thu, 12 Dec 2024 07:44:01 -0800 (PST) Received: from ?IPV6:2605:a601:a681:6b00::2bb? ([2605:a601:a681:6b00::2bb]) by smtp.googlemail.com with ESMTPSA id d75a77b69052e-46797831571sm9815911cf.32.2024.12.12.07.43.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Dec 2024 07:44:00 -0800 (PST) Message-ID: <7762aec1-971d-4121-83df-57bb5836ef10@dunslane.net> Date: Thu, 12 Dec 2024 10:43:58 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: strange git problems on turaco To: Noah Misch , Tomas Vondra Cc: buildfarm-members@lists.postgresql.org References: <6a705172-5b28-4023-a40e-fb7805c717c4@vondra.me> <20241202034623.39@rfd.leadboat.com> From: Andrew Dunstan Content-Language: en-US Autocrypt: addr=andrew@dunslane.net; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR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PF8YGBzTIvCz/ fQoOq8AX/pE76QEuFnFZWfjw+wgBXgCVmkox2Eflkk6z4ND3pcwGZ6CfCxTQCDk/dij+2DQ4 6bmDCy/sBgcbz9mTpoLC11HLoPae6YN9nBNQRZDcEFEu54OaVOqlIdbA6m+POIBCXZdHOFc0 WoDTgxHRzC1jgQNidyd6tKqcsVJs0dzF0oKTmFFmUAqTdJO12LBuNA1rlqrR3EtpYk8B/wtS 5dIMD7Q8hwQpL+4C6GNpb6ZKnPkLi47pDOLhz2qBrqN+rqUEsT3YnExYpzj5yOBi+FlmV1Hw 49QYe1sn2ZPs In-Reply-To: <20241202034623.39@rfd.leadboat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-12-01 Su 10:46 PM, Noah Misch wrote: > On Mon, Dec 02, 2024 at 02:20:35AM +0100, Tomas Vondra wrote: >> turaco seems to be having some strange git issues - some of the >> buildfarm runs fail like this: >> >> >> turaco:REL_16_STABLE [22:41:11] OK >> Sun Dec 1 22:41:27 2024: buildfarm run for turaco:REL_17_STABLE starting >> turaco:REL_17_STABLE [22:41:27] checking out source ... >> Missing checked out branch bf_REL_17_STABLE: >> fatal: not a git repository (or any parent up to mount point /mnt) >> Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). >> turaco:REL_17_STABLE [22:41:32] failed at stage pgsql-Git >> Sun Dec 1 22:41:33 2024: buildfarm run for turaco:HEAD starting >> turaco:HEAD [22:41:33] checking out source ... >> >> >> I initially suspected this might be due to aging storage (SD card on >> rpi), but I replaced that, and there's nothing strange in dmesg. Also, >> other branches seem to be working fine ... >> >> Any ideas what could be causing this? > I had this happen ~9 times on the host of my AIX buildfarm members. Example: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=mandrill&dt=2024-07-10%2019%3A51%3A28 > > I figured it was some system problem, so I didn't root-cause it. I carry the > following workaround in my fork of the buildfarm client code. The unknown > problem caused failure reports and work stoppage ~4 times before I installed > this workaround, then logs show the workaround prevented damage 5 times. The > last "removed intruder .git" log message appeared on 2024-07-23. There was no > kernel reboot, and logs don't point to buildfarm client processes getting > involuntary termination, either. > > diff --git a/PGBuild/SCM.pm b/PGBuild/SCM.pm > index dcfd180..2cd610a 100644 > --- a/PGBuild/SCM.pm > +++ b/PGBuild/SCM.pm > @@ -1059,9 +1059,19 @@ sub _update_target > my @gitlog; > > # If a run crashed during copy_source(), repair. > - if (-d "./git-save" && !-d "$target/.git") > + if (-d "./git-save") > { > + # As of 2024-07-13, the following has happened about four times in the > + # last month, to different gcc111 animals. Despite no known crash, > + # there's a git-save directory containing the proper git repo, and > + # there's a bogus .git missing most content. Remove the bogus one. > + # This is deeply hacky, but it beats buildfarm report noise and manual > + # intervention. > + if (rmtree("$target/.git") > 0) { > + print "removed intruder .git\n" if $verbose; > + } > move "./git-save", "$target/.git"; > + print "restored git-save\n" if $verbose; > } > > chdir $target; > > [catching up a huge email backlog] That's kinda weird. The .git directory doesn't get moved at all if you have vpath turned on or you're building with meson (which always does vpath). So that's one possible workaround. I guess I should put something like this in the next release ... will go and do that. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com