Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Can not run test on Grid Node Server
Allnext
#1 Posted : Wednesday, September 28, 2016 3:16:30 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/28/2016(UTC)
Posts: 3
Location: Belarus

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hello

I configured distribution processing my test on other computer at network. But my server always switched status from Not Connected to Initialising
I use version 2.26, Visual Studio 2015 and Windows 10 with latest updates.

At ncrunch log at Visual Studio output window contains flowing:

ENGINE - [17:55:42.8105-Core-28] Sending message 'nCrunch.Core.Grid.Messages.ClientSnapshotMessage' to remote server at address: 172.16.10.41
ENGINE - [17:55:42.8636-Core-28] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
at nCrunch.Core.GridTransferrableTestFrameworkSelection.Serialize(SerializationContext context)
at nCrunch.Common.Serialization.SerializationContractType..(Object ,  )
at nCrunch.Common.Serialization.SerializationContractType.SelfSerialize(Object instance, SerializationContext context)
at nCrunch.Common.Serialization.BinarySerializer.(SerializationContext , Object , Type , Boolean )
at nCrunch.Common.Serialization.BinarySerializer.Serialize(SerializationContext context, Object instance, Type knownInstanceType, Boolean cacheInstance, Boolean cacheCollectionContents)
at nCrunch.Core.SnapshotComponent.Serialize(SerializationContext context)
at nCrunch.Common.Serialization.SerializationContractType..(Object ,  )
at nCrunch.Common.Serialization.SerializationContractType.SelfSerialize(Object instance, SerializationContext context)
at nCrunch.Common.Serialization.BinarySerializer.(SerializationContext , Object , Type , Boolean )
at nCrunch.Common.Serialization.BinarySerializer.Serialize(SerializationContext context, Object instance, Type knownInstanceType, Boolean cacheInstance, Boolean cacheCollectionContents)
at nCrunch.Common.Serialization.BinarySerializer.SerializeList[T](SerializationContext context, IList`1 list)
at nCrunch.Core.Snapshot.Serialize(SerializationContext context)
at nCrunch.Common.Serialization.SerializationContractType..(Object ,  )
at nCrunch.Common.Serialization.SerializationContractType.SelfSerialize(Object instance, SerializationContext context)
at nCrunch.Common.Serialization.BinarySerializer.(SerializationContext , Object , Type , Boolean )
at nCrunch.Common.Serialization.BinarySerializer.Serialize(SerializationContext context, Object instance, Type knownInstanceType, Boolean cacheInstance, Boolean cacheCollectionContents)
at nCrunch.Common.Serialization.BinarySerializer.(SerializationContext , Object , Type , Boolean )
at nCrunch.Common.Serialization.BinarySerializer.Serialize(SerializationContext context, Object instance, Type knownInstanceType, Boolean cacheInstance, Boolean cacheCollectionContents)
at nCrunch.Core.Grid.Messages.GridMessage.GetSerializedMessageData(BinarySerializer serializer)
at nCrunch.Core.Grid.Connectivity.GridMessageSender.()
at nCrunch.Core.Grid.Connectivity.GridMessageSender.()

Can you help me?
Remco
#2 Posted : Wednesday, September 28, 2016 10:44:18 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi, thanks for sharing this issue.

It looks to me as though you have a project in your solution that isn't fully loaded by NCrunch. Do you have any load errors showing in the NCrunch Tests Window?
1 user thanked Remco for this useful post.
Allnext on 9/29/2016(UTC)
Allnext
#3 Posted : Thursday, September 29, 2016 7:39:16 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/28/2016(UTC)
Posts: 3
Location: Belarus

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Thanks a lot!
Remco
#4 Posted : Thursday, September 29, 2016 9:56:46 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Allnext;9225 wrote:
Thanks a lot!


Can you confirm that this was the problem? If so, I might take a look at how it's being handled.
Allnext
#5 Posted : Thursday, September 29, 2016 11:07:53 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/28/2016(UTC)
Posts: 3
Location: Belarus

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Remco;9228 wrote:
Allnext;9225 wrote:
Thanks a lot!


Can you confirm that this was the problem? If so, I might take a look at how it's being handled.


Yes, unloading projects with build failure really helps me. Before do this this behavior looks like connection issue. At our environment we run tests from local machine on grid server located in other network (VPN connection).
1 user thanked Allnext for this useful post.
Remco on 9/29/2016(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.036 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download