Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » testexec hangs under linux(autagent under windows and testexec under linux)
testexec hangs under linux [message #1235070] Thu, 23 January 2014 13:56 Go to next message
Dirk Willert is currently offline Dirk WillertFriend
Messages: 22
Registered: January 2014
Junior Member
Hello,

I have to integrate Jubula into an existing build management and environment
for nightly automated test on a windows server 2008 R2 ( and in a second step for other systems)
The test have to be fully automatically - no use interaction is allowed.

So the windows sheduler starts autagent.exe (as 'Administrator' - same user as AUT )
and he is running as you can see here:
index.php/fa/17321/0/

The build PC is a Suse Linux 11 system, and here I start testexec :
index.php/fa/17319/0/

but after "Starting AUT: CSB_Admin_Client" nothing more happens - testexec 'hangs' ?!?
and not AUT starts on the Windows system

The autagent.log file shows the following warning:
2014-01-23 14:24:11.407 [Connection.ReaderThread:Socket[addr=/172.25.166.219,port=37080,localport=60000]] WARN o.e.j.a.c.AbstractStartJavaAut - "C:\Program Files (x86)\SER\D4-SOAPAdmCl\DOXiS4CSBAdminClient.exe" does not point to a valid executable.

But the warning isn't correct, if I starts the exe manually it starts and runs.

And if I start autrun on the windows system first (not allowed),
autrun -w "C:\Program Files (x86)\SER\D4-SOAPAdmCl" -swing -i CSB_Admin_Client_2_unix -e DOXiS4CSBAdminClient.exe

then testexec works :
index.php/fa/17320/0/



Where is the fault ?

Regards
Dirk

[Updated on: Thu, 23 January 2014 13:58]

Report message to a moderator

Re: testexec hangs under linux [message #1235382 is a reply to message #1235070] Fri, 24 January 2014 07:46 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

The first thing that comes to mind is that the version that works uses the project version 3.2 and the version that doesn't uses project version 2.0. Perhaps there's a difference in the AUT configurations?

What happens if you try to start the AUT via that configuration not as part of the testexec? My assumption would be that the AUT start also fails - in which case you might be looking at firewall problems.

Best regards,
Alex

Re: testexec hangs under linux [message #1235430 is a reply to message #1235382] Fri, 24 January 2014 10:44 Go to previous messageGo to next message
Dirk Willert is currently offline Dirk WillertFriend
Messages: 22
Registered: January 2014
Junior Member
Hi,
sorry forgot to explain the difference between the two Versions.
Version 3.2 (config_win_4.xml) is a testjob - so I must use autrun
and version2.0 (config_win.xml) is a testsuite the AUT is the same.

config_win.xml:
<?xml version="1.0"?>
-<configuration>
<project>Auto_Test_DOXiS4_CSB_Mandant_Initial</project>
<version>2.0</version>
<autconfig>CSB_Admin_Client@sst-qas-csb-ss</autconfig>
<dburl>jdbc:oracle:thin:@sst-qas-ora11.sst.local:1521:ora11gr2</dburl>
<dbuser>swt_qas_jubula</dbuser>
<dbpw>sedna</dbpw>
<server>sst-qas-csb-ss</server>
<port>60000</port>
<language>en_US</language>
<testsuite>Auto_Test_CSB_Mandant_Initial</testsuite>
<datadir>.</datadir>
<resultdir>.</resultdir>
</configuration>

config_win_4.mxl:
<?xml version="1.0"?>
-<configuration>
<project>Auto_Test_DOXiS4_CSB_Mandant_Initial</project>
<version>3.2</version>
<autconfig>/</autconfig>
<dburl>jdbc:oracle:thin:@sst-qas-ora11.sst.local:1521:ora11gr2</dburl>
<dbuser>swt_qas_jubula</dbuser>
<dbpw>sedna</dbpw>
<server>sst-qas-csb-ss.sst.local</server>
<port>60000</port>
<language>en_US</language>
<testjob>AUTO_FULLTEST_LINUX</testjob>
<datadir>work</datadir>
<resultdir>results</resultdir>
</configuration>

Regards
Dirk


Re: testexec hangs under linux [message #1236871 is a reply to message #1235430] Tue, 28 January 2014 09:10 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

Since there are two versions of the project, the AUT configurations are copies of each other - changes may have happened in one that didn't happen in the other. It's worth checking again.

The second point form my previous post is looking more likely: firewall problems. What happens if you run testexec locally on that machine? What happens if you start the AUT from the ITE (remotely and locally)?

Alex
Previous Topic:Autagent under Suse Linux in Xvnc Session problem
Next Topic:Questions concerning the export and input of data
Goto Forum:
  


Current Time: Fri Apr 26 00:51:50 GMT 2024

Powered by FUDForum. Page generated in 0.24225 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top