Bug 60542 - [tests] System/HttpListenerRequestTest.HttpRequestIgnoreBadCookies hangs
Summary: [tests] System/HttpListenerRequestTest.HttpRequestIgnoreBadCookies hangs
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: BCL Class Libraries ()
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: 15.7
Assignee: Manuel de la Peña [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-11-06 22:33 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2018-03-07 15:48 UTC (History)
4 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 FIXED

Description Rolf Bjarne Kvinge [MSFT] 2017-11-06 22:33:06 UTC
Repro:

* Open xamarin-macios/tests/tests.sln
* Select System as the startup project.
* Run (reproduces on both simulator and device).
* Don't run the entire test suite, but instead navigate to the HttpListenerRequestTest/HttpRequestIgnoreBadCookies test and run it.

Result:

* Test hangs.

kill -QUIT: https://gist.github.com/rolfbjarne/c6e6b898a7062c22ec66d44c1e0a8f9e
bt all: https://gist.github.com/rolfbjarne/989b76c999d05ad0c2707acdad908bdf
Comment 1 Rolf Bjarne Kvinge [MSFT] 2017-11-06 22:38:26 UTC
The test will be ignored with https://github.com/mono/mono/pull/5951 / https://github.com/mono/mono/pull/5952, so it must be unignored to reproduce.
Comment 2 Manuel de la Peña [MSFT] 2018-02-28 11:42:57 UTC
Tests now pass with the following env. I will create a PR to reenable the test.

=== Visual Studio Community 2017 for Mac (Preview) ===

Version Preview - Internal Dogfood (7.4 build 1029)
Installation UUID: 8d12e55e-3489-463f-ac52-8cb4573c5a81
Runtime:
	Mono 5.10.0.116 (2017-12/d0c1e9d32b9) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 510000116

=== NuGet ===

Version: 4.3.1.4445

=== .NET Core ===

Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
	2.0.5
	2.0.0
	1.1.2
	1.0.5
	1.0.0
SDK: /usr/local/share/dotnet/sdk/2.1.4/Sdks
SDK Versions:
	2.1.4
	2.0.0
	1.0.4
	1.0.0-preview2-003121
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.10.0/lib/mono/msbuild/15.0/bin/Sdks

=== Xamarin.Profiler ===

Version: 1.6.1
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Xamarin.Android ===

Version: 8.2.0.15 (Visual Studio Community)
Android SDK: /Users/mandel/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3 (API level 15)
		4.3   (API level 18)
		4.4   (API level 19)
		5.0   (API level 21)
		6.0   (API level 23)
		7.0   (API level 24)
		7.1   (API level 25)

SDK Tools Version: 25.2.5
SDK Platform Tools Version: 25.0.4
SDK Build Tools Version: 25.0.1

Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Inspector ===

Version: 1.4.0
Hash: b3f92f9
Branch: master
Build date: Fri, 19 Jan 2018 22:00:34 GMT
Client compatibility: 1

=== Apple Developer Tools ===

Xcode 9.2 (13768)
Build 9C34b

=== Xamarin.Mac ===

Version: 4.5.0.1 (Visual Studio Community)

=== Xamarin.iOS ===

Version: 11.11.0.1 (Visual Studio Community)
Hash: 83509221
Branch: master
Build date: 2018-02-21 09:47:17+0100

=== Build Information ===

Release ID: 704001029
Git revision: 625ed4d947990c428c7968c6c2d411bcf004e5dd
Build date: 2018-02-22 07:02:19-05
Xamarin addins: ad6fa278e77704004ca0687c704404e154464ecc
Build lane: monodevelop-lion-dogfood-vNext

=== Operating System ===

Mac OS X 10.13.3
Darwin 17.4.0 Darwin Kernel Version 17.4.0
    Sun Dec 17 09:19:54 PST 2017
    root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

WakaTime 3.0.2
Internet of Things (IoT) development (Preview) 7.1
Comment 3 Manuel de la Peña [MSFT] 2018-02-28 11:57:30 UTC
Pr: https://github.com/mono/mono/pull/7330
Comment 4 Manuel de la Peña [MSFT] 2018-03-07 15:48:13 UTC
Fixed after the landing of https://github.com/xamarin/xamarin-macios/pull/3669