Github user swill commented on the pull request:

    https://github.com/apache/cloudstack/pull/1397#issuecomment-204527828
  
    I get the same behavior with Java 7.
    
    ```
    $ mvn --version
    Apache Maven 3.0.5 (Red Hat 3.0.5-16)
    Maven home: /usr/share/maven
    Java version: 1.7.0_99, vendor: Oracle Corporation
    Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.99-2.6.5.0.el7_2.x86_64/jre
    Default locale: en_US, platform encoding: UTF-8
    OS name: "linux", version: "3.10.0-327.10.1.el7.x86_64", arch: "amd64", 
family: "unix"
    ```
    
    It fails here:
    ```
    [INFO] Apache CloudStack Framework - Jobs ................ SUCCESS [2.429s]
    [INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS 
[1.062s]
    [INFO] Apache CloudStack Server .......................... FAILURE 
[1:01.548s]
    [INFO] Apache CloudStack Framework - Quota ............... SKIPPED
    [INFO] Apache CloudStack Usage Server .................... SKIPPED
    ```
    
    When running this:
    ```
    Running org.apache.cloudstack.network.lb.CertServiceTest
    Tests run: 13, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 0.325 sec 
<<< FAILURE! - in org.apache.cloudstack.network.lb.CertServiceTest
    
runUploadSslCertWithCAChain(org.apache.cloudstack.network.lb.CertServiceTest)  
Time elapsed: 0.05 sec  <<< ERROR!
    com.cloud.utils.exception.CloudRuntimeException: Error parsing certificate 
data Parsing certificate/key failed: Could not parse certificate: 
java.io.IOException: Empty input
            at 
org.apache.cloudstack.network.lb.CertServiceImpl.uploadSslCert(CertServiceImpl.java:150)
            at 
org.apache.cloudstack.network.lb.CertServiceTest.runUploadSslCertWithCAChain(CertServiceTest.java:143)
    
    runUploadSslCertBadChain(org.apache.cloudstack.network.lb.CertServiceTest)  
Time elapsed: 0.016 sec  <<< FAILURE!
    java.lang.AssertionError: null
            at org.junit.Assert.fail(Assert.java:86)
            at org.junit.Assert.assertTrue(Assert.java:41)
            at org.junit.Assert.assertTrue(Assert.java:52)
            at 
org.apache.cloudstack.network.lb.CertServiceTest.runUploadSslCertBadChain(CertServiceTest.java:290)
    
    
runUploadSslCertNoRootCert(org.apache.cloudstack.network.lb.CertServiceTest)  
Time elapsed: 0.023 sec  <<< FAILURE!
    java.lang.AssertionError: null
            at org.junit.Assert.fail(Assert.java:86)
            at org.junit.Assert.assertTrue(Assert.java:41)
            at org.junit.Assert.assertTrue(Assert.java:52)
            at 
org.apache.cloudstack.network.lb.CertServiceTest.runUploadSslCertNoRootCert(CertServiceTest.java:342)
    ```
    
    We need to better understand why this is happening...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to