Skip to content

package.sh -d centos7 ERROR #2677

Closed
Closed

Description

@saliven1970
ISSUE TYPE

Bug Report

COMPONENT NAME

packaging

CLOUDSTACK VERSION

4.12 master

CONFIGURATION
OS / ENVIRONMENT

CentOS 7.4 x64
java-1.8.0-openjdk-1.8.0.171-7.b10.el7.x86_64

SUMMARY

when cloudstack/packaging/centos7/cloud.spec

mvn -Psystemvm,developer -DskipTests $FLAGS clean package
fix to:
mvn -Psystemvm,developer $FLAGS clean package

then occur this ERROR.

use JDK1.8.0.161 build,This error will not occur.
Are unsafe encryption functions used in MockServerTest.java?

STEPS TO REPRODUCE

package.sh -d centos7

EXPECTED RESULTS

Build Success

ACTUAL RESULTS

Running common.ClientTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.242 sec - in c ommon.ClientTest
Running rdpclient.MockServerTest
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.454 sec <<< FA ILURE! - in rdpclient.MockServerTest
testIsMockServerCanUpgradeConnectionToSsl(rdpclient.MockServerTest) Time elapse d: 0.45 sec <<< ERROR!
javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabl ed 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 streamer.ByteBufferTest
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: 400, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.066 sec - in streamer.ByteBufferTest
Running streamer.BaseElementTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in s treamer.BaseElementTest

Results :

Tests in error:
MockServerTest.testIsMockServerCanUpgradeConnectionToSsl:166 ? SSLHandshake No ...

Activity

  1. rafaelweingartner commented on May 26, 2018

    @rafaelweingartner
    Member

    This is a known issue and is being fixed at #2674

  2. DaanHoogland commented on May 30, 2018

    @DaanHoogland
    Contributor

    are you sure @rafaelweingartner #2674 is about configdrive. It doesn't seem related to me.

  3. rafaelweingartner commented on May 30, 2018

    @rafaelweingartner
    Member

    @DaanHoogland 100% sure :)
    Check my comment #2674 (comment)

    There was another problem in some scenarios when building ACS. I discovered that with @khos2ow. This problem is fixed with my fourth commit there: 69961dc

  4. DaanHoogland commented on May 30, 2018

    @DaanHoogland
    Contributor

    ah, I see. wonder if these will be autoclosed ;) bit confusing

  5. rafaelweingartner commented on May 30, 2018

    @rafaelweingartner
    Member

    They should be

  6. khos2ow commented on May 30, 2018

    @khos2ow
    Contributor

    It will not be auto-closed, the #2674 body misses Fixes #2677.

  7. rafaelweingartner commented on May 30, 2018

    @rafaelweingartner
    Member

    @khos2ow thanks!
    I mixed 2674 with 2677. I added in the body of 2674, fixes 2674

  8. saliven1970 commented on Jun 8, 2018

    @saliven1970
    Author

    This is a known issue and is being fixed at #2674

  9. added this to the unplanned milestone on Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions