(Although I am not testing vagrant-libvirt 0.11.2) vagrand-libvirt rspec testsuite fails like below:
+ bundle exec rspec spec
Run options: exclude {acceptance: true}
............................................................................................................................FFFFF..F.......................................................................................................................................................................................................................................
Failures:
1) VagrantPlugins::ProviderLibvirt::Action::StartDomain#call nvram when being added to existing should add the nvram element
Failure/Error: libvirt_domain = env[:machine].provider.driver.connection.define_domain(new_xml)
#<Double "connection"> received :define_domain with unexpected arguments
expected: ("<domain type='qemu'>\n <name>vagrant-libvirt_default</name>\n <uuid>881a931b-0110-4d10-81aa-47a1a19f5726</uuid>\n <description>Source: /home/test/vagrant-libvirt/Vagrantfile</description>\n <memory unit='KiB'>2097152</memory>\n <currentMemory unit='KiB'>2097152</currentMemory>\n <vcpu placement='static'>2</vcpu>\n <os>\n <type arch='x86_64' machine='pc-i440fx-6.0'>hvm</type><loader type='pflash'>/path/to/loader/file</loader><nvram>/path/to/nvram/file</nvram>\n <bootmenu enable='no'/>\n <boot dev='hd'/>\n </os>\n <features>\n <acpi/>\n <apic/>\n <pae/>\n </features>\n <cpu check='partial' mode='host-model'/>\n <clock offset='utc'/>\n <on_poweroff>destroy</on_poweroff>\n <on_reboot>restart</on_reboot>\n <on_crash>destroy</on_crash>\n <devices>\n <emulator>/usr/bin/qemu-system-x86_64</emulator>\n <disk device='disk' type='file'>\n <driver name='qemu' type='qcow2'/>\n <source file='/var/lib/libvirt/images/vagrant-libvirt_default.img'/>\n ...rce network='vagrant-libvirt'/>\n <model type='virtio'/>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x05' type='pci'/>\n </interface>\n <serial type='pty'>\n <target port='0' type='isa-serial'>\n <model name='isa-serial'/>\n </target>\n </serial>\n <console type='pty'>\n <target port='0' type='serial'/>\n </console>\n <input bus='ps2' type='mouse'/>\n <input bus='ps2' type='keyboard'/>\n <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc' websocket='-1'>\n <listen address='127.0.0.1' type='address'/>\n </graphics>\n <audio id='1' type='none'/>\n <video>\n <model heads='1' primary='yes' type='cirrus' vram='16384'/>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x02' type='pci'/>\n </video>\n <memballoon model='virtio'>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x04' type='pci'/>\n </memballoon>\n </devices>\n</domain>\n")
got: ("<domain type='qemu'>\n <name>vagrant-libvirt_default</name>\n <uuid>881a931b-0110-4d10-81aa-47a1a19f5726</uuid>\n <description>Source: /home/test/vagrant-libvirt/Vagrantfile</description>\n <memory unit='KiB'>2097152</memory>\n <currentMemory unit='KiB'>2097152</currentMemory>\n <vcpu placement='static'>2</vcpu>\n <os>\n <type arch='x86_64' machine='pc-i440fx-6.0'>hvm</type><loader type='pflash'>/path/to/loader/file</loader><nvram>/path/to/nvram/file</nvram>\n <bootmenu enable='no'/>\n <boot dev='hd'/>\n </os>\n <features>\n <acpi/>\n <apic/>\n <pae/>\n </features>\n <cpu check='partial' mode='host-model'/>\n <clock offset='utc'/>\n <on_poweroff>destroy</on_poweroff>\n <on_reboot>restart</on_reboot>\n <on_crash>destroy</on_crash>\n <devices>\n <emulator>/usr/bin/qemu-system-x86_64</emulator>\n <disk device='disk' type='file'>\n <driver name='qemu' type='qcow2'/>\n <source file='/var/lib/libvirt/images/vagrant-libvirt_default.img'/>\n ...ource network='vagrant-libvirt'/>\n <model type='virtio'/>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x05' type='pci'/>\n </interface>\n <serial type='pty'>\n <target port='0' type='isa-serial'>\n <model name='isa-serial'/>\n </target>\n </serial>\n <console type='pty'>\n <target port='0' type='serial'/>\n </console>\n <input bus='ps2' type='mouse'/>\n <input bus='ps2' type='keyboard'/>\n <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc' websocket='-1'>\n <listen address='127.0.0.1' type='address'/>\n </graphics>\n <audio id='1' type='none'/>\n <video>\n <model heads='1' primary='yes' type='cirrus' vram='16384'/>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x02' type='pci'/>\n </video>\n <memballoon model='virtio'>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x04' type='pci'/>\n </memballoon>\n </devices>\n</domain>")
# ./lib/vagrant-libvirt/action/start_domain.rb:496:in 'VagrantPlugins::ProviderLibvirt::Action::StartDomain#call'
# ./spec/unit/action/start_domain_spec.rb:372:in 'block (5 levels) in <top (required)>'
# ./spec/support/unit_context.rb:51:in 'block (3 levels) in <top (required)>'
# ./spec/support/unit_context.rb:43:in 'block (2 levels) in <top (required)>'
# ./spec/support/unit_context.rb:51:in 'block (3 levels) in <top (required)>'
# ./spec/support/unit_context.rb:43:in 'block (2 levels) in <top (required)>'
2) VagrantPlugins::ProviderLibvirt::Action::StartDomain#call nvram when it was already in use should keep the XML element
Failure/Error: libvirt_domain = env[:machine].provider.driver.connection.define_domain(new_xml)
#<Double "connection"> received :define_domain with unexpected arguments
expected: ("<domain type='qemu'>\n <name>vagrant-libvirt_default</name>\n <uuid>881a931b-0110-4d10-81aa-47a1a19f5726</uuid>\n <description>Source: /home/test/vagrant-libvirt/Vagrantfile</description>\n <memory unit='KiB'>2097152</memory>\n <currentMemory unit='KiB'>2097152</currentMemory>\n <vcpu placement='static'>2</vcpu>\n <os>\n <type arch='x86_64' machine='pc-i440fx-6.0'>hvm</type>\n <bootmenu enable='no'/>\n <loader type='pflash'>/path/to/loader/file</loader>\n <nvram>/path/to/nvram/file1</nvram>\n <boot dev='hd'/>\n </os>\n <features>\n <acpi/>\n <apic/>\n <pae/>\n </features>\n <cpu check='partial' mode='host-model'/>\n <clock offset='utc'/>\n <on_poweroff>destroy</on_poweroff>\n <on_reboot>restart</on_reboot>\n <on_crash>destroy</on_crash>\n <devices>\n <emulator>/usr/bin/qemu-system-x86_64</emulator>\n <disk device='disk' type='file'>\n <driver name='qemu' type='qcow2'/>\n <source file='/var/lib/libvirt/images/vagrant-libvirt_defaul...rce network='vagrant-libvirt'/>\n <model type='virtio'/>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x05' type='pci'/>\n </interface>\n <serial type='pty'>\n <target port='0' type='isa-serial'>\n <model name='isa-serial'/>\n </target>\n </serial>\n <console type='pty'>\n <target port='0' type='serial'/>\n </console>\n <input bus='ps2' type='mouse'/>\n <input bus='ps2' type='keyboard'/>\n <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc' websocket='-1'>\n <listen address='127.0.0.1' type='address'/>\n </graphics>\n <audio id='1' type='none'/>\n <video>\n <model heads='1' primary='yes' type='cirrus' vram='16384'/>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x02' type='pci'/>\n </video>\n <memballoon model='virtio'>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x04' type='pci'/>\n </memballoon>\n </devices>\n</domain>\n")
got: ("<domain type='qemu'>\n <name>vagrant-libvirt_default</name>\n <uuid>881a931b-0110-4d10-81aa-47a1a19f5726</uuid>\n <description>Source: /home/test/vagrant-libvirt/Vagrantfile</description>\n <memory unit='KiB'>2097152</memory>\n <currentMemory unit='KiB'>2097152</currentMemory>\n <vcpu placement='static'>2</vcpu>\n <os>\n <type arch='x86_64' machine='pc-i440fx-6.0'>hvm</type>\n <bootmenu enable='no'/>\n <loader type='pflash'>/path/to/loader/file</loader>\n <nvram>/path/to/nvram/file1</nvram>\n <boot dev='hd'/>\n </os>\n <features>\n <acpi/>\n <apic/>\n <pae/>\n </features>\n <cpu check='partial' mode='host-model'/>\n <clock offset='utc'/>\n <on_poweroff>destroy</on_poweroff>\n <on_reboot>restart</on_reboot>\n <on_crash>destroy</on_crash>\n <devices>\n <emulator>/usr/bin/qemu-system-x86_64</emulator>\n <disk device='disk' type='file'>\n <driver name='qemu' type='qcow2'/>\n <source file='/var/lib/libvirt/images/vagrant-libvirt_defaul...ource network='vagrant-libvirt'/>\n <model type='virtio'/>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x05' type='pci'/>\n </interface>\n <serial type='pty'>\n <target port='0' type='isa-serial'>\n <model name='isa-serial'/>\n </target>\n </serial>\n <console type='pty'>\n <target port='0' type='serial'/>\n </console>\n <input bus='ps2' type='mouse'/>\n <input bus='ps2' type='keyboard'/>\n <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc' websocket='-1'>\n <listen address='127.0.0.1' type='address'/>\n </graphics>\n <audio id='1' type='none'/>\n <video>\n <model heads='1' primary='yes' type='cirrus' vram='16384'/>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x02' type='pci'/>\n </video>\n <memballoon model='virtio'>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x04' type='pci'/>\n </memballoon>\n </devices>\n</domain>")
# ./lib/vagrant-libvirt/action/start_domain.rb:496:in 'VagrantPlugins::ProviderLibvirt::Action::StartDomain#call'
# ./spec/unit/action/start_domain_spec.rb:393:in 'block (5 levels) in <top (required)>'
# ./spec/support/unit_context.rb:51:in 'block (3 levels) in <top (required)>'
# ./spec/support/unit_context.rb:43:in 'block (2 levels) in <top (required)>'
# ./spec/support/unit_context.rb:51:in 'block (3 levels) in <top (required)>'
# ./spec/support/unit_context.rb:43:in 'block (2 levels) in <top (required)>'
3) VagrantPlugins::ProviderLibvirt::Action::StartDomain#call nvram when it was already in use when it is being disabled should delete the XML element
Failure/Error: libvirt_domain = env[:machine].provider.driver.connection.define_domain(new_xml)
#<Double "connection"> received :define_domain with unexpected arguments
expected: ("<domain type='qemu'>\n <name>vagrant-libvirt_default</name>\n <uuid>881a931b-0110-4d10-81aa-47a1a19f5726</uuid>\n <description>Source: /home/test/vagrant-libvirt/Vagrantfile</description>\n <memory unit='KiB'>2097152</memory>\n <currentMemory unit='KiB'>2097152</currentMemory>\n <vcpu placement='static'>2</vcpu>\n <os>\n <type arch='x86_64' machine='pc-i440fx-6.0'>hvm</type>\n <bootmenu enable='no'/>\n \n \n <boot dev='hd'/>\n </os>\n <features>\n <acpi/>\n <apic/>\n <pae/>\n </features>\n <cpu check='partial' mode='host-model'/>\n <clock offset='utc'/>\n <on_poweroff>destroy</on_poweroff>\n <on_reboot>restart</on_reboot>\n <on_crash>destroy</on_crash>\n <devices>\n <emulator>/usr/bin/qemu-system-x86_64</emulator>\n <disk device='disk' type='file'>\n <driver name='qemu' type='qcow2'/>\n <source file='/var/lib/libvirt/images/vagrant-libvirt_default.img'/>\n <target bus='virtio' dev='vda'/>\n <address bus='0x00' domain='0x...rce network='vagrant-libvirt'/>\n <model type='virtio'/>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x05' type='pci'/>\n </interface>\n <serial type='pty'>\n <target port='0' type='isa-serial'>\n <model name='isa-serial'/>\n </target>\n </serial>\n <console type='pty'>\n <target port='0' type='serial'/>\n </console>\n <input bus='ps2' type='mouse'/>\n <input bus='ps2' type='keyboard'/>\n <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc' websocket='-1'>\n <listen address='127.0.0.1' type='address'/>\n </graphics>\n <audio id='1' type='none'/>\n <video>\n <model heads='1' primary='yes' type='cirrus' vram='16384'/>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x02' type='pci'/>\n </video>\n <memballoon model='virtio'>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x04' type='pci'/>\n </memballoon>\n </devices>\n</domain>\n")
got: ("<domain type='qemu'>\n <name>vagrant-libvirt_default</name>\n <uuid>881a931b-0110-4d10-81aa-47a1a19f5726</uuid>\n <description>Source: /home/test/vagrant-libvirt/Vagrantfile</description>\n <memory unit='KiB'>2097152</memory>\n <currentMemory unit='KiB'>2097152</currentMemory>\n <vcpu placement='static'>2</vcpu>\n <os>\n <type arch='x86_64' machine='pc-i440fx-6.0'>hvm</type>\n <bootmenu enable='no'/>\n \n \n <boot dev='hd'/>\n </os>\n <features>\n <acpi/>\n <apic/>\n <pae/>\n </features>\n <cpu check='partial' mode='host-model'/>\n <clock offset='utc'/>\n <on_poweroff>destroy</on_poweroff>\n <on_reboot>restart</on_reboot>\n <on_crash>destroy</on_crash>\n <devices>\n <emulator>/usr/bin/qemu-system-x86_64</emulator>\n <disk device='disk' type='file'>\n <driver name='qemu' type='qcow2'/>\n <source file='/var/lib/libvirt/images/vagrant-libvirt_default.img'/>\n <target bus='virtio' dev='vda'/>\n <address bus='0x00' domain='0x...ource network='vagrant-libvirt'/>\n <model type='virtio'/>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x05' type='pci'/>\n </interface>\n <serial type='pty'>\n <target port='0' type='isa-serial'>\n <model name='isa-serial'/>\n </target>\n </serial>\n <console type='pty'>\n <target port='0' type='serial'/>\n </console>\n <input bus='ps2' type='mouse'/>\n <input bus='ps2' type='keyboard'/>\n <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc' websocket='-1'>\n <listen address='127.0.0.1' type='address'/>\n </graphics>\n <audio id='1' type='none'/>\n <video>\n <model heads='1' primary='yes' type='cirrus' vram='16384'/>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x02' type='pci'/>\n </video>\n <memballoon model='virtio'>\n <address bus='0x00' domain='0x0000' function='0x0' slot='0x04' type='pci'/>\n </memballoon>\n </devices>\n</domain>")
# ./lib/vagrant-libvirt/action/start_domain.rb:496:in 'VagrantPlugins::ProviderLibvirt::Action::StartDomain#call'
# ./spec/unit/action/start_domain_spec.rb:407:in 'block (6 levels) in <top (required)>'
# ./spec/support/unit_context.rb:51:in 'block (3 levels) in <top (required)>'
# ./spec/support/unit_context.rb:43:in 'block (2 levels) in <top (required)>'
# ./spec/support/unit_context.rb:51:in 'block (3 levels) in <top (required)>'
# ./spec/support/unit_context.rb:43:in 'block (2 levels) in <top (required)>'
4) VagrantPlugins::ProviderLibvirt::Action::StartDomain#call tpm passthrough tpm added should modify the domain tpm_path
Failure/Error: libvirt_domain = env[:machine].provider.driver.connection.define_domain(new_xml)
#<Double "connection"> received :define_domain with unexpected arguments
expected: ("<domain xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0' type=''>\n <name/>\n <title/>\n <description/>\n <uuid/>\n <memory/>\n <vcpu>1</vcpu>\n <cpu mode='host-model'>\n <model fallback='allow'/>\n </cpu>\n <os>\n <type>hvm</type>\n <kernel/>\n <initrd/>\n <cmdline/>\n </os>\n <features>\n <acpi/>\n <apic/>\n <pae/>\n </features>\n <clock offset='utc'/>\n <devices>\n <serial type='pty'>\n <target port='0'/>\n </serial>\n <console type='pty'>\n <target port='0'/>\n </console>\n <input bus='ps2' type='mouse'/>\n <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc' websocket='-1'/>\n <video>\n <model heads='1' type='cirrus' vram='16384'/>\n </video>\n <tpm model='tpm-tis'><backend type='passthrough'><device path='/dev/tpm0'/></backend></tpm></devices>\n</domain>\n")
got: ("<domain xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0' type=''>\n <name/>\n <title/>\n <description/>\n <uuid/>\n <memory/>\n <vcpu>1</vcpu>\n <cpu mode='host-model'>\n <model fallback='allow'/>\n </cpu>\n <os>\n <type>hvm</type>\n <kernel/>\n <initrd/>\n <cmdline/>\n </os>\n <features>\n <acpi/>\n <apic/>\n <pae/>\n </features>\n <clock offset='utc'/>\n <devices>\n <serial type='pty'>\n <target port='0'/>\n </serial>\n <console type='pty'>\n <target port='0'/>\n </console>\n <input bus='ps2' type='mouse'/>\n <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc' websocket='-1'/>\n <video>\n <model heads='1' type='cirrus' vram='16384'/>\n </video>\n <tpm model='tpm-tis'><backend type='passthrough'><device path='/dev/tpm0'/></backend></tpm></devices>\n</domain>")
# ./lib/vagrant-libvirt/action/start_domain.rb:496:in 'VagrantPlugins::ProviderLibvirt::Action::StartDomain#call'
# ./spec/unit/action/start_domain_spec.rb:432:in 'block (5 levels) in <top (required)>'
# ./spec/support/unit_context.rb:51:in 'block (3 levels) in <top (required)>'
# ./spec/support/unit_context.rb:43:in 'block (2 levels) in <top (required)>'
# ./spec/support/unit_context.rb:51:in 'block (3 levels) in <top (required)>'
# ./spec/support/unit_context.rb:43:in 'block (2 levels) in <top (required)>'
5) VagrantPlugins::ProviderLibvirt::Action::StartDomain#call tpm emulated tpm added should modify the domain tpm_path
Failure/Error: libvirt_domain = env[:machine].provider.driver.connection.define_domain(new_xml)
#<Double "connection"> received :define_domain with unexpected arguments
expected: ("<domain xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0' type=''>\n <name/>\n <title/>\n <description/>\n <uuid/>\n <memory/>\n <vcpu>1</vcpu>\n <cpu mode='host-model'>\n <model fallback='allow'/>\n </cpu>\n <os>\n <type>hvm</type>\n <kernel/>\n <initrd/>\n <cmdline/>\n </os>\n <features>\n <acpi/>\n <apic/>\n <pae/>\n </features>\n <clock offset='utc'/>\n <devices>\n <serial type='pty'>\n <target port='0'/>\n </serial>\n <console type='pty'>\n <target port='0'/>\n </console>\n <input bus='ps2' type='mouse'/>\n <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc' websocket='-1'/>\n <video>\n <model heads='1' type='cirrus' vram='16384'/>\n </video>\n <tpm model='tpm-crb'><backend type='emulator' version='2.0'/></tpm></devices>\n</domain>\n")
got: ("<domain xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0' type=''>\n <name/>\n <title/>\n <description/>\n <uuid/>\n <memory/>\n <vcpu>1</vcpu>\n <cpu mode='host-model'>\n <model fallback='allow'/>\n </cpu>\n <os>\n <type>hvm</type>\n <kernel/>\n <initrd/>\n <cmdline/>\n </os>\n <features>\n <acpi/>\n <apic/>\n <pae/>\n </features>\n <clock offset='utc'/>\n <devices>\n <serial type='pty'>\n <target port='0'/>\n </serial>\n <console type='pty'>\n <target port='0'/>\n </console>\n <input bus='ps2' type='mouse'/>\n <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc' websocket='-1'/>\n <video>\n <model heads='1' type='cirrus' vram='16384'/>\n </video>\n <tpm model='tpm-crb'><backend type='emulator' version='2.0'/></tpm></devices>\n</domain>")
# ./lib/vagrant-libvirt/action/start_domain.rb:496:in 'VagrantPlugins::ProviderLibvirt::Action::StartDomain#call'
# ./spec/unit/action/start_domain_spec.rb:454:in 'block (5 levels) in <top (required)>'
# ./spec/support/unit_context.rb:51:in 'block (3 levels) in <top (required)>'
# ./spec/support/unit_context.rb:43:in 'block (2 levels) in <top (required)>'
# ./spec/support/unit_context.rb:51:in 'block (3 levels) in <top (required)>'
# ./spec/support/unit_context.rb:43:in 'block (2 levels) in <top (required)>'
6) VagrantPlugins::ProviderLibvirt::Action::StartDomain#call tpm change from passthrough to emulated should modify the domain
Failure/Error: libvirt_domain = env[:machine].provider.driver.connection.define_domain(new_xml)
#<Double "connection"> received :define_domain with unexpected arguments
expected: ("<domain xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0' type=''>\n <name/>\n <title/>\n <description/>\n <uuid/>\n <memory/>\n <vcpu>1</vcpu>\n <cpu mode='host-model'>\n <model fallback='allow'/>\n </cpu>\n <os>\n <type>hvm</type>\n <kernel/>\n <initrd/>\n <cmdline/>\n </os>\n <features>\n <acpi/>\n <apic/>\n <pae/>\n </features>\n <clock offset='utc'/>\n <devices>\n <serial type='pty'>\n <target port='0'/>\n </serial>\n <console type='pty'>\n <target port='0'/>\n </console>\n <input bus='ps2' type='mouse'/>\n <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc' websocket='-1'/>\n <video>\n <model heads='1' type='cirrus' vram='16384'/>\n </video>\n <tpm model='tpm-crb'><backend type='emulator' version='2.0'/></tpm></devices>\n</domain>\n")
got: ("<domain xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0' type=''>\n <name/>\n <title/>\n <description/>\n <uuid/>\n <memory/>\n <vcpu>1</vcpu>\n <cpu mode='host-model'>\n <model fallback='allow'/>\n </cpu>\n <os>\n <type>hvm</type>\n <kernel/>\n <initrd/>\n <cmdline/>\n </os>\n <features>\n <acpi/>\n <apic/>\n <pae/>\n </features>\n <clock offset='utc'/>\n <devices>\n <serial type='pty'>\n <target port='0'/>\n </serial>\n <console type='pty'>\n <target port='0'/>\n </console>\n <input bus='ps2' type='mouse'/>\n <graphics autoport='yes' keymap='en-us' listen='127.0.0.1' port='-1' type='vnc' websocket='-1'/>\n <video>\n <model heads='1' type='cirrus' vram='16384'/>\n </video>\n <tpm model='tpm-crb'><backend type='emulator' version='2.0'/></tpm></devices>\n</domain>")
# ./lib/vagrant-libvirt/action/start_domain.rb:496:in 'VagrantPlugins::ProviderLibvirt::Action::StartDomain#call'
# ./spec/unit/action/start_domain_spec.rb:517:in 'block (5 levels) in <top (required)>'
# ./spec/support/unit_context.rb:51:in 'block (3 levels) in <top (required)>'
# ./spec/support/unit_context.rb:43:in 'block (2 levels) in <top (required)>'
# ./spec/support/unit_context.rb:51:in 'block (3 levels) in <top (required)>'
# ./spec/support/unit_context.rb:43:in 'block (2 levels) in <top (required)>'
Finished in 2 minutes 1.9 seconds (files took 0.97049 seconds to load)
363 examples, 6 failures
Failed examples:
rspec ./spec/unit/action/start_domain_spec.rb:365 # VagrantPlugins::ProviderLibvirt::Action::StartDomain#call nvram when being added to existing should add the nvram element
rspec ./spec/unit/action/start_domain_spec.rb:386 # VagrantPlugins::ProviderLibvirt::Action::StartDomain#call nvram when it was already in use should keep the XML element
rspec ./spec/unit/action/start_domain_spec.rb:400 # VagrantPlugins::ProviderLibvirt::Action::StartDomain#call nvram when it was already in use when it is being disabled should delete the XML element
rspec ./spec/unit/action/start_domain_spec.rb:424 # VagrantPlugins::ProviderLibvirt::Action::StartDomain#call tpm passthrough tpm added should modify the domain tpm_path
rspec ./spec/unit/action/start_domain_spec.rb:446 # VagrantPlugins::ProviderLibvirt::Action::StartDomain#call tpm emulated tpm added should modify the domain tpm_path
rspec ./spec/unit/action/start_domain_spec.rb:509 # VagrantPlugins::ProviderLibvirt::Action::StartDomain#call tpm change from passthrough to emulated should modify the domain
Git bisect shows that the above failure began with
ruby/rexml@a5075c1 ,
that is the above PR:
ruby/rexml#167
(Although I am not testing vagrant-libvirt 0.11.2) vagrand-libvirt rspec testsuite fails like below:
Git bisect shows that the above failure began with
ruby/rexml@a5075c1 ,
that is the above PR:
ruby/rexml#167