Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azGiD-0001iu-2o for pgsql-hackers@arkaria.postgresql.org; Sun, 08 May 2016 04:53:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1azGiB-0007ab-7y for pgsql-hackers@arkaria.postgresql.org; Sun, 08 May 2016 04:52:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1azGi9-0007aS-MC for pgsql-hackers@postgresql.org; Sun, 08 May 2016 04:52:57 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azGi1-0001bq-C1 for pgsql-hackers@postgresql.org; Sun, 08 May 2016 04:52:57 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id A87D65F7A4; Sun, 8 May 2016 00:52:47 -0400 (EDT) Date: Sun, 8 May 2016 00:52:47 -0400 From: Stephen Frost To: Tom Lane Cc: pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: Disable BLOB test in pg_dump TAP tests Message-ID: <20160508045247.GW10850@tamriel.snowman.net> References: <15724.1462680651@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KQhsy0rA2FDV5RQs" Content-Disposition: inline In-Reply-To: <15724.1462680651@sss.pgh.pa.us> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-77-generic (x86_64) X-Uptime: 00:39:10 up 75 days, 1:32, 22 users, load average: 0.00, 0.01, 0.05 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -4.0 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org --KQhsy0rA2FDV5RQs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Tom, * Tom Lane (tgl@sss.pgh.pa.us) wrote: > Stephen Frost writes: > > Disable BLOB test in pg_dump TAP tests >=20 > > Buildfarm member jacana appears to have an issue with running this > > test. It's not entirely clear to me why, but rather than try to > > fight with it, just disable it for now. >=20 > BTW, what was your evidence for thinking that that specific test > needed to be disabled? It looks to me like it would have been > subject to the $-in-/m-mode bug we identified today, so I'm wondering > if it was merely the first to fail. No, those errors were "match/don't match" errors. At the bottom of: http://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=3Djacana&dt=3D= 2016-05-06%2023%3A41%3A15&stg=3Dbin-check is the error, which is 'No such file or directory'. I'm pretty sure the error is from the '\o' in that test which is trying to write a file to the '$tempdir' directory. Clearly, on that system at least, $tempdir isn't a completely fully-qualified path, since it ends up being: /home/pgrunner/bf/root/HEAD/pgsql.build/src/bin/pg_dump/tmp_check/tmp_test_= v8cH but the data directory is: c:/mingw/msys/1.0/home/pgrunner/bf/root/HEAD/pgsql.build/src/bin/pg_dump/tm= p_check/data_main_NSG0/pgdata I'm not quite sure how that system works (is a starting '/' actually referring to a relative path, and psql isn't being run from that root directory? Or does the shell handle converting arguments which start with a '/' to their full path, and that's why calls to pg_ctl and other things work, but trying to use that same path from inside a program doesn't?), but apparently referring to $tempdir from inside psql doesn't give you the same directory that referring to it from the TAP perl script does. > I think it's probably best not to monkey with it right now, but after > beta1 is out, we should try re-enabling it. I'd definitely like to work on getting that test working everywhere post-beta1, but the simplest answer will probably be to just load the large-object in the same way that pg_dump dumps it out, namely using the 'lo_open', 'lo_write', 'lo_close' functions. The goal of that test is to make sure that pg_dump does the right thing when it comes to exporting the large object, not to test that \lo_import of psql works (though that would certainly be a good thing to test in a set of psql tests...). Thanks! Stephen --KQhsy0rA2FDV5RQs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXLsYfAAoJEO1sijiDR2RVxJwP/2xBubjiVr13b7d7HzeBHWpC MQNAWBjnvZenoZTB/ilArVcGGsPo+GOXTm6MeScbfgf5vYxOZ9/OWvJBTf2JSrcD szmyMp1yQoa5jLfM7Nu3vkwMlmvFfDxYtI5vBTMWhola2kfEd8Z2CaXMwafnSJeD xhI9wskzaZaH3fnVCFuRR8ApxJZdV+aSTAJaWMg031k6s3UyCX51sXnnJ4nZjPQj NmLqEySa0ca564l21rW3rNyn5HqWgfmYiWIBjc9M8TfKCPXgifPgsU6yhBTb38A9 g/d1TTyWfP6TmkCgbUfC3O16Un9AsfrLU0oCtlDtmUH8MqzJQnkRL0BnzgD4kZZ4 szjuT7GgKkPc5GwgWsaMCvqaR0xPh68fw7HAhw27qAec8f5YpE0+Zs5N3Zrlat+C JFMleSzgiI1ogl08mNAZGym1h39x10CMYBh/Yg24uJXfPnXdOKm4uVuyfObfUm+x v+RdK81Rei/bFt4mfuh/y6mmWwHuJ63txxs15EqfVDM3a+11PuNfE0Le5kSkJiCP CqYvzMpJVYoMAmmOFTqKimB/vSah7hT+gGRsjFm6byoShvCgd6QPTxf5zDd6q82K Modya4LCxqNNi1rrh1bOCIaUDEfPB3SUlxBAJSJLAn1jcdjIn6ohOCM4lGynUOrK 7HdMwmNY4MMnFRzWVHeQ =DoFX -----END PGP SIGNATURE----- --KQhsy0rA2FDV5RQs--