<div class="gmail_quote">On Thu, Jan 31, 2013 at 7:02 PM, Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5">On 01/31/2013 10:05 AM, András Murányi wrote:<br>
&gt; On Mon, Jan 28, 2013 at 11:19 PM, Hans-Christoph Steiner &lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;wrote:<br>
&gt;<br>
&gt;&gt; On 01/27/2013 01:31 PM, András Murányi wrote:<br>
&gt;&gt;&gt; On Sun, Jan 27, 2013 at 2:19 AM, Hans-Christoph Steiner &lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a><br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On 01/23/2013 03:38 PM, András Murányi wrote:<br>
&gt;&gt;&gt;&gt;&gt; On Wed, Jan 23, 2013 at 12:56 AM, Hans-Christoph Steiner &lt;<br>
&gt;&gt; <a href="mailto:hans@at.or.at">hans@at.or.at</a><br>
&gt;&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On 01/22/2013 05:34 PM, András Murányi wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [...]<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; BTW, rsync fails here with &quot;Host key verification failed.&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Actually, I forgot to say, if you want to run it as a jenkins build<br>
&gt;&gt;&gt;&gt;&gt;&gt; slave,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; that would definitely still be useful.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; .hc<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Jenkins is behaving bad here (doesn&#39;t seem to start up at boot, then<br>
&gt;&gt; it<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; doesn&#39;t connect to the master when started) but i&#39;ll try to<br>
&gt;&gt; discipline<br>
&gt;&gt;&gt;&gt;&gt;&gt; it.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; As for the autobuild script, I&#39;ve done svn up, yet it fails with the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; following *before it still tries to rsync*. Shall we try to fix it or<br>
&gt;&gt;&gt;&gt;&gt;&gt; shall<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I dump it?<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I think we don&#39;t need the auto-build if the jenkins builds work.  we<br>
&gt;&gt; can<br>
&gt;&gt;&gt;&gt;&gt;&gt; produce working Lucid packages in Launchpad.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; .hc<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Ok, I&#39;ll shut the autobuild down here but I&#39;m afraid I&#39;ll need some<br>
&gt;&gt; help<br>
&gt;&gt;&gt;&gt;&gt; with Jenkins. It comes out that it does connect successfully, however<br>
&gt;&gt;&gt;&gt; there<br>
&gt;&gt;&gt;&gt;&gt; is an error all the time:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt; <a href="https://macosx105-i386.pdlab.puredata.info/computer/muranyia.dyndns.org/" target="_blank">https://macosx105-i386.pdlab.puredata.info/computer/muranyia.dyndns.org/</a><br>
&gt;&gt;&gt;&gt;&gt; Any ideas what is this?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; András<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I was just setting up the Windows XP build machine as a Jenkins slave<br>
&gt;&gt; and<br>
&gt;&gt;&gt;&gt; ran<br>
&gt;&gt;&gt;&gt; into the same issue.  Its because your Java install doesn&#39;t trust the<br>
&gt;&gt;&gt;&gt; CAcert.org certificate used by the jenkins master.  You need to import<br>
&gt;&gt; the<br>
&gt;&gt;&gt;&gt; cacert certificate into the Java keystore, then it&#39;ll validate OK and<br>
&gt;&gt;&gt;&gt; should<br>
&gt;&gt;&gt;&gt; work.  Here&#39;s how:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; sudo keytool -keystore<br>
&gt;&gt; /usr/lib/jvm/default-java/jre/lib/security/cacerts<br>
&gt;&gt;&gt;&gt; -storepass changeit -import -trustcacerts -v -alias cacertclass1 -file<br>
&gt;&gt;&gt;&gt; /usr/share/ca-certificates/<a href="http://cacert.org/cacert.org.crt" target="_blank">cacert.org/cacert.org.crt</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Or if I messed up the paths, there is more info here:<br>
&gt;&gt;&gt;&gt; <a href="http://wiki.cacert.org/FAQ/ImportRootCert#Java" target="_blank">http://wiki.cacert.org/FAQ/ImportRootCert#Java</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; .hc<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks for the tip! I have no /usr/lib/jvm/default-java but I have all<br>
&gt;&gt;&gt; these under /usr/lib/jvm:<br>
&gt;&gt;&gt; ia32-java-6-sun/           .java-1.6.0-openjdk.jinfo<br>
&gt;&gt;&gt; ia32-java-6-sun-1.6.0.26/  java-6-openjdk/<br>
&gt;&gt;&gt; .ia32-java-6-sun.jinfo     java-6-sun/<br>
&gt;&gt;&gt; java-1.5.0-gcj-4.4/        java-6-sun-1.6.0.26/<br>
&gt;&gt;&gt; java-1.6.0-openjdk/        .java-6-sun.jinfo<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Trying to add the key to java-6-sun or java-6-openjdk results in:<br>
&gt;&gt;&gt; Certificate already exists in system-wide CA keystore under alias<br>
&gt;&gt;&gt; &lt;cacert_org_pem&gt;<br>
&gt;&gt;&gt; Do you still want to add it to your own keystore? [no]:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Shall I choose [yes] or shall I try every other java keystore, or is<br>
&gt;&gt; there<br>
&gt;&gt;&gt; a way to find out which one is used by Jenkins?<br>
&gt;&gt;&gt; Sorry if I&#39;m dumber than normally, I got a fever!<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; András<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; You could also try to download the root.crt and class3.crt from cacert.organd<br>
&gt;&gt; install those.  I don&#39;t really know the answer to the particular issue.<br>
&gt;&gt;<br>
&gt;&gt; .hc<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; DLed the certs and installed them, however the problem persists.<br>
&gt; :(<br>
&gt;<br>
&gt; András<br>
<br>
</div></div>I had good luck running the jenkins slave from the command line (not as root!)<br>
to get more debugging info:<br>
<br>
/usr/bin/java -jar /usr/share/jenkins/slave.jar -jnlpUrl \<br>
<a href="https://macosx105-i386.pdlab.puredata.info/computer/muranyia.dyndns.org/" target="_blank">https://macosx105-i386.pdlab.puredata.info/computer/muranyia.dyndns.org/</a><br>
<span class="HOEnZb"><font color="#888888"><br>
.hc<br>
</font></span></blockquote></div><br>Aah, cool! Jenkins says:<br>JNLP file <a href="https://macosx105-i386.pdlab.puredata.info/computer/muranyia.dyndns.org/">https://macosx105-i386.pdlab.puredata.info/computer/muranyia.dyndns.org/</a> has invalid arguments: [-headless]<br>

Most likely a configuration error in the master<br>two arguments required, but got []<br><br>András