[
https://issues.apache.org/jira/browse/CLOUDSTACK-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rajesh Battala resolved CLOUDSTACK-4391.
----------------------------------------
Resolution: Fixed
> Build is failing in 4.2 with Unit Test failing
> ----------------------------------------------
>
> Key: CLOUDSTACK-4391
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4391
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: KVM
> Affects Versions: 4.2.0
> Reporter: Rajesh Battala
> Assignee: Rajesh Battala
> Priority: Blocker
> Fix For: 4.2.0
>
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running com.cloud.hypervisor.kvm.resource.LibvirtVifDriverTest
> log4j:WARN No appenders could be found for logger
> (com.cloud.hypervisor.kvm.resource.LibvirtComputingResource)
> .
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
> info.
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.323 sec
> Running com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest
> Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec <<<
> FAILURE!
> testCreateVMFromSpecLegacy(com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest)
> Time elapsed: 0.00
> 7 sec <<< FAILURE!
> org.junit.ComparisonFailure: expected:<...t dev='hd'/> </os> <[cputune>
> <shares>7168</shares> </cputune> <]on_reboot>restart</o...> but was:<...t
> dev='hd'/> </os> <[]on_reboot>restart</o...>
> at org.junit.Assert.assertEquals(Assert.java:125)
> at org.junit.Assert.assertEquals(Assert.java:147)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest.testCreateVMFromSpecLegacy(LibvirtCo
> mputingResourceTest.java:113)
> testCreateVMFromSpec(com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest)
> Time elapsed: 0 sec <<< FAILURE!
> org.junit.ComparisonFailure: expected:<...t dev='hd'/> </os> <[cputune>
> <shares>2048</shares> </cputune> <]on_reboot>restart</o...> but was:<...t
> dev='hd'/> </os> <[]on_reboot>restart</o...>
> at org.junit.Assert.assertEquals(Assert.java:125)
> at org.junit.Assert.assertEquals(Assert.java:147)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest.testCreateVMFromSpec(LibvirtComputin
> gResourceTest.java:189)
> Running com.cloud.hypervisor.kvm.resource.LibvirtVMDefTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
> Running com.cloud.hypervisor.kvm.storage.KVMStorageProcessorTest
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.025 sec <<<
> FAILURE!
> testCloneVolumeFromBaseTemplate(com.cloud.hypervisor.kvm.storage.KVMStorageProcessorTest)
> Time elapsed: 0.022 sec <<< ERROR!
> javax.naming.ConfigurationException: Unable to find the call_firewall.sh
> at
> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource.configure(VirtualRoutingResource.java:1129)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.configure(LibvirtComputingResource.java:537)
> at
> com.cloud.hypervisor.kvm.storage.KVMStorageProcessorTest.setUp(KVMStorageProcessorTest.java:35)
> testCopyVolumeFromImageCacheToPrimary(com.cloud.hypervisor.kvm.storage.KVMStorageProcessorTest)
> Time elapsed: 0.003 sec <<< ERROR!
> javax.naming.ConfigurationException: Unable to find the call_firewall.sh
> at
> com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource.configure(VirtualRoutingResource.java:1129)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.configure(LibvirtComputingResource.java:537)
> at
> com.cloud.hypervisor.kvm.storage.KVMStorageProcessorTest.setUp(KVMStorageProcessorTest.java:35)
> Results :
> Failed tests:
> LibvirtComputingResourceTest.testCreateVMFromSpecLegacy:113 expected:<...t
> dev='hd'/> </os> <[cputune> <shares>7168</shares> </cputune>
> <]on_reboot>restart</o...> but was:<...t dev='hd'/> </os>
> <[]on_reboot>restart</o...>
> LibvirtComputingResourceTest.testCreateVMFromSpec:189 expected:<...t
> dev='hd'/> </os> <[cputune> <shares>2048</shares> </cputune>
> <]on_reboot>restart</o...> but was:<...t dev='hd'/> </os>
> <[]on_reboot>restart</o...>
> Tests in error:
> KVMStorageProcessorTest.setUp:35 » Configuration Unable to find the
> call_firew...
> KVMStorageProcessorTest.setUp:35 » Configuration Unable to find the
> call_firew...
> Tests run: 15, Failures: 2, Errors: 2, Skipped: 0
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira