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