Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id AB802632B70 for ; Mon, 23 Mar 2009 13:32:26 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 52145-04 for ; Mon, 23 Mar 2009 13:32:25 -0300 (ADT) X-Greylist: delayed 00:10:00.40909 by SQLgrey-1.7.6 Received: from server107.appriver.com (server107k.exghost.com [69.20.106.170]) by mail.postgresql.org (Postfix) with ESMTP id C6753632AAE for ; Mon, 23 Mar 2009 13:32:23 -0300 (ADT) Received: by server107.appriver.com (CommuniGate Pro PIPE 5.2.0) with PIPE id 163047520; Mon, 23 Mar 2009 12:12:22 -0400 Received: from [207.97.230.107] (HELO fe09.exg3.exghost.com) by server107.appriver.com (CommuniGate Pro SMTP 5.2.0) with ESMTP id 163047509 for pgsql-jdbc@postgresql.org; Mon, 23 Mar 2009 12:12:18 -0400 Received: from fe09.exg3.exghost.com ([207.97.230.107]) by fe09.exg3.exghost.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 23 Mar 2009 12:09:01 -0400 Received: from [10.10.30.113] ([207.97.202.210]) by fe09.exg3.exghost.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 23 Mar 2009 12:09:01 -0400 Subject: Test suite failures? From: Maciek Sakrejda To: pgsql-jdbc@postgresql.org Content-Type: text/plain Organization: Truviso Date: Mon, 23 Mar 2009 09:12:08 -0700 Message-Id: <1237824728.27134.20.camel@manatee.sm.truviso.com> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Mar 2009 16:09:01.0197 (UTC) FILETIME=[ADF79BD0:01C9ABD1] X-Policy: GLOBAL - truviso.com X-Primary: msakrejda@truviso.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: msakrejda@truviso.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: PRIVATE->UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 207.97.230.107 X-Note-Reverse-DNS: fe09.exg3.exghost.com X-Note-WHTLIST: msakrejda@truviso.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 94 95 96 97 101 102 170 X-Note: Mail Class: ALLOWEDSENDER X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/110 X-Sequence-Number: 19440 (re-sending this--I tried yesterday but it looks like it failed without a clear reason) I've finally gotten the COPY functionality merge to a stable point and wanted to run through the test suite, but I found that (even without applying the COPY changes) I get a number of errors from the jdbc2 tests: [mkdir] Created dir: /home/maciek/git/copy-merge/jdbc-upstream/build/testresults [junit] Testsuite: org.postgresql.test.jdbc2.Jdbc2TestSuite [junit] Tests run: 269, Failures: 0, Errors: 131, Time elapsed: 13.212 sec ....... ....... [junit] Test org.postgresql.test.jdbc2.Jdbc2TestSuite FAILED [junit] Testsuite: org.postgresql.test.jdbc2.optional.OptionalTestSuite [junit] Tests run: 40, Failures: 0, Errors: 0, Time elapsed: 2.404 sec [junit] [junit] Testsuite: org.postgresql.test.jdbc3.Jdbc3TestSuite [junit] Tests run: 65, Failures: 0, Errors: 0, Time elapsed: 2.048 sec [junit] [junit] Testsuite: org.postgresql.test.xa.XATestSuite [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.517 sec [junit] The initial Exception that seems to bork the Connection and trigger a cascade of Exceptions is here: [junit] Testcase: testComments(org.postgresql.test.jdbc2.PreparedStatementTest): Caused an ERROR [junit] An I/O error occured while sending to the backend. [junit] org.postgresql.util.PSQLException: An I/O error occured while sending to the backend. [junit] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:220) [junit] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479) [junit] at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367) [junit] at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:360) [junit] at org.postgresql.test.jdbc2.PreparedStatementTest.testComments(PreparedStatementTest.java:437) [junit] Caused by: java.io.EOFException [junit] at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:261) [junit] at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1183) [junit] at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:194) [junit] Any thoughts? I grabbed this at trunk at this commit: Author: jurka Date: Thu Mar 12 03:59:50 2009 +0000 Don't use pg_attrdef.adsrc to display a column's default value. This can get out of date when dependent objects are renamed. Instead decompile the adbin column to fetch up to date information. Per complaint from Dickson S. Guedes and suggestion from Tom Lane for the fix. Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com