Anyone having Jenkins slaves on Windows 8?

514 views
Skip to first unread message

Costin Caraivan

unread,
Jul 26, 2013, 3:34:24 AM7/26/13
to jenkins...@googlegroups.com
Hello,

Is Jenkins functional on Windows 8? Out of the 4 slave connection possibilities:
1. WMI + Windows service is very unreliable and even deprecated by the
developers
2. Java Web Start fails with this:
java.io.IOException: Remote call on slave failed
at hudson.remoting.Channel.call(Channel.java:674)
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:348)
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:316)
at jenkins.slaves.JnlpSlaveAgentProtocol$Handler.jnlpConnect(JnlpSlaveAgentProtocol.java:116)
at jenkins.slaves.JnlpSlaveAgentProtocol2$Handler2.run(JnlpSlaveAgentProtocol2.java:99)
at jenkins.slaves.JnlpSlaveAgentProtocol2.handle(JnlpSlaveAgentProtocol2.java:44)
at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:150)
Caused by: java.lang.OutOfMemoryError: PermGen space
3. Command execution on the master does not work (I've tried
Powershell remoting and psexec, they both fail).
4. SSH usually requires Cygwin which requires hacks + I'm not sure it
works for UI testing.
basically none of them works.

Has anyone successfully connected a Win 8 slave to Jenkins?
I'd really love to hear your success stories :)

Thank you,
_____________
Costin Caraivan

Mark Waite

unread,
Jul 26, 2013, 8:16:06 AM7/26/13
to jenkins...@googlegroups.com
Java Web Start has worked fine for me on two different Windows 8 64 bit machines.  Unfortunately, I suspect that won't really help you, since the real question you're trying to answer is why it doesn't work on your computer.

Mark Waite


From: Costin Caraivan <costinc...@gmail.com>
To: jenkins...@googlegroups.com
Sent: Friday, July 26, 2013 1:34 AM
Subject: Anyone having Jenkins slaves on Windows 8?
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Costin Caraivan

unread,
Jul 28, 2013, 8:08:37 AM7/28/13
to jenkins...@googlegroups.com
Hello,

I've got it going using Startup + a batch script, but does it work
when installed as a service?
I don't want to babysit the slaves and using Startup is a gross hack
for this (the user needs to be logged in, there's a console window
anyone connecting to the slave might close by accident, etc).

I've been through basically all the bug reports on Jira and done
everything they recommended and still have no result. Now the service
is failing without logging anything - either to disk or to the Event
Viewer :(

Regards,
_____________
Costin Caraivan
> email to jenkinsci-use...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-use...@googlegroups.com.

Mark Waite

unread,
Jul 28, 2013, 10:08:00 AM7/28/13
to jenkins...@googlegroups.com
In the cases which mattered to us, we always needed desktop access (user interface tests, etc.).  Since we needed desktop access, I saw only unworkable limitations running as a service and decided that it was much better to use Startup than to attempt to detect and resolve all the issues which might occur with a service trying to masquerade as a desktop with a user interface.

My view has been that running a Jenkins slave as a service on Windows would have forced more hacks than running a Jenkins slave on the desktop.

I admit that your case may be quite different from mine.  You may be running programs which never need desktop access, or you may want to discover very rapidly when a program needs desktop access unexpectedly.  For us, it was more important to run tests from the desktop so that we were more closely simulating the user environment.

Mark Waite


Sent: Sunday, July 28, 2013 6:08 AM
Subject: Re: Anyone having Jenkins slaves on Windows 8?
> email to jenkinsci-users+unsub...@googlegroups.com.

> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsub...@googlegroups.com.

> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsub...@googlegroups.com.

Mathieu Hicauber

unread,
Aug 20, 2013, 9:29:55 AM8/20/13
to jenkins...@googlegroups.com
Hi

JNLP and windows service doesn't work for me either. What is that "Startup + batch script" option that works for you please ?

JNLP> Failed to connect to [hudson]/tcpSlaveAgentListener/... (network related issue I guess ^^)
Windows Service => fail to start via DCOM

Thank you,

Mathieu.

korm...@gmail.com

unread,
Aug 21, 2013, 3:33:35 PM8/21/13
to jenkins...@googlegroups.com
I had no problems getting a Windows 8 slave online. Slave:
Windows 8 pro (64-bit)
Java 1.7.0_25 (32-bit)
Jenkins 1.519
Saving JNLP file locally, then executing:
javaws slave-agent.jnlp

Wish I had a clue why it is not working for you.
Reply all
Reply to author
Forward
0 new messages