db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2666) ImportExportLobTest has one failure while running on the zOS platform
Date Fri, 15 Jun 2007 04:03:26 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505026
] 

Myrna van Lunteren commented on DERBY-2666:
-------------------------------------------

I did some experimenting with a more recent build (547039) on zseries, and I saw this at the
top of the stack:

 1) testImportDataExportQueryLobsInExtFile(org.apache.derbyTesting.functionTests.
tests.tools.ImportExportLobTest)junit.framework.AssertionFailedError: Clobs diff
er at index 1 expected:<99> but was:<196>
        at org.apache.derby.impl.store.raw.xact.XactFactory.remove(XactFactory.j
ava:878)
        at org.apache.derbyTesting.junit.JDBC.assertSameContents(JDBC.java:912)
        at org.apache.derbyTesting.functionTests.tests.tools.ImportExportLobTest
.verifyData(ImportExportLobTest.java:454)
        at org.apache.derbyTesting.functionTests.tests.tools.ImportExportLobTest
.testImportDataExportQueryLobsInExtFile(ImportExportLobTest.java:320)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Also, the results with ibm1.4.2 were an unexpected EOF on import:
1) testImportDataExportQueryLobsInExtFile
(org.apache.derbyTesting.functionTests.tests.tools.ImportExportLobTest)java.sql.SQLException:
Import error on line 1 of  file extinout/books.del: Read endOfFile at unexpected place on
line 1.
But as it doesn't occur with ibm 1.5. I'm inclined to assume it's a jvm issue.


FYI, I did some manual exploration and found that if I used ij to insert the first 13 rows
the test uses, export them, import into books_imp, exit ij, save off the books.del1 and lobs
file, connect to the db again, and export the rows from books_imp & use the os' diff to
compare, the files are identical.
Of course, there could still be a problem with the  randomly generated rows (see importExportLobTest.loaddata())
or with one of the methods used by JDBC.assertSameContents.

Still, I'm unchecking this for 10.3, although it's still strange.



> ImportExportLobTest has one failure while running on the zOS platform
> ---------------------------------------------------------------------
>
>                 Key: DERBY-2666
>                 URL: https://issues.apache.org/jira/browse/DERBY-2666
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.3.0.0
>         Environment: Z series : OS/390 
> java: 
> java version "1.5.0" 
> Java(TM) 2 Runtime Environment, Standard Edition (build pmz31dev-20070201 (SR4)) 
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 z/OS s390-31 j9vmmz3123-20070201 (JI 
> T enabled) 
> J9VM - 20070131_11312_bHdSMr 
> JIT - 20070109_1805ifx1_r8 
> GC - 200701_09) 
> JCL - 20070126 
>  derby info: 10.3.0.0 alpha - (531672) 
>            Reporter: Manjula Kutty
>            Assignee: Manjula Kutty
>
> There were 2 failures:
> 1) testImportDataExportQueryLobsInExtFile(org.apache.derbyTesting.functionTests.tests.tools.ImportExportLobTest)junit.framework.AssertionFailedError:
Clobs differ at index 1 expected:<99> but was:<196>
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertEquals(BaseJDBCTestCase.java:483)
> 	at org.apache.derbyTesting.junit.JDBC.assertSameContents(JDBC.java:882)
> 	at org.apache.derbyTesting.functionTests.tests.tools.ImportExportLobTest.verifyData(ImportExportLobTest.java:458)
> 	at org.apache.derbyTesting.functionTests.tests.tools.ImportExportLobTest.testImportDataExportQueryLobsInExtFile(ImportExportLobTest.java:315)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
> 	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)
> 2) testImportDataExportQueryLobsInExtFile(org.apache.derbyTesting.functionTests.tests.tools.ImportExportLobTest)junit.framework.AssertionFailedError:
Clobs differ at index 1 expected:<99> but was:<196>
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.assertEquals(BaseJDBCTestCase.java:483)
> 	at org.apache.derbyTesting.junit.JDBC.assertSameContents(JDBC.java:882)
> 	at org.apache.derbyTesting.functionTests.tests.tools.ImportExportLobTest.verifyData(ImportExportLobTest.java:458)
> 	at org.apache.derbyTesting.functionTests.tests.tools.ImportExportLobTest.testImportDataExportQueryLobsInExtFile(ImportExportLobTest.java:315)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:88)
> 	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 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)
> FAILURES!!!
> Tests run: 58,  Failures: 2,  Errors: 0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message