As Rafael mentioned this was a known issue and fixed (the commit he sent).

You can check the version of java running in the build tools like:

docker run -it --entrypoint environment-info.sh
khos2ow/cloudstack-deb-builder:ubuntu1404

java version: openjdk version "1.8.0_171" OpenJDK Runtime Environment
(build 1.8.0_171-8u171-b11-2~14.04-b11) OpenJDK 64-Bit Server VM (build
25.171-b11, mixed mode)


On Tue, Nov 13, 2018 at 11:18 AM li jerry <div...@hotmail.com> wrote:

> Think Rafael Weingärtner<mailto:rafaelweingart...@gmail.com>
>
>
>
> I have already passed the build after the change. Is this because the
> openssl version of my build machine is too low?
>
>
>
> Root@59e9a8871fe8:/mnt/build# openssl version -a
>
> OpenSSL 1.0.1f 6 Jan 2014
>
> Built on: Wed Apr 18 18:30:39 UTC 2018
>
> Platform: debian-amd64
>
> Options: bn(64,64) rc4(16x,int) des(idx,cisc,16,int) blowfish(idx)
>
> Compiler: cc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT
> -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -g -O2
> -fstack-protector --param=ssp-buffer-size=4 -Wformat
> -Werror=format-security -D_FORTIFY_SOURCE = 2 -Wl, -Bsymbolic-functions
> -Wl, -z, relro -Wa, - noexecstack -Wall -DMD32_REG_T = int
> -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5
> -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM
> -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
>
> OPENSSLDIR: "/usr/lib/ssl"
>
>
>
> ________________________________
> 发件人: Rafael Weingärtner <rafaelweingart...@gmail.com>
> 发送时间: Tuesday, November 13, 2018 11:44:37 PM
> 收件人: dev
> 抄送: users
> 主题: Re: Build CloudStack 4.10.0 Error
>
> This is a known problem, and it is fixed with:
> https://github.com/apache/cloudstack/pull/2674
>
> On Tue, Nov 13, 2018 at 1:42 PM Rohit Yadav <rohit.ya...@shapeblue.com>
> wrote:
>
> > Can you try with 4.11 branch or latest master? 4.10 is not a maintained
> > branch and likely have env caused errors due to supported ciphers and tls
> > versions in jre/jdk.
> >
> > Regards.
> >
> >
> > Regards,
> > Rohit Yadav
> >
> > ________________________________
> > From: li jerry <div...@hotmail.com>
> > Sent: Tuesday, November 13, 2018 9:04:34 PM
> > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
> > Subject: Build CloudStack 4.10.0 Error
> >
> > Hi All
> >
> >        I made a mistake in compiling cloudstack 4.10.0 through docker
> > image (khos2ow/cloudstack-deb-builder: 14.04).
> >
> > Please help me. Thank you!
> >
> > -------------------------------------------------------
> > T E S T S
> > -------------------------------------------------------
> > Running streamer.BaseElementTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 sec
> > - in streamer.BaseElementTest
> > Running streamer.ByteBufferTest
> > Tests run: 400, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.091
> > sec - in streamer.ByteBufferTest
> > Running rdpclient.MockServerTest
> > Error in mock server: Received fatal alert: handshake_failure
> > javax.net.ssl.SSLHandshakeException: Received fatal alert:
> > handshake_failure
> >        at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
> >        at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
> >        at
> sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2038)
> >        at
> > sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1135)
> >        at
> >
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
> >        at
> > sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
> >        at
> > sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
> >        at streamer.debug.MockServer.run(MockServer.java:122)
> >        at java.lang.Thread.run(Thread.java:748)
> > Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.186 sec
> > <<< FAILURE! - in rdpclient.MockServerTest
> > testIsMockServerCanUpgradeConnectionToSsl(rdpclient.MockServerTest)  Time
> > elapsed: 0.18 sec  <<< ERROR!
> > javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is
> > disabled or cipher suites are inappropriate)
> >        at sun.security.ssl.Handshaker.activate(Handshaker.java:529)
> >        at
> >
> sun.security.ssl.SSLSocketImpl.kickstartHandshake(SSLSocketImpl.java:1492)
> >        at
> >
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1361)
> >        at
> > sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
> >        at
> > sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
> >        at
> >
> rdpclient.MockServerTest.testIsMockServerCanUpgradeConnectionToSsl(MockServerTest.java:166)
> >
> > Running common.ClientTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.262 sec
> > - in common.ClientTest
> >
> > Results :
> >
> > Tests in error:
> >   MockServerTest.testIsMockServerCanUpgradeConnectionToSsl:166 ?
> > SSLHandshake No...
> >
> > Tests run: 404, Failures: 0, Errors: 1, Skipped: 0
> >
> >
> >
> > rohit.ya...@shapeblue.com
> > www.shapeblue.com<http://www.shapeblue.com>
> > Amadeus House, Floral Street, London  WC2E 9DPUK
> > @shapeblue
> >
> >
> >
> >
>
> --
> Rafael Weingärtner
>

Reply via email to