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

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

I tried a run on z/OS of just the failing replication tests, and then of the 
replication suite...First with ibm15, and everything passed, then with ibm16 
and the ReplicationRun_Local test passed in both cases, but instead, the 
following test failed:
1) testReplication_Local_1_InsertUpdateDeleteOnMaster
  
(org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_1)
  java.sql.SQLNonTransientConnectionException: A network protocol error was 
encountered and the
 connection has been terminated: the requested command encountered an 
unarchitected and
 implementation-specific condition for which there was no architected message
       at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException
 (SQLExceptionFactory40.java:70)
       at 
org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:358)
       at org.apache.derby.client.am.Statement.execute(Statement.java:893)
       at 
org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.
 bootMasterDatabaseReplicationRun.java:793)
       at 
org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local_1.
 
testReplication_Local_1_InsertUpdateDeleteOnMaster(ReplicationRun_Local_1.java:77)
       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:105)

I don't think the reported failure, or the one I saw, is a problem that's 
specific to z/OS.
The replication tests fail regularly in a variety of ways... Which is very 
frustrating, and at the same time, risky because we can't quickly differentiate 
between false failures and real ones...

However, it appears that the not encoding-safe usage in the superclass 
ReplicationRun, in all the processOutput methods - see my comment in DERBY-1256 
- are not actually affecting the test run on z/OS...

> Replication tests failed on Z/OS
> --------------------------------
>
>                 Key: DERBY-4019
>                 URL: https://issues.apache.org/jira/browse/DERBY-4019
>             Project: Derby
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 10.5.0.0
>         Environment: Os 390, with IBM16
>            Reporter: Manjula Kutty
>
> The Replication tests failed when I run the suites.All. Here is the stack 
> trace
> testReplication_Local_existingTestsAsReplLoad java.lang.Exception: 
> DRDA_NoIO.S:Could not connect to Derby Network Server on host 127.0.0.1, port 
> 4527: EDC8128I Connection refused.
>       at java.lang.Throwable.<init>(Throwable.java:67)
>       at 
> org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown
>  Source)
>       at 
> org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown
>  Source)
>       at 
> org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(Unknown 
> Source)
>       at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(Unknown 
> Source)
>       at org.apache.derby.drda.NetworkServerControl.ping(Unknown Source)
>       at 
> org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.ping(ReplicationRun.java:2718)
>       at 
> org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.pingServer(ReplicationRun.java:2705)
>       at 
> org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.startServer(ReplicationRun.java:2382)
>       at 
> org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local.testReplication_Local_existingTestsAsReplLoad(ReplicationRun_Local.java:96)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>       at java.lang.reflect.Method.invoke(Method.java:599)
>       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:105)
>       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 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.textui.TestRunner.doRun(TestRunner.java:116)
>       at junit.textui.TestRunner.start(TestRunner.java:172)
>       at junit.textui.TestRunner.main(TestRunner.java:138)

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

Reply via email to