cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8292) java 1.8: LibvirtComputingResourceTest fails
Date Mon, 02 Mar 2015 11:08:04 GMT

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

ASF subversion and git services commented on CLOUDSTACK-8292:
-------------------------------------------------------------

Commit 0fda5a03a43916a7b3ae59208ba0bfc8b3e5b841 in cloudstack's branch refs/heads/master from
[~kocka]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0fda5a0 ]

CLOUDSTACK-8292: fix for java 1.8 compilation

Refactored to use the XPatch expressions to check the generated domain xml rathern than string
comparison.

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>


> java 1.8: LibvirtComputingResourceTest fails
> --------------------------------------------
>
>                 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