Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Starting AUT hangs up in jenkins(started the AUT, nothing happens)
Starting AUT hangs up in jenkins [message #1064642] Thu, 20 June 2013 11:31 Go to next message
Bob Jagger is currently offline Bob JaggerFriend
Messages: 4
Registered: June 2013
Junior Member
Hi there,
i'm using jubula 1.2 within my Jenkins CI.

Since a few months, Jenkins and Jubula are both running on seperate servers. And the problems began.

I start the Jubula Job with a batch command that calls testexec:

\jubula\testexec -autconfig VisualCockpit@desktop08 -project VisualCockpit -testsuite "komplett"  -server xxx.xx.xx.xxx -startserver 60000 -port 60000 -datadir \\xxx.xx.xx.xxx\jubula\workspace -resultdir \\xxx.xx.xx.xxx\jubula\workspace\testresults -data \\xxx.xx.xx.xxx\jubula\workspace -version 2.7 -language de_DE -dbscheme JubulaMySQL -dburl jdbc:mysql://yyy.yy.yy.yyy:3306/jubula -dbuser x -dbpw x


After starting the job, jenkins runs the testexec, connects to the AUT Agent and the database, loads the project and starts the AUT.

Thu Jun 20 10:51:50 CEST 2013	AUT Agent:	Connecting to "xxx.xx.xx.xxx:60000" ...
Thu Jun 20 10:51:50 CEST 2013	AUT Agent:	connection established.
Thu Jun 20 10:51:51 CEST 2013	Database:	Connecting as "x" to "jdbc:mysql://yyy.yy.yy.yy:3306/jubula"...
Thu Jun 20 10:51:55 CEST 2013	Database:	Connection established.
Thu Jun 20 10:51:55 CEST 2013	Database:	Loading project "VisualCockpit" in version "2.7"...
Thu Jun 20 10:51:58 CEST 2013	Database:	Project loading completed.
Thu Jun 20 10:51:58 CEST 2013	Project:	Checking completeness
Thu Jun 20 10:51:58 CEST 2013	AUT:		Starting AUT: VisualCockpit


Now the GUI of my program starts, but the loadingbar in jenkins is still there. It says "Starting AUT" until I abort the job.

So how do I get the testsuite started? Is there a command needed that says the AUT is started and its now possible to start the teststuite? Or does anyone have another idea?

Thanks in advance!

[Updated on: Thu, 20 June 2013 13:03]

Report message to a moderator

Re: Starting AUT hangs up in jenkins [message #1064675 is a reply to message #1064642] Thu, 20 June 2013 13:50 Go to previous messageGo to next message
Achim Loerke is currently offline Achim LoerkeFriend
Messages: 376
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

This is typical for RCP AUTs w/o the necessary accessor. If you are testing an RCP AUT make you the accessor and the testexec are from the same installation. If you added a new accessor you should start the AUT with -clean to remove older versions. If you switched to 2.x of Jubula the accessor has to be started with different options (see the release notes).

HTH

Achim
Re: Starting AUT hangs up in jenkins [message #1064681 is a reply to message #1064675] Thu, 20 June 2013 14:08 Go to previous messageGo to next message
Bob Jagger is currently offline Bob JaggerFriend
Messages: 4
Registered: June 2013
Junior Member
its not a RCP AUT, just normal AUT.
Jenkins starts the testexec on the remoteserver(desktop08), where Jubula is running and should start the testsuite.
Re: Starting AUT hangs up in jenkins [message #1065058 is a reply to message #1064681] Mon, 24 June 2013 08:00 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
It looks like you're using the -startserver option, which waits for a cue until starting the test suite. If you remove that, then it should work.

Just as an FYI - if you're using the DBURL parameter, you don't need to enter the workspace using -data (I think the DBSCHEME is also then not required, but check the docs).

Best regards,
Alex
Previous Topic:add own parameter types
Next Topic:AUT performance tests
Goto Forum:
  


Current Time: Sun Nov 29 15:12:04 GMT 2020

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

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

Back to the top