Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a4KR6-0004Cf-On for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Dec 2015 03:20:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a4KR6-0007C0-6y for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Dec 2015 03:20:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a4KR3-00076O-Uw for pgsql-hackers@postgresql.org; Thu, 03 Dec 2015 03:19:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a4KQx-0001d3-FT for pgsql-hackers@postgresql.org; Thu, 03 Dec 2015 03:19:56 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id tB33JngI007610; Wed, 2 Dec 2015 22:19:49 -0500 From: Tom Lane To: Michael Paquier cc: pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: Refactor Perl test code In-reply-to: References: <20342.1449099495@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Thu, 03 Dec 2015 09:20:05 +0900" Date: Wed, 02 Dec 2015 22:19:49 -0500 Message-ID: <7609.1449112789@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 Michael Paquier writes: > On Thu, Dec 3, 2015 at 8:38 AM, Tom Lane wrote: >> Test Summary Report >> ------------------- >> t/001_initdb.pl (Wstat: 6400 Tests: 8 Failed: 0) >> Non-zero exit status: 25 >> Parse errors: Bad plan. You planned 14 tests but ran 8. >> Files=1, Tests=8, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.08 cusr 0.01 csys = 0.11 CPU) >> Result: FAIL >> make[2]: *** [check] Error 1 >> make[2]: Leaving directory `/home/postgres/pgsql/src/bin/initdb' >> make[1]: *** [check-initdb-recurse] Error 2 >> make[1]: Leaving directory `/home/postgres/pgsql/src/bin' >> make: *** [check-world-src/bin-recurse] Error 2 >> >> The buildfarm looks pretty unhappy too, though I've not checked to see if >> it's exactly the same symptom everywhere. > Or in more details: > Undefined subroutine &TestLib::run called at > /Users/mpaquier/git/postgres/src/bin/initdb/../../../src/test/perl/TestLib.pm > line 146. BTW, not the fault of this patch in particular, but this example points up the complaint I've had right along about how opaque TAP test failures are. How did you dig down to see that error message? Is it even possible to diagnose such a failure from what the buildfarm logs? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers