pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Implement pipeline mode in libpq
Date: Mon, 15 Mar 2021 22:04:19 -0400
Message-ID: <3144460.1615860259@sss.pgh.pa.us> (raw)
In-Reply-To: <E1lLudE-0007Jb-Pz@gemulon.postgresql.org>
References: <E1lLudE-0007Jb-Pz@gemulon.postgresql.org>

Alvaro Herrera <alvherre@alvh.no-ip.org> 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/test/modules/libpq_pipeline && TESTDIR='/home/pgrunner/bf/root/HEAD/pgsql.build/src/test/modules/libpq_pipeline' PATH="/home/pgrunner/bf/root/HEAD/pgsql.build/tmp_install/home/pgrunner/bf/root/HEAD/inst/bin:$PATH" LD_LIBRARY_PATH="/home/pgrunner/bf/root/HEAD/pgsql.build/tmp_install/home/pgrunner/bf/root/HEAD/inst/lib:$LD_LIBRARY_PATH"  PGPORT='66678' PG_REGRESS='/home/pgrunner/bf/root/HEAD/pgsql.build/src/test/modules/libpq_pipeline/../../../../src/test/regress/pg_regress' REGRESS_SHLIB='/home/pgrunner/bf/root/HEAD/pgsql.build/src/test/regress/regress.dll' /bin/prove -I /home/pgrunner/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  List 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





view thread (7+ messages)  latest in thread

Message-ID: <3144460.1615860259@sss.pgh.pa.us>
Permalink:  ../3144460.1615860259@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3144460.1615860259@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Implement pipeline mode in libpq
  In-Reply-To: <3144460.1615860259@sss.pgh.pa.us>
  References: <E1lLudE-0007Jb-Pz@gemulon.postgresql.org> <3144460.1615860259@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox