cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to create a user session - Error in Jenkins

SOLVED
Highlighted
Occasional Contributor

Re: Unable to create a user session - Error in Jenkins

Thank you for reply @AlexKaras  

 

Yep!

That's it... That is exactly the issues I Have : 

No user session  >>>  .... so no interactives actions in my application !

 

I just send  to smartbear's support team the traces they requested.

Maybe you are familiar with them. You seems to well-know Testcomplete.

I also check with my Local IT system team

It seems there are some fails informations for them , and they'll have a look too ;

 

2020-06-16 13:38:54.915 14164 SetAllAppPackagesPermissionsForProductDirectory: RegOpenKeyEx(HKEY_LOCAL_MACHINE\SOFTWARE\SmartBear\TestComplete\14.0\Setup) failed with error = 0x00000002.

 

2020-06-16 13:39:54.168 2420 RDP control thread started
2020-06-16 13:39:54.187 2420 RDP window: OnCreate
2020-06-16 13:39:54.188 2420 parent=0x005301B6, rdp=0x000D025E
2020-06-16 13:40:00.236 2420 RDP control created, hwnd=0x005301B6
2020-06-16 13:40:00.239 2420 RDP: RemoteDesktopSizeChange, width = 1920, height = 1080
2020-06-16 13:40:00.243 2420 RDP: Connecting
2020-06-16 13:40:00.252 2420 RDP: Disconnected, reason = 2825
2020-06-16 13:40:00.252 2420 reason_ex = 0
2020-06-16 13:40:00.252 2420 description = L’ordinateur distant nécessite une authentification au niveau du réseau, qui n’est pas prise en charge par votre ordinateur. Pour obtenir de l’assistance, contactez votre administrateur système ou le support technique.
2020-06-16 13:40:00.253 2420 RDP window closing
2020-06-16 13:40:00.253 2420 RDP window destroying
2020-06-16 13:40:00.265 2420 RDP control thread exit
2020-06-16 13:40:00.266 1648 CtcStationRDPSession::Initialize: LogOn failed with error Application exception: The user 'GPSI\assqual' failed to log in to this host using Remote Desktop. L’ordinateur distant nécessite une authentification au niveau du réseau, qui n’est pas prise en charge par votre ordinateur. Pour obtenir de l’assistance, contactez votre administrateur système ou le support technique.
2020-06-16 13:40:00.266 1648 CtcStationRDPSession::FinalRelease
2020-06-16 13:40:00.266 1648 RDP session finalizing, hwnd=0x00000000

 

Thank you for help.

Regards

 

Nicolas

 

Highlighted
Community Hero

Re: Unable to create a user session - Error in Jenkins

Hi,

 

I believe that Support will provide you with better answer than I. From the messages sequence that you have posted, I can see that there was an attempt to open the RDP session and this attempt failed. It is not clear to me what these messages originate from. From TestComplete, Jenkins or some other application.

Also, I am not sure about the RDP session itself. To my knowledge (and to the experience I've got with Jenkins), I would expect the following scenario:

-- TestComplete is installed on the Jenkins slave;

-- Jenkins slave box has an active not locked user session with Jenkins slave running within this session as a regular Windows application;

-- Now Jenkins master contacts this given slave box, deploys tested application and test code to it (if required) and provides slave application with command line to start TestComplete;

-- Slave application starts TestComplete and provides it with command line arguments to start tests execution;

-- Jenkins master waits until TestComplete exits and reports the result.

 

The key above is that the user session already exists and there is no need for new RDP session. The only case when TestComplete opened RDP session by design was for Network Suite mode, but this seems to be not our case.

 

BTW, when there is an attempt to automatically open RDP session, nothing should prevent this on the client side. For example, display of Legal Notice screen ('You are accessing computer that is the property of...') requires user action and prevents automated creation of the RDP session if not manually assisted.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Highlighted
Community Manager

Re: Unable to create a user session - Error in Jenkins

Thank you Alex, this is a great detailed answer.

 

@Nikolayev I checked your support case and see that the tests are running normally for you. Here's the article with requirements that need to be met: 

https://support.smartbear.com/testcomplete/docs/working-with/integration/jenkins/requirements-and-li...


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

Highlighted
Occasional Contributor

Re: Unable to create a user session - Error in Jenkins

Yes

This case is solved now.

Thank you

 

 

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!
Top Kudoed Authors