Bug 35317 - Bcl-test 'SocketTest.TcpDoubleBind' is failing with 'SocketException : Address already in use'
Summary: Bcl-test 'SocketTest.TcpDoubleBind' is failing with 'SocketException : Addre...
Status: RESOLVED DUPLICATE of bug 34451
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 6.0.0
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: 6.1 (C7)
Assignee: marcos.henrich
URL:
Depends on:
Blocks:
 
Reported: 2015-10-27 17:49 UTC by Peter Collins
Modified: 2015-11-02 17:37 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 34451

Description Peter Collins 2015-10-27 17:49:47 UTC
Likely related to Bug #34451, I assume that the original fix attempt which caused the failure outlined in that bug was an attempt at fixing the test so this kind of exception was not thrown.

##### Supplemental Info #####

Log File #1:	https://gist.github.com/f8b38eaad2e34a84975c

##### Environment #####
Operating System: Mac OS X 10.10.3
Repo Name: monodroid.git
Branch Name: cycle6
Build Revision: c531bb32bffbfe73f3e7b6427d4899e9ece41d97
[Device] Manufacturer: Samsung, Model: Galaxy Nexus, Version: 4.0.4, ABI: armeabi-v7a, Timezone: Africa/Cairo
Comment 1 Peter Collins 2015-10-27 17:56:31 UTC
Exception Summary:
> TcpDoubleBind [FAIL] : System.Net.Sockets.SocketException : Address already in use
> 		 at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) in <filename unknown>:line 0
>		 at MonoTests.System.Net.Sockets.SocketTest.TcpDoubleBind () in <filename unknown>:line 0
 >		 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
>      	 at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, 
> System.Globalization.CultureInfo culture) in <filename unknown>:line 0
10-27 07:53:37.101 I/mono-stdout(17123):


@Lexas - I believe you had mentioned we could disable this test if it still had issues after the revert here: https://github.com/mono/mono/commit/c706a85c7bd1006817b62a022536b57202a36c94?
Comment 2 Alexis Christoforides 2015-11-02 14:56:29 UTC
The other commit bringing in the test is now also reverted:

https://github.com/mono/mono/commit/cb99470f97dd1cc9512bec6baf08f67945763a0e
Comment 3 Peter Collins 2015-11-02 17:37:23 UTC
Marking as a dupe of Bug #34451. The test is now disabled so it is no longer failing for cycle6, but we will still want to track the proper fix for C7.

*** This bug has been marked as a duplicate of bug 34451 ***