[
https://issues.apache.org/jira/browse/DERBY-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Hillegas updated DERBY-3595:
---------------------------------
Attachment: derby-3595-printStack.diff
derby-3595-disableStackChecking.diff
Thanks for logging this issue, Myrna. The test is failing a check which ensures
that Derby is calling the expected getXXX() methods on the table function, as
described by our user guides. The check involves examining the call stack and
it appears that in your environment, the call stack is not what the test
expects. Maybe your compiler or vm has inlined some method calls.
I have attached two patches and would be grateful if you could test drive them
by running TableFunctionTest standalone:
1) derby-3595-disableStackChecking.diff - This turns off the checking of
getXXX() calls. This will allow us to see if there are other problems in this
environment which are masked by this early failure.
2) derby-3595-printStack.diff - This prints out some diagnostic information to
help us understand what the stack looks like in this environment.
Thanks,
-Rick
> TableFunctionTest.SpecialCollation and NoSpecialCollation fail with IBM
> iseries in checkGetXXXCalls
> ---------------------------------------------------------------------------------------------------
>
> Key: DERBY-3595
> URL: https://issues.apache.org/jira/browse/DERBY-3595
> Project: Derby
> Issue Type: Bug
> Components: Regression Test Failure
> Affects Versions: 10.4.1.0
> Environment: IBM iseries, sun jdk 1.4.2. or ibm 1.6 jvm
> Reporter: Myrna van Lunteren
> Attachments: derby-3595-disableStackChecking.diff,
> derby-3595-printStack.diff, env_report.txt
>
>
> Two TableFunctionTest fixtures failed with the 10.4.1.0 beta:
> 12)
> noSpecialCollation(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest)junit.framework.ComparisonFailure:
> expected:<...Long getBlob getString getBytes getString getDate getBigDecimal
> getDouble getDouble getFloat getDouble getInt getString getBytes
> getBigDecimal getFloat getShort getTime getTimestamp getString getBytes...>
> but was:<...String getString getString getString getString getString
> getString getString getString getString getString getString getString
> getString getString getString getString getString getString getString
> getString...>
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Error.<init>(Error.java:49)
> at
> junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:11)
> at junit.framework.ComparisonFailure.<init>(ComparisonFailure.java:19)
> at
> org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.checkGetXXXCalls(TableFunctionTest.java:1282)
> at
> org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.allLegalDatatypesVTIResults(TableFunctionTest.java:1211)
> at
> org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.tableFunctionTest(TableFunctionTest.java:921)
> at
> org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.noSpecialCollation(TableFunctionTest.java:897)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:101)
> 13)
> specialCollation(org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest)junit.framework.ComparisonFailure:
> expected:<...Long getBlob getString getBytes getString getDate getBigDecimal
> getDouble getDouble getFloat getDouble getInt getString getBytes
> getBigDecimal getFloat getShort getTime getTimestamp getString getBytes...>
> but was:<...String getString getString getString getString getString
> getString getString getString getString getString getString getString
> getString getString getString getString getString getString getString
> getString...>
> at java.lang.Throwable.<init>(Throwable.java:196)
> at java.lang.Error.<init>(Error.java:49)
> at
> junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:11)
> at junit.framework.ComparisonFailure.<init>(ComparisonFailure.java:19)
> at
> org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.checkGetXXXCalls(TableFunctionTest.java:1282)
> at
> org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.allLegalDatatypesVTIResults(TableFunctionTest.java:1211)
> at
> org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.tableFunctionTest(TableFunctionTest.java:921)
> at
> org.apache.derbyTesting.functionTests.tests.lang.TableFunctionTest.specialCollation(TableFunctionTest.java:907)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:101)
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.