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 1riaQD-000Rna-Os for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Mar 2024 13:38:02 +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 1riaPD-00Chzu-6s for pgsql-hackers@arkaria.postgresql.org; Fri, 08 Mar 2024 13:36: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 1riaPC-00Chzm-Sw for pgsql-hackers@lists.postgresql.org; Fri, 08 Mar 2024 13:36:59 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1riaP4-003U52-MM for pgsql-hackers@lists.postgresql.org; Fri, 08 Mar 2024 13:36:57 +0000 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-5132010e5d1so2903993e87.0 for ; Fri, 08 Mar 2024 05:36:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1709905009; x=1710509809; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=uIS1Xe1c518nSPdy5fZx3euWlfTfMe4p6ehhV4rqzVY=; b=BQFxxufJF79fL2ZXvfK/GWvPsCah/Z+rghYKZVeO2vyDCmKvZXRRyuBSQGQte+p1tN C0igebW3RUJTX29ldI1e4GbSlx/uCiHJFH5uKXAuaSmxTBJlja8oWyeh/7D2zmn0mex9 2qVXYOn7BIivjdeIO+2ApHvSHgi8bHW4bppqIcvPOmivN3jLpNqHSXFDHeJtb5LBBVfN X6xiIn7cvQyIdFyfy0t7cCdQo7nDGZqFoX7o1cx7EyWH084iLYzzch+7ndIxff7IlCBi 3r/3+BU2h4MOYVSRoTQqaSKMPsFlMgGJgn25mk7FklKBbbar4R3ruozByIQaRNltUxWb 2BtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709905009; x=1710509809; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uIS1Xe1c518nSPdy5fZx3euWlfTfMe4p6ehhV4rqzVY=; b=WFpQlF/wE+qX5HdU9fqGFKh4Y3/bO4gNhiG2s8w7/PLTRtp4GSex2snhD/F68zoOKZ 86AfQ9gQTETTnLZc0EN2TyEHAEL0/JQgCNnN3rAfMN/j6WSQb2T1QzGNj1fH9Qy2hwUK c0amZqUyqaE6gUEbcjxCxrh0q0xcekYjg0RUzYXUgHlCrUthAN9fHEkmpU/fWvSrkWPT ggmnM6gGgGB2Lj8xyMs9mGcNBrwycW/KxoSqsxa3ExmOK+DehE/tSteXQhxMQqASx7fU qKL1J106jUc90fezuOscia6KJ+w2Lrzx/+zIzUy7PgZrkjAftA2MhSlf/iMCZbkhuGUN WB4g== X-Forwarded-Encrypted: i=1; AJvYcCVOpZWhGLzCF9KP7SfPnhOqS3bGbDdYqakyJPXuCb7ehhY9ET/VjMiNVwtQwHJwgLI/33luoh83BBOXVSEa6Vwm/XNar+oU5e81TW1jQC7axhBq X-Gm-Message-State: AOJu0YxWzy+/N32XGmqzvx3Qugt1hapOTykPp/1NrOaN8iIBh1p7V38M +R7TjPY5U3SyxmXCVXDjstEgVtwqNDN2BIzJcz8/xY+7nyCMRcTY8cicNZIp8g== X-Google-Smtp-Source: AGHT+IFAYjyJhsE8e+H0G/fUw27V1L3VDNS6RWN1UbB96LioY4WyWbFBIeTFIQ0nNHh5Kjl6M443TQ== X-Received: by 2002:a05:6512:39c8:b0:513:259f:8860 with SMTP id k8-20020a05651239c800b00513259f8860mr4880470lfu.33.1709905009561; Fri, 08 Mar 2024 05:36:49 -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 z24-20020a170906669800b00a44ce07ad77sm7314682ejo.166.2024.03.08.05.36.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 Mar 2024 05:36:49 -0800 (PST) Message-ID: <61ef0b89-1ec6-4d88-afbd-2ffc2c977511@enterprisedb.com> Date: Fri, 8 Mar 2024 14:36:48 +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 From: Tomas Vondra To: Thomas Munro Cc: Ronan Dunklau , PostgreSQL Hackers References: <2185821.Icojqenx9y@aivenlaptop> <5c5a0015-723a-4fa7-85d5-2f0f47b92094@enterprisedb.com> 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 On 3/8/24 13:21, Tomas Vondra wrote: > On 3/8/24 09:33, Thomas Munro wrote: >> Happened again. I see this is OpenSUSE. Does that mean the file >> system is Btrfs? > > > It is, but I don't think that matters - I've been able to reproduce this > locally on my laptop using ext4 filesystem. I'd bet the important piece > here is -DCLOBBER_CACHE_ALWAYS (and it seems avocet/trilobite are the > only animals running with this). > > Also, if this really is a filesystem (or environment) issue, it seems > very strange it'd only affect HEAD and not the other branches. So it > seems quite likely this is actually triggered by a commit. > > Looking at the commits from the good/bad runs, I see this: > > avocet: good=4c2369a bad=f5a465f > trilobite: good=d13ff82 bad=def0ce3 > > That means the commit would have to be somewhere here: > > f5a465f1a07 Promote assertion about !ReindexIsProcessingIndex to ... > 57b28c08305 Doc: fix minor typos in two ECPG function descriptions. > 28e858c0f95 Improve documentation and GUC description for ... > a661bf7b0f5 Remove flaky isolation tests for timeouts > 874d817baa1 Multiple revisions to the GROUP BY reordering tests > 466979ef031 Replace lateral references to removed rels in subqueries > a6b2a51e16d Avoid dangling-pointer problem with partitionwise ... > d360e3cc60e Fix compiler warning on typedef redeclaration > 8af25652489 Introduce a new smgr bulk loading facility. > e612384fc78 Fix mistake in SQL features list > d13ff82319c Fix BF failure in commit 93db6cbda0. > > My guess would be 8af25652489, as it's the only storage-related commit. > > I'm currently running tests to verify this. > Yup, the breakage starts with this commit. I haven't looked into the root cause, or whether the commit maybe just made some pre-existing issue easier to hit. Also, I haven't followed the discussion on the pgsql-bugs thread [1], maybe there are some interesting findings. [1] https://www.postgresql.org/message-id/flat/1878547.tdWV9SEqCh%40aivenlaptop regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company