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

Status of the project & tests failing #8

Open
bonesoul opened this issue Dec 25, 2014 · 4 comments
Open

Status of the project & tests failing #8

bonesoul opened this issue Dec 25, 2014 · 4 comments

Comments

@bonesoul
Copy link

I wanted the give a try to the project but getting some tests failing, is this an issue on my part?

System.Net.Sockets.SocketExceptionOnly one usage of each socket address (protocol/network address/port) is normally permitted
   at LibuvSharp.Ensure.Success(Int32 errorCode, Loop loop) in Ensure.cs: line 50
   at LibuvSharp.PipeListener.Bind(String name) in Pipe.cs: line 35
   at LibuvSharp.Tests.PipeFixture.OneSideCloseTest(String name) in PipeFixture.cs: line 160
   at LibuvSharp.Tests.PipeFixture.OneSideClose() in PipeFixture.cs: line 148

System.Net.Sockets.SocketExceptionOnly one usage of each socket address (protocol/network address/port) is normally permitted
   at LibuvSharp.Ensure.Success(Int32 errorCode, Loop loop) in Ensure.cs: line 50
   at LibuvSharp.PipeListener.Bind(String name) in Pipe.cs: line 35
   at LibuvSharp.Tests.PipeFixture.SimpleTest(String name) in PipeFixture.cs: line 25
   at LibuvSharp.Tests.PipeFixture.Simple() in PipeFixture.cs: line 13

Xunit.Sdk.EqualExceptionAssert.Equal() Failure
Expected: 3
Actual:   0
   at LibuvSharp.Tests.PipeFixture.StressTest(String name) in PipeFixture.cs: line 133
   at LibuvSharp.Tests.PipeFixture.Stress() in PipeFixture.cs: line 81

LibuvSharp.UVExceptionENOTCONN(31): socket is not connected
   at LibuvSharp.Ensure.Success(Int32 errorCode, Loop loop) in Ensure.cs: line 50
   at LibuvSharp.UVStream.Resume() in UVStream.cs: line 81
   at LibuvSharp.Tests.ProcessFixture.ProcessSpawnTest(String command, Action`1 callback) in ProcessFixture.cs: line 50
   at LibuvSharp.Tests.ProcessFixture.ProcessSpawn() in ProcessFixture.cs: line 66

Xunit.Sdk.TrueExceptionAssert.True() Failure
   at LibuvSharp.Tests.TcpFixture.PeerAndSockname() in TcpFixture.cs: line 303

System.Net.Sockets.SocketExceptionOnly one usage of each socket address (protocol/network address/port) is normally permitted
   at LibuvSharp.Ensure.Success(Int32 errorCode, Loop loop) in Ensure.cs: line 50
   at LibuvSharp.Listener`1.Listen(Int32 backlog) in Listener.cs: line 28
   at LibuvSharp.Listener`1.Listen() in Listener.cs: line 33
   at LibuvSharp.Tests.TcpFixture.SimpleTest(IPEndPoint ep) in TcpFixture.cs: line 41
   at LibuvSharp.Tests.TcpFixture.Simple() in TcpFixture.cs: line 15

Xunit.Sdk.EqualExceptionAssert.Equal() Failure
Position: First difference is at position 20
Expected: PINGPINGPINGPINGPINGPINGPINGPINGPINGPING
Actual:   PINGPINGPINGPINGPING
   at LibuvSharp.Tests.TcpFixture.<>c__DisplayClass16.<>c__DisplayClass18.<StressTest>b__e(String str) in TcpFixture.cs: line 107
   at LibuvSharp.IUVStreamExtensions.<>c__DisplayClass1.<Read>b__0(ArraySegment`1 data) in IUVStreamExtensions.cs: line 10
   at LibuvSharp.UVStream.OnData(ArraySegment`1 data) in UVStream.cs: line 140
   at LibuvSharp.UVStream.read_callback(IntPtr stream, IntPtr size) in UVStream.cs: line 115
   at LibuvSharp.UVStream.read_callback_w(IntPtr stream, IntPtr size, WindowsBufferStruct buf) in UVStream.cs: line 99
   at LibuvSharp.Loop.uv_run(LoopSafeHandle loop, uv_run_mode mode)
   at LibuvSharp.Loop.<Run>b__2() in Loop.cs: line 146
   at LibuvSharp.Loop.RunGuard(Action action) in Loop.cs: line 127
   at LibuvSharp.Loop.Run() in Loop.cs: line 146
   at LibuvSharp.Tests.TcpFixture.StressTest(IPEndPoint ep) in TcpFixture.cs: line 136
   at LibuvSharp.Tests.TcpFixture.Stress() in TcpFixture.cs: line 85

Xunit.Sdk.NotEqualExceptionAssert.NotEqual() Failure
   at LibuvSharp.Tests.ThreadingFixture.LoopBlocking() in ThreadingFixture.cs: line 20

Xunit.Sdk.TrueExceptionAssert.True() Failure
   at LibuvSharp.Tests.TimerFixture.Simple(Int32 times, Int32 spawn) in TimerFixture.cs: line 26

Xunit.Sdk.TrueExceptionAssert.True() Failure
   at LibuvSharp.Tests.TimerFixture.Simple(Int32 times, Int32 spawn) in TimerFixture.cs: line 26

Xunit.Sdk.TrueExceptionAssert.True() Failure
   at LibuvSharp.Tests.TimerFixture.Simple(Int32 times, Int32 spawn) in TimerFixture.cs: line 26

Xunit.Sdk.EqualExceptionAssert.Equal() Failure
Expected: 2
Actual:   0
   at LibuvSharp.Tests.UdpFixture.RunTest(IPEndPoint ep) in UdpFixture.cs: line 62
   at LibuvSharp.Tests.UdpFixture.Run() in UdpFixture.cs: line 13
@txdv
Copy link
Owner

txdv commented Dec 26, 2014

Are you on windows?

@bonesoul
Copy link
Author

Yes

@txdv
Copy link
Owner

txdv commented Dec 29, 2014

I haven't come around to fix the windows issue. I have to sit down at my main PC to actually do it, since windows is involved and I am currently stuck with some low end devices which run only linux decently (vacation at parents). I'll be back around January 12 and I'll push the change.

This guy claims that this fixes it: #7 (comment)

@txdv
Copy link
Owner

txdv commented Mar 23, 2015

Hey, I justed ran the test suit and the tests only fail on the ProcessFIxture(different output format, I have to write a better test for it) and IPCFixture (EACCESS - you can't exchange file descriptors in the same process).

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

2 participants