RFR[12] JDK-8209362: sun/security/ssl/SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use (Bind failed)"

sha.jiang at oracle.com sha.jiang at oracle.com
Fri Aug 31 01:46:13 UTC 2018


On 2018/8/31 09:22, Xuelei Fan wrote:
> On 8/30/2018 6:16 PM, sha.jiang at oracle.com wrote:
>> Hi Xuelei,
>> It still be possible that two test runs fail.
>>
> Yes.  I was wondering the possibility of the failure may go down.
I searched this test in JBS, and didn't find many failures on this test.
So, it may be unnecessary to concern it too much.

Run all javax/net/ssl and sun/security/ssl tests with this fix via 
Mach5, the result is green.

Best regards,
John Jiang
>
> Thanks,
> Xuelei
>
>> Best regards,
>> John Jiang
>>
>> On 2018/8/30 22:02, Xuelei Fan wrote:
>>> Maybe, run the test twice and pass if one passed?
>>>
>>> Xuelei
>>>
>>> On 8/29/2018 7:34 PM, sha.jiang at oracle.com wrote:
>>>> Hi,
>>>> In test sun/security/ssl/SSLSocketImpl/ReuseAddr.java,
>>>> the second server tries to reuse the first server's port after it 
>>>> stops.
>>>> But the port may already be occupied by another test before this 
>>>> rebinding.
>>>>
>>>> Although I'm not sure a way to resolve this problem thoroughly,
>>>> it's a chance to refactor this test with SSLSocketTemplate.java.
>>>>
>>>> Webrev: http://cr.openjdk.java.net/~jjiang/8209362/webrev.00/
>>>> Issue: https://bugs.openjdk.java.net/browse/JDK-8209362
>>>>
>>>> Best regards,
>>>> John Jiang
>>>>
>>>
>>
>




More information about the security-dev mailing list