This is a migrated thread and some comments may be shown as answers.

CommandLineClient - Unable to reach source control server

6 Answers 117 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 10 Mar 2020, 07:25 PM

    When attempting to use the CommandLineClient (first time ever), on the scheduling server, in hopes to distribute tests across our 3 "runtime" servers I get the following error.

 

Telerik.TestStudio.Services.Common.Exceptions.SourceControlNotReachableException: Unable to reach source control server at: <our team's repo>
Command I'm running - Telerik.TestStudio.CommandLineClient.exe -l "C:\xxx\yyyy\Dev_Smoke.aiilist" -u"http://vm-01:8009" -d

 

I'm able to connect to our repo from the server I'm trying to execute this on... with the same user that's trying to execute.

What can I do to help troubleshoot this?

 

6 Answers, 1 is accepted

Sort by
0
Plamen Mitrev
Telerik team
answered on 11 Mar 2020, 01:06 PM

Hello David,

I am sorry to hear about the encountered issue with CommandLineClient.exe. 

I assume that the project is actually source controlled and that is why the scheduled test list try to get the latest version from TFS. That, however, should not be causing any troubles with the right configuration of the Telerik Scheduling Service. You need to change the user account of that service and discuss that with the network administrator on your end to provide you with TFS account credentials. 

In case you continue to experience any troubles, please share more details regarding the environment and scheduling setup on your end and I will do my best to help you with that.

Thank you for your understanding and cooperation.

Regards,
Plamen Mitrev
Progress Telerik

 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
David
Top achievements
Rank 1
answered on 11 Mar 2020, 01:24 PM

Hi Plamen, I have already given the configuration update you provided (per previous posts).  

I'm not understanding why I would need to have any network admin changes occuring here?  

I have not had any connection issues with the given account I'm using to our GIT repo hosted on AzureDevops: I have confirmed connection through the following:

- Git
- GitExtentions
- TestStudio the application
- ArtofTestRunner

So I'm not sure what would be different with the Command Line tool?

0
Plamen Mitrev
Telerik team
answered on 12 Mar 2020, 03:11 PM

Hi David,

Thank you for following up on this and sharing more details about the repository and environment. The reason I wanted to understand more about your test scenario and configuration, is because I want to be able to provide better suggestions and advises. If I have the bigger picture, I could be more helpful.

I understand you have GIT repository hosted in AzureDevops and I assume that your Test Studio project is connected to it. So, whenever you schedule a test list with the CommandLineClient, it gets the source control and scheduling settings from that project's Settings.aiis file. As a result the scheduling server tries to pull the latest version of the test list and all of the referenced tests from the repository. If you access the repository with the different credentials from your domain ones, you need to impersonate the scheduling service with the login details of the repository.

That above feature is only working for TFS repositories and the scheduling server can't reach the GIT repository. We have a feature request for that and it is in our backlog for future releases, but I can promise when it will be implemented. What you need to do is, disconnect the Test Studio project from source control and then schedule the test list, using the CommandLineClient. To do that:

- open the project in Test Studio;
- right click on the project name in the Project explorer;
- click on Git Source Control -> Remove Source Control Binding.

I hope the above workaround for Git source controlled projects will help you schedule the test lists with CommandLineClient. I remain available to continue our discussion further, if you need any help or you have additional questions.

Regards,
Plamen Mitrev
Progress Telerik

 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
David
Top achievements
Rank 1
answered on 12 Mar 2020, 05:05 PM

Hey Plamen! 

I'll give this a try and can likely live with the workaround.Thanks for the info.

That said, I'm assuming CommandLineClient, does not have an output to jUnit available?

0
Plamen Mitrev
Telerik team
answered on 13 Mar 2020, 10:48 AM

Hi David,

I am happy to know that you can use the workaround for now.

As per your other question about CommandLineClient's output, I can say that it does not support jUnit output. For that, you can look towards the ArtOfTest.Runner.exe. The reason is that this CLI is designed to work with the storage and scheduling services and the results are stored in the dedicated storage. You can then check those results from the Executive Dashboard. We also plan to add report generation tool there with our next release in March.

Please do not hesitate to contact us again, if you have any follow up questions or concerns.

Regards,
Plamen Mitrev
Progress Telerik

 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
David
Top achievements
Rank 1
answered on 13 Mar 2020, 02:43 PM
Thanks Plamen, for now I'll look to use just the exec dashboard.
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
David
Top achievements
Rank 1
Share this question
or