Re: failure setting up slave...

2012-07-31 Thread Sami Tikka
If you feel strongly about it, you can open a bug report and even contribute the improvement to the protocol. I'm sure the Jenkins committers will welcome the contribution. And if java coding isn't your cup of tea, you can also help others by adding a page to Jenkins wiki about this. -- Sami

Re: failure setting up slave...

2012-07-30 Thread Rich Pixley
I do. The protocol should have a more robust initial negotiation in order to cover exactly this extremely common case. Even reversing the initial protocol message so that it comes from the slave would probably do the job. --rich On 7/30/12 11:50 , Sami Tikka wrote: Doh! Of course! I don't

Re: failure setting up slave...

2012-07-30 Thread Sami Tikka
Doh! Of course! I don't really think it is Jenkins' fault the earlier ssh clients ate the first protocol messages. -- Sami Rich Pixley kirjoitti 30.7.2012 kello 21.40: > I've gotten this working. The clue for me was here: > http://jenkins.361315.n4.nabble.com/Doing-something-else-before-inv

Re: failure setting up slave...

2012-07-30 Thread Rich Pixley
I've gotten this working. The clue for me was here: http://jenkins.361315.n4.nabble.com/Doing-something-else-before-invoking-slave-jar-in-slave-launch-script-td4634608.html There appears to be a bug in the jenkins protocol but adding -n to the earlier ssh commands in my runslave.sh script appe

Re: failure setting up slave...

2012-07-30 Thread Rich Pixley
I just triple checked and yes, it's all set up and ssh works fine, password free (public key), in both directions. --rich On 7/29/12 12:07 , krishna chaitanya kurnala wrote: Can you normally SSH to the slave machine from Master? I got some weird errors that disappeared after Firewall is relaxe

Re: failure setting up slave...

2012-07-30 Thread Rich Pixley
Standard ubuntu-12.04 openjdk: rich@gecko> java --version Unrecognized option: --version Could not create the Java virtual machine. rich@gecko> java -version java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-1ubuntu0.12.04.1) OpenJDK 64-Bit Server VM (build 20.0-b

Re: failure setting up slave...

2012-07-29 Thread krishna chaitanya kurnala
Can you normally SSH to the slave machine from Master? I got some weird errors that disappeared after Firewall is relaxed ... Krishna Chaitanya On Sun, Jul 29, 2012 at 11:55 AM, Sami Tikka wrote: > From which package does "java" on the slave come from? > > -- Sami > > Rich Pixley kirjoitti 2

Re: failure setting up slave...

2012-07-29 Thread Sami Tikka
From which package does "java" on the slave come from? -- Sami Rich Pixley kirjoitti 28.7.2012 kello 0.24: > I'm trying to set up my first slave and I'm running into a problem I don't > understand or know how to debug. > > Both machines are ubuntu-12.04, standard ubuntu jenkins install, con

failure setting up slave...

2012-07-27 Thread Rich Pixley
I'm trying to set up my first slave and I'm running into a problem I don't understand or know how to debug. Both machines are ubuntu-12.04, standard ubuntu jenkins install, configured for " Project-based Matrix Authorization Strategy". It looks to me as though my script has successfully conta