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-6248) nightly regression test failure: testDerby966(org.apache.derbyTesting.functionTests.tests.jdbcapi.XATest)java.sql.SQLFeatureNotSupportedException: The DDM object 0x2408 is not supported. The connection has been terminated.
Date Tue, 18 Mar 2014 00:37:43 GMT

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

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

I also ran with 10.9, and got two failures there, and with 10.8, and got no failures.
But saying this does not occur with 10.8 is a big thing when it's 2 out of 100. At this point
I don't intend to backport the work-around to 10.9 or 10.8.

Instead I have been prodding the trunk source.
I am helpless with this code, but I have the following updates to Kathey's questions:

1.a    What is the actual exception on commit? 
       Still no idea. There seems to be no error condition on the server - at least nothing
getting logged. I looked a little at DRDAXAProtocol.java methods that I thought might be involved
(endXA, commitTransaction, commitLocalTransaction and commitXATransaction) but none of them
seem to hit errors.
1.b  Are the transaction timeout's relevant or is something else going on.
    Transaction timeouts are irrelevant. I do not have them in the 'long repro' and it still
fails intermittently.
2    Why does SYNCCTL not handle the exception on commit properly and the give the DDM error?
     Because we're getting an SQLCARD and this is not part of the NetXAConnectionReply.parseSYNCCTL
method nor NetConnectionReply.parseSYNCCTLError.
     For debugging purposes, I added a case: CodePoint.SQLCARD: to NetConnectionReply.parseSYNCCTLError,
and added a line like this:
    NetSqlca netSQLca = parseSQLCARD(null); 
And then checked on all the values with 'get' methods of the netSQLca, but all of them are
null or 0 (except for the SqlErrp, which appears to indicate the product id/version).
     So this question becomes: why do we get an SQLCARD? 
3    Why is the failure intermittent?
     No idea. It doesn't seem to be related to JIT processing, for I've tried with -Xjit:count=0
and -Xnojit and gotten intermittent failures either way.


> nightly regression test failure: testDerby966(org.apache.derbyTesting.functionTests.tests.jdbcapi.XATest)java.sql.SQLFeatureNotSupportedException:
The DDM object 0x2408 is not supported.  The connection has been terminated.
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6248
>                 URL: https://issues.apache.org/jira/browse/DERBY-6248
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client, Network Server
>    Affects Versions: 10.11.0.0
>            Reporter: Mike Matrigali
>            Assignee: Myrna van Lunteren
>         Attachments: XALongReproD6248.java, XAReproD6248.java, derby.log, error-stacktrace.out
>
>
> intermittent nightly regression test failure in trunk, linux, ibm16
> only happened once in may on this machine environment.
> http://people.apache.org/~myrnavl/derby_test_results/main/linux/testlog/ibm16/1488444-suites.All_diff.txt
> There was 1 error:
> 1) testDerby966(org.apache.derbyTesting.functionTests.tests.jdbcapi.XATest)java.sql.SQLFeatureNotSupportedException:
The DDM object 0x2408 is not supported.  The connection has been terminated.
> 	at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(Unknown Source)
> 	at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
> 	at org.apache.derby.client.am.LogicalConnection.close(Unknown Source)
> 	at org.apache.derbyTesting.functionTests.tests.jdbcapi.XATest.testDerby966(XATest.java:1079)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:439)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:456)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Caused by: org.apache.derby.client.am.DisconnectException: The DDM object 0x2408 is not
supported.  The connection has been terminated.
> 	at org.apache.derby.client.net.NetConnectionReply.doObjnsprmSemantics(Unknown Source)
> 	at org.apache.derby.client.net.NetConnectionReply.parseSYNCCTLError(Unknown Source)
> 	at org.apache.derby.client.net.NetXAConnectionReply.parseSYNCCTLreply(Unknown Source)
> 	at org.apache.derby.client.net.NetXAConnectionReply.readLocalXACommit(Unknown Source)
> 	at org.apache.derby.client.net.NetXAConnection.readLocalXACommit_(Unknown Source)
> 	at org.apache.derby.client.net.NetXAConnection.readCommit(Unknown Source)
> 	at org.apache.derby.client.net.NetConnection.readXACommit_(Unknown Source)
> 	at org.apache.derby.client.am.ClientConnection.readCommit(Unknown Source)
> 	at org.apache.derby.client.am.ClientConnection.readAutoCommit(Unknown Source)
> 	at org.apache.derby.client.am.ClientConnection.flowClose(Unknown Source)
> 	at org.apache.derby.client.am.ClientConnection.closeForReuse(Unknown Source)
> 	... 49 more
> FAILURES!!!
> Tests run: 17341,  Failures: 0,  Errors: 1



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message