Link squish with jenkins

337 views
Skip to first unread message

valentin Dujardin

unread,
Nov 14, 2014, 9:48:41 AM11/14/14
to jenkins...@googlegroups.com
Hello, 

I'm trying actually to link Squish with Jenkins, I use a slave agent using Java Web Start (JNLP), but when run a built, I have this error : 

I've no idea to resolve it. 

Thxs for your help.

----------------------------------- ERROR --------------------------------------------------

Démarré par l'utilisateur anonymous

Construction à distance sur slave2 in workspace C:\Program Files (x86)\Jenkins\workspace\test_squish_slave

Running following Squish test suites

  C:\workspace\suite_test_Git1

Squish plugin running on slave slave2

Squish result folder not set

Squish won't abort build on test errors or fatals

 

--------------------------------------------------------------------------------

Exception: com.froglogic.squish.SquishException: SETUP ERROR: The Jenkins slave was started as Windows Service which does not support to run GUI tests.

--------------------------------------------------------------------------------

 

com.froglogic.squish.SquishException: com.froglogic.squish.SquishException: SETUP ERROR: The Jenkins slave was started as Windows Service which does not support to run GUI tests.

com.froglogic.squish.HudsonExecutor.exec(HudsonExecutor.java:162)

com.froglogic.squish.HudsonExecutor.call(HudsonExecutor.java:100)

com.froglogic.squish.HudsonExecutor.call(HudsonExecutor.java:35)

hudson.remoting.UserRequest.perform(UserRequest.java:121)

hudson.remoting.UserRequest.perform(UserRequest.java:49)

hudson.remoting.Request$2.run(Request.java:324)

hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)

java.util.concurrent.FutureTask.run(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

hudson.remoting.Engine$1$1.run(Engine.java:63)

java.lang.Thread.run(Unknown Source)

......remote call to slave2(Native Method)

hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)

hudson.remoting.UserResponse.retrieve(UserRequest.java:221)

hudson.remoting.Channel.call(Channel.java:752)

com.froglogic.squish.SquishBuilder.runSuite(SquishBuilder.java:179)

com.froglogic.squish.SquishBuilder.perform(SquishBuilder.java:144)

hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)

hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)

hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)

hudson.model.Build$BuildExecution.build(Build.java:199)

hudson.model.Build$BuildExecution.doRun(Build.java:160)

hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)

hudson.model.Run.execute(Run.java:1759)

hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)

hudson.model.ResourceController.execute(ResourceController.java:89)

hudson.model.Executor.run(Executor.java:240)

 

--------------------------------------------------------------------------------

Exception: SETUP ERROR: The Jenkins slave was started as Windows Service which does not support to run GUI tests.

--------------------------------------------------------------------------------

 

com.froglogic.squish.SquishException: SETUP ERROR: The Jenkins slave was started as Windows Service which does not support to run GUI tests.

com.froglogic.squish.HudsonExecutor.exec(HudsonExecutor.java:113)

com.froglogic.squish.HudsonExecutor.call(HudsonExecutor.java:100)

com.froglogic.squish.HudsonExecutor.call(HudsonExecutor.java:35)

hudson.remoting.UserRequest.perform(UserRequest.java:121)

hudson.remoting.UserRequest.perform(UserRequest.java:49)

hudson.remoting.Request$2.run(Request.java:324)

hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)

java.util.concurrent.FutureTask.run(Unknown Source) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

hudson.remoting.Engine$1$1.run(Engine.java:63)

java.lang.Thread.run(Unknown Source)

Build step 'Squish' changed build result to FAILURE

Finished: FAILURE

Swapnil Tilaye

unread,
Jan 16, 2015, 5:29:02 PM1/16/15
to jenkins...@googlegroups.com
I am also having the same issue. I am not using slave agent using Java Web Start (JNLP). why did you use slave agent?
Reply all
Reply to author
Forward
0 new messages