You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "tatyana doubtsova (JIRA)" <ji...@apache.org> on 2007/01/23 09:13:49 UTC

[jira] Commented: (HARMONY-2860) [classlib][nio] Intermittent fails of DatagramChannelTest and SelectionKeyTest

    [ https://issues.apache.org/jira/browse/HARMONY-2860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466670 ] 

tatyana doubtsova commented on HARMONY-2860:
--------------------------------------------

It seem HARMONY-2338 does not help. I observe intermittent failure on r498827, winXP:

 Test: testSend_NoServerBufNullTwiceClass: org.apache.harmony.nio.tests.java.nio.channels.DatagramChannelTestjava.net.BindException: The address is already in use
	at org.apache.harmony.luni.platform.OSNetworkSystem.socketBindImpl2(OSNetworkSystem.java)
	at org.apache.harmony.luni.platform.OSNetworkSystem.bind2(OSNetworkSystem.java)
	at org.apache.harmony.luni.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:118)
	at java.net.DatagramSocket.createSocket(DatagramSocket.java:187)
	at java.net.DatagramSocket.<init>(DatagramSocket.java:75)
	at org.apache.harmony.nio.tests.java.nio.channels.DatagramChannelTest.setUp(DatagramChannelTest.java:82)

and on r497495, SUSEL9 ia32:
Test: testWriteByteBuffer_NonBlock_closedClass: org.apache.harmony.nio.tests.java.nio.channels.DatagramChannelTestjava.net.BindException: The address is not available
	at org.apache.harmony.luni.platform.OSNetworkSystem.socketBindImpl2(OSNetworkSystem.java)
	at org.apache.harmony.luni.platform.OSNetworkSystem.bind2(OSNetworkSystem.java)
	at org.apache.harmony.luni.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:118)
	at java.net.DatagramSocket.createSocket(DatagramSocket.java:187)
	at java.net.DatagramSocket.<init>(DatagramSocket.java:75)
	at org.apache.harmony.nio.tests.java.nio.channels.DatagramChannelTest.setUp(DatagramChannelTest.java:80)


 

> [classlib][nio] Intermittent fails of DatagramChannelTest and SelectionKeyTest
> ------------------------------------------------------------------------------
>
>                 Key: HARMONY-2860
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2860
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: WinXP
>            Reporter: Vasily Zakharov
>
> Quoting Tatyana Doubtsova from HARMONY-2285:
> I ran nio module iteratively in perTest mode for 50 times on svn = r479111, (Nov 25 2006), Linux/ia32/gcc 3.3.3, debug build.
> 1 time out of 50 2 there were two issues in the tests from the above list:
> 1). org.apache.harmony.nio.tests.java.nio.channels.DatagramChannelTest@testReceiveSend_NonBlock_Normal_C2S
> Error
> The address is not available
> java.net.BindException: The address is not available at org.apache.harmony.luni.platform.OSNetworkSystem.socketBindImpl2(OSNetworkSystem.java) at org.apache.harmony.luni.platform.OSNetworkSystem.bind2(OSNetworkSystem.java) at org.apache.harmony.luni.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:118) at java.net.DatagramSocket.createSocket(DatagramSocket.java:181) at java.net.DatagramSocket.<init>(DatagramSocket.java:74) at org.apache.harmony.nio.tests.java.nio.channels.DatagramChannelTest.setUp(DatagramChannelTest.java:80)
> 2). org.apache.harmony.nio.tests.java.nio.channels.SelectionKeyTest@test_readyOps
> Error
> The address is not available
> java.net.BindException: The address is not available at org.apache.harmony.luni.platform.OSNetworkSystem.socketBindImpl(OSNetworkSystem.java) at org.apache.harmony.luni.platform.OSNetworkSystem.bind(OSNetworkSystem.java) at org.apache.harmony.luni.net.PlainSocketImpl.bind(PlainSocketImpl.java:159) at java.net.ServerSocket.<init>(ServerSocket.java:114) at java.net.ServerSocket.<init>(ServerSocket.java:72) at org.apache.harmony.nio.tests.java.nio.channels.SelectionKeyTest.test_readyOps(SelectionKeyTest.java:299) at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> This looks like an issue different from HARMONY-2285, so I've decided to create a separate entry for it.
> This issue looks like a duplicate of HARMONY-2338, so it should be checked when that one gets fixed.

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