Rank: Advanced Member
Groups: Registered
Joined: 6/17/2012(UTC) Posts: 507
Thanks: 145 times Was thanked: 66 time(s) in 64 post(s)
|
Using NCrunch Console Tool v2.9.0.3 I have a couple of issues trying to get our solution up and running with NCrunch on TeamCity. Below is NCRunch errors I noticed when running the console tool explicitly via command prompt. When running via TC I get a lot of failed tests with non-helping output nor stacktrace as Code:
------ Stdout: -------
text
(When looking at build log it seems it cannot find a required file, I guess this is part of setup routine but it would be helpful if that could be determined via test output and not requiring download full build log to investigate). Try 1 was cancelled and then Try 2 was run until end. Code:
Try 1:
-----------
[08:09:46.6693-Core-5] Queuing 6563 tests for passive execution
[08:09:48.52-Core-5] Connection established with remote grid node at XX1
[08:09:48.5327-?-6] Ceasing to send messages because of an error (was the connection closed?): System.NullReferenceException: Object reference not set to an instance of an object.
Server stack trace:
at #=qJRtWiOE9n_ChZS6TU8lhrY9_ixUiLewq9zeI6uerlsJb5qUFMG9lczVjeCXhghkD658r9mlBYNc5TVO4tVvLeQ==.Write(Byte[] #=qV0lUaTgJCAG$0m2Apg9tfQ==, Int32 #=qMTrEl7cD_P8MUPwytKpdkA==, Int32 #=ql9gfOqj_MCRtajpI
TZuOPw==)
at nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at nCrunch.Core.Grid.Connectivity.BidirectionalStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at nCrunch.Core.Grid.Connectivity.BidirectionalStream.#=qIVDS7Br6sVyv7cfmHq2N_w==.EndInvoke(IAsyncResult #=qXAFrS0xzmmWVBCZnqFRuyA==)
at nCrunch.Core.Grid.Connectivity.BidirectionalStream.EndWrite(IAsyncResult asyncResult)
at nCrunch.Core.Grid.Connectivity.GridMessageSender.#=qTMwzEjhOEo5KW8THbtP2FA==(IAsyncResult #=q1y52wOdnmyb7iWt$UVMmZw==)
[08:09:48.5327-?-9] Ceasing to send messages because of an error (was the connection closed?): System.NullReferenceException: Object reference not set to an instance of an object.
Server stack trace:
at #=qJRtWiOE9n_ChZS6TU8lhrY9_ixUiLewq9zeI6uerlsJb5qUFMG9lczVjeCXhghkD658r9mlBYNc5TVO4tVvLeQ==.Write(Byte[] #=qV0lUaTgJCAG$0m2Apg9tfQ==, Int32 #=qMTrEl7cD_P8MUPwytKpdkA==, Int32 #=ql9gfOqj_MCRtajpI
TZuOPw==)
at nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at nCrunch.Core.Grid.Connectivity.BidirectionalStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at nCrunch.Core.Grid.Connectivity.BidirectionalStream.#=qIVDS7Br6sVyv7cfmHq2N_w==.EndInvoke(IAsyncResult #=qXAFrS0xzmmWVBCZnqFRuyA==)
at nCrunch.Core.Grid.Connectivity.BidirectionalStream.EndWrite(IAsyncResult asyncResult)
at nCrunch.Core.Grid.Connectivity.GridMessageSender.#=qTMwzEjhOEo5KW8THbtP2FA==(IAsyncResult #=q1y52wOdnmyb7iWt$UVMmZw==)
[08:09:48.5327-?-10] Ceasing to send messages because of an error (was the connection closed?): System.NullReferenceException: Object reference not set to an instance of an object.
Server stack trace:
at #=qJRtWiOE9n_ChZS6TU8lhrY9_ixUiLewq9zeI6uerlsJb5qUFMG9lczVjeCXhghkD658r9mlBYNc5TVO4tVvLeQ==.Write(Byte[] #=qV0lUaTgJCAG$0m2Apg9tfQ==, Int32 #=qMTrEl7cD_P8MUPwytKpdkA==, Int32 #=ql9gfOqj_MCRtajpI
TZuOPw==)
at nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at nCrunch.Core.Grid.Connectivity.BidirectionalStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at nCrunch.Core.Grid.Connectivity.BidirectionalStream.#=qIVDS7Br6sVyv7cfmHq2N_w==.EndInvoke(IAsyncResult #=qXAFrS0xzmmWVBCZnqFRuyA==)
at nCrunch.Core.Grid.Connectivity.BidirectionalStream.EndWrite(IAsyncResult asyncResult)
at nCrunch.Core.Grid.Connectivity.GridMessageSender.#=qTMwzEjhOEo5KW8THbtP2FA==(IAsyncResult #=q1y52wOdnmyb7iWt$UVMmZw==)
[08:09:48.5766-?-9] Ceasing to send messages because of an error (was the connection closed?): System.NullReferenceException: Object reference not set to an instance of an object.
Server stack trace:
at #=qJRtWiOE9n_ChZS6TU8lhrY9_ixUiLewq9zeI6uerlsJb5qUFMG9lczVjeCXhghkD658r9mlBYNc5TVO4tVvLeQ==.Write(Byte[] #=qV0lUaTgJCAG$0m2Apg9tfQ==, Int32 #=qMTrEl7cD_P8MUPwytKpdkA==, Int32 #=ql9gfOqj_MCRtajpI
TZuOPw==)
at nCrunch.Core.Grid.Connectivity.Zlib.DeflateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at nCrunch.Core.Grid.Connectivity.BidirectionalStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at nCrunch.Core.Grid.Connectivity.BidirectionalStream.#=qIVDS7Br6sVyv7cfmHq2N_w==.EndInvoke(IAsyncResult #=qXAFrS0xzmmWVBCZnqFRuyA==)
at nCrunch.Core.Grid.Connectivity.BidirectionalStream.EndWrite(IAsyncResult asyncResult)
at nCrunch.Core.Grid.Connectivity.GridMessageSender.#=qTMwzEjhOEo5KW8THbtP2FA==(IAsyncResult #=q1y52wOdnmyb7iWt$UVMmZw==)
[08:09:48.6401-Core-5] Connection established with remote grid node at XX2
[08:09:48.6586-Core-5] Connection established with remote grid node at XX3
[08:09:48.6889-Core-5] Connection established with remote grid node at XX4
^CTerminate batch job (Y/N)? y
-----------
Try 2:
-----------
[08:14:18.6192-LocalTestExecutionTask-23] ERROR (Internal): System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at nCrunch.Module.NUnit.Integration.NUnitExplicitTestRepository.<.ctor>b__0(PendingTest t)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at nCrunch.Module.NUnit.Integration.NUnitExplicitTestRepository..ctor(IList`1 testsToRun, Factory testNameFactory)
at nCrunch.Module.NUnit.Integration.NUnitTestFramework.<>c__DisplayClass3.<RunTests>b__2()
at nCrunch.TestExecution.TestExecutionMonitor.PerformMonitoredTestExecution(Action testExecutionAction)
at nCrunch.Module.NUnit.Integration.NUnitTestFramework.RunTests(TestOutput output, TestExecutionMapSet testMapSet, TestExecutionParameters parameters)
at nCrunch.TestExecution.TestRunnerThread.#=qfPs5BtsnGXNLGtpNJK4HCQ==()
-----------
[08:17:55.8648-LocalTestExecutionTask-9] ERROR (Internal): System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at nCrunch.Module.NUnit.Integration.NUnitExplicitTestRepository.<.ctor>b__0(PendingTest t)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at nCrunch.Module.NUnit.Integration.NUnitExplicitTestRepository..ctor(IList`1 testsToRun, Factory testNameFactory)
at nCrunch.Module.NUnit.Integration.NUnitTestFramework.<>c__DisplayClass3.<RunTests>b__2()
at nCrunch.TestExecution.TestExecutionMonitor.PerformMonitoredTestExecution(Action testExecutionAction)
at nCrunch.Module.NUnit.Integration.NUnitTestFramework.RunTests(TestOutput output, TestExecutionMapSet testMapSet, TestExecutionParameters parameters)
at nCrunch.TestExecution.TestRunnerThread.#=qfPs5BtsnGXNLGtpNJK4HCQ==()
[08:17:56.4693-Core-11] Sending processing instructions to node XX3 for 1 tasks
-----------
[08:18:29.0018-Core-13] ERROR (Internal): System.Net.Sockets.SocketException (0x80004005): The requested name is valid, but no data of the requested type was found
at System.Net.Dns.HostResolutionEndHelper(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.DoDnsCallback(IAsyncResult result, MultipleAddressConnectAsyncResult context)
at System.Net.Sockets.Socket.BeginConnect(String host, Int32 port, AsyncCallback requestCallback, Object state)
at System.Net.Sockets.TcpClient.BeginConnect(String host, Int32 port, AsyncCallback requestCallback, Object state)
at nCrunch.Core.Grid.Connectivity.NetworkClient.Connect(GridAddress address, SerializationContract serializationContract)
at nCrunch.Client.Grid.GridClient.#=ql9qSzE0MwYBtcPxG7Ug9cJIjkEST1daFq94bviqfEI0=.#=qxTxC5qmbZI6IDX5vwlRWFUunmdjoDIH4_z1$h_QQbbs=()
|