db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4739) test hang in Suites.all starting derbynet.SSLTest on Mac OS X 10.6
Date Thu, 08 Jul 2010 22:19:49 GMT

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

Kathey Marsden updated DERBY-4739:
----------------------------------

    Attachment: sslserver52901.txt
                suitesall52832.txt

jstack <pid> gives stack dumps. Here they are for the server and the suites.All process.

The test is hung pinging the server, waiting for a response.

ava.lang.Thread.State: RUNNABLE
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
        at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789)
        - locked <1094fe868> (a java.lang.Object)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1120)
        - locked <1094fe810> (a java.lang.Object)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1147)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1131)
        at org.apache.derby.impl.drda.NetworkServerControlImpl$6.run(NetworkServerControlImpl.java:2523)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.derby.impl.drda.NetworkServerControlImpl.setUpSocket(NetworkServerControlImpl.java:250\
2)
        at org.apache.derby.impl.drda.NetworkServerControlImpl.ping(NetworkServerControlImpl.java:1188)
        at org.apache.derby.drda.NetworkServerControl.ping(NetworkServerControl.java:395)
        at org.apache.derbyTesting.junit.NetworkServerTestSetup.pingForServerUp(NetworkServerTestSetup.java:\
565)
        at org.apache.derbyTesting.junit.NetworkServerTestSetup.pingForServerStart(NetworkServerTestSetup.ja\
va:634)
        at org.apache.derbyTesting.junit.NetworkServerTestSetup.set├žUp(NetworkServerTestSetup.java:195)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
       

The server has no DRDAConnThread processing the request.

I think the server is still responding, because if I try to ping it I get:


Katherine-Marsdens-iMac:system kmarsden$ java org.apache.derby.drda.NetworkServerControl ping
2010-07-08 22:13:21.612 GMT : Invalid reply header from network server: Invalid string . Plaintext
connection attempt to an SSL enabled server




> test hang in Suites.all starting derbynet.SSLTest on Mac OS X 10.6
> ------------------------------------------------------------------
>
>                 Key: DERBY-4739
>                 URL: https://issues.apache.org/jira/browse/DERBY-4739
>             Project: Derby
>          Issue Type: Bug
>    Affects Versions: 10.7.0.0
>         Environment: Mac OS X 10.6 
> java version "1.6.0_20"
> Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
> Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)
>            Reporter: Kathey Marsden
>         Attachments: sslserver52901.txt, suitesall52832.txt
>
>
> My suites.All run on OS X 10.6  hung after the following
> testSysinfoMethod used 15 ms .
> testSysinfoLocale used 447 ms 
> The following processes are running so I assume the issue is actually with SSLTest, which
is the next up.
> Katherine-Marsdens-iMac:test kmarsden$ ps -ef | grep java
>   501 53221 21233   0   0:00.00 ttys000    0:00.00 grep java
>   501 52832 52830   0   0:06.18 ttys001    0:41.73 /usr/bin/java -Dderby.tests.trace=true
-XX:MaxPermSize=128M -Xmx1024M -Xms512M -DderbyTesting.oldReleasePath=/Users/kmarsden/Derby/svn/svnreleases/jars
junit.textui.TestRunner org.apache.derbyTesting.functionTests.suites.All
>   501 52901 52832   0   0:01.57 ttys001    0:05.66 /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
-classpath /Users/kmarsden/Derby/svn/trunk/jars/sane/derbyrun.jar:/Users/kmarsden/Derby/svn/trunk/jars/sane/derbyTesting.jar:/Users/kmarsden/Derby/svn/trunk/tools/java/junit.jar:/Users/kmarsden/Derby/svn/trunk/tools/java/jakarta-oro-2.0.8.jar
-Djavax.net.ssl.keyStore=extinout/SSLTestServerKey.key -Djavax.net.ssl.keyStorePassword=qwerty
org.apache.derby.drda.NetworkServerControl start -h localhost -p 1527 -ssl basic
> Katherine-Marsdens-iMac:test kmarsden$ 
> The derby.log which actually is in the test start directory shows the server started.
> Katherine-Marsdens-iMac:test kmarsden$ cat derby.log
> 2010-07-08 19:37:42.485 GMT : Apache Derby Network Server - 10.7.0.0 alpha - (959181M)
started and ready to accept SSL connections on port 1527
> I am trying to figure out how to get a thread dump. I have so far tried kill -QUIT and
<ctrl> \ in the terminal screen and <command> \.
> Once I get that I will try to run the test by itself.

-- 
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