cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laszlo Hornyak (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8292) LibvirtComputingResourceTest failson java 1.8
Date Fri, 27 Feb 2015 22:52:05 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14340970#comment-14340970
] 

Laszlo Hornyak commented on CLOUDSTACK-8292:
--------------------------------------------

This test builds on assumption on the order of items in a HashMap. That particular map is
in LibvirtVMDef
{code:java}
    private final Map<String, Object> components = new HashMap<String, Object>();
{code}

> LibvirtComputingResourceTest failson java 1.8
> ---------------------------------------------
>
>                 Key: CLOUDSTACK-8292
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8292
>             Project: CloudStack
>          Issue Type: Sub-task
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.6.0
>            Reporter: Laszlo Hornyak
>            Assignee: Laszlo Hornyak
>
> {noformat}
> testCreateVMFromSpec(com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest)
 Time elapsed: 0.028 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<...ntu</description>
> <c[lock offset='utc'>
> </clock>
> <features>
> <pae/>
> <apic/>
> <acpi/>
> </features>
> <devices>
> <serial type='pty'>
> <target port='0'/>
> </serial>
> <graphics type='vnc' autoport='yes' listen='' passwd='mySuperSecretPassword'/>
> <console type='pty'>
> <target port='0'/>
> </console>
> <input type='tablet' bus='usb'/>
> </devices>
> <memory>512</memory>
> <currentMemory>256</currentMemory>
> <devices>
> <memballoon model='virtio'/>
> </devices>
> <vcpu>2</vcpu>
> <os>
> <type  machine='pc'>hvm</type>
> <boot dev='cdrom'/>
> <boot dev='hd'/>
> </os>
> <cpu></cpu><on_reboot>restart</on_reboot>
> <on_poweroff>destroy</on_poweroff>
> <on_crash>destroy</on_crash]>
> </domain>
> > but was:<...ntu</description>
> <c[pu></cpu><os>
> <type  machine='pc'>hvm</type>
> <boot dev='cdrom'/>
> <boot dev='hd'/>
> </os>
> <on_reboot>restart</on_reboot>
> <on_poweroff>destroy</on_poweroff>
> <on_crash>destroy</on_crash>
> <memory>512</memory>
> <currentMemory>256</currentMemory>
> <devices>
> <memballoon model='virtio'/>
> </devices>
> <vcpu>2</vcpu>
> <features>
> <pae/>
> <apic/>
> <acpi/>
> </features>
> <clock offset='utc'>
> </clock>
> <devices>
> <console type='pty'>
> <target port='0'/>
> </console>
> <serial type='pty'>
> <target port='0'/>
> </serial>
> <graphics type='vnc' autoport='yes' listen='' passwd='mySuperSecretPassword'/>
> <input type='tablet' bus='usb'/>
> </devices]>
> </domain>
> >
> 	at org.junit.Assert.assertEquals(Assert.java:115)
> 	at org.junit.Assert.assertEquals(Assert.java:144)
> 	at com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest.testCreateVMFromSpec(LibvirtComputingResourceTest.java:350)
> testCreateVMFromSpecWithTopology4(com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest)
 Time elapsed: 0.001 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<...ntu</description>
> <c[lock offset='utc'>
> </clock>
> <features>
> <pae/>
> <apic/>
> <acpi/>
> </features>
> <devices>
> <serial type='pty'>
> <target port='0'/>
> </serial>
> <graphics type='vnc' autoport='yes' listen='' passwd='mySuperSecretPassword'/>
> <console type='pty'>
> <target port='0'/>
> </console>
> <input type='tablet' bus='usb'/>
> </devices>
> <memory>512</memory>
> <currentMemory>256</currentMemory>
> <devices>
> <memballoon model='virtio'/>
> </devices>
> <vcpu>8</vcpu>
> <os>
> <type  machine='pc'>hvm</type>
> <boot dev='cdrom'/>
> <boot dev='hd'/>
> </os>
> <cpu><topology sockets='2' cores='4' threads='1' /></cpu><on_reboot>restart</on_reboot>
> <on_poweroff>destroy</on_poweroff>
> <on_crash>destroy</on_crash]>
> </domain>
> > but was:<...ntu</description>
> <c[pu><topology sockets='2' cores='4' threads='1' /></cpu><os>
> <type  machine='pc'>hvm</type>
> <boot dev='cdrom'/>
> <boot dev='hd'/>
> </os>
> <on_reboot>restart</on_reboot>
> <on_poweroff>destroy</on_poweroff>
> <on_crash>destroy</on_crash>
> <memory>512</memory>
> <currentMemory>256</currentMemory>
> <devices>
> <memballoon model='virtio'/>
> </devices>
> <vcpu>8</vcpu>
> <features>
> <pae/>
> <apic/>
> <acpi/>
> </features>
> <clock offset='utc'>
> </clock>
> <devices>
> <console type='pty'>
> <target port='0'/>
> </console>
> <serial type='pty'>
> <target port='0'/>
> </serial>
> <graphics type='vnc' autoport='yes' listen='' passwd='mySuperSecretPassword'/>
> <input type='tablet' bus='usb'/>
> </devices]>
> </domain>
> >
> 	at org.junit.Assert.assertEquals(Assert.java:115)
> 	at org.junit.Assert.assertEquals(Assert.java:144)
> 	at com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest.testCreateVMFromSpecWithTopology4(LibvirtComputingResourceTest.java:272)
> testCreateVMFromSpecWithTopology6(com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest)
 Time elapsed: 0.002 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<...ntu</description>
