Testing and workflow capabilities keep failing.

Uzamčený Testing and workflow capabilities keep failing.

  • 16. srpna 2012 9:09
     
     

    Hi,

    My testing and workflows are failing.

    The workflow fails for this reason.

    But I have the TFS build service on the environment and the agent has the green light beside it.

    The testing fails for this reason.

    I had the test controller on the TFS machine and the test agent on the environment, I don't have the agent registered with the controller as its in a MTM environment.

    Any help would be appreciated. Thank you.

Všechny reakce

  • 17. srpna 2012 5:40
     
     

    Can you try manually registering the test agent to the test controller just see check if there is no connectivity/firewall issue.

    Thanks,

    Anuj


    http://www.anujchaudhary.com

  • 17. srpna 2012 12:05
     
     

    Ok, so I've done that and its online

    But When I try to configure it, I still get the same error.

  • 18. srpna 2012 0:44
     
     

    Hmm, do you see any errors in the event log either on the machine with MTM or on the machine in the environment.

    Thanks,

    Anuj


    http://www.anujchaudhary.com

  • 20. srpna 2012 7:50
     
     

    This is the only error on the MTM Machine, but it is from last Monday, the 13th, so I'm not sure if it applies.

    The description for Event ID 0 from source Microsoft Test Manager cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    If the event originated on another computer, the display information had to be saved with the event.

    The following information was included with the event:

    Team project Automated Test not found.Stack Trace ==>   at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ProcessHttpResponse(HttpWebResponse response, Stream responseStream, WebException webException, XmlReader& xmlResponseReader)
       at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ExecWebServiceRequest(HttpWebRequest request, XmlWriter requestXml, String methodName, HttpWebResponse& response)
       at Microsoft.TeamFoundation.TestManagement.Client.TestResultsService.FetchTestPlans(IdAndRev[] idsToFetch, Int32[]& deletedIds, String projectName)
       at Microsoft.TeamFoundation.TestManagement.Client.TestPlanHelper.Find(Int32 testPlanId)
       at Microsoft.TeamFoundation.TestManagement.Activities.ManageTestSuitesActivity.Initialize()
       at Microsoft.TeamFoundation.TestManagement.Client.Runtime.ActionItem.ShowActivity(IActivity activity)
       at Microsoft.TeamFoundation.TestManagement.Client.Runtime.ActionItem`1.Perform()
       at Microsoft.TeamFoundation.TestManagement.Activities.NeedAPlanAction`1.Perform()
       at Microsoft.TeamFoundation.TestManagement.Shells.WpfShell.Controls.ShellHeader.CenterGroupPicker_MenuItemClick(Object sender, RoutedEventArgs e)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
       at Microsoft.TeamFoundation.TestManagement.Client.WpfControls.DropDownButton.DropDownMenuClicks(Object o, RoutedEventArgs e)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
       at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
       at System.Windows.Threading.Dispatcher.Run()
       at System.Windows.Application.RunDispatcher(Object ignore)
       at System.Windows.Application.RunInternal(Window window)
       at System.Windows.Application.Run(Window window)
       at Microsoft.TeamFoundation.TestManagement.Shells.WpfShell.SingleInstanceWrapper.Launch(String[] args, Boolean isFirstInstance)
       at Microsoft.VisualStudio.TestTools.Common.SingleInstance.SingleInstanceApplicationManager.Run(String appId, String applicationTitle, LaunchAction action, String[] args)
       at Microsoft.TeamFoundation.TestManagement.Shells.WpfShell.SingleInstanceWrapper.Main(String[] args)

    Inner exception ==>System.Web.Services.Protocols.SoapException: Team project Automated Test not found.


    the message resource is present but the message is not found in the string/message table

    I got that from the event viewer. The team project is not Automated Test, it's auto_test. But Automated Test was the name of another project I think, so this error may not be relevent.



    • Upravený ELSheepO 20. srpna 2012 8:00
    • Upravený ELSheepO 20. srpna 2012 8:06
    •  
  • 22. srpna 2012 5:09
    Moderátor
     
     

    Hi ELSheepO,

    Based on the error messages you offered above, I think that you do not configure and set up your lab environment correctly. Could you please take a look at this MSDN instruction for a detailed step-by-step information? Go: http://msdn.microsoft.com/en-us/library/dd936084(VS.100).aspx

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

  • 23. srpna 2012 15:11
     
     
    Are you able to tell me the error, because I've reconfigured it twice and can't seem to fix it.
  • 24. srpna 2012 10:09
     
     
    Also, the build agents on the environments are failing with no endpoint listening. any insight?
  • 27. srpna 2012 3:57
    Moderátor
     
     

    Hi ELSheepO,

    Could you please post here the detailed build agents failed messages.

    In addition, please also take a look this blog for further information about troubleshooting errors in lab management:
    http://blogs.msdn.com/b/lab_management/archive/2009/10/26/troubleshooting.aspx

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us