CommandLineClient - Unable to reach source control server

7 posts, 0 answers
  1. David
    David avatar
    44 posts
    Member since:
    Jun 2019

    Posted 10 Mar Link to this post

        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?

     

  2. Plamen Mitrev
    Admin
    Plamen Mitrev avatar
    215 posts

    Posted 11 Mar Link to this post

    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!
  3. David
    David avatar
    44 posts
    Member since:
    Jun 2019

    Posted 11 Mar in reply to Plamen Mitrev Link to this post

    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?

  4. Plamen Mitrev
    Admin
    Plamen Mitrev avatar
    215 posts

    Posted 12 Mar Link to this post

    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!
  5. David
    David avatar
    44 posts
    Member since:
    Jun 2019

    Posted 12 Mar Link to this post

    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?

  6. Plamen Mitrev
    Admin
    Plamen Mitrev avatar
    215 posts

    Posted 13 Mar Link to this post

    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!
  7. David
    David avatar
    44 posts
    Member since:
    Jun 2019

    Posted 13 Mar in reply to Plamen Mitrev Link to this post

    Thanks Plamen, for now I'll look to use just the exec dashboard.
Back to Top