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 1lLz4O-000475-9o for pgsql-committers@arkaria.postgresql.org; Tue, 16 Mar 2021 02:04:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lLz4M-0005It-Oj for pgsql-committers@arkaria.postgresql.org; Tue, 16 Mar 2021 02:04:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLz4M-0005Ih-JH for pgsql-committers@lists.postgresql.org; Tue, 16 Mar 2021 02:04:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLz4J-0004Mf-Mf for pgsql-committers@lists.postgresql.org; Tue, 16 Mar 2021 02:04:26 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 12G24Jw93144461; Mon, 15 Mar 2021 22:04:19 -0400 From: Tom Lane To: Alvaro Herrera cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Implement pipeline mode in libpq In-reply-to: References: Comments: In-reply-to Alvaro Herrera message dated "Mon, 15 Mar 2021 21:20:08 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3144459.1615860259.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 15 Mar 2021 22:04:19 -0400 Message-ID: <3144460.1615860259@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > Implement pipeline mode in libpq So jacana and fairywren are unhappy about this, and the failure reports are totally uninformative: Mar 15 21:14:33 cd /home/pgrunner/bf/root/HEAD/pgsql.build/../pgsql/src/te= st/modules/libpq_pipeline && TESTDIR=3D'/home/pgrunner/bf/root/HEAD/pgsql.= build/src/test/modules/libpq_pipeline' PATH=3D"/home/pgrunner/bf/root/HEAD= /pgsql.build/tmp_install/home/pgrunner/bf/root/HEAD/inst/bin:$PATH" LD_LIB= RARY_PATH=3D"/home/pgrunner/bf/root/HEAD/pgsql.build/tmp_install/home/pgru= nner/bf/root/HEAD/inst/lib:$LD_LIBRARY_PATH" PGPORT=3D'66678' PG_REGRESS=3D= '/home/pgrunner/bf/root/HEAD/pgsql.build/src/test/modules/libpq_pipeline/.= ./../../../src/test/regress/pg_regress' REGRESS_SHLIB=3D'/home/pgrunner/bf= /root/HEAD/pgsql.build/src/test/regress/regress.dll' /bin/prove -I /home/p= grunner/bf/root/HEAD/pgsql.build/../pgsql/src/test/perl/ -I /home/pgrunner= /bf/root/HEAD/pgsql.build/../pgsql/src/test/modules/libpq_pipeline --timer= t/*.pl Mar 15 21:14:38 t/001_libpq_pipeline.... Mar 15 21:14:38 # Failed test 'libpq_pipeline ' Mar 15 21:14:38 # at t/001_libpq_pipeline.pl line 23. Mar 15 21:14:38 = Mar 15 21:14:38 # Failed test 'libpq_pipeline ' Mar 15 21:14:38 # at t/001_libpq_pipeline.pl line 23. Mar 15 21:14:38 = Mar 15 21:14:38 # Failed test 'libpq_pipeline ' Mar 15 21:14:38 # at t/001_libpq_pipeline.pl line 23. Mar 15 21:14:40 = Mar 15 21:14:40 # Failed test 'libpq_pipeline ' Mar 15 21:14:40 # at t/001_libpq_pipeline.pl line 23. Mar 15 21:14:40 = Mar 15 21:14:40 # Failed test 'libpq_pipeline ' Mar 15 21:14:40 # at t/001_libpq_pipeline.pl line 23. Mar 15 21:14:40 = Mar 15 21:14:40 # Failed test 'libpq_pipeline ' Mar 15 21:14:40 # at t/001_libpq_pipeline.pl line 23. Mar 15 21:14:40 = Mar 15 21:14:40 # Failed test 'libpq_pipeline ' Mar 15 21:14:40 # at t/001_libpq_pipeline.pl line 23. Mar 15 21:14:41 # Looks like you planned 8 tests but ran 15. Mar 15 21:14:41 # Looks like you failed 7 tests of 15 run. Mar 15 21:14:41 dubious Mar 15 21:14:41 Test returned status 7 (wstat 1792, 0x700) Mar 15 21:14:41 DIED. FAILED tests 2, 4, 6, 8-15 Mar 15 21:14:41 Failed 11/8 tests, -37.50% okay Mar 15 21:14:41 Failed Test Stat Wstat Total Fail Failed Lis= t of Failed Mar 15 21:14:41 ----------------------------------------------------------= --------------------- Mar 15 21:14:41 t/001_libpq_pipeline.pl 7 1792 8 14 175.00% 2 4= 6 8-15 Mar 15 21:14:41 Failed 1/1 test scripts, 0.00% okay. 0/8 subtests failed, = 100.00% okay. Mar 15 21:14:41 make: *** [check] Error 7 I suspect that the "tests" output is including \r\n newlines and the "split" operation is not handling that right. regards, tom lane