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 1tjqJT-00DuM2-AJ for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Feb 2025 01:52:47 +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 1tjqJR-00CMyz-2o for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Feb 2025 01:52:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tjqJQ-00CMyq-H0 for pgsql-hackers@lists.postgresql.org; Mon, 17 Feb 2025 01:52:44 +0000 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tjqJN-001FpP-1x for pgsql-hackers@postgresql.org; Mon, 17 Feb 2025 01:52:43 +0000 Received: by mail-ot1-x334.google.com with SMTP id 46e09a7af769-726fec215d7so2457857a34.2 for ; Sun, 16 Feb 2025 17:52:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1739757159; x=1740361959; darn=postgresql.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=Aqe8QfJdYUvcNpZ7F0gpkrn+v2dLucVZeOPrvDLQ9zw=; b=eCO1RmJ7AYOaXJspaKV3DNakIZgbwzLGQBNig+bsZb99FSaiGZ17lKLieNS+OH9k54 VG1/Zv89PjeWfO0WzOLmIbD4OTbKNK0GZfQzdtkZA/qp2t2IfF6PpXGOD6t+ZLqIKn1v +ABIIVbWAsptKq7/0nSeGL/MPTN2omjN8vU1I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739757159; x=1740361959; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Aqe8QfJdYUvcNpZ7F0gpkrn+v2dLucVZeOPrvDLQ9zw=; b=nhdw87A4OJCOlKIAJOdwjdjZcWatXPKnTj25JfSeKkNPDwL6l/cLVK5O10VNdaJ+eg qY8xcvSQSK20tSs0//J45fsoaa+H+Vh0w6kTioe9o/ic+OQF5VHgb/RaaT4lawIIW0mA Y7jfx575s2VR+2zKJfhos2LhxlLUaKhHMM6a+/nMJjpiWh61RSkpILx+PRs/Td/0vxMG Jt3nB7WTY5rt8e/aum1+LCL6V7W8qkVL62vA/EPtoiLZ+V5tM/Ke+0VFCpB7FoJfxvxU GXi0Imgo7LjiGsdtcYg6shshUG+cj1bZ4uEqJl5ngVARm2U90ouQHRzUPC0rwYXeclwu ci8Q== X-Forwarded-Encrypted: i=1; AJvYcCXsuH2jbGDOLwTm+8/jNUHOmk3u8AoWKSKWqhHki80CI7/HZ2upgUV6TT8qh2ttQ1MiWt8CC2tSx5xLx/QB@postgresql.org X-Gm-Message-State: AOJu0YyHNT45+aOsA9YBe/AMOTR7o/netVqoolNWbeA/CQwQcamJtdV+ TqcmLq2ETQJDwQxA6Njcs8elg9xWUVN7qHfKiXmpd2yUcgOv5MlOFTRqkWhcEg== X-Gm-Gg: ASbGncvDEuk0skeznbRXDfZn/Kw/xlzcxx/3OtStpFcuEhIF5uXULVSF4jNbg2C0+/n +tphNlmZgGbYI3EKiMfVAwTUGD5HfJX1g8Q3s9eH11sYMdw0SmvfytOg86FNrtZi0PhqtgS+Vq6 UOc6HwhxoudDK7Ftnnfdy94PheoWbWKmD2QdVR6g5/yuBjBqMt/v6SwAubE5ABSYzVsCmDa8S/Q rVAkqD0oB8J9jwLCQ+fT+NeViG8YpexbnVJtKba4nOK1bsUIFglAJKeFR0EifVEFVQwh4J/6wcI dZqfCqkdLQ== X-Google-Smtp-Source: AGHT+IHsLlYoG1YMlX0CyE9ZnnSV7b6stdCh0VTI9k6jvn0rg7Z6i4A6R61dSBaiCXKaP4oxerkhTw== X-Received: by 2002:a05:6830:6585:b0:718:db7:708d with SMTP id 46e09a7af769-727120baa8emr4661556a34.28.1739757159503; Sun, 16 Feb 2025 17:52:39 -0800 (PST) Received: from google.com ([2600:1702:a20:5750::46]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-2b9548205d6sm3731997fac.4.2025.02.16.17.52.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Feb 2025 17:52:38 -0800 (PST) Date: Sun, 16 Feb 2025 17:52:36 -0800 From: Noah Misch To: Andres Freund Cc: Tom Lane , pgsql-hackers@postgresql.org Subject: Re: BackgroundPsql swallowing errors on windows Message-ID: <20250217015236.62.nmisch@google.com> References: <20250216173943.b6.nmisch@google.com> <20250216184740.55.nmisch@google.com> <20250216223951.a3.nmisch@google.com> <684214.1739747924@sss.pgh.pa.us> <20250216235843.7c.nmisch@google.com> <695158.1739753418@sss.pgh.pa.us> <9D3BCBE0-5DC1-4344-A87E-74F6809F2FF8@anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9D3BCBE0-5DC1-4344-A87E-74F6809F2FF8@anarazel.de> User-Agent: Mutt/2.2.12 (2023-09-09) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, Feb 16, 2025 at 08:42:50PM -0500, Andres Freund wrote: > On February 16, 2025 7:50:18 PM EST, Tom Lane wrote: > >Noah Misch writes: > >> On Sun, Feb 16, 2025 at 06:18:44PM -0500, Tom Lane wrote: > >>> I think that > >>> IPC::Run may be screwing up here, because I have seen non-Windows > >>> CI failures that look like it didn't read all the stderr output. > >>> For example, this pgbench test failure on macOS from [1]: > > > >> https://github.com/cpan-authors/IPC-Run/commit/2128df3bbcac7e733ac46302c4b1371ffb88fe14 > >> fixed that one. > > > >Ah. Do we know whether that fix has made it into our CI images? > >(Or anywhere else, for that matter?) > > The CI images are regenerated three times a week, but for most OSs, they will only install perl modules via the applicable packaging method, so it'll depend on when they pick up that version. > > On Windows cpan is used, so it should pick that new version fairly quickly if a release has been made. > > On macos we can't currently use images, so we just cache all the installed macports packages. The cache is keyed by OS version and list of packages to be installed, with no other forced invalidation right now. So it's hard to predict when a new version of a package will be picked up and it will differ between git repositories. I've been wondering whether the cached macports install should just be regularly generated instead, along the other ci images. The change is not in a release yet. We could have macos install IPC::Run from github, or I could get a release cut so it can make its way to macports. https://ports.macports.org/port/p5.34-ipc-run/builds/ suggests it ingested the last release within a couple days of release, so macports itself may add negligible latency.