Same hang in 2.6.0 NUnit GUI with or without the change. I can try console later today if you need me to.
To be more precise, the "hang" actually takes 10 minutes or so, after which it comes back with this exception:
System.Net.Sockets.SocketException : A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Server stack trace:
Server stack trace:
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Runtime.Remoting.Channels.SocketStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(Byte[] buffer, Int32 offset, Int32 count)
at System.Runtime.Remoting.Channels.SocketHandler.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.Runtime.Remoting.Channels.SocketHandler.ReadAndMatchFourBytes(Byte[] buffer)
at System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Hpc.Scheduler.Store.ISchedulerStoreInternal.Register(String clientSource, String userName, ConnectionRole role, Version clientVersion, ConnectionToken& token, UserPrivilege& privilege, Version& serverVersion, Dictionary`2& serverProps)
at Microsoft.Hpc.Scheduler.Store.StoreServer.RegisterWithServer()
at Microsoft.Hpc.Scheduler.Store.StoreServer._Connect()
at Microsoft.Hpc.Scheduler.Store.StoreServer.Connect(String server, Int32 port, Boolean serviceAsClient, ServiceAsClientIdentityProvider identityProvider, String serviceAsClientUser, String serviceAsClientPass)
at Microsoft.Hpc.Scheduler.Store.SchedulerStoreSvc..ctor(String server, Int32 port, Boolean serviceAsClient, ServiceAsClientIdentityProvider provider, String serviceAsClientUser, String serviceAsClientPass, Boolean overHttp)
at Microsoft.Hpc.Scheduler.Store.SchedulerStoreSvc.RemoteConnect(String server, Int32 port, Boolean serviceAsClient, ServiceAsClientIdentityProvider provider, String userName, String password, Boolean overHttp)
at Microsoft.Hpc.Scheduler.Store.SchedulerStoreSvc.RemoteConnect(String server, Int32 port)
at Microsoft.Hpc.Scheduler.Store.SchedulerStore.Connect(String server)
at Microsoft.Hpc.Scheduler.Scheduler.Connect(String cluster)
at TestHPC.TestHpc.AllCoresPresent(String headNode, Int32 expectedCores) in C:\Obfuscated\Path\TestHPC\TestHPC.cs:line 18
So it seems there are a couple of ways the test can fail.
Make sure you use the same version of the dlls (3.3.3950). Hopefully I gave you the right links, but, if not, you can browse related downloads and find the right version. Essentially, 3.3.3950 corresponds to service pack 3 of HPC.
Same hang in 2.6.0 NUnit GUI with or without the change. I can try console later today if you need me to.
To be more precise, the "hang" actually takes 10 minutes or so, after which it comes back with this exception:
System. Net.Sockets. SocketException : A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Server stack trace:
Server stack trace: Net.Sockets. Socket. Receive( Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) Runtime. Remoting. Channels. SocketStream. Read(Byte[ ] buffer, Int32 offset, Int32 size) Runtime. Remoting. Channels. SocketHandler. ReadFromSocket( Byte[] buffer, Int32 offset, Int32 count) Runtime. Remoting. Channels. SocketHandler. Read(Byte[ ] buffer, Int32 offset, Int32 count) Runtime. Remoting. Channels. SocketHandler. ReadAndMatchFou rBytes( Byte[] buffer) Runtime. Remoting. Channels. Tcp.TcpSocketHa ndler.ReadVersi onAndOperation( UInt16& operation) Runtime. Remoting. Channels. Tcp.TcpClientTr ansportSink. ProcessMessage( IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream) Runtime. Remoting. Channels. BinaryClientFor matterSink. SyncProcessMess age(IMessage msg)
at System.
at System.
at System.
at System.
at System.
at System.
at System.
at System.
Exception rethrown at [0]: Runtime. Remoting. Proxies. RealProxy. HandleReturnMes sage(IMessage reqMsg, IMessage retMsg) Runtime. Remoting. Proxies. RealProxy. PrivateInvoke( MessageData& msgData, Int32 type) Hpc.Scheduler. Store.ISchedule rStoreInternal. Register( String clientSource, String userName, ConnectionRole role, Version clientVersion, ConnectionToken& token, UserPrivilege& privilege, Version& serverVersion, Dictionary`2& serverProps) Hpc.Scheduler. Store.StoreServ er.RegisterWith Server( ) Hpc.Scheduler. Store.StoreServ er._Connect( ) Hpc.Scheduler. Store.StoreServ er.Connect( String server, Int32 port, Boolean serviceAsClient, ServiceAsClient IdentityProvide r identityProvider, String serviceAsClient User, String serviceAsClient Pass) Hpc.Scheduler. Store.Scheduler StoreSvc. .ctor(String server, Int32 port, Boolean serviceAsClient, ServiceAsClient IdentityProvide r provider, String serviceAsClient User, String serviceAsClient Pass, Boolean overHttp) Hpc.Scheduler. Store.Scheduler StoreSvc. RemoteConnect( String server, Int32 port, Boolean serviceAsClient, ServiceAsClient IdentityProvide r provider, String userName, String password, Boolean overHttp) Hpc.Scheduler. Store.Scheduler StoreSvc. RemoteConnect( String server, Int32 port) Hpc.Scheduler. Store.Scheduler Store.Connect( String server) Hpc.Scheduler. Scheduler. Connect( String cluster) TestHpc. AllCoresPresent (String headNode, Int32 expectedCores) in C:\Obfuscated\ Path\TestHPC\ TestHPC. cs:line 18
at System.
at System.
at Microsoft.
at Microsoft.
at Microsoft.
at Microsoft.
at Microsoft.
at Microsoft.
at Microsoft.
at Microsoft.
at Microsoft.
at TestHPC.
So it seems there are a couple of ways the test can fail.
You need to install the HPC cluster OS on a separate machine: www.microsoft. com/en- us/download/ details. aspx?id= 13769
http://
Apply this service pack: www.microsoft. com/en- us/download/ details. aspx?id= 28017
http://
On your dev machine, install the HPC Pack 2008 R2 SDK (http:// www.microsoft. com/en- us/download/ details. aspx?id= 28016) and client utilities (http:// www.microsoft. com/en- us/download/ details. aspx?id= 17017). These have the dlls I'm referencing: Hpc.Scheduler. dll Hpc.Scheduler. Properties. dll Hpc.Scheduler. Session. dll Hpc.Scheduler. Store.dll
Microsoft.
Microsoft.
Microsoft.
Microsoft.
Make sure you use the same version of the dlls (3.3.3950). Hopefully I gave you the right links, but, if not, you can browse related downloads and find the right version. Essentially, 3.3.3950 corresponds to service pack 3 of HPC.