On 01/27/2013 01:31 PM, András Murányi wrote:
On Sun, Jan 27, 2013 at 2:19 AM, Hans-Christoph Steiner hans@at.or.atwrote:
On 01/23/2013 03:38 PM, András Murányi wrote:
On Wed, Jan 23, 2013 at 12:56 AM, Hans-Christoph Steiner <hans@at.or.at wrote:
On 01/22/2013 05:34 PM, András Murányi wrote:
> [...] > BTW, rsync fails here with "Host key verification failed."
Actually, I forgot to say, if you want to run it as a jenkins build
slave,
that would definitely still be useful.
.hc
Jenkins is behaving bad here (doesn't seem to start up at boot, then it doesn't connect to the master when started) but i'll try to discipline
it.
As for the autobuild script, I've done svn up, yet it fails with the following *before it still tries to rsync*. Shall we try to fix it or
shall
I dump it?
I think we don't need the auto-build if the jenkins builds work. we can produce working Lucid packages in Launchpad.
.hc
Ok, I'll shut the autobuild down here but I'm afraid I'll need some help with Jenkins. It comes out that it does connect successfully, however
there
is an error all the time: https://macosx105-i386.pdlab.puredata.info/computer/muranyia.dyndns.org/ Any ideas what is this?
András
I was just setting up the Windows XP build machine as a Jenkins slave and ran into the same issue. Its because your Java install doesn't trust the CAcert.org certificate used by the jenkins master. You need to import the cacert certificate into the Java keystore, then it'll validate OK and should work. Here's how:
sudo keytool -keystore /usr/lib/jvm/default-java/jre/lib/security/cacerts -storepass changeit -import -trustcacerts -v -alias cacertclass1 -file /usr/share/ca-certificates/cacert.org/cacert.org.crt
Or if I messed up the paths, there is more info here: http://wiki.cacert.org/FAQ/ImportRootCert#Java
.hc
Thanks for the tip! I have no /usr/lib/jvm/default-java but I have all these under /usr/lib/jvm: ia32-java-6-sun/ .java-1.6.0-openjdk.jinfo ia32-java-6-sun-1.6.0.26/ java-6-openjdk/ .ia32-java-6-sun.jinfo java-6-sun/ java-1.5.0-gcj-4.4/ java-6-sun-1.6.0.26/ java-1.6.0-openjdk/ .java-6-sun.jinfo
Trying to add the key to java-6-sun or java-6-openjdk results in: Certificate already exists in system-wide CA keystore under alias
<cacert_org_pem> Do you still want to add it to your own keystore? [no]:
Shall I choose [yes] or shall I try every other java keystore, or is there a way to find out which one is used by Jenkins? Sorry if I'm dumber than normally, I got a fever!
András
Wow, looks like you have every java installed. Do 'ls -l /etc/alternatives/java' to see which one you're actually using. You could also try downloading the individual files and using that command to add them:
https://www.cacert.org/certs/root.crt Fingerprint SHA1: 13:5C:EC:36:F4:9C:B8:E9:3B:1A:B2:70:CD:80:88:46:76:CE:8F:33 sudo keytool -keystore /usr/lib/jvm/default-java/jre/lib/security/cacerts \ -storepass changeit -import -trustcacerts -v -alias cacertclass1 -file root.crt
https://www.cacert.org/certs/class3.crt Fingerprint SHA1: AD:7C:3F:64:FC:44:39:FE:F4:E9:0B:E8:F4:7C:6C:FA:8A:AD:FD:CE sudo keytool -keystore /usr/lib/jvm/default-java/jre/lib/security/cacerts \ -storepass changeit -import -trustcacerts -v -alias cacertclass3 -file class3.crt
.hc