2014-07-21 12 views
0

TeamCity (8.0.2 빌드 27482)를 통해 MbUnit (3.4.14.0) 테스트를 실행할 때 오류가 발생했습니다.TeamCity를 통해 테스트를 실행할 때 Gallio 오류 : "유효하지 않은 테스트 러너 매개 변수 및 스택 오버플로가 포함될 수 있습니다."

[Error] A fatal exception occurred while running tests. Possible causes include invalid test runner parameters and stack overflows. 
Gallio.Model.ModelException: An exception occurred while invoking a test driver. 
---> Gallio.Model.ModelException: Gallio.Model.ModelException: A fatal exception occurred while running test commands. 
---> Gallio.Runtime.RuntimeException: Could not resolve instance of component 'Gallio.PatternTestController'. 
---> Gallio.Runtime.RuntimeException: Could not resolve required dependency 'formatter' of type 'Gallio.Runtime.Formatting.IFormatter' due to an exception. ---> Gallio.Runtime.RuntimeException: Could not resolve instance of component 'Gallio.Formatter'. 
---> Gallio.Runtime.RuntimeException: Could not resolve required dependency 'rules' of type 'Gallio.Runtime.Formatting.IFormattingRule[]' due to an exception. ---> Gallio.Runtime.RuntimeException: Could not resolve instance of component 'Gallio35.ExpressionFormattingRule'. 
---> Gallio.Runtime.RuntimeException: Could not resolve the component handler of component 'Gallio35.ExpressionFormattingRule'. 
---> Gallio.Runtime.RuntimeException: Could not resolve the component type of component 'Gallio35.ExpressionFormattingRule'. 
---> Gallio.Common.Reflection.ReflectionResolveException: Could not resolve type 'Gallio.Runtime.Formatting.ExpressionFormattingRule, Gallio35'. 
---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) at System.Type.GetType(String typeName) at Gallio.Common.Reflection.TypeName.Resolve() in c:\Server\Projects\MbUnit v3\Work\src\Gallio\Gallio\Common\Reflection\TypeName.cs:line 175 
--- End of inner exception stack trace --- at Gallio.Common.Reflection.TypeName.Resolve() in c:\Server\Projects\MbUnit v3\Work\src\Gallio\Gallio\Common\Reflection\TypeName.cs:line 184 at Gallio.Runtime.Extensibility.ComponentDescriptor.ResolveComponentType() in c:\Server\Projects\MbUnit v3\Work\src\Gallio\Gallio\Runtime\Extensibility\ComponentDescriptor.cs:line 111 
--- End of inner exception stack trace 

이전 테스트 실행에서 일부 백엔드 테스트가 정상적으로 실행되었지만 마지막 단계에서 UI 테스트가 중단되고 TeamCity 작업이 취소되었습니다.

어떤 아이디어가 오류의 원인 일 수 있습니까?

감사합니다.

+0

거기에'OutOfMemoryException'이 있습니다. 빌드 서버에서 메모리 사용량을 확인할 수 있습니까? – wal

+0

감사. 내가 확인합니다. –

+0

메모리 사용 가능, 40 % -50 %. 테스트에 문제가있을 수 있습니까? –

답변

0

동료 중 한 명은 빌드 서버에서 TeamCity 서비스를 다시 시작해야한다고 권고했습니다. 도움이되었습니다.