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 1rLNKY-007ZiD-8T for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Jan 2024 13:00:14 +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 1rLNKV-00CfU4-0f for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Jan 2024 13:00:11 +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 1rLNKU-00CfTv-NM for pgsql-hackers@lists.postgresql.org; Thu, 04 Jan 2024 13:00:10 +0000 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rLNKO-00FVTI-Ac for pgsql-hackers@lists.postgresql.org; Thu, 04 Jan 2024 13:00:10 +0000 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2cd0f4f306fso5503551fa.0 for ; Thu, 04 Jan 2024 05:00:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704373203; x=1704978003; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=gdfyHtevkJVDE6pD48FM2oNuQtWWejiXk+KZf6rBu54=; b=KCSX+DJZ9SylDeGBfJqFp582y8y/AsIkRH4RWEIPnJI4JYtWB/rHFSGavAqMHL7C78 QHfwgCTjkgdP+B2QGpjiSUXnqmWbe7mhY7DV/dcPSMbCvCrdAadvo58AULktNXRNOaoB 5wozsjd2qoh8MDNgEMwp0R/66WnwtvTOQmyX83Mdhk3Syn+C2kJMwp+IZ21S42Ojf2nX T8kRXuZD1afWNWpokW2IGtG/MDPIQ15Qe002r4aITqnoA8FdSm5tFU38ZjtFq96QDMRA WzV34jlaMydgPzt2Gmy4b2lSZHXnk53N2wRXWtjNBySU20rM0hWcObScFTn9qv6g9n3W Dtog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704373203; x=1704978003; h=content-transfer-encoding:in-reply-to:from:references:cc: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=gdfyHtevkJVDE6pD48FM2oNuQtWWejiXk+KZf6rBu54=; b=wb/sdHQXeSoeQXCeZYuF0UnJzgQ5foKzCAiujwt/LEdVJneBeCIW0tWlAfvaG5rGWG OMNi2F4nhBzPHW35YmXK1V4hYQmLRphTR42Da9hC7x4MHYFc9L4jZ6jcQQvXL9mpOyPM un1OhEftC5AuLI4cYBMs4YvbjyUZMhAg2b7Ei7z+WGckI5yd86IazMmupi8+7bQhVkq1 n7KpQnP9FHeuLaxKOsFfUBikOh2uRmAAbKIMegktZKE7J21CNiVfEJJ5bUYE+hNJGmv2 LNgnTWRpnpc1pA4iojlLImD/5DLLTwPZbe5P/CBVIVAQOMboWFB2pWW2ltvjl+NEev8x Gatw== X-Gm-Message-State: AOJu0YyilEiic6RTJ52wEhgazfP8cAfYy3eGd3NL+xmy9n41SJ/p73kO po8aVIBEzQcQY9A1sIIm3to= X-Google-Smtp-Source: AGHT+IE6VfzkzLBYXK91yltyZLYvI9Bm/doLK9Rf6W/UvFrntuaXa2f8rf/jVQpb4a1qyYQM4s20Sg== X-Received: by 2002:a2e:9f45:0:b0:2cc:c377:2baa with SMTP id v5-20020a2e9f45000000b002ccc3772baamr296232ljk.38.1704373203201; Thu, 04 Jan 2024 05:00:03 -0800 (PST) Received: from [1.0.0.7] ([91.185.77.50]) by smtp.gmail.com with ESMTPSA id e10-20020a05651c090a00b002cce6095241sm3328561ljq.62.2024.01.04.05.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Jan 2024 05:00:02 -0800 (PST) Message-ID: <2e203472-72b5-1b55-377a-824c3f28b190@gmail.com> Date: Thu, 4 Jan 2024 16:00:01 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: Add a perl function in Cluster.pm to generate WAL Content-Language: en-US To: Tom Lane , Michael Paquier Cc: Euler Taveira , Bharath Rupireddy , Kyotaro Horiguchi , Alvaro Herrera , Andrew Dunstan , pgsql-hackers@lists.postgresql.org References: <20230615.134015.1421242753635015365.horikyota.ntt@gmail.com> <3a6978d6-e4fc-4014-b5f7-45db53d8fa53@app.fastmail.com> <5d160064-8cbe-4b32-9c55-c983b1f63b12@app.fastmail.com> <370894.1704325169@sss.pgh.pa.us> From: Alexander Lakhin In-Reply-To: <370894.1704325169@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello Tom, 04.01.2024 02:39, Tom Lane wrote: > Buildfarm member skink has failed 3 times in > 035_standby_logical_decoding.pl in the last couple of days: > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=skink&dt=2024-01-03%2020%3A07%3A15 > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=skink&dt=2024-01-03%2017%3A09%3A27 > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=skink&dt=2024-01-01%2020%3A10%3A18 > > These all look like > > # poll_query_until timed out executing this query: > # select (confl_active_logicalslot = 1) from pg_stat_database_conflicts where datname = 'testdb' > # expecting this output: > # t > # last actual query output: > # f > > although it's notable that two different tests are involved > (vacuum vs. vacuum full). > > I am not real sure what is happening there, but I see that c161ab74f > changed some details of how that test works, so I wonder if it's > responsible for these failures. The timing isn't a perfect match, > since this commit went in two weeks ago, but I don't see any > more-recent commits that seem like plausible explanations. Reproduced here. As I can see in the failure logs you referenced, the first problem is: #   Failed test 'inactiveslot slot invalidation is logged with vacuum on pg_authid' #   at t/035_standby_logical_decoding.pl line 224. It reminded me of: https://www.postgresql.org/message-id/b2a1f7d0-7629-72c0-2da7-e9c4e336b010%40gmail.com It seems that it's not something new, and maybe that my analysis is still valid. If so, VACUUM FREEZE/autovacuum = off should fix the issue. Best regards, Alexander