Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mono 4.4.1 breaks Suave testing #480

Closed
haf opened this issue Jun 29, 2016 · 1 comment
Closed

Mono 4.4.1 breaks Suave testing #480

haf opened this issue Jun 29, 2016 · 1 comment

Comments

@haf
Copy link
Contributor

haf commented Jun 29, 2016

Here's the build https://travis-ci.org/SuaveIO/suave/jobs/141560408#L1532

When mono is functional again we can add 4.4.1 to the build matrix.

Output:

OSVersion: Unix 3.13.0.63; running 64-bit process on 64-bit operating system.

Running tests with default TCP engine.

performance tests/perf-POST: Exception: System.AggregateException: One or more errors occurred. ---> System.ObjectDisposedException: Cannot access a disposed object.

Object name: 'System.Net.Sockets.NetworkStream'.

  at System.Net.WebConnectionStream.EndWrite (IAsyncResult r) <0x4206a5c0 + 0x0039f> in <filename unknown>:0 

  at System.IO.Stream.<BeginEndWriteAsync>m__8 (System.IO.Stream stream, IAsyncResult asyncResult) <0x7fe12756b7d0 + 0x0001b> in <filename unknown>:0 

  at (wrapper delegate-invoke) System.Func`3[System.IO.Stream,System.IAsyncResult,System.Threading.Tasks.VoidTaskResult]:invoke_TResult_T1_T2 (System.IO.Stream,System.IAsyncResult)

  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization) <0x7fe127899ca0 + 0x00064> 25524 in <filename unknown>:0 

--- End of stack trace from previous location where exception was thrown ---

  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fe1275a62a0 + 0x00029> in <filename unknown>:0 

  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7fe1275a4170 + 0x000a7> in <filename unknown>:0 

  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7fe1275a40f0 + 0x0006b> in <filename unknown>:0 

  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7fe1275a40a0 + 0x0003a> in <filename unknown>:0 

  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x7fe1275a46e0 + 0x00012> in <filename unknown>:0 

  at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.MoveNext () <0x41eecbd0 + 0x00fb8> in <filename unknown>:0 

--- End of stack trace from previous location where exception was thrown ---

  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fe1275a62a0 + 0x00029> in <filename unknown>:0 

  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7fe1275a4170 + 0x000a7> in <filename unknown>:0 

  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7fe1275a40f0 + 0x0006b> in <filename unknown>:0 

  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7fe1275a40a0 + 0x0003a> in <filename unknown>:0 

  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x7fe1275a48e0 + 0x00017> in <filename unknown>:0 

  at System.Net.Http.HttpClient+<SendAsyncWorker>c__async0.MoveNext () <0x41eeb510 + 0x0049f> in <filename unknown>:0 

  --- End of inner exception stack trace ---

  at System.Threading.Tasks.Task.ThrowIfExceptional (Boolean includeTaskCanceledExceptions) <0x7fe127647790 + 0x00037> in <filename unknown>:0 

  at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) <0x7fe127648e10 + 0x000c7> in <filename unknown>:0 

  at Suave.Testing.send (System.Net.Http.HttpClient client, TimeSpan timeout, Suave.SuaveTestCtx ctx, System.Net.Http.HttpRequestMessage request) <0x41ee9110 + 0x002e5> in <filename unknown>:0 

  at Suave.Testing+reqResp@184[b,a].Invoke (Suave.SuaveTestCtx ctx) <0x41ee3720 + 0x00213> in <filename unknown>:0 

  at Suave.Testing.withContext[a] (Microsoft.FSharp.Core.FSharpFunc`2 f, Suave.SuaveTestCtx ctx) <0x41ee3200 + 0x00023> in <filename unknown>:0 

  at Suave.Testing+reqResp@184-1[b].Invoke (Suave.SuaveTestCtx ctx) <0x41ee2ed0 + 0x0003b> in <filename unknown>:0 

  at Suave.Tests.Perf.testF@33-1 (Microsoft.FSharp.Core.FSharpTypeFunc get, System.String longData, Suave.Tests.SuavePerfHarness harness, Microsoft.FSharp.Core.Unit _arg2) <0x4208e890 + 0x002bc> in <filename unknown>:0 

  at Suave.Tests.Perf+perfTests@54-3.Invoke (Suave.Tests.SuavePerfHarness harness) <0x4208e830 + 0x00033> in <filename unknown>:0 

  at <StartupCode$PerfUtil>.$Benchmark.f@1-1[State] (Microsoft.FSharp.Core.FSharpFunc`2 testF, <StartupCode$PerfUtil>.State state, Int32 repeat, Boolean catchExceptions, Boolean warmup, System.String testId, System.String sessionId, Microsoft.FSharp.Core.Unit unitVar0) <0x4207c340 + 0x0038e> in <filename unknown>:0 

---> (Inner Exception #0) System.ObjectDisposedException: Cannot access a disposed object.

Object name: 'System.Net.Sockets.NetworkStream'.

  at System.Net.WebConnectionStream.EndWrite (IAsyncResult r) <0x4206a5c0 + 0x0039f> in <filename unknown>:0 

  at System.IO.Stream.<BeginEndWriteAsync>m__8 (System.IO.Stream stream, IAsyncResult asyncResult) <0x7fe12756b7d0 + 0x0001b> in <filename unknown>:0 

  at (wrapper delegate-invoke) System.Func`3[System.IO.Stream,System.IAsyncResult,System.Threading.Tasks.VoidTaskResult]:invoke_TResult_T1_T2 (System.IO.Stream,System.IAsyncResult)

  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].Complete (TInstance thisRef, System.Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization) <0x7fe127899ca0 + 0x00064> 25524 in <filename unknown>:0 

--- End of stack trace from previous location where exception was thrown ---

  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fe1275a62a0 + 0x00029> in <filename unknown>:0 

  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7fe1275a4170 + 0x000a7> in <filename unknown>:0 

  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7fe1275a40f0 + 0x0006b> in <filename unknown>:0 

  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7fe1275a40a0 + 0x0003a> in <filename unknown>:0 

  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x7fe1275a46e0 + 0x00012> in <filename unknown>:0 

  at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.MoveNext () <0x41eecbd0 + 0x00fb8> in <filename unknown>:0 

--- End of stack trace from previous location where exception was thrown ---

  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7fe1275a62a0 + 0x00029> in <filename unknown>:0 

  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7fe1275a4170 + 0x000a7> in <filename unknown>:0 

  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7fe1275a40f0 + 0x0006b> in <filename unknown>:0 

  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7fe1275a40a0 + 0x0003a> in <filename unknown>:0 

  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x7fe1275a48e0 + 0x00017> in <filename unknown>:0 

  at System.Net.Http.HttpClient+<SendAsyncWorker>c__async0.MoveNext () <0x41eeb510 + 0x0049f> in <filename unknown>:0 <---

 (00:00:01.3639842)

217 tests run: 216 passed, 1 ignored, 0 failed, 1 errored (00:00:06.1981398)

Ping @ademar FYI; the tests are now "mostly" passing in my PR #481

@haf haf closed this as completed Jul 7, 2016
@haf
Copy link
Contributor Author

haf commented Jul 7, 2016

Fixed in latest "weekly"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant