libvirt List Archives
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

CI

Thread Start a new thread
Download
Threads by month
  • ----- 2025 -----
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2019 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2018 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2017 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2016 -----
  • December
  • November
  • October
  • September
  • August
  • July
ci@lists.libvirt.org

December 2017

  • 2 participants
  • 48 discussions
[Libvirt-ci] Fixed: libvirt/libvirt#776 (master - 69ed99c)
by Travis CI 15 Dec '17

15 Dec '17
Build Update for libvirt/libvirt ------------------------------------- Build: #776 Status: Fixed Duration: 34 minutes and 56 seconds Commit: 69ed99c (master) Author: Jim Fehlig Message: libxl: mark domain0 as persistent A Xen domain0 is better described as a persistent domain. Mark it as such during intialization. View the changeset: https://github.com/libvirt/libvirt/compare/f131dacf68f9...69ed99c78696 View the full build log and details: https://travis-ci.org/libvirt/libvirt/builds/317148909?utm_source=email&utm… -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications
1 0
0 0
[Libvirt-ci] Broken: libvirt/libvirt#775 (master - f131dac)
by Travis CI 15 Dec '17

15 Dec '17
Build Update for libvirt/libvirt ------------------------------------- Build: #775 Status: Broken Duration: 15 minutes and 24 seconds Commit: f131dac (master) Author: Andrea Bolognani Message: cfg.mk: Simplify backslash alignment check The use of [[:blank:]] was intended to cover tabs as well, but it couldn't possibly work in its current form, so the regex was tweaked in d09429abe826. With the original reason for using [[:blank:]] now gone, we can replace its usage with plain spaces. A comment about the purpose of the check is added as well. Signed-off-by: Andrea Bolognani <abologna(a)redhat.com> View the changeset: https://github.com/libvirt/libvirt/compare/16a9a2812999...f131dacf68f9 View the full build log and details: https://travis-ci.org/libvirt/libvirt/builds/316907372?utm_source=email&utm… -- You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications
1 0
0 0
[Libvirt-ci] Build failed in Jenkins: virt-manager-master-check » libvirt-freebsd-11 #1023
by ci@centos.org 14 Dec '17

14 Dec '17
See <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> ------------------------------------------ [...truncated 12.98 KB...] utils.test_create(conn, pool.get_xml_config(), "storagePoolDefineXML") File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 149, in test_create raise RuntimeError(str(e) + "\n" + xml) RuntimeError: internal error: Duplicate key <pool type="rbd"> <name>rbd-pool</name> <uuid>4bcd023e-990e-fcf6-d95c-52dd0cd938c8</uuid> <capacity unit="bytes">47256127143936</capacity> <allocation unit="bytes">5537792235090</allocation> <available unit="bytes">35978000121856</available> <source> <host name="ceph-mon-1.example.com" port="1234"/> <host name="foo.bar" port="6789"/> <host name="ceph-mon-3.example.com" port="1000"/> <name>rbd</name> <host name="frobber" port="5555"/> </source> </pool> ====================================================================== FAIL: testCLI0003virt_install_many_devices (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1092, in cmdtemplate _cmdobj.run(self) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 270, in run tests.fail(err) AssertionError: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Expected command to pass, but it didn't. Command was: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Error code : -1 Output was: ERROR Error: --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0210./virt_clone (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1092, in cmdtemplate _cmdobj.run(self) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 270, in run tests.fail(err) AssertionError: ./virt-clone --debug --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Expected command to pass, but it didn't. Command was: ./virt-clone --debug --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Error code : -1 Output was: [Wed, 13 Dec 2017 21:15:43 virt-clone 32665] DEBUG (cli:264) Launched with command line: /usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --debug --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve [Wed, 13 Dec 2017 21:15:43 virt-clone 32665] DEBUG (cloner:278) Validating original guest parameters [Wed, 13 Dec 2017 21:15:43 virt-clone 32665] DEBUG (cloner:288) Original XML: <domain type='test' id='1'> <name>origtest</name> <uuid>db69fa1f-eef0-e567-3c20-3ef16f10376b</uuid> <memory>8388608</memory> <currentMemory>2097152</currentMemory> <vcpu>2</vcpu> <os> <type arch='i686'>hvm</type> <boot dev='hd'/> </os> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <disk type='file' device='disk'> <target dev='hda' bus='ide'/> <source file='/tmp/__virtinst_cli_exist1.img'/> </disk> <disk type='file' device='disk'> <target dev='hdb' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> </disk> <disk type='file' device='cdrom'> <target dev='hdc' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> <readonly/> </disk> <disk type='file' device='floppy'> <target dev='fda' bus='fdc'/> <readonly/> </disk> </devices> </domain> [Wed, 13 Dec 2017 21:15:43 virt-clone 32665] DEBUG (diskbackend:170) Attempting to build pool=tmp target=/tmp [Wed, 13 Dec 2017 21:15:43 virt-clone 32665] DEBUG (storage:531) Creating storage pool 'tmp' with xml: <pool type="dir"> <name>tmp</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path>/tmp</path> </target> </pool> [Wed, 13 Dec 2017 21:15:43 virt-clone 32665] DEBUG (cloner:298) Original paths: ['/tmp/__virtinst_cli_exist1.img', '/tmp/__virtinst_cli_exist2.img'] [Wed, 13 Dec 2017 21:15:43 virt-clone 32665] DEBUG (cloner:300) Original sizes: [0.0, 0.0] [Wed, 13 Dec 2017 21:15:43 virt-clone 32665] DEBUG (diskbackend:170) Attempting to build pool=virt-manager-master target=/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> [Wed, 13 Dec 2017 21:15:43 virt-clone 32665] DEBUG (storage:531) Creating storage pool 'virt-manager-master' with xml: <pool type="dir"> <name>virt-manager-master</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path>/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…</path>> </target> </pool> [Wed, 13 Dec 2017 21:15:43 virt-clone 32665] DEBUG (cloner:151) Error setting clone path. Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 139, in set_clone_paths disk.path = path File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 159, in _launch_command ret = virtclone.main(conn=conn) File "virt-clone", line 204, in main not options.preserve, options.auto_clone) File "virt-clone", line 92, in get_clone_diskfile design.clone_paths = clonepaths File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 153, in set_clone_paths (path, str(e))) ValueError: Could not use path 'virt-install' for cloning: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0227virt_convert_vmx_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1092, in cmdtemplate _cmdobj.run(self) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --dry /usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --disk-format qcow2 --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --dry /usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --disk-format qcow2 --print-xml Error code : -1 Output was: Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 337, in convert_disks disk.path = newpath File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0228virt_convert_ovf_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1092, in cmdtemplate _cmdobj.run(self) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --dry /usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --disk-format none --destination /tmp --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --dry /usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --disk-format none --destination /tmp --print-xml Error code : -1 Output was: Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 337, in convert_disks disk.path = newpath File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCheckProps (tests.checkprops.CheckPropsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 33, in testCheckProps self.fail(msg) AssertionError: Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 25, in testCheckProps self.assertEqual([], fail) File "/usr/local/lib/python2.7/unittest/case.py", line 513, in assertEqual assertion_func(first, second, msg=msg) File "/usr/local/lib/python2.7/unittest/case.py", line 742, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) File "/usr/local/lib/python2.7/unittest/case.py", line 724, in assertSequenceEqual self.fail(msg) File "/usr/local/lib/python2.7/unittest/case.py", line 410, in fail raise self.failureException(msg) AssertionError: Lists differ: [] != [<XMLProperty ./source/@master... Second list contains 13 additional elements. First extra element 0: <XMLProperty ./source/@master 34427339040> - [] + [<XMLProperty ./source/@master 34427339040>, + <XMLProperty ./source/@slave 34427339144>, + <XMLProperty ./log/@file 34427340496>, + <XMLProperty ./log/@append 34427340600>, + <XMLProperty ./@socket 34428116720>, + <XMLProperty ./parameters/@profileid 34428161360>, + <XMLProperty ./parameters/@interfaceid 34428161464>, + <XMLProperty ./@trustGuestRxFilters 34428215480>, + <XMLProperty ./source/@type 34428215688>, + <XMLProperty ./source/@path 34428215792>, + <XMLProperty ./link/@state 34428216416>, + <XMLProperty ./rom/@bar 34428216728>, + <XMLProperty ./rom/@file 34428216832>] This means that there are XML properties that are untested in the test suite. This could be caused by a previous test suite failure, or if you added a new property and didn't extend the test suite. Look into extending clitest.py and/or xmlparse.py. ---------------------------------------------------------------------- Ran 438 tests in 126.653s FAILED (failures=5, errors=9) Build step 'Execute shell' marked build as failure
1 5
0 0
[Libvirt-ci] Build failed in Jenkins: virt-manager-master-check » libvirt-freebsd-10 #1023
by ci@centos.org 14 Dec '17

14 Dec '17
See <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> ------------------------------------------ [...truncated 12.99 KB...] utils.test_create(conn, pool.get_xml_config(), "storagePoolDefineXML") File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 149, in test_create raise RuntimeError(str(e) + "\n" + xml) RuntimeError: internal error: Duplicate key <pool type="rbd"> <name>rbd-pool</name> <uuid>4bcd023e-990e-fcf6-d95c-52dd0cd938c8</uuid> <capacity unit="bytes">47256127143936</capacity> <allocation unit="bytes">5537792235090</allocation> <available unit="bytes">35978000121856</available> <source> <host name="ceph-mon-1.example.com" port="1234"/> <host name="foo.bar" port="6789"/> <host name="ceph-mon-3.example.com" port="1000"/> <name>rbd</name> <host name="frobber" port="5555"/> </source> </pool> ====================================================================== FAIL: testCLI0003virt_install_many_devices (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1092, in cmdtemplate _cmdobj.run(self) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 270, in run tests.fail(err) AssertionError: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Expected command to pass, but it didn't. Command was: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Error code : -1 Output was: ERROR Error: --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0210./virt_clone (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1092, in cmdtemplate _cmdobj.run(self) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 270, in run tests.fail(err) AssertionError: ./virt-clone --debug --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Expected command to pass, but it didn't. Command was: ./virt-clone --debug --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Error code : -1 Output was: [Wed, 13 Dec 2017 21:15:43 virt-clone 81391] DEBUG (cli:264) Launched with command line: /usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --debug --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve [Wed, 13 Dec 2017 21:15:43 virt-clone 81391] DEBUG (cloner:278) Validating original guest parameters [Wed, 13 Dec 2017 21:15:43 virt-clone 81391] DEBUG (cloner:288) Original XML: <domain type='test' id='1'> <name>origtest</name> <uuid>db69fa1f-eef0-e567-3c20-3ef16f10376b</uuid> <memory>8388608</memory> <currentMemory>2097152</currentMemory> <vcpu>2</vcpu> <os> <type arch='i686'>hvm</type> <boot dev='hd'/> </os> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <disk type='file' device='disk'> <target dev='hda' bus='ide'/> <source file='/tmp/__virtinst_cli_exist1.img'/> </disk> <disk type='file' device='disk'> <target dev='hdb' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> </disk> <disk type='file' device='cdrom'> <target dev='hdc' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> <readonly/> </disk> <disk type='file' device='floppy'> <target dev='fda' bus='fdc'/> <readonly/> </disk> </devices> </domain> [Wed, 13 Dec 2017 21:15:43 virt-clone 81391] DEBUG (diskbackend:170) Attempting to build pool=tmp target=/tmp [Wed, 13 Dec 2017 21:15:43 virt-clone 81391] DEBUG (storage:531) Creating storage pool 'tmp' with xml: <pool type="dir"> <name>tmp</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path>/tmp</path> </target> </pool> [Wed, 13 Dec 2017 21:15:43 virt-clone 81391] DEBUG (cloner:298) Original paths: ['/tmp/__virtinst_cli_exist1.img', '/tmp/__virtinst_cli_exist2.img'] [Wed, 13 Dec 2017 21:15:43 virt-clone 81391] DEBUG (cloner:300) Original sizes: [0.0, 0.0] [Wed, 13 Dec 2017 21:15:43 virt-clone 81391] DEBUG (diskbackend:170) Attempting to build pool=virt-manager-master target=/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> [Wed, 13 Dec 2017 21:15:43 virt-clone 81391] DEBUG (storage:531) Creating storage pool 'virt-manager-master' with xml: <pool type="dir"> <name>virt-manager-master</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path>/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…</path>> </target> </pool> [Wed, 13 Dec 2017 21:15:43 virt-clone 81391] DEBUG (cloner:151) Error setting clone path. Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 139, in set_clone_paths disk.path = path File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 159, in _launch_command ret = virtclone.main(conn=conn) File "virt-clone", line 204, in main not options.preserve, options.auto_clone) File "virt-clone", line 92, in get_clone_diskfile design.clone_paths = clonepaths File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 153, in set_clone_paths (path, str(e))) ValueError: Could not use path 'virt-install' for cloning: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0227virt_convert_vmx_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1092, in cmdtemplate _cmdobj.run(self) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --dry /usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --disk-format qcow2 --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --dry /usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --disk-format qcow2 --print-xml Error code : -1 Output was: Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 337, in convert_disks disk.path = newpath File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0228virt_convert_ovf_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 1092, in cmdtemplate _cmdobj.run(self) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --dry /usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --disk-format none --destination /tmp --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:////usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --dry /usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…> --disk-format none --destination /tmp --print-xml Error code : -1 Output was: Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 337, in convert_disks disk.path = newpath File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCheckProps (tests.checkprops.CheckPropsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 33, in testCheckProps self.fail(msg) AssertionError: Traceback (most recent call last): File "/usr<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-freebsd…",> line 25, in testCheckProps self.assertEqual([], fail) File "/usr/local/lib/python2.7/unittest/case.py", line 513, in assertEqual assertion_func(first, second, msg=msg) File "/usr/local/lib/python2.7/unittest/case.py", line 742, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) File "/usr/local/lib/python2.7/unittest/case.py", line 724, in assertSequenceEqual self.fail(msg) File "/usr/local/lib/python2.7/unittest/case.py", line 410, in fail raise self.failureException(msg) AssertionError: Lists differ: [] != [<XMLProperty ./source/@master... Second list contains 13 additional elements. First extra element 0: <XMLProperty ./source/@master 34449101088> - [] + [<XMLProperty ./source/@master 34449101088>, + <XMLProperty ./source/@slave 34449101192>, + <XMLProperty ./log/@file 34449102544>, + <XMLProperty ./log/@append 34449102648>, + <XMLProperty ./@socket 34549604080>, + <XMLProperty ./parameters/@profileid 34549652816>, + <XMLProperty ./parameters/@interfaceid 34549652920>, + <XMLProperty ./@trustGuestRxFilters 34549751992>, + <XMLProperty ./source/@type 34549752200>, + <XMLProperty ./source/@path 34549752304>, + <XMLProperty ./link/@state 34549752928>, + <XMLProperty ./rom/@bar 34549753240>, + <XMLProperty ./rom/@file 34549753344>] This means that there are XML properties that are untested in the test suite. This could be caused by a previous test suite failure, or if you added a new property and didn't extend the test suite. Look into extending clitest.py and/or xmlparse.py. ---------------------------------------------------------------------- Ran 438 tests in 126.033s FAILED (failures=5, errors=9) Build step 'Execute shell' marked build as failure
1 5
0 0
[Libvirt-ci] Build failed in Jenkins: virt-manager-master-check » libvirt-centos-7 #1023
by ci@centos.org 14 Dec '17

14 Dec '17
See <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> ------------------------------------------ [...truncated 13.03 KB...] utils.test_create(conn, pool.get_xml_config(), "storagePoolDefineXML") File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 149, in test_create raise RuntimeError(str(e) + "\n" + xml) RuntimeError: internal error: Duplicate key <pool type="rbd"> <name>rbd-pool</name> <uuid>4bcd023e-990e-fcf6-d95c-52dd0cd938c8</uuid> <capacity unit="bytes">47256127143936</capacity> <allocation unit="bytes">5537792235090</allocation> <available unit="bytes">35978000121856</available> <source> <host name="ceph-mon-1.example.com" port="1234"/> <host name="foo.bar" port="6789"/> <host name="ceph-mon-3.example.com" port="1000"/> <name>rbd</name> <host name="frobber" port="5555"/> </source> </pool> ====================================================================== FAIL: testCLI0003virt_install_many_devices (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 270, in run tests.fail(err) AssertionError: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Expected command to pass, but it didn't. Command was: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Error code : -1 Output was: ERROR Error: --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0210./virt_clone (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 270, in run tests.fail(err) AssertionError: ./virt-clone --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Expected command to pass, but it didn't. Command was: ./virt-clone --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Error code : -1 Output was: [Wed, 13 Dec 2017 21:18:09 virt-clone 26714] DEBUG (cli:264) Launched with command line: <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve [Wed, 13 Dec 2017 21:18:09 virt-clone 26714] DEBUG (cloner:278) Validating original guest parameters [Wed, 13 Dec 2017 21:18:09 virt-clone 26714] DEBUG (cloner:288) Original XML: <domain type='test' id='1'> <name>origtest</name> <uuid>db69fa1f-eef0-e567-3c20-3ef16f10376b</uuid> <memory>8388608</memory> <currentMemory>2097152</currentMemory> <vcpu>2</vcpu> <os> <type arch='i686'>hvm</type> <boot dev='hd'/> </os> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <disk type='file' device='disk'> <target dev='hda' bus='ide'/> <source file='/tmp/__virtinst_cli_exist1.img'/> </disk> <disk type='file' device='disk'> <target dev='hdb' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> </disk> <disk type='file' device='cdrom'> <target dev='hdc' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> <readonly/> </disk> <disk type='file' device='floppy'> <target dev='fda' bus='fdc'/> <readonly/> </disk> </devices> </domain> [Wed, 13 Dec 2017 21:18:09 virt-clone 26714] DEBUG (diskbackend:170) Attempting to build pool=tmp target=/tmp [Wed, 13 Dec 2017 21:18:09 virt-clone 26714] DEBUG (storage:531) Creating storage pool 'tmp' with xml: <pool type="dir"> <name>tmp</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path>/tmp</path> </target> </pool> [Wed, 13 Dec 2017 21:18:09 virt-clone 26714] DEBUG (cloner:298) Original paths: ['/tmp/__virtinst_cli_exist1.img', '/tmp/__virtinst_cli_exist2.img'] [Wed, 13 Dec 2017 21:18:09 virt-clone 26714] DEBUG (cloner:300) Original sizes: [0.0, 0.0] [Wed, 13 Dec 2017 21:18:09 virt-clone 26714] DEBUG (diskbackend:170) Attempting to build pool=virt-manager-master target=<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> [Wed, 13 Dec 2017 21:18:09 virt-clone 26714] DEBUG (storage:531) Creating storage pool 'virt-manager-master' with xml: <pool type="dir"> <name>virt-manager-master</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path><https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…</path>> </target> </pool> [Wed, 13 Dec 2017 21:18:09 virt-clone 26714] DEBUG (cloner:151) Error setting clone path. Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 139, in set_clone_paths disk.path = path File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 159, in _launch_command ret = virtclone.main(conn=conn) File "virt-clone", line 204, in main not options.preserve, options.auto_clone) File "virt-clone", line 92, in get_clone_diskfile design.clone_paths = clonepaths File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 153, in set_clone_paths (path, str(e))) ValueError: Could not use path 'virt-install' for cloning: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0227virt_convert_vmx_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> --disk-format qcow2 --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> --disk-format qcow2 --print-xml Error code : -1 Output was: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 337, in convert_disks disk.path = newpath File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0228virt_convert_ovf_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> --disk-format none --destination /tmp --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…> --disk-format none --destination /tmp --print-xml Error code : -1 Output was: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 337, in convert_disks disk.path = newpath File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCheckProps (tests.checkprops.CheckPropsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 33, in testCheckProps self.fail(msg) AssertionError: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-centos-…",> line 25, in testCheckProps self.assertEqual([], fail) File "/usr/lib64/python2.7/unittest/case.py", line 553, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python2.7/unittest/case.py", line 782, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) File "/usr/lib64/python2.7/unittest/case.py", line 764, in assertSequenceEqual self.fail(msg) File "/usr/lib64/python2.7/unittest/case.py", line 450, in fail raise self.failureException(msg) AssertionError: Lists differ: [] != [<XMLProperty ./source/@master... Second list contains 13 additional elements. First extra element 0: <XMLProperty ./source/@master 26851128> - [] + [<XMLProperty ./source/@master 26851128>, + <XMLProperty ./source/@slave 26851232>, + <XMLProperty ./log/@file 26852584>, + <XMLProperty ./log/@append 26852688>, + <XMLProperty ./@socket 28236200>, + <XMLProperty ./parameters/@profileid 28844944>, + <XMLProperty ./parameters/@interfaceid 28845048>, + <XMLProperty ./@trustGuestRxFilters 28845672>, + <XMLProperty ./source/@type 28845880>, + <XMLProperty ./source/@path 28845984>, + <XMLProperty ./link/@state 28846608>, + <XMLProperty ./rom/@bar 28846920>, + <XMLProperty ./rom/@file 28847024>] This means that there are XML properties that are untested in the test suite. This could be caused by a previous test suite failure, or if you added a new property and didn't extend the test suite. Look into extending clitest.py and/or xmlparse.py. ---------------------------------------------------------------------- Ran 438 tests in 153.346s FAILED (failures=5, errors=9) Build step 'Execute shell' marked build as failure
1 5
0 0
[Libvirt-ci] Build failed in Jenkins: virt-manager-master-check » libvirt-fedora-26 #1023
by ci@centos.org 14 Dec '17

14 Dec '17
See <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> ------------------------------------------ [...truncated 13.06 KB...] utils.test_create(conn, pool.get_xml_config(), "storagePoolDefineXML") File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 149, in test_create raise RuntimeError(str(e) + "\n" + xml) RuntimeError: internal error: Duplicate key <pool type="rbd"> <name>rbd-pool</name> <uuid>4bcd023e-990e-fcf6-d95c-52dd0cd938c8</uuid> <capacity unit="bytes">47256127143936</capacity> <allocation unit="bytes">5537792235090</allocation> <available unit="bytes">35978000121856</available> <source> <host name="ceph-mon-1.example.com" port="1234"/> <host name="foo.bar" port="6789"/> <host name="ceph-mon-3.example.com" port="1000"/> <name>rbd</name> <host name="frobber" port="5555"/> </source> </pool> ====================================================================== FAIL: testCLI0003virt_install_many_devices (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 270, in run tests.fail(err) AssertionError: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Expected command to pass, but it didn't. Command was: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Error code : -1 Output was: ERROR Error: --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0210./virt_clone (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 270, in run tests.fail(err) AssertionError: ./virt-clone --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Expected command to pass, but it didn't. Command was: ./virt-clone --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Error code : -1 Output was: [Wed, 13 Dec 2017 21:18:05 virt-clone 12403] DEBUG (cli:264) Launched with command line: <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve [Wed, 13 Dec 2017 21:18:05 virt-clone 12403] DEBUG (cloner:278) Validating original guest parameters [Wed, 13 Dec 2017 21:18:05 virt-clone 12403] DEBUG (cloner:288) Original XML: <domain type='test' id='1'> <name>origtest</name> <uuid>db69fa1f-eef0-e567-3c20-3ef16f10376b</uuid> <memory>8388608</memory> <currentMemory>2097152</currentMemory> <vcpu>2</vcpu> <os> <type arch='i686'>hvm</type> <boot dev='hd'/> </os> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <disk type='file' device='disk'> <target dev='hda' bus='ide'/> <source file='/tmp/__virtinst_cli_exist1.img'/> </disk> <disk type='file' device='disk'> <target dev='hdb' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> </disk> <disk type='file' device='cdrom'> <target dev='hdc' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> <readonly/> </disk> <disk type='file' device='floppy'> <target dev='fda' bus='fdc'/> <readonly/> </disk> </devices> </domain> [Wed, 13 Dec 2017 21:18:05 virt-clone 12403] DEBUG (diskbackend:170) Attempting to build pool=tmp target=/tmp [Wed, 13 Dec 2017 21:18:05 virt-clone 12403] DEBUG (storage:531) Creating storage pool 'tmp' with xml: <pool type="dir"> <name>tmp</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path>/tmp</path> </target> </pool> [Wed, 13 Dec 2017 21:18:05 virt-clone 12403] DEBUG (cloner:298) Original paths: ['/tmp/__virtinst_cli_exist1.img', '/tmp/__virtinst_cli_exist2.img'] [Wed, 13 Dec 2017 21:18:05 virt-clone 12403] DEBUG (cloner:300) Original sizes: [0.0, 0.0] [Wed, 13 Dec 2017 21:18:05 virt-clone 12403] DEBUG (diskbackend:170) Attempting to build pool=virt-manager-master target=<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> [Wed, 13 Dec 2017 21:18:05 virt-clone 12403] DEBUG (storage:531) Creating storage pool 'virt-manager-master' with xml: <pool type="dir"> <name>virt-manager-master</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path><https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…</path>> </target> </pool> [Wed, 13 Dec 2017 21:18:05 virt-clone 12403] DEBUG (cloner:151) Error setting clone path. Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 139, in set_clone_paths disk.path = path File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 159, in _launch_command ret = virtclone.main(conn=conn) File "virt-clone", line 204, in main not options.preserve, options.auto_clone) File "virt-clone", line 92, in get_clone_diskfile design.clone_paths = clonepaths File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 153, in set_clone_paths (path, str(e))) ValueError: Could not use path 'virt-install' for cloning: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0227virt_convert_vmx_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --disk-format qcow2 --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --disk-format qcow2 --print-xml Error code : -1 Output was: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 337, in convert_disks disk.path = newpath File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0228virt_convert_ovf_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --disk-format none --destination /tmp --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --disk-format none --destination /tmp --print-xml Error code : -1 Output was: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 337, in convert_disks disk.path = newpath File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCheckProps (tests.checkprops.CheckPropsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 33, in testCheckProps self.fail(msg) AssertionError: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 25, in testCheckProps self.assertEqual([], fail) File "/usr/lib64/python2.7/unittest/case.py", line 551, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python2.7/unittest/case.py", line 780, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) File "/usr/lib64/python2.7/unittest/case.py", line 762, in assertSequenceEqual self.fail(msg) File "/usr/lib64/python2.7/unittest/case.py", line 448, in fail raise self.failureException(msg) AssertionError: Lists differ: [] != [<XMLProperty ./source/@master... Second list contains 13 additional elements. First extra element 0: <XMLProperty ./source/@master 140594217984496> - [] + [<XMLProperty ./source/@master 140594217984496>, + <XMLProperty ./source/@slave 140594217984600>, + <XMLProperty ./log/@file 140594217985952>, + <XMLProperty ./log/@append 140594217986056>, + <XMLProperty ./@socket 140594216948624>, + <XMLProperty ./parameters/@profileid 140594217057512>, + <XMLProperty ./parameters/@interfaceid 140594217057616>, + <XMLProperty ./@trustGuestRxFilters 140594217074768>, + <XMLProperty ./source/@type 140594217074976>, + <XMLProperty ./source/@path 140594217075080>, + <XMLProperty ./link/@state 140594217075704>, + <XMLProperty ./rom/@bar 140594217076016>, + <XMLProperty ./rom/@file 140594217076120>] This means that there are XML properties that are untested in the test suite. This could be caused by a previous test suite failure, or if you added a new property and didn't extend the test suite. Look into extending clitest.py and/or xmlparse.py. ---------------------------------------------------------------------- Ran 438 tests in 171.289s FAILED (failures=5, errors=9) Build step 'Execute shell' marked build as failure
1 5
0 0
[Libvirt-ci] Build failed in Jenkins: virt-manager-master-check » libvirt-debian-9 #1023
by ci@centos.org 14 Dec '17

14 Dec '17
See <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> ------------------------------------------ [...truncated 12.76 KB...] utils.test_create(conn, pool.get_xml_config(), "storagePoolDefineXML") File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 149, in test_create raise RuntimeError(str(e) + "\n" + xml) RuntimeError: internal error: Duplicate key <pool type="rbd"> <name>rbd-pool</name> <uuid>4bcd023e-990e-fcf6-d95c-52dd0cd938c8</uuid> <capacity unit="bytes">47256127143936</capacity> <allocation unit="bytes">5537792235090</allocation> <available unit="bytes">35978000121856</available> <source> <host name="ceph-mon-1.example.com" port="1234"/> <host name="foo.bar" port="6789"/> <host name="ceph-mon-3.example.com" port="1000"/> <name>rbd</name> <host name="frobber" port="5555"/> </source> </pool> ====================================================================== FAIL: testCLI0003virt_install_many_devices (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 270, in run tests.fail(err) AssertionError: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Expected command to pass, but it didn't. Command was: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Error code : -1 Output was: ERROR Error: --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0210./virt_clone (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 270, in run tests.fail(err) AssertionError: ./virt-clone --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Expected command to pass, but it didn't. Command was: ./virt-clone --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Error code : -1 Output was: [Wed, 13 Dec 2017 21:17:31 virt-clone 27260] DEBUG (cli:264) Launched with command line: <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve [Wed, 13 Dec 2017 21:17:31 virt-clone 27260] DEBUG (cloner:278) Validating original guest parameters [Wed, 13 Dec 2017 21:17:31 virt-clone 27260] DEBUG (cloner:288) Original XML: <domain type='test' id='1'> <name>origtest</name> <uuid>db69fa1f-eef0-e567-3c20-3ef16f10376b</uuid> <memory>8388608</memory> <currentMemory>2097152</currentMemory> <vcpu>2</vcpu> <os> <type arch='i686'>hvm</type> <boot dev='hd'/> </os> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <disk type='file' device='disk'> <target dev='hda' bus='ide'/> <source file='/tmp/__virtinst_cli_exist1.img'/> </disk> <disk type='file' device='disk'> <target dev='hdb' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> </disk> <disk type='file' device='cdrom'> <target dev='hdc' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> <readonly/> </disk> <disk type='file' device='floppy'> <target dev='fda' bus='fdc'/> <readonly/> </disk> </devices> </domain> [Wed, 13 Dec 2017 21:17:31 virt-clone 27260] DEBUG (diskbackend:170) Attempting to build pool=tmp target=/tmp [Wed, 13 Dec 2017 21:17:31 virt-clone 27260] DEBUG (storage:531) Creating storage pool 'tmp' with xml: <pool type="dir"> <name>tmp</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path>/tmp</path> </target> </pool> [Wed, 13 Dec 2017 21:17:31 virt-clone 27260] DEBUG (cloner:298) Original paths: ['/tmp/__virtinst_cli_exist1.img', '/tmp/__virtinst_cli_exist2.img'] [Wed, 13 Dec 2017 21:17:31 virt-clone 27260] DEBUG (cloner:300) Original sizes: [0.0, 0.0] [Wed, 13 Dec 2017 21:17:31 virt-clone 27260] DEBUG (diskbackend:170) Attempting to build pool=virt-manager-master target=<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> [Wed, 13 Dec 2017 21:17:31 virt-clone 27260] DEBUG (storage:531) Creating storage pool 'virt-manager-master' with xml: <pool type="dir"> <name>virt-manager-master</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path><https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…</path>> </target> </pool> [Wed, 13 Dec 2017 21:17:31 virt-clone 27260] DEBUG (cloner:151) Error setting clone path. Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 139, in set_clone_paths disk.path = path File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 159, in _launch_command ret = virtclone.main(conn=conn) File "virt-clone", line 204, in main not options.preserve, options.auto_clone) File "virt-clone", line 92, in get_clone_diskfile design.clone_paths = clonepaths File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 153, in set_clone_paths (path, str(e))) ValueError: Could not use path 'virt-install' for cloning: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0227virt_convert_vmx_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --disk-format qcow2 --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --disk-format qcow2 --print-xml Error code : -1 Output was: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 337, in convert_disks disk.path = newpath File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0228virt_convert_ovf_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --disk-format none --destination /tmp --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --disk-format none --destination /tmp --print-xml Error code : -1 Output was: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 337, in convert_disks disk.path = newpath File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCheckProps (tests.checkprops.CheckPropsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 33, in testCheckProps self.fail(msg) AssertionError: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 25, in testCheckProps self.assertEqual([], fail) File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib/python2.7/unittest/case.py", line 742, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) File "/usr/lib/python2.7/unittest/case.py", line 724, in assertSequenceEqual self.fail(msg) File "/usr/lib/python2.7/unittest/case.py", line 410, in fail raise self.failureException(msg) AssertionError: Lists differ: [] != [<XMLProperty ./source/@master... Second list contains 13 additional elements. First extra element 0: <XMLProperty ./source/@master 140680498670824> - [] + [<XMLProperty ./source/@master 140680498670824>, + <XMLProperty ./source/@slave 140680498670928>, + <XMLProperty ./log/@file 140680498717480>, + <XMLProperty ./log/@append 140680498717584>, + <XMLProperty ./@socket 140680498175624>, + <XMLProperty ./parameters/@profileid 140680498280560>, + <XMLProperty ./parameters/@interfaceid 140680498280664>, + <XMLProperty ./@trustGuestRxFilters 140680498281288>, + <XMLProperty ./source/@type 140680498281496>, + <XMLProperty ./source/@path 140680498281600>, + <XMLProperty ./link/@state 140680498282224>, + <XMLProperty ./rom/@bar 140680498340024>, + <XMLProperty ./rom/@file 140680498340128>] This means that there are XML properties that are untested in the test suite. This could be caused by a previous test suite failure, or if you added a new property and didn't extend the test suite. Look into extending clitest.py and/or xmlparse.py. ---------------------------------------------------------------------- Ran 438 tests in 214.370s FAILED (failures=5, errors=9) Build step 'Execute shell' marked build as failure
1 5
0 0
[Libvirt-ci] Build failed in Jenkins: virt-manager-master-check » libvirt-fedora-27 #1023
by ci@centos.org 14 Dec '17

14 Dec '17
See <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> ------------------------------------------ [...truncated 13.06 KB...] utils.test_create(conn, pool.get_xml_config(), "storagePoolDefineXML") File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 149, in test_create raise RuntimeError(str(e) + "\n" + xml) RuntimeError: internal error: Duplicate key <pool type="rbd"> <name>rbd-pool</name> <uuid>4bcd023e-990e-fcf6-d95c-52dd0cd938c8</uuid> <capacity unit="bytes">47256127143936</capacity> <allocation unit="bytes">5537792235090</allocation> <available unit="bytes">35978000121856</available> <source> <host name="ceph-mon-1.example.com" port="1234"/> <host name="foo.bar" port="6789"/> <host name="ceph-mon-3.example.com" port="1000"/> <name>rbd</name> <host name="frobber" port="5555"/> </source> </pool> ====================================================================== FAIL: testCLI0003virt_install_many_devices (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 270, in run tests.fail(err) AssertionError: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Expected command to pass, but it didn't. Command was: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Error code : -1 Output was: ERROR Error: --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0210./virt_clone (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 270, in run tests.fail(err) AssertionError: ./virt-clone --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Expected command to pass, but it didn't. Command was: ./virt-clone --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Error code : -1 Output was: [Wed, 13 Dec 2017 21:18:31 virt-clone 7690] DEBUG (cli:264) Launched with command line: <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve [Wed, 13 Dec 2017 21:18:31 virt-clone 7690] DEBUG (cloner:278) Validating original guest parameters [Wed, 13 Dec 2017 21:18:31 virt-clone 7690] DEBUG (cloner:288) Original XML: <domain type='test' id='1'> <name>origtest</name> <uuid>db69fa1f-eef0-e567-3c20-3ef16f10376b</uuid> <memory>8388608</memory> <currentMemory>2097152</currentMemory> <vcpu>2</vcpu> <os> <type arch='i686'>hvm</type> <boot dev='hd'/> </os> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <disk type='file' device='disk'> <target dev='hda' bus='ide'/> <source file='/tmp/__virtinst_cli_exist1.img'/> </disk> <disk type='file' device='disk'> <target dev='hdb' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> </disk> <disk type='file' device='cdrom'> <target dev='hdc' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> <readonly/> </disk> <disk type='file' device='floppy'> <target dev='fda' bus='fdc'/> <readonly/> </disk> </devices> </domain> [Wed, 13 Dec 2017 21:18:31 virt-clone 7690] DEBUG (diskbackend:170) Attempting to build pool=tmp target=/tmp [Wed, 13 Dec 2017 21:18:31 virt-clone 7690] DEBUG (storage:531) Creating storage pool 'tmp' with xml: <pool type="dir"> <name>tmp</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path>/tmp</path> </target> </pool> [Wed, 13 Dec 2017 21:18:31 virt-clone 7690] DEBUG (cloner:298) Original paths: ['/tmp/__virtinst_cli_exist1.img', '/tmp/__virtinst_cli_exist2.img'] [Wed, 13 Dec 2017 21:18:31 virt-clone 7690] DEBUG (cloner:300) Original sizes: [0.0, 0.0] [Wed, 13 Dec 2017 21:18:31 virt-clone 7690] DEBUG (diskbackend:170) Attempting to build pool=virt-manager-master target=<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> [Wed, 13 Dec 2017 21:18:31 virt-clone 7690] DEBUG (storage:531) Creating storage pool 'virt-manager-master' with xml: <pool type="dir"> <name>virt-manager-master</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path><https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…</path>> </target> </pool> [Wed, 13 Dec 2017 21:18:31 virt-clone 7690] DEBUG (cloner:151) Error setting clone path. Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 139, in set_clone_paths disk.path = path File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 159, in _launch_command ret = virtclone.main(conn=conn) File "virt-clone", line 204, in main not options.preserve, options.auto_clone) File "virt-clone", line 92, in get_clone_diskfile design.clone_paths = clonepaths File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 153, in set_clone_paths (path, str(e))) ValueError: Could not use path 'virt-install' for cloning: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0227virt_convert_vmx_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --disk-format qcow2 --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --disk-format qcow2 --print-xml Error code : -1 Output was: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 337, in convert_disks disk.path = newpath File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0228virt_convert_ovf_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --disk-format none --destination /tmp --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --disk-format none --destination /tmp --print-xml Error code : -1 Output was: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 337, in convert_disks disk.path = newpath File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCheckProps (tests.checkprops.CheckPropsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 33, in testCheckProps self.fail(msg) AssertionError: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 25, in testCheckProps self.assertEqual([], fail) File "/usr/lib64/python2.7/unittest/case.py", line 551, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python2.7/unittest/case.py", line 780, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) File "/usr/lib64/python2.7/unittest/case.py", line 762, in assertSequenceEqual self.fail(msg) File "/usr/lib64/python2.7/unittest/case.py", line 448, in fail raise self.failureException(msg) AssertionError: Lists differ: [] != [<XMLProperty ./source/@master... Second list contains 13 additional elements. First extra element 0: <XMLProperty ./source/@master 140478234190840> - [] + [<XMLProperty ./source/@master 140478234190840>, + <XMLProperty ./source/@slave 140478234190944>, + <XMLProperty ./log/@file 140478234192296>, + <XMLProperty ./log/@append 140478234192400>, + <XMLProperty ./@socket 140478229681560>, + <XMLProperty ./parameters/@profileid 140478229794544>, + <XMLProperty ./parameters/@interfaceid 140478229794648>, + <XMLProperty ./@trustGuestRxFilters 140478229824088>, + <XMLProperty ./source/@type 140478229824296>, + <XMLProperty ./source/@path 140478229824400>, + <XMLProperty ./link/@state 140478229825024>, + <XMLProperty ./rom/@bar 140478229825336>, + <XMLProperty ./rom/@file 140478229825440>] This means that there are XML properties that are untested in the test suite. This could be caused by a previous test suite failure, or if you added a new property and didn't extend the test suite. Look into extending clitest.py and/or xmlparse.py. ---------------------------------------------------------------------- Ran 438 tests in 143.657s FAILED (failures=5, errors=9) Build step 'Execute shell' marked build as failure
1 5
0 0
[Libvirt-ci] Build failed in Jenkins: virt-manager-master-check » libvirt-fedora-rawhide #1023
by ci@centos.org 14 Dec '17

14 Dec '17
See <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> ------------------------------------------ [...truncated 13.07 KB...] utils.test_create(conn, pool.get_xml_config(), "storagePoolDefineXML") File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 149, in test_create raise RuntimeError(str(e) + "\n" + xml) RuntimeError: internal error: Duplicate key <pool type="rbd"> <name>rbd-pool</name> <uuid>4bcd023e-990e-fcf6-d95c-52dd0cd938c8</uuid> <capacity unit="bytes">47256127143936</capacity> <allocation unit="bytes">5537792235090</allocation> <available unit="bytes">35978000121856</available> <source> <host name="ceph-mon-1.example.com" port="1234"/> <host name="foo.bar" port="6789"/> <host name="ceph-mon-3.example.com" port="1000"/> <name>rbd</name> <host name="frobber" port="5555"/> </source> </pool> ====================================================================== FAIL: testCLI0003virt_install_many_devices (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 270, in run tests.fail(err) AssertionError: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Expected command to pass, but it didn't. Command was: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Error code : -1 Output was: ERROR Error: --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0210./virt_clone (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 270, in run tests.fail(err) AssertionError: ./virt-clone --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Expected command to pass, but it didn't. Command was: ./virt-clone --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Error code : -1 Output was: [Wed, 13 Dec 2017 21:24:01 virt-clone 28528] DEBUG (cli:264) Launched with command line: <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve [Wed, 13 Dec 2017 21:24:01 virt-clone 28528] DEBUG (cloner:278) Validating original guest parameters [Wed, 13 Dec 2017 21:24:01 virt-clone 28528] DEBUG (cloner:288) Original XML: <domain type='test' id='1'> <name>origtest</name> <uuid>db69fa1f-eef0-e567-3c20-3ef16f10376b</uuid> <memory>8388608</memory> <currentMemory>2097152</currentMemory> <vcpu>2</vcpu> <os> <type arch='i686'>hvm</type> <boot dev='hd'/> </os> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <disk type='file' device='disk'> <target dev='hda' bus='ide'/> <source file='/tmp/__virtinst_cli_exist1.img'/> </disk> <disk type='file' device='disk'> <target dev='hdb' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> </disk> <disk type='file' device='cdrom'> <target dev='hdc' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> <readonly/> </disk> <disk type='file' device='floppy'> <target dev='fda' bus='fdc'/> <readonly/> </disk> </devices> </domain> [Wed, 13 Dec 2017 21:24:01 virt-clone 28528] DEBUG (diskbackend:170) Attempting to build pool=tmp target=/tmp [Wed, 13 Dec 2017 21:24:01 virt-clone 28528] DEBUG (storage:531) Creating storage pool 'tmp' with xml: <pool type="dir"> <name>tmp</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path>/tmp</path> </target> </pool> [Wed, 13 Dec 2017 21:24:01 virt-clone 28528] DEBUG (cloner:298) Original paths: ['/tmp/__virtinst_cli_exist1.img', '/tmp/__virtinst_cli_exist2.img'] [Wed, 13 Dec 2017 21:24:01 virt-clone 28528] DEBUG (cloner:300) Original sizes: [0.0, 0.0] [Wed, 13 Dec 2017 21:24:01 virt-clone 28528] DEBUG (diskbackend:170) Attempting to build pool=virt-manager-master target=<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> [Wed, 13 Dec 2017 21:24:01 virt-clone 28528] DEBUG (storage:531) Creating storage pool 'virt-manager-master' with xml: <pool type="dir"> <name>virt-manager-master</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path><https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…</path>> </target> </pool> [Wed, 13 Dec 2017 21:24:01 virt-clone 28528] DEBUG (cloner:151) Error setting clone path. Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 139, in set_clone_paths disk.path = path File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 159, in _launch_command ret = virtclone.main(conn=conn) File "virt-clone", line 204, in main not options.preserve, options.auto_clone) File "virt-clone", line 92, in get_clone_diskfile design.clone_paths = clonepaths File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 153, in set_clone_paths (path, str(e))) ValueError: Could not use path 'virt-install' for cloning: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0227virt_convert_vmx_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --disk-format qcow2 --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --disk-format qcow2 --print-xml Error code : -1 Output was: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 337, in convert_disks disk.path = newpath File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0228virt_convert_ovf_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --disk-format none --destination /tmp --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…> --disk-format none --destination /tmp --print-xml Error code : -1 Output was: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 337, in convert_disks disk.path = newpath File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCheckProps (tests.checkprops.CheckPropsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 33, in testCheckProps self.fail(msg) AssertionError: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-fedora-…",> line 25, in testCheckProps self.assertEqual([], fail) File "/usr/lib64/python2.7/unittest/case.py", line 551, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python2.7/unittest/case.py", line 780, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) File "/usr/lib64/python2.7/unittest/case.py", line 762, in assertSequenceEqual self.fail(msg) File "/usr/lib64/python2.7/unittest/case.py", line 448, in fail raise self.failureException(msg) AssertionError: Lists differ: [] != [<XMLProperty ./source/@master... Second list contains 13 additional elements. First extra element 0: <XMLProperty ./source/@master 139718571086216> - [] + [<XMLProperty ./source/@master 139718571086216>, + <XMLProperty ./source/@slave 139718571086320>, + <XMLProperty ./log/@file 139718571087672>, + <XMLProperty ./log/@append 139718571087776>, + <XMLProperty ./@socket 139718570042152>, + <XMLProperty ./parameters/@profileid 139718570159232>, + <XMLProperty ./parameters/@interfaceid 139718570159336>, + <XMLProperty ./@trustGuestRxFilters 139718570159960>, + <XMLProperty ./source/@type 139718570184888>, + <XMLProperty ./source/@path 139718570184992>, + <XMLProperty ./link/@state 139718570185616>, + <XMLProperty ./rom/@bar 139718570185928>, + <XMLProperty ./rom/@file 139718570186032>] This means that there are XML properties that are untested in the test suite. This could be caused by a previous test suite failure, or if you added a new property and didn't extend the test suite. Look into extending clitest.py and/or xmlparse.py. ---------------------------------------------------------------------- Ran 438 tests in 309.558s FAILED (failures=5, errors=9) Build step 'Execute shell' marked build as failure
1 5
0 0
[Libvirt-ci] Build failed in Jenkins: virt-manager-master-check » libvirt-debian-8 #1023
by ci@centos.org 14 Dec '17

14 Dec '17
See <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> ------------------------------------------ [...truncated 12.76 KB...] utils.test_create(conn, pool.get_xml_config(), "storagePoolDefineXML") File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 149, in test_create raise RuntimeError(str(e) + "\n" + xml) RuntimeError: internal error: Duplicate key <pool type="rbd"> <name>rbd-pool</name> <uuid>4bcd023e-990e-fcf6-d95c-52dd0cd938c8</uuid> <capacity unit="bytes">47256127143936</capacity> <allocation unit="bytes">5537792235090</allocation> <available unit="bytes">35978000121856</available> <source> <host name="ceph-mon-1.example.com" port="1234"/> <host name="foo.bar" port="6789"/> <host name="ceph-mon-3.example.com" port="1000"/> <name>rbd</name> <host name="frobber" port="5555"/> </source> </pool> ====================================================================== FAIL: testCLI0003virt_install_many_devices (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 270, in run tests.fail(err) AssertionError: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Expected command to pass, but it didn't. Command was: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --noautoconsole --os-variant fedora20 --vcpus 4,cores=1,placement=static --cpu none --disk /dev/default-pool/UPPER,cache=writeback,io=threads,perms=sh,serial=WD-WMAP9A966149,boot_order=2 --disk /dev/default-pool/new1.img,sparse=false,size=.001,perms=ro,error_policy=enospace,discard=unmap,detect_zeroes=yes --disk device=cdrom,bus=sata,read_bytes_sec=1,read_iops_sec=2,total_bytes_sec=10,total_iops_sec=20,write_bytes_sec=5,write_iops_sec=6 --disk size=1 --disk /iscsi-pool/diskvol1 --disk /dev/default-pool/iso-vol,seclabel.model=dac,seclabel1.model=selinux,seclabel1.relabel=no,seclabel0.label=foo,bar,baz --disk /dev/default-pool/iso-vol,format=qcow2 --disk source_pool=rbd-ceph,source_volume=some-rbd-vol,size=.1 --disk pool=rbd-ceph,size=.1 --disk source_protocol=http,source_host_name=example.com,source_host_port=8000,source_name=/path/to/my/file --disk source_protocol=nbd,source_host_transport=unix,source_host_socket=/tmp/socket,bus=scsi,logical_block_size=512,physical_block_size=512 --disk gluster://192.168.1.100/test-volume/some/dir/test-gluster.qcow2 --disk qemu+nbd:///var/foo/bar/socket,bus=usb,removable=on --disk path=http://[1:2:3:4:1:2:3:4]:5522/my/path?query=foo --disk vol=gluster-pool/test-gluster.raw,startup_policy=optional --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01 --disk /dev/default-pool/new2.img,size=1,backing_store=/tmp/foo.img,backing_format=vmdk --disk /tmp/brand-new.img,size=1,backing_store=/dev/default-pool/iso-vol --network user,mac=12:34:56:78:11:22,portgroup=foo,link_state=down,rom_bar=on,rom_file=/tmp/foo --network bridge=foobar,model=virtio,driver_name=qemu,driver_queues=3 --network bridge=ovsbr,virtualport_type=openvswitch,virtualport_profileid=demo,virtualport_interfaceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,link_state=yes --network type=direct,source=eth5,source_mode=vepa,target=mytap12,virtualport_type=802.1Qbg,virtualport_managerid=12,virtualport_typeid=1193046,virtualport_typeidversion=1,virtualport_instanceid=09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b,boot_order=1,trustGuestRxFilters=yes --network user,model=virtio,address.type=spapr-vio,address.reg=0x500 --network vhostuser,source_type=unix,source_path=/tmp/vhost1.sock,source_mode=server,model=virtio --graphics sdl --graphics spice,keymap=none --graphics vnc,port=5950,listen=1.2.3.4,keymap=ja,password=foo --graphics spice,port=5950,tlsport=5950,listen=1.2.3.4,keymap=ja --graphics spice,image_compression=foo,streaming_mode=bar,clipboard_copypaste=yes,mouse_mode=client,filetransfer_enable=on --graphics spice,gl=yes,listen=socket --graphics spice,gl=yes,listen=none --graphics spice,gl=yes,listen=none,rendernode=/dev/dri/foo --graphics spice,listens0.type=address,listens0.address=1.2.3.4 --graphics spice,listens0.type=network,listens0.network=default --graphics spice,listens0.type=socket,listens0.socket=/tmp/foobar --controller usb,model=ich9-ehci1,address=0:0:4.7,index=0 --controller usb,model=ich9-uhci1,address=0:0:4.0,index=0,master=0 --controller usb,model=ich9-uhci2,address=0:0:4.1,index=0,master=2 --controller usb,model=ich9-uhci3,address=0:0:4.2,index=0,master=4 --input type=keyboard,bus=usb --input tablet --serial tcp,host=:2222,mode=bind,protocol=telnet,log_file=/tmp/foo.log,log_append=yes --serial nmdm,source.master=/dev/foo1,source.slave=/dev/foo2 --parallel udp,host=0.0.0.0:1234,bind_host=127.0.0.1:1234 --parallel unix,path=/tmp/foo-socket --channel pty,target_type=guestfwd,target_address=127.0.0.1:10000 --channel pty,target_type=virtio,name=org.linux-kvm.port1 --console pty,target_type=virtio --channel spicevmc --hostdev net_00_1c_25_10_b1_e4,boot_order=4,rom_bar=off --host-device usb_device_781_5151_2004453082054CA1BEEE --host-device 001.003 --hostdev 15:0.1 --host-device 2:15:0.2 --hostdev 0:15:0.3,address.type=isa,address.iobase=0x500,address.irq=5 --host-device 0x0781:0x5151,driver_name=vfio --host-device 04b3:4485 --host-device pci_8086_2829_scsi_host_scsi_device_lun0 --hostdev usb_5_20 --hostdev usb_5_21 --filesystem /source,/target --filesystem template_name,/,type=template,mode=passthrough --filesystem type=file,source=/tmp/somefile.img,target=/mount/point,accessmode=squash --soundhw default --sound ac97 --video cirrus --video model=qxl,vgamem=1,ram=2,vram=3,heads=4,accel3d=yes,vram64=65 --smartcard passthrough,type=spicevmc --smartcard type=host --redirdev usb,type=spicevmc --redirdev usb,type=tcp,server=localhost:4000 --redirdev usb,type=tcp,server=127.0.0.1:4002,boot_order=3 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp --panic iobase=507 --qemu-commandline env=DISPLAY=:0.1 --qemu-commandline="-display gtk,gl=on" --qemu-commandline="-device vfio-pci,addr=05.0,sysfsdev=/sys/class/mdev_bus/0000:00:02.0/f321853c-c584-4a6b-b99a-3eee22a3919c" --qemu-commandline="-set device.video0.driver=virtio-vga" Error code : -1 Output was: ERROR Error: --disk /var,device=floppy,address.type=ccw,address.cssid=0xfe,address.ssid=0,address.devno=01: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0210./virt_clone (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 270, in run tests.fail(err) AssertionError: ./virt-clone --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Expected command to pass, but it didn't. Command was: ./virt-clone --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve Error code : -1 Output was: [Wed, 13 Dec 2017 21:12:15 virt-clone 22609] DEBUG (cli:264) Launched with command line: <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --debug --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> -n clonetest --original-xml tests/cli-test-xml/clone-disk.xml --file virt-install --file /dev/default-pool/testvol1.img --preserve [Wed, 13 Dec 2017 21:12:15 virt-clone 22609] DEBUG (cloner:278) Validating original guest parameters [Wed, 13 Dec 2017 21:12:15 virt-clone 22609] DEBUG (cloner:288) Original XML: <domain type='test' id='1'> <name>origtest</name> <uuid>db69fa1f-eef0-e567-3c20-3ef16f10376b</uuid> <memory>8388608</memory> <currentMemory>2097152</currentMemory> <vcpu>2</vcpu> <os> <type arch='i686'>hvm</type> <boot dev='hd'/> </os> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <disk type='file' device='disk'> <target dev='hda' bus='ide'/> <source file='/tmp/__virtinst_cli_exist1.img'/> </disk> <disk type='file' device='disk'> <target dev='hdb' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> </disk> <disk type='file' device='cdrom'> <target dev='hdc' bus='ide'/> <source file='/tmp/__virtinst_cli_exist2.img'/> <readonly/> </disk> <disk type='file' device='floppy'> <target dev='fda' bus='fdc'/> <readonly/> </disk> </devices> </domain> [Wed, 13 Dec 2017 21:12:15 virt-clone 22609] DEBUG (diskbackend:170) Attempting to build pool=tmp target=/tmp [Wed, 13 Dec 2017 21:12:15 virt-clone 22609] DEBUG (storage:531) Creating storage pool 'tmp' with xml: <pool type="dir"> <name>tmp</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path>/tmp</path> </target> </pool> [Wed, 13 Dec 2017 21:12:15 virt-clone 22609] DEBUG (cloner:298) Original paths: ['/tmp/__virtinst_cli_exist1.img', '/tmp/__virtinst_cli_exist2.img'] [Wed, 13 Dec 2017 21:12:15 virt-clone 22609] DEBUG (cloner:300) Original sizes: [0.0, 0.0] [Wed, 13 Dec 2017 21:12:15 virt-clone 22609] DEBUG (diskbackend:170) Attempting to build pool=virt-manager-master target=<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> [Wed, 13 Dec 2017 21:12:15 virt-clone 22609] DEBUG (storage:531) Creating storage pool 'virt-manager-master' with xml: <pool type="dir"> <name>virt-manager-master</name> <uuid>00000000-1111-2222-3333-444444444444</uuid> <target> <path><https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…</path>> </target> </pool> [Wed, 13 Dec 2017 21:12:15 virt-clone 22609] DEBUG (cloner:151) Error setting clone path. Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 139, in set_clone_paths disk.path = path File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 159, in _launch_command ret = virtclone.main(conn=conn) File "virt-clone", line 204, in main not options.preserve, options.auto_clone) File "virt-clone", line 92, in get_clone_diskfile design.clone_paths = clonepaths File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 153, in set_clone_paths (path, str(e))) ValueError: Could not use path 'virt-install' for cloning: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0227virt_convert_vmx_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --disk-format qcow2 --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --disk-format qcow2 --print-xml Error code : -1 Output was: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 337, in convert_disks disk.path = newpath File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCLI0228virt_convert_ovf_compare (tests.clitest.CLITests) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1093, in <lambda> return lambda s: cmdtemplate(s, cmd) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 1092, in cmdtemplate _cmdobj.run(self) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 270, in run tests.fail(err) AssertionError: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --disk-format none --destination /tmp --print-xml Expected command to pass, but it didn't. Command was: ./virt-convert --connect __virtinst_test__test:///<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --dry <https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…> --disk-format none --destination /tmp --print-xml Error code : -1 Output was: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 161, in _launch_command ret = virtconvert.main(conn=conn) File "virt-convert", line 111, in main destdir=options.destination, dry=options.dry) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 337, in convert_disks disk.path = newpath File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 510, in _set_path (vol_object, parent_pool) = diskbackend.manage_path(self.conn, newpath) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 176, in manage_path pool = poolxml.install(build=False, create=True, autostart=True) File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 538, in install raise RuntimeError(_("Could not define storage pool: %s") % str(e)) RuntimeError: Could not define storage pool: internal error: Duplicate key ====================================================================== FAIL: testCheckProps (tests.checkprops.CheckPropsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 33, in testCheckProps self.fail(msg) AssertionError: Traceback (most recent call last): File "<https://ci.centos.org/job/virt-manager-master-check/systems=libvirt-debian-…",> line 25, in testCheckProps self.assertEqual([], fail) File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib/python2.7/unittest/case.py", line 742, in assertListEqual self.assertSequenceEqual(list1, list2, msg, seq_type=list) File "/usr/lib/python2.7/unittest/case.py", line 724, in assertSequenceEqual self.fail(msg) File "/usr/lib/python2.7/unittest/case.py", line 410, in fail raise self.failureException(msg) AssertionError: Lists differ: [] != [<XMLProperty ./source/@master... Second list contains 13 additional elements. First extra element 0: <XMLProperty ./source/@master 140326431762544> - [] + [<XMLProperty ./source/@master 140326431762544>, + <XMLProperty ./source/@slave 140326431762648>, + <XMLProperty ./log/@file 140326431764000>, + <XMLProperty ./log/@append 140326431764104>, + <XMLProperty ./@socket 140326429702880>, + <XMLProperty ./parameters/@profileid 140326429844680>, + <XMLProperty ./parameters/@interfaceid 140326429844784>, + <XMLProperty ./@trustGuestRxFilters 140326429845408>, + <XMLProperty ./source/@type 140326429845616>, + <XMLProperty ./source/@path 140326429845720>, + <XMLProperty ./link/@state 140326429846344>, + <XMLProperty ./rom/@bar 140326429846656>, + <XMLProperty ./rom/@file 140326429846760>] This means that there are XML properties that are untested in the test suite. This could be caused by a previous test suite failure, or if you added a new property and didn't extend the test suite. Look into extending clitest.py and/or xmlparse.py. ---------------------------------------------------------------------- Ran 438 tests in 98.254s FAILED (failures=5, errors=9) Build step 'Execute shell' marked build as failure
1 5
0 0
  • ← Newer
  • 1
  • 2
  • 3
  • 4
  • 5
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.