[Pkg-libvirt-maintainers] Bug#917673: virt-manager: FTBFS: RuntimeError: hugepages: node 1 not found
Lucas Nussbaum
lucas at debian.org
Sat Dec 29 21:49:05 GMT 2018
Source: virt-manager
Version: 1:1.5.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20181229 ftbfs-buster
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> python setup.py test
> running test
> .....................................................F........E..E..............F...........E.............................................................................................................................................F...............F...................s..FFF...................................................................................................................................................................
> ======================================================================
> ERROR: testFSPool (tests.storage.TestStorage)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/storage.py", line 122, in testFSPool
> StoragePool.TYPE_FS, "pool-fs")
> File "/<<PKGBUILDDIR>>/tests/storage.py", line 56, in createPool
> return poolCompare(pool_inst)
> File "/<<PKGBUILDDIR>>/tests/storage.py", line 67, in poolCompare
> return pool_inst.install(build=True, meter=None, create=True)
> File "/<<PKGBUILDDIR>>/virtinst/storage.py", line 531, in install
> raise RuntimeError(_("Could not define storage pool: %s") % str(e))
> RuntimeError: Could not define storage pool: operation failed: Storage source conflict with pool: 'pool-disk'
>
> ======================================================================
> ERROR: testLVPool (tests.storage.TestStorage)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/storage.py", line 142, in testLVPool
> target_path="/dev/pool-logical")
> File "/<<PKGBUILDDIR>>/tests/storage.py", line 56, in createPool
> return poolCompare(pool_inst)
> File "/<<PKGBUILDDIR>>/tests/storage.py", line 67, in poolCompare
> return pool_inst.install(build=True, meter=None, create=True)
> File "/<<PKGBUILDDIR>>/virtinst/storage.py", line 531, in install
> raise RuntimeError(_("Could not define storage pool: %s") % str(e))
> RuntimeError: Could not define storage pool: operation failed: Storage source conflict with pool: 'pool-disk'
>
> ======================================================================
> ERROR: testAlterGuest (tests.xmlparse.XMLParseTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/xmlparse.py", line 226, in testAlterGuest
> support_check=conn.SUPPORT_CONN_VMPORT)
> File "/<<PKGBUILDDIR>>/tests/xmlparse.py", line 47, in _alter_compare
> utils.test_create(conn, actualXML)
> File "/<<PKGBUILDDIR>>/tests/utils.py", line 157, in test_create
> raise RuntimeError(str(e) + "\n" + xml)
> RuntimeError: hugepages: node 1 not found
> <domain type="test">
> <name>change_name</name>
> <currentMemory>1024000</currentMemory>
> <memory>2048000</memory>
> <uuid>11111111-2222-3333-4444-555555555555</uuid>
> <os>
> <type machine="pc-0.11">xen</type>
> <loader>/foo/loader</loader>
> <boot dev="fd"/>
> <init>/sbin/init</init>
> <bootmenu enable="no"/>
> <bios useserial="yes"/>
> <initarg>foo</initarg>
> <initarg>bar baz</initarg>
> <initarg>frib</initarg>
> </os>
> <features><apic eoi="on"/>
> <hyperv>
> <spinlocks state="on" retries="54321"/>
> <relaxed state="on"/>
> </hyperv>
> <vmport state="on"/>
> <viridian/>
> <kvm>
> <hidden state="on"/>
> </kvm>
> <pvspinlock state="on"/>
> </features>
> <numatune>
> <memory nodeset="2,4,6"/>
> </numatune>
> <cpu match="strict" mode="custom">
> <model>qemu64</model>
> <vendor>qemuvendor</vendor>
> <topology sockets="4" cores="3" threads="1"/>
> <feature policy="disable" name="x2apic"/>
> <feature policy="forbid" name="lahf_lm"/>
> <feature policy="optional" name="cr8legacy"/>
> <feature policy="require" name="addfeature"/>
> </cpu>
> <clock offset="localtime">
> <timer name="rtc" tickpolicy="merge"/>
> <timer name="hpet" present="no"/>
> </clock>
> <on_poweroff>restart</on_poweroff>
> <on_reboot>destroy</on_reboot>
> <on_crash>restart</on_crash>
> <on_lockfailure>restart</on_lockfailure>
> <pm>
> <suspend-to-mem enabled="yes"/>
> <suspend-to-disk enabled="no"/>
> </pm>
> <vcpu cpuset="1-5,15" current="10">12</vcpu>
> <devices>
> <emulator>/usr/binnnn/fooemu</emulator>
> <disk type="file" device="floppy">
> <driver name="qemu" type="qcow2"/>
> <source file="/dev/default-pool/testvol1.img"/>
> <target dev="fda" bus="fdc"/>
> </disk>
> <disk type="file" device="disk">
> <driver name="qemu" type="raw"/>
> <source file="/tmp/test.img"/>
> <target dev="vda" bus="virtio"/>
> </disk>
> <disk type="block" device="disk">
> <driver name="qemu"/>
> <source dev="/dev/null"/>
> <target dev="vdb" bus="virtio"/>
> </disk>
> <disk type="block" device="cdrom">
> <target dev="hdc" bus="ide"/>
> <readonly/>
> </disk>
> <interface type="network">
> <source network="default"/>
> <mac address="22:22:33:44:55:66"/>
> <model type="virtio"/>
> </interface>
> <graphics type="vnc" display=":3.4" xauth="/tmp/.Xauthority"/>
> <console type="pty"/>
> <memballoon model="none"/>
> </devices>
> <title>Hey title changed!</title>
> <description>Hey desc changed&</description>
> <blkiotune>
> <weight>200</weight>
> <device>
> <path>/home/1.img</path>
> <weight>300</weight>
> </device>
> </blkiotune>
> <memtune>
> <hard_limit>2048</hard_limit>
> <soft_limit>200</soft_limit>
> <swap_hard_limit>400</swap_hard_limit>
> <min_guarantee>500</min_guarantee>
> </memtune>
> <memoryBacking>
> <hugepages>
> <page size="1" unit="G" nodeset="1,5-8"/>
> </hugepages>
> <nosharepages/>
> <locked/>
> </memoryBacking>
> <resource>
> <partition>/virtualmachines/production</partition>
> </resource>
> <bootloader>pygrub</bootloader>
> <idmap>
> <uid start="0" target="1000" count="10"/>
> <gid start="0" target="1000" count="10"/>
> </idmap>
> </domain>
>
>
> ======================================================================
> FAIL: test_list_os (tests.osdict.TestOSDB)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/osdict.py", line 85, in test_list_os
> assert found_fedora and found_rhel
> AssertionError
>
> ======================================================================
> FAIL: test_hyperv_clock (tests.xmlconfig.TestXMLMisc)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/xmlconfig.py", line 313, in test_hyperv_clock
> self._compare(g, "install-hyperv-clock", True)
> File "/<<PKGBUILDDIR>>/tests/xmlconfig.py", line 126, in _compare
> utils.diff_compare(actualXML, filename)
> File "/<<PKGBUILDDIR>>/tests/utils.py", line 195, in diff_compare
> raise AssertionError("Conversion outputs did not match.\n%s" % diff)
> AssertionError: Conversion outputs did not match.
> --- tests/xmlconfig-xml/install-hyperv-clock.xml
> +++ Generated Output
> @@ -55,6 +55,7 @@
> <interface type="network">
> <source network="default"/>
> <mac address="22:22:33:44:55:66"/>
> + <model type="e1000"/>
> </interface>
> <input type="tablet" bus="usb"/>
> <graphics type="vnc" port="-1" keymap="ja"/>
>
>
> ======================================================================
> FAIL: testCLI0110virt_install_w2k3_cdrom (tests.clitest.CLITests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 1109, in <lambda>
> return lambda s: cmdtemplate(s, cmd)
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 1108, in cmdtemplate
> _cmdobj.run(self)
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 276, in run
> tests.fail(err)
> AssertionError: ./virt-install --connect __virtinst_test__test:////<<PKGBUILDDIR>>/tests/testdriver.xml,predictable --name foobar --ram 64 --print-step all --nographics --noautoconsole --disk /dev/default-pool/testvol1.img --cdrom /dev/default-pool/testvol2.img --os-variant win2k3 --wait 0 --vcpus cores=4 --controller usb,model=none
> Conversion outputs did not match.
> --- tests/cli-test-xml/compare/virt-install-w2k3-cdrom.xml
> +++ Generated Output
> @@ -40,6 +40,7 @@
> <controller type="usb" index="0" model="none"/>
> <interface type="user">
> <mac address="00:11:22:33:44:55"/>
> + <model type="e1000"/>
> </interface>
> <console type="pty"/>
> </devices>
> @@ -84,6 +85,7 @@
> <controller type="usb" index="0" model="none"/>
> <interface type="user">
> <mac address="00:11:22:33:44:55"/>
> + <model type="e1000"/>
> </interface>
> <console type="pty"/>
> </devices>
>
>
> ======================================================================
> FAIL: testCLI0126virt_install_kvm_win2k3_cdrom (tests.clitest.CLITests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 1109, in <lambda>
> return lambda s: cmdtemplate(s, cmd)
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 1108, in cmdtemplate
> _cmdobj.run(self)
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 276, in run
> tests.fail(err)
> AssertionError: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:////<<PKGBUILDDIR>>/tests/testdriver.xml,predictable,qemu,domcaps=/<<PKGBUILDDIR>>/tests/capabilities-xml/kvm-x86_64-domcaps.xml,caps=/<<PKGBUILDDIR>>/tests/capabilities-xml/kvm-x86_64.xml --noautoconsole --cdrom /dev/default-pool/testvol2.img --file /dev/default-pool/testvol1.img --os-variant win2k3 --wait 0 --sound --controller usb
> Conversion outputs did not match.
> --- tests/cli-test-xml/compare/virt-install-kvm-win2k3-cdrom.xml
> +++ Generated Output
> @@ -50,6 +50,7 @@
> <interface type="bridge">
> <source bridge="eth0"/>
> <mac address="00:11:22:33:44:55"/>
> + <model type="e1000"/>
> </interface>
> <input type="tablet" bus="usb"/>
> <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
> @@ -117,6 +118,7 @@
> <interface type="bridge">
> <source bridge="eth0"/>
> <mac address="00:11:22:33:44:55"/>
> + <model type="e1000"/>
> </interface>
> <input type="tablet" bus="usb"/>
> <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
>
>
> ======================================================================
> FAIL: testCLI0149virt_install_kvm_rhel7 (tests.clitest.CLITests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 1109, in <lambda>
> return lambda s: cmdtemplate(s, cmd)
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 1108, in cmdtemplate
> _cmdobj.run(self)
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 276, in run
> tests.fail(err)
> AssertionError: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:////<<PKGBUILDDIR>>/tests/testdriver.xml,predictable,qemu,domcaps=/<<PKGBUILDDIR>>/tests/capabilities-xml/kvm-x86_64-domcaps.xml,caps=/<<PKGBUILDDIR>>/tests/capabilities-xml/kvm-x86_64.xml --noautoconsole --disk /dev/default-pool/testvol1.img --pxe --os-variant rhel7.0
> Conversion outputs did not match.
> --- tests/cli-test-xml/compare/virt-install-kvm-rhel7.xml
> +++ Generated Output
> @@ -67,6 +67,9 @@
> </video>
> <redirdev bus="usb" type="spicevmc"/>
> <redirdev bus="usb" type="spicevmc"/>
> + <rng model="virtio">
> + <backend model="random">/dev/urandom</backend>
> + </rng>
> </devices>
> </domain>
> <domain type="kvm">
> @@ -136,5 +139,8 @@
> </video>
> <redirdev bus="usb" type="spicevmc"/>
> <redirdev bus="usb" type="spicevmc"/>
> + <rng model="virtio">
> + <backend model="random">/dev/urandom</backend>
> + </rng>
> </devices>
> </domain>
>
>
> ======================================================================
> FAIL: testCLI0150virt_install_kvm_centos7 (tests.clitest.CLITests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 1109, in <lambda>
> return lambda s: cmdtemplate(s, cmd)
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 1108, in cmdtemplate
> _cmdobj.run(self)
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 276, in run
> tests.fail(err)
> AssertionError: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:////<<PKGBUILDDIR>>/tests/testdriver.xml,predictable,qemu,domcaps=/<<PKGBUILDDIR>>/tests/capabilities-xml/kvm-x86_64-domcaps.xml,caps=/<<PKGBUILDDIR>>/tests/capabilities-xml/kvm-x86_64.xml --noautoconsole --disk /dev/default-pool/testvol1.img --pxe --os-variant centos7.0
> Conversion outputs did not match.
> --- tests/cli-test-xml/compare/virt-install-kvm-centos7.xml
> +++ Generated Output
> @@ -67,6 +67,9 @@
> </video>
> <redirdev bus="usb" type="spicevmc"/>
> <redirdev bus="usb" type="spicevmc"/>
> + <rng model="virtio">
> + <backend model="random">/dev/urandom</backend>
> + </rng>
> </devices>
> </domain>
> <domain type="kvm">
> @@ -136,5 +139,8 @@
> </video>
> <redirdev bus="usb" type="spicevmc"/>
> <redirdev bus="usb" type="spicevmc"/>
> + <rng model="virtio">
> + <backend model="random">/dev/urandom</backend>
> + </rng>
> </devices>
> </domain>
>
>
> ======================================================================
> FAIL: testCLI0151virt_install_win7_uefi (tests.clitest.CLITests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 1109, in <lambda>
> return lambda s: cmdtemplate(s, cmd)
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 1108, in cmdtemplate
> _cmdobj.run(self)
> File "/<<PKGBUILDDIR>>/tests/clitest.py", line 276, in run
> tests.fail(err)
> AssertionError: ./virt-install --name foobar --ram 64 --print-step all --connect __virtinst_test__test:////<<PKGBUILDDIR>>/tests/testdriver.xml,predictable,qemu,domcaps=/<<PKGBUILDDIR>>/tests/capabilities-xml/kvm-x86_64-domcaps.xml,caps=/<<PKGBUILDDIR>>/tests/capabilities-xml/kvm-x86_64.xml --noautoconsole --os-variant win7 --cdrom /dev/default-pool/testvol2.img --boot loader_type=pflash,loader=CODE.fd,nvram_template=VARS.fd --disk /dev/default-pool/testvol1.img
> Conversion outputs did not match.
> --- tests/cli-test-xml/compare/virt-install-win7-uefi.xml
> +++ Generated Output
> @@ -55,6 +55,7 @@
> <interface type="bridge">
> <source bridge="eth0"/>
> <mac address="00:11:22:33:44:55"/>
> + <model type="e1000"/>
> </interface>
> <input type="tablet" bus="usb"/>
> <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
> @@ -127,6 +128,7 @@
> <interface type="bridge">
> <source bridge="eth0"/>
> <mac address="00:11:22:33:44:55"/>
> + <model type="e1000"/>
> </interface>
> <input type="tablet" bus="usb"/>
> <graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
>
>
> ----------------------------------------------------------------------
> Ran 439 tests in 22.286s
>
> FAILED (failures=7, errors=3, skipped=1)
> make[1]: *** [debian/rules:12: override_dh_auto_test] Error 1
The full build log is available from:
http://aws-logs.debian.net/2018/12/29/virt-manager_1.5.1-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-libvirt-maintainers
mailing list