> <c[lock offset='utc'>
> </clock>
> <features>
> <pae/>
> <apic/>
> <acpi/>
> </features>
> <devices>
> <serial type='pty'>
> <target port='0'/>
> </serial>
> <graphics type='vnc' autoport='yes' listen='' passwd='mySuperSecretPassword'/>
> <console type='pty'>
> <target port='0'/>
> </console>
> <input type='tablet' bus='usb'/>
> </devices>
> <memory>512</memory>
> <currentMemory>256</currentMemory>
> <devices>
> <memballoon model='virtio'/>
> </devices>
> <vcpu>12</vcpu>
> <os>
> <type  machine='pc'>hvm</type>
> <boot dev='cdrom'/>
> <boot dev='hd'/>
> </os>
> <cpu><topology sockets='2' cores='6' threads='1' /></cpu><on_reboot>restart</on_reboot>
> <on_poweroff>destroy</on_poweroff>
> <on_crash>destroy</on_crash]>
> </domain>
> > but was:<...ntu</description>
> <c[pu><topology sockets='2' cores='6' threads='1' /></cpu><os>
> <type  machine='pc'>hvm</type>
> <boot dev='cdrom'/>
> <boot dev='hd'/>
> </os>
> <on_reboot>restart</on_reboot>
> <on_poweroff>destroy</on_poweroff>
> <on_crash>destroy</on_crash>
> <memory>512</memory>
> <currentMemory>256</currentMemory>
> <devices>
> <memballoon model='virtio'/>
> </devices>
> <vcpu>12</vcpu>
> <features>
> <pae/>
> <apic/>
> <acpi/>
> </features>
> <clock offset='utc'>
> </clock>
> <devices>
> <console type='pty'>
> <target port='0'/>
> </console>
> <serial type='pty'>
> <target port='0'/>
> </serial>
> <graphics type='vnc' autoport='yes' listen='' passwd='mySuperSecretPassword'/>
> <input type='tablet' bus='usb'/>
> </devices]>
> </domain>
> >
> 	at org.junit.Assert.assertEquals(Assert.java:115)
> 	at org.junit.Assert.assertEquals(Assert.java:144)
> 	at com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest.testCreateVMFromSpecWithTopology6(LibvirtComputingResourceTest.java:202)
> testCreateVMFromSpecLegacy(com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest)
 Time elapsed: 0.002 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<...ntu</description>
> <c[lock offset='utc'>
> </clock>
> <features>
> <pae/>
> <apic/>
> <acpi/>
> </features>
> <devices>
> <serial type='pty'>
> <target port='0'/>
> </serial>
> <graphics type='vnc' autoport='yes' listen='' passwd='mySuperSecretPassword'/>
> <console type='pty'>
> <target port='0'/>
> </console>
> <input type='tablet' bus='usb'/>
> </devices>
> <memory>512</memory>
> <currentMemory>256</currentMemory>
> <devices>
> <memballoon model='virtio'/>
> </devices>
> <vcpu>1</vcpu>
> <os>
> <type  machine='pc'>hvm</type>
> <boot dev='cdrom'/>
> <boot dev='hd'/>
> </os>
> <cpu></cpu><on_reboot>restart</on_reboot>
> <on_poweroff>destroy</on_poweroff>
> <on_crash>destroy</on_crash]>
> </domain>
> > but was:<...ntu</description>
> <c[pu></cpu><os>
> <type  machine='pc'>hvm</type>
> <boot dev='cdrom'/>
> <boot dev='hd'/>
> </os>
> <on_reboot>restart</on_reboot>
> <on_poweroff>destroy</on_poweroff>
> <on_crash>destroy</on_crash>
> <memory>512</memory>
> <currentMemory>256</currentMemory>
> <devices>
> <memballoon model='virtio'/>
> </devices>
> <vcpu>1</vcpu>
> <features>
> <pae/>
> <apic/>
> <acpi/>
> </features>
> <clock offset='utc'>
> </clock>
> <devices>
> <console type='pty'>
> <target port='0'/>
> </console>
> <serial type='pty'>
> <target port='0'/>
> </serial>
> <graphics type='vnc' autoport='yes' listen='' passwd='mySuperSecretPassword'/>
> <input type='tablet' bus='usb'/>
> </devices]>
> </domain>
> >
> 	at org.junit.Assert.assertEquals(Assert.java:115)
> 	at org.junit.Assert.assertEquals(Assert.java:144)
> 	at com.cloud.hypervisor.kvm.resource.LibvirtComputingResourceTest.testCreateVMFromSpecLegacy(LibvirtComputingResourceTest.java:132)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message