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 1lwamG-0000KY-Un for pgsql-committers@arkaria.postgresql.org; Fri, 25 Jun 2021 01:37: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 1lwamF-0000qv-R2 for pgsql-committers@arkaria.postgresql.org; Fri, 25 Jun 2021 01:37:03 +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 1lwamF-0000q9-LV for pgsql-committers@lists.postgresql.org; Fri, 25 Jun 2021 01:37:03 +0000 Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lwamC-00074c-No for pgsql-committers@lists.postgresql.org; Fri, 25 Jun 2021 01:37:02 +0000 Received: (Authenticated sender: adsend@dunslane.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id D17CC40003; Fri, 25 Jun 2021 01:36:55 +0000 (UTC) Subject: Re: pgsql: Fix pattern matching logic for logs in TAP tests of pgbench To: Michael Paquier , pgsql-committers@lists.postgresql.org References: From: Andrew Dunstan Message-ID: Date: Thu, 24 Jun 2021 21:36:53 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/24/21 8:26 PM, Michael Paquier wrote: > (Forgot to add Andrew in CC, now done) > > On Fri, Jun 25, 2021 at 08:51:19AM +0900, Michael Paquier wrote: >> Andrew, what's the format of the per-thread logs generated on this >> host when running the commands? I'd bet that the checks for the >> client IDs are right, but that some parts of the regex are too picky >> when it comes to this host. > I have tested that on my own Windows host using MSVC and Active Perl, > and those tests pass. I am not sure what's happening here. A simple > way to figure out what's going on would be to make the tests more > talkative and show up the logs that don't match. That's not really an equivalent test. I'm taking a look cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com