Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njlCu-0007Ug-0E for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Apr 2022 17:12:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1njlCs-0001ZE-Tz for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Apr 2022 17:12:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njlCr-0001Z4-Vx for pgsql-hackers@lists.postgresql.org; Wed, 27 Apr 2022 17:12:02 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1njlCm-0004lD-MP for pgsql-hackers@lists.postgresql.org; Wed, 27 Apr 2022 17:12:00 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d15so2121722plh.2 for ; Wed, 27 Apr 2022 10:11:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=7yaKZoij58n8YdQ5TCih30q3jW1uqbIZR5MsnqTqhdQ=; b=Kpo/KEgKok719nBv/VrvvmR98qGo/qHObCzS4L4WE2lXfdYywWQmwwtAWylTCjcAS2 kACsc/1kTRB1i5G3aqFWm8L2t3WLyB799R+pEZKp/B4rGrydiMUiMSWIGxOPHkv8E+M3 QOiPAlueyogAbicHkw5VpRuXgl9tz1B0zMyCKk5CyJeJZfq7FXZgjm40NE3zBcHfegpV M/nySe3HQaClYZa1FZ6AAjn8tSCmDWIOQA20qqinLpHWX4Mtil7hEt1OWY5M7nYnR7TC Kis33NZcKOvI7XnqDFO3qfR5wXcF4SgrO5WZ5me1/Ea7VxbA8AkKv0M/FIH7zCKc32BG jtXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=7yaKZoij58n8YdQ5TCih30q3jW1uqbIZR5MsnqTqhdQ=; b=TauLSBqVAUf10wZSqAZxoQ7HbRnNf5rCyTwSdgYAQ7BbeeuiWm40qg9Xl/sK9tBg06 usq6OYlPnHvxFaCzlqOwm4zjovuoA0MMZWrlR3D7xTF8vs78xmqnG87+UBW6Je0pdGgn LrwfoQGWJ1UGKP0jrugsA3t/dUT+MWxzd8yUu0dJKWTm1BXLSMKtxpdSWEDhQq087QkS qt9c2E8HC+J/BGPxNfaQC19RXatPJ09l/T2hA+ZMZzY/vZuOIUY5CF3UNr7pTCrrSmwa wF3yKABrjAMSuX9wKk1pVDOOBWYsNWpYoADW5xXirozosYoHsJLnH8NCSPXoKLldquJH 3aFw== X-Gm-Message-State: AOAM530U63eO3L4z2+qQLYOhW9gi6ds7iBlnkuGiyCaESBehpIQzZW78 bwvqL1xEzb1L7K7ptXL3emRJsfvwUjba85v+YUsWgmhZdMql6DDSFJaxC6f7CL+jqUOx+RL/M+B UpTEdaFJ2a086AK3+wPcBdKJdxi+Uukxp3EtWojMTYVqNmsn0Pk0TTph7aM3KObjyQLITOoDcuG uMwn1FODqkvydQg/yssthANDYpgOXkzKW3OhrfymUjlNTKsIpv+UBX X-Google-Smtp-Source: ABdhPJxS5B7GxNN8zko9j05urEqDIgFj52gSVddVn6N25lyWa+rWgryTyY0igCIA7NjjIHhFxlvVAQ== X-Received: by 2002:a17:902:7083:b0:158:41f2:3a83 with SMTP id z3-20020a170902708300b0015841f23a83mr29831854plk.99.1651079515483; Wed, 27 Apr 2022 10:11:55 -0700 (PDT) Received: from laptop280-ma-us.hitronhub.home (24-113-193-150.wavecable.com. [24.113.193.150]) by smtp.gmail.com with ESMTPSA id j24-20020aa78d18000000b0050564584660sm19131600pfe.32.2022.04.27.10.11.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Apr 2022 10:11:54 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: Unstable tests for recovery conflict handling From: Mark Dilger In-Reply-To: <394950.1651077914@sss.pgh.pa.us> Date: Wed, 27 Apr 2022 10:11:53 -0700 Cc: Andres Freund , Melanie Plageman , pgsql-hackers@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <394950.1651077914@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.3608.120.23.2.7) X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Apr 27, 2022, at 9:45 AM, Tom Lane wrote: >=20 > [ starting a new thread cuz the shared-stats one is way too long ] >=20 > Andres Freund writes: >> Add minimal tests for recovery conflict handling. >=20 > It's been kind of hidden by other buildfarm noise, but > 031_recovery_conflict.pl is not as stable as it should be = [1][2][3][4]. >=20 > Three of those failures look like Interesting, I have been getting failures on REL_14_STABLE: t/012_subtransactions.pl ............. 11/12 = =20 # Failed test 'Rollback of PGPROC_MAX_CACHED_SUBXIDS+ prepared = transaction on promoted standby' # at t/012_subtransactions.pl line 211. # got: '3' # expected: '0' t/012_subtransactions.pl ............. 12/12 # Looks like you failed 1 = test of 12. t/012_subtransactions.pl ............. Dubious, test returned 1 (wstat = 256, 0x100) Failed 1/12 subtests=20 And the logs, tmp_check/log/regress_log_012_subtransactions, showing: ### Enabling streaming replication for node "primary" ### Starting node "primary" # Running: pg_ctl -D = /Users/mark.dilger/recovery_test/postgresql/src/test/recovery/tmp_check/t_= 012_subtransactions_primary_data/pgdata -l = /Users/mark.dilger/recovery_test/postgresql/src/test/recovery/tmp_check/lo= g/012_subtransactions_primary.log -o --cluster-name=3Dprimary start waiting for server to start.... done server started # Postmaster PID for node "primary" is 46270 psql::1: ERROR: prepared transaction with identifier = "xact_012_1" does not exist not ok 11 - Rollback of PGPROC_MAX_CACHED_SUBXIDS+ prepared transaction = on promoted standby # Failed test 'Rollback of PGPROC_MAX_CACHED_SUBXIDS+ prepared = transaction on promoted standby' # at t/012_subtransactions.pl line 211. # got: '3' # expected: '0' This is quite consistent for me, but only when I configure with = --enable-coverage and --enable-dtrace. (I haven't yet tried one of = those without the other.) I wasn't going to report this yet, having not yet completely narrowed = this down, but I wonder if anybody else is seeing this? I'll try again on master.... =E2=80=94 Mark Dilger EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company