Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4951

test failure in jdbc4.ResultSetTest:testJDBC4_1 with ibm 1.6 jvm

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.8.1.2
    • 10.8.1.2
    • Test
    • None
    • IBM 1.6 jvms (both on Linux and windows XP)
    • Regression Test Failure

    Description

      since tests with revision 1052140 I see the following failure when suites.All tests are run with IBM 1.6 jvm:

      console output of junit.textui.TestRunner run:
      1) testJDBC4_1(org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest)junit.framework.ComparisonFailure: [B expected:<?> but was:<>
      at java.lang.Throwable.<init>(Throwable.java:67)
      at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:11)
      at junit.framework.ComparisonFailure.<init>(ComparisonFailure.java:19)
      at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.vetCandidate(ResultSetTest.java:2604)
      at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.vetWrapperOK(ResultSetTest.java:2571)
      at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.vetWrappedBinary(ResultSetTest.java:2363)
      at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.examineJDBC4_1extensions(ResultSetTest.java:2161)
      at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.testJDBC4_1(ResultSetTest.java:2123)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:51)

      contents of error.stacktrace in fail dir:
      [Error/failure logged at Mon Dec 27 12:46:23 PST 2010]
      junit.framework.ComparisonFailure: [B expected:<?> but was:<>
      at junit.framework.Assert.assertEquals(Assert.java:81)
      at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.vetCandidate(ResultSetTest.java:2604)
      at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.vetWrapperOK(ResultSetTest.java:2571)
      at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.vetWrappedBinary(ResultSetTest.java:2363)
      at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.examineJDBC4_1extensions(ResultSetTest.java:2161)
      at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.testJDBC4_1(ResultSetTest.java:2123)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:600)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at junit.framework.TestCase.runBare(TestCase.java:127)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at junit.textui.TestRunner.doRun(TestRunner.java:116)
      at junit.textui.TestRunner.start(TestRunner.java:172)
      at junit.textui.TestRunner.main(TestRunner.java:138)

      I believe lack of clean-up after this failure is the result of the error in this test for networkserver:
      1) testJDBC4_1(org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest)java.sql.SQLException: FUNCTION 'MAKEBLOB' already exists.
      at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
      at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
      at org.apache.derby.client.am.PreparedStatement.execute(Unknown Source)
      at org.apache.derbyTesting.functionTests.tests.jdbc4.ResultSetTest.testJDBC4_1(ResultSetTest.java:2035)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      Caused by: org.apache.derby.client.am.SqlException: FUNCTION 'MAKEBLOB' already exists.
      at org.apache.derby.client.am.Statement.completeExecute(Unknown Source)
      at org.apache.derby.client.net.NetStatementReply.parseEXCSQLSTTreply(Unknown Source)
      at org.apache.derby.client.net.NetStatementReply.readExecute(Unknown Source)
      at org.apache.derby.client.net.StatementReply.readExecute(Unknown Source)
      at org.apache.derby.client.net.NetPreparedStatement.readExecute_(Unknown Source)
      at org.apache.derby.client.am.PreparedStatement.readExecute(Unknown Source)
      at org.apache.derby.client.am.PreparedStatement.flowExecute(Unknown Source)
      at org.apache.derby.client.am.PreparedStatement.executeX(Unknown Source)
      ... 36 more

      Attachments

        1. derby-4951-01-aa-binaryTypes.diff
          7 kB
          Richard N. Hillegas

        Activity

          People

            rhillegas Richard N. Hillegas
            myrna Myrna van Lunteren
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: