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 1sEQxg-001REr-4s for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Jun 2024 10:00:13 +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 1sEQxf-00GAhu-Da for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Jun 2024 10:00:11 +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 1sEQxf-00GAhm-3n for pgsql-hackers@lists.postgresql.org; Tue, 04 Jun 2024 10:00:11 +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 1sEQxZ-003Nxo-Rd for pgsql-hackers@postgresql.org; Tue, 04 Jun 2024 10:00:09 +0000 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-52b92e73e2fso3489106e87.2 for ; Tue, 04 Jun 2024 03:00:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717495203; x=1718100003; darn=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=FxvdYL68uscAzoCh0VRJFXBNWQjbWCzS0hmsjwx4jyE=; b=JX7CUG7rHmTc1jRUN30D/NzkhseaoT+OhCqsZrRBWZOdni79zGiSn2v21u49tblces pofbEZtoS3V7lZMGCvNjSZW9+k4ldtZ6aLBzDZiLiPuMAkUat1bECzi+kOVNYp30/0Kc DYQFf7hsbT3XQINLjXTmh2BkOU9QyjkI37FzyA7jG0h7uA2ATq1IKWZBL65aGzHyJObw 9e9Z3zsleG3RQg3tUHMwDVujm3Q6lrb4WWxol9bk6w4kjxaLOLqhbUrcgbtiQVkyASrX K+aVrp+3yuVQIQOfZ4NE2C1LePTuxq73p5M3p7IM8zmM1lRZUv7KmXtEmpYCVRbTTPXz uj2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717495203; x=1718100003; 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=FxvdYL68uscAzoCh0VRJFXBNWQjbWCzS0hmsjwx4jyE=; b=mqSaENnLpl3YEPgti27NxRkNG0vnumsSbGJMvpctE5UozYlZYb+Klli3GL54+v+Kw9 d0gG4RJzSCJ6F6SSUIkxz0teThF0EHX0AIU4Qn6YTqw4nv+rSu7RAmq/4PYfSIzwTvcf Gisk3fssO15NGTNzlwUp5mGjTpw6VHeuk6zn/u9MV7RYFaqTSyG2y/AjlTMJoqobvcXY dKWCu1Z7F1lOGx2EACoEbcQY9CieGJ9ZtHequGlXMYGWn7MCACTKoz56s9ogA1jNjl1e m/0Z3//aFH6V0Eq4AN7j84107CVydieOmwLSZHSqFQeHqbaEDFoYIYShmDwQLw5bAbLK ATRg== X-Forwarded-Encrypted: i=1; AJvYcCUko23zzD8qs2MGVdAntTmFae4uC7V28c+u6gJag/WEv8b/7NBmA9vIejzKlSa2eHHmQKGyzXnWVlkzf0A6iCmV9BLAZZMQDt946wAE X-Gm-Message-State: AOJu0Yyv6t/v2XvGJcwoHGH2C7G/ewe9uSP5ZDyVK+o+KBgoIvW7hiQI LtlE0hoVG+hIdPmYecTY+2fvo/YleR7a3LMiNRWUpRh5se5N7s2P X-Google-Smtp-Source: AGHT+IEuDyfQN+QavCC3pfLs4r96w6Uu9+JKozJwaJrbQpE6Lad5HTaKqrE6q5oTKt0bp1xRloJcxA== X-Received: by 2002:a19:6455:0:b0:51b:e0f0:e4f8 with SMTP id 2adb3069b0e04-52b8957b38emr6804807e87.31.1717495202683; Tue, 04 Jun 2024 03:00:02 -0700 (PDT) Received: from [1.0.0.7] ([81.23.166.29]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52b9a521401sm565110e87.28.2024.06.04.03.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jun 2024 03:00:01 -0700 (PDT) Message-ID: Date: Tue, 4 Jun 2024 13:00:00 +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: Recent 027_streaming_regress.pl hangs Content-Language: en-US To: Andres Freund Cc: Tom Lane , Thomas Munro , Michael Paquier , pgsql-hackers , Bharath Rupireddy References: <2378342.1710449799@sss.pgh.pa.us> <20240321004145.obrbakt4ugzcsphy@awork3.anarazel.de> <20240326035607.grqoyrxjvpyhnkrf@awork3.anarazel.de> <2750204.1711425638@sss.pgh.pa.us> <20240326042832.4urkzpnwhawyngah@awork3.anarazel.de> <2756083.1711428894@sss.pgh.pa.us> <20240326075912.sia3wlvnaqnbf47u@awork3.anarazel.de> <7e914807-eeaa-5c44-3543-bb2888030122@gmail.com> <20240404170055.qynecay7szu3dgvu@awork3.anarazel.de> From: Alexander Lakhin In-Reply-To: <20240404170055.qynecay7szu3dgvu@awork3.anarazel.de> 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 Andres, >> So it looks like the issue resolved, but there is another apparently >> performance-related issue: deadlock-parallel test failures. > I reduced test concurrency a bit. I hadn't quite realized how the buildfarm > config and meson test concurrency interact. But there's still something off > with the frequency of fsyncs during replay, but perhaps that doesn't qualify > as a bug. It looks like that set of animals is still suffering from extreme load. Please take a look at the today's failure: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=skink&dt=2024-06-04%2002%3A44%3A19 1/1 postgresql:regress-running / regress-running/regress TIMEOUT        3000.06s   killed by signal 15 SIGTERM inst/logfile ends with: 2024-06-04 03:39:24.664 UTC [3905755][client backend][5/1787:16793] ERROR:  column "c2" of relation "test_add_column" already exists 2024-06-04 03:39:24.664 UTC [3905755][client backend][5/1787:16793] STATEMENT:  ALTER TABLE test_add_column         ADD COLUMN c2 integer, -- fail because c2 already exists         ADD COLUMN c3 integer primary key; 2024-06-04 03:39:30.815 UTC [3905755][client backend][5/0:0] LOG: could not send data to client: Broken pipe 2024-06-04 03:39:30.816 UTC [3905755][client backend][5/0:0] FATAL: connection to client lost "ALTER TABLE test_add_column" is from the alter_table test, which executed in the group 21 out of 25. Another similar failure: https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=skink&dt=2024-05-24%2002%3A22%3A26&stg=install-check-C 1/1 postgresql:regress-running / regress-running/regress TIMEOUT        3000.06s   killed by signal 15 SIGTERM inst/logfile ends with: 2024-05-24 03:18:51.469 UTC [998579][client backend][7/1792:16786] ERROR:  could not change table "logged1" to unlogged because it references logged table "logged2" 2024-05-24 03:18:51.469 UTC [998579][client backend][7/1792:16786] STATEMENT:  ALTER TABLE logged1 SET UNLOGGED; (This is the alter_table test again.) I've analyzed duration of the regress-running/regress test for the recent 167 runs on skink and found that the average duration is 1595 seconds, but there were much longer test runs: 2979.39: https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=skink&dt=2024-05-01%2004%3A15%3A29&stg=install-check-C 2932.86: https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=skink&dt=2024-04-28%2018%3A57%3A37&stg=install-check-C 2881.78: https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=skink&dt=2024-05-15%2020%3A53%3A30&stg=install-check-C So it seems that the default timeout is not large enough for these conditions. (I've counted 10 such timeout failures of 167 test runs.) Also, 027_stream_regress still fails due to the same reason: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=serinus&dt=2024-05-22%2021%3A55%3A03 https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=flaviventris&dt=2024-05-22%2021%3A54%3A50 (It's remarkable that these two animals failed at the same time.) Best regards, Alexander