You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2008/02/12 00:29:07 UTC

[jira] Updated: (DERBY-3400) testgetTypeInfo Fails with ibm16 while running the UpgradeTests

     [ https://issues.apache.org/jira/browse/DERBY-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kathey Marsden updated DERBY-3400:
----------------------------------

    Attachment: TestDerby3400.java

Here is a small repro for this issue outside of Derby and the harness.

[C:/kmarsden/repro/DERBY-3400] java TestDerby3400
ODBC_COLUMN_NULLABILITY[16 -1]=false Should be false
[C:/kmarsden/repro/DERBY-3400] java -Xjit:count=0 TestDerby3400
ODBC_COLUMN_NULLABILITY[16 -1]=true Should be false


> testgetTypeInfo Fails with ibm16 while running the UpgradeTests
> ---------------------------------------------------------------
>
>                 Key: DERBY-3400
>                 URL: https://issues.apache.org/jira/browse/DERBY-3400
>             Project: Derby
>          Issue Type: Bug
>    Affects Versions: 10.4.0.0
>         Environment: java version "1.6.0"
> Java(TM) SE Runtime Environment (build pwi3260sr1-20080108_02)
> IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260-20080102
> _15870 (JIT enabled)
> J9VM - 20080102_015870_lHdSMr
> JIT  - r9_20080101_1821
> GC   - 20071224_AA)
> JCL  - 20071219_01
> sysinfo
> -----------------
> [C:/derbydev/trunk/test] java org.apache.derby.tools.sysinfo
> ------------------ Java Information ------------------
> Java Version:    1.6.0
> Java Vendor:     IBM Corporation
> Java home:       c:\p4client\mkutty_main\ibm16\jre
> Java classpath:  c:/derbydev/trunk/classes;c:/derbydev/trunk/tools/java/junit.ja
> r;.
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1 build 2600 Service Pack 2
> Java user name:  mkutty
> Java user home:  C:\Documents and Settings\Administrator
> Java user dir:   C:\derbydev\trunk\test
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.6
> --------- Derby Information --------
> JRE - JDBC: Java SE 6 - JDBC 4.0
> [C:\derbydev\trunk\classes] 10.4.0.0 alpha - (1)
> ------------------------------------------------------
> ----------------- Locale Information -----------------
> Current Locale :  [English/United States [en_US]]
> Found support for locale: [cs]
>          version: 10.4.0.0 alpha - (1)
> Found support for locale: [de_DE]
>          version: 10.4.0.0 alpha - (1)
> Found support for locale: [es]
>          version: 10.4.0.0 alpha - (1)
> Found support for locale: [fr]
>          version: 10.4.0.0 alpha - (1)
> Found support for locale: [hu]
>          version: 10.4.0.0 alpha - (1)
> Found support for locale: [it]
>          version: 10.4.0.0 alpha - (1)
> Found support for locale: [ja_JP]
>          version: 10.4.0.0 alpha - (1)
> Found support for locale: [ko_KR]
>          version: 10.4.0.0 alpha - (1)
> Found support for locale: [pl]
>          version: 10.4.0.0 alpha - (1)
> Found support for locale: [pt_BR]
>          version: 10.4.0.0 alpha - (1)
> Found support for locale: [ru]
>          version: 10.4.0.0 alpha - (1)
> Found support for locale: [zh_CN]
>          version: 10.4.0.0 alpha - (1)
> Found support for locale: [zh_TW]
>          version: 10.4.0.0 alpha - (1)
> ------------------------------------------------------
>            Reporter: Manjula Kutty
>            Assignee: Kathey Marsden
>             Fix For: 10.4.0.0
>
>         Attachments: TestDerby3400.java
>
>
> I can reproduce the test with the just one old version(10.2.2.0)
> Here is the junit stack trace
> 1) testGetTypeInfo(org.apache.derbyTesting.functionTests.tests.jdbcapi.DatabaseMetaDataTest)junit.framework.AssertionFailedError: Column nullability do not match for column 16 expected:<1> but was:<0>
> at org.apache.derbyTesting.junit.JDBC.assertNullability(JDBC.java:741)
> at org.apache.derbyTesting.functionTests.tests.jdbcapi.DatabaseMetaDataTest.assertMetaDataResultSet(DatabaseMetaDataTest.java:2348)
> at org.apache.derbyTesting.functionTests.tests.jdbcapi.DatabaseMetaDataTest.testGetTypeInfo(DatabaseMetaDataTest.java:2230)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:99)
> 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 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 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)
> More info can be found at 
>  
>  http://people.apache.org/~fuzzylogic/derby_test_results/main/linux/testlog/ibm16/617742-suites.All_diff.txt

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