cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Syed Ahmed <sah...@cloudops.com>
Subject Re: 4.3 Not Building (Test Failure)
Date Mon, 11 Nov 2013 21:40:09 GMT
Hi Mike,

Can you try and install the JCE extensions suggested by Laszlo?

Thanks,
-Syed

On 13-11-11 04:34 PM, Mike Tutkowski wrote:
> Thanks, Wei.
>
> Does this assert failure look familiar to you?
>
> -------------------------------------------------------------------------------
>
> Test set: org.apache.cloudstack.network.lb.CertServiceTest
>
> -------------------------------------------------------------------------------
>
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.817 sec
> <<< FAILURE!
>
> testUploadSslCert(org.apache.cloudstack.network.lb.CertServiceTest)  Time
> elapsed: 0.806 sec  <<< FAILURE!
>
> junit.framework.AssertionFailedError
>
> at junit.framework.Assert.fail(Assert.java:48)
>
> at junit.framework.Assert.assertTrue(Assert.java:20)
>
> at junit.framework.Assert.assertTrue(Assert.java:27)
>
> at
> org.apache.cloudstack.network.lb.CertServiceTest.runUploadSslCertNoChain(CertServiceTest.java:401)
>
> at
> org.apache.cloudstack.network.lb.CertServiceTest.testUploadSslCert(CertServiceTest.java:95)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:606)
>
> at junit.framework.TestCase.runTest(TestCase.java:168)
>
> at junit.framework.TestCase.runBare(TestCase.java:134)
>
> at junit.framework.TestResult$1.protect(TestResult.java:110)
>
> at junit.framework.TestResult.runProtected(TestResult.java:128)
>
> at junit.framework.TestResult.run(TestResult.java:113)
>
> at junit.framework.TestCase.run(TestCase.java:124)
>
> at junit.framework.TestSuite.runTest(TestSuite.java:243)
>
> at junit.framework.TestSuite.run(TestSuite.java:238)
>
> at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
>
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
>
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:606)
>
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
>
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
>
>
> On Mon, Nov 11, 2013 at 2:28 PM, Wei ZHOU <ustcweizhou@gmail.com> wrote:
>
>> I built succeed with jdk 1.6 and jdk 1.7
>>
>> Maybe some packages are missing in your environment.
>> You can get some information
>> from
>> /Users/mtutkowski/Documents/CloudStack/src/CloudStack/server/target/surefire-reports
>>
>> 2013/11/11 Mike Tutkowski <mike.tutkowski@solidfire.com>
>>
>>> Looks like I'm running (1.7...I believe this was for a Libvirt change):
>>>
>>> mtutkowski-LT:cloudstack mtutkowski$ java -version
>>> java version "1.7.0_40"
>>> Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
>>> Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
>>>
>>> You think this might be the problem?
>>>
>>>
>>> On Mon, Nov 11, 2013 at 2:02 PM, Laszlo Hornyak <
>> laszlo.hornyak@gmail.com
>>>> wrote:
>>>> Hi Mike,
>>>>
>>>> I do not see the failing unit test in the output but the
>> CertServiceTest
>>>> was failing all weekend till I installed the JCE extension into my
>> jdk6.
>>>>
>> http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
>>>> If it does not help. could you share the name of the problematic test?
>> It
>>>> should be a few lines over the error message.
>>>>
>>>> Thx,
>>>> Laszlo
>>>>
>>>>
>>>> On Mon, Nov 11, 2013 at 9:53 PM, Mike Tutkowski <
>>>> mike.tutkowski@solidfire.com> wrote:
>>>>
>>>>> Anyone know anything about this issue?
>>>>>
>>>>> Thanks!
>>>>>
>>>>> [INFO] Apache CloudStack Server .......................... FAILURE
>>>>> [36.923s]
>>>>> [INFO] Apache CloudStack Usage Server .................... SKIPPED
>>>>> [INFO] Apache XenSource XAPI ............................. SKIPPED
>>>>> [INFO] Apache CloudStack Cloud Engine Orchestration Component
>>   SKIPPED
>>>>> [INFO] Apache CloudStack Cloud Services .................. SKIPPED
>>>>> [INFO] Apache CloudStack Secondary Storage Service ....... SKIPPED
>>>>> [INFO] Apache CloudStack Engine Storage Component ........ SKIPPED
>>>>> [INFO] Apache CloudStack Engine Storage Volume Component . SKIPPED
>>>>> [INFO] Apache CloudStack Engine Storage Image Component .. SKIPPED
>>>>> [INFO] Apache CloudStack Engine Storage Data Motion Component
>>   SKIPPED
>>>>> [INFO] Apache CloudStack Engine Storage Cache Component .. SKIPPED
>>>>> [INFO] Apache CloudStack Engine Storage Snapshot Component  SKIPPED
>>>>> [INFO] Apache CloudStack Cloud Engine API ................ SKIPPED
>>>>> [INFO] Apache CloudStack Cloud Engine Service ............ SKIPPED
>>>>> [INFO] Apache CloudStack Plugin POM ...................... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - API Rate Limit ......... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - API Discovery .......... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - ACL Static Role Based .. SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor
>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Explicit Dedication Processor
>>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment
>>>> Planner
>>>>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner
>>>>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Implicit Dedication Planner
>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Host Allocator Random .. SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Dedicated Resources .... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Hypervisor OracleVM .... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Open vSwitch ........... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Hypervisor Xen ......... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Hypervisor KVM ......... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - RabbitMQ Event Bus ..... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Hypervisor Baremetal ... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Hypervisor UCS ......... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Hypervisor Hyper-V ..... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer
>>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Network Internal Load Balancer
>>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Network Juniper Contrail  SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Palo Alto .............. SKIPPED
>>>>> [INFO] Apache CloudStack Checkstyle Configuration ........ SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Network Nicira NVP ..... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment
>>>>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Midokura Midonet ....... SKIPPED
>>>>> [INFO] Apache Cloudstack Plugin - Stratosphere SSP ....... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Storage Allocator Random  SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - User Authenticator LDAP  SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - User Authenticator MD5 . SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - User Authenticator Plain Text
>>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted
>>>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Dns Notifier Example ... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Storage Image S3 ....... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Storage Image Swift provider
>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Storage Image default provider
>>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Storage Image sample provider
>>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider
>>>>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Storage Volume default provider
>>>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Storage Volume sample provider
>>>   SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - SNMP Alerts ............ SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Syslog Alerts .......... SKIPPED
>>>>> [INFO] Apache CloudStack Plugin - Network VXLAN .......... SKIPPED
>>>>> [INFO] Apache CloudStack Framework - Spring Life Cycle ... SKIPPED
>>>>> [INFO] cloud-framework-spring-module ..................... SKIPPED
>>>>> [INFO] Apache CloudStack Test ............................ SKIPPED
>>>>> [INFO] Apache CloudStack Console Proxy ................... SKIPPED
>>>>> [INFO] Apache CloudStack Console Proxy - Server .......... SKIPPED
>>>>> [INFO] Apache CloudStack System VM ....................... SKIPPED
>>>>> [INFO] Apache CloudStack Client UI ....................... SKIPPED
>>>>> [INFO] Apache CloudStack Console Proxy - RDP Client ...... SKIPPED
>>>>> [INFO] Apache CloudStack Framework - QuickCloud .......... SKIPPED
>>>>> [INFO] Apache CloudStack Developer Mode .................. SKIPPED
>>>>> [INFO] Apache CloudStack Developer Tools ................. SKIPPED
>>>>> [INFO] Apache CloudStack apidocs ......................... SKIPPED
>>>>> [INFO] Apache CloudStack marvin .......................... SKIPPED
>>>>> [INFO] Apache CloudStack DevCloud ........................ SKIPPED
>>>>> [INFO] Apache CloudStack DevCloud-KVM .................... SKIPPED
>>>>> [INFO]
>>>>>
>>> ------------------------------------------------------------------------
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO]
>>>>>
>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 2:03.721s
>>>>> [INFO] Finished at: Mon Nov 11 13:16:48 MST 2013
>>>>> [INFO] Final Memory: 44M/461M
>>>>> [INFO]
>>>>>
>>> ------------------------------------------------------------------------
>>>>> [ERROR] Failed to execute goal
>>>>> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
>> (default-test)
>>>> on
>>>>> project cloud-server: There are test failures.
>>>>> [ERROR]
>>>>> [ERROR] Please refer to
>>>>>
>>>>>
>> /Users/mtutkowski/Documents/CloudStack/src/CloudStack/server/target/surefire-reports
>>>>> for the individual test results.
>>>>> [ERROR] -> [Help 1]
>>>>> [ERROR]
>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>> the
>>>> -e
>>>>> switch.
>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug
>> logging.
>>>>> [ERROR]
>>>>> [ERROR] For more information about the errors and possible solutions,
>>>>> please read the following articles:
>>>>> [ERROR] [Help 1]
>>>>>
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>>>> [ERROR]
>>>>> [ERROR] After correcting the problems, you can resume the build with
>>> the
>>>>> command
>>>>> [ERROR]   mvn <goals> -rf :cloud-server
>>>>>
>>>>>
>>>>> --
>>>>> *Mike Tutkowski*
>>>>> *Senior CloudStack Developer, SolidFire Inc.*
>>>>> e: mike.tutkowski@solidfire.com
>>>>> o: 303.746.7302
>>>>> Advancing the way the world uses the
>>>>> cloud<http://solidfire.com/solution/overview/?video=play>
>>>>> *™*
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> EOF
>>>>
>>>
>>>
>>> --
>>> *Mike Tutkowski*
>>> *Senior CloudStack Developer, SolidFire Inc.*
>>> e: mike.tutkowski@solidfire.com
>>> o: 303.746.7302
>>> Advancing the way the world uses the
>>> cloud<http://solidfire.com/solution/overview/?video=play>
>>> *™*
>>>
>
>


Mime
View raw message