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 1rgXrk-006hcn-AC for pgsql-hackers@arkaria.postgresql.org; Sat, 02 Mar 2024 22:30:00 +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 1rgXri-00HGZh-U6 for pgsql-hackers@arkaria.postgresql.org; Sat, 02 Mar 2024 22:29:59 +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 1rgXri-00HGZX-K5 for pgsql-hackers@lists.postgresql.org; Sat, 02 Mar 2024 22:29:59 +0000 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rgXre-002Y5F-Fw for pgsql-hackers@lists.postgresql.org; Sat, 02 Mar 2024 22:29:57 +0000 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a2f22bfb4e6so556579266b.0 for ; Sat, 02 Mar 2024 14:29:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1709418594; x=1710023394; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=CNOFz8pxTDQfaxh8kK43EJvDkTNoSBb3c0UySKRcdTc=; b=ezP4gA/3BU5KD+CzLiogt/rKdxGsiWxHvFvcVg6DYeldBO8HHiVNBRTuXGeh9mc8pf dHIDPrtmuJQbBe5bst8EibVAfv8DNDc4FI1ifH9ILPihzwIMa7d+TRvskwjm3sFH56gJ Q5MJAcora0B5XluyRK94R5VDOtKNBMkcLvn6voPAqRZMHxa7pr8Z1UEoG6AxZMgOm8kt sv+HKY0l6n8XiDpho8kvw3XLeQfEy4QM0XEHum99ETjaAlcZjZ8Mu0IWnPrM8Xiv1KxN Ow931DxHFMC6sD3noxp1H55h48c2jhnEh5nxSKMsnTk/0zn/tWTUNQBdcFzrC+frbA/r +mYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709418594; x=1710023394; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CNOFz8pxTDQfaxh8kK43EJvDkTNoSBb3c0UySKRcdTc=; b=J2jA5MWwfKXa2t4/i6OLc67tpNWY6hq49y6d9K6UeeeWO6o38z5cWkDzxo5nr6tD4v 2vIaEkXKpGlY4kBY8BAGkQhzEAO2xH3bZuOtoSuZGqyscq0LU2GcZEZxmHFGvCLEPe50 FBXWAw73A6JyDs26RJLG6a9xmenLzbxXR8yDf75yiFkeFMOVPFuqHRRvdSkyQ3mohn3h qk+/0f1uVAsCB/c6Dh5z3GD516zya5Yg5wKaX0Qr7LDgnEeEkLnvCzEIzcM+ixYHaZvm a+z3b4Fh0PGvLQ7b37yQ8kqshk8ylpQcYaPFMcr9/mrdeQ0ZbhYuZFuzGAiFCmYHIqo2 GRQw== X-Forwarded-Encrypted: i=1; AJvYcCXikUfWyMtQus3Gc4R+iLU4Ps4GBCjqsxIQznxKp6Wm9PPnrFYc28zvfPlTfWG/lFK9/myVaH/61f13gFh7gy8aKX950NbU25b6UyVVONzf28yg X-Gm-Message-State: AOJu0YyCcRkiDlGoXd00/DNoopCLypdkvDKlgskiuni2Epw16DFtXzoQ lYG6E2Eu1RuhNJhKK5/AURKJdz4dw9u06n/ReG+o8BLayUVxdaCXm3F+lDMRCQ== X-Google-Smtp-Source: AGHT+IEihJ/d/8c1ESRhSVqirwKW/kJ852YT9QL8KiViWbCvGOMSaU8V0RVZ6cdRZ+m9n96XlikSxA== X-Received: by 2002:a17:906:f91a:b0:a44:752:ad4e with SMTP id lc26-20020a170906f91a00b00a440752ad4emr4103231ejb.75.1709418593727; Sat, 02 Mar 2024 14:29:53 -0800 (PST) Received: from [10.137.0.18] (ip-86-49-229-30.bb.vodafone.cz. [86.49.229.30]) by smtp.gmail.com with ESMTPSA id k3-20020a17090646c300b00a3fbca02e17sm3098890ejs.75.2024.03.02.14.29.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Mar 2024 14:29:53 -0800 (PST) Message-ID: Date: Sat, 2 Mar 2024 23:29:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Failures in constraints regression test, "read only 0 of 8192 bytes" Content-Language: en-US To: Thomas Munro , PostgreSQL Hackers References: From: Tomas Vondra In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk These are "my" animals (running at a local university). There's a couple interesting details: 1) the animals run on the same machine (one with gcc, one with clang) 2) I did upgrade the OS and restarted the machine on 2024/02/26, i.e. right before the failures started These might be just coincidences, but maybe something got broken by the upgrade ... OTOH it's weird it'd affect just HEAD and none of the other branches, and on two difference compilers. Just to be sure I removed the buildroot, in case there's something wrong with ccache. It's a wild guess, but I don't have any other idea. regards On 3/2/24 22:39, Thomas Munro wrote: > These two animals seem to have got mixed up about about the size of > this relation in the same place: > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=avocet&dt=2024-02-28%2017%3A34%3A30 > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=trilobite&dt=2024-03-01%2006%3A47%3A53 > > +++ /home/buildfarm/trilobite/buildroot/HEAD/pgsql.build/src/test/regress/results/constraints.out > 2024-03-01 08:22:11.624897033 +0100 > @@ -573,42 +573,38 @@ > UNIQUE (i) DEFERRABLE INITIALLY DEFERRED; > BEGIN; > INSERT INTO unique_tbl VALUES (1, 'five'); > +ERROR: could not read blocks 0..0 in file "base/16384/21437": read > only 0 of 8192 bytes > > That error message changed slightly in my smgrreadv() commit a couple > of months ago (it would have been "block 0" and now it's "blocks 0..0" > because now we can read more than one block at a time) but I don't > immediately see how anything at that low level could be responsible > for this. > > -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company