[Bug 957379] New: KVM guest cannot allocate 1 GB on Tumbleweed i586 OBS worker
http://bugzilla.opensuse.org/show_bug.cgi?id=957379 Bug ID: 957379 Summary: KVM guest cannot allocate 1 GB on Tumbleweed i586 OBS worker Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: i586 OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: KVM Assignee: kvm-bugs@forge.provo.novell.com Reporter: afaerber@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: ---
From Virtualization qemu-testsuite log:
[ 11s] linux64 /usr/bin/qemu-kvm -nodefaults -no-reboot -nographic -vga none -cpu host -net none -kernel /var/cache/obs/worker/root_20/.mount/boot/kernel -initrd /var/cache/obs/worker/root_20/.mount/boot/initrd -append root=/dev/disk/by-id/virtio-0 rootfstype=ext3 rootflags=data=writeback,nobarrier,commit=150,noatime panic=1 quiet no-kvmclock nmi_watchdog=0 rw rd.driver.pre=binfmt_misc elevator=noop console=ttyS0 init=/.build/build -m 8000 -drive file=/var/cache/obs/worker/root_20/root,format=raw,if=none,id=disk,serial=0,cache=unsafe -device virtio-blk-pci,drive=disk -drive file=/var/cache/obs/worker/root_20/swap,format=raw,if=none,id=swap,serial=1,cache=unsafe -device virtio-blk-pci,drive=swap -serial stdio -smp 6 [ 230s] TEST: tests/qom-test... (pid=6328) [ 243s] /aarch64/qom/nuri: [ 243s] (process:6347): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported [ 245s] qemu-system-aarch64: cannot set up guest memory 'exynos4210.dram0': Cannot allocate memory [ 245s] Broken pipe [ 245s] FAIL [ 245s] GTester: last random seed: R02S40c02b337bc7d2758434fa407db9e3f4 [ 245s] (pid=6352) [ 251s] /aarch64/qom/smdkc210: [ 251s] (process:6367): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported [ 253s] qemu-system-aarch64: cannot set up guest memory 'exynos4210.dram0': Cannot allocate memory [ 253s] Broken pipe [ 253s] FAIL [ 253s] GTester: last random seed: R02S2624e2d941ed41b92b2b352232ce4577 [ 253s] (pid=6372) [ 435s] FAIL: tests/qom-test [ 435s] /home/abuild/rpmbuild/BUILD/qemu-2.4.0/tests/Makefile:480: recipe for target 'check-report-qtest-aarch64.xml' failed [ 435s] make: *** [check-report-qtest-aarch64.xml] Error 1 [ 435s] make: *** Deleting file 'check-report-qtest-aarch64.xml' [ 435s] error: Bad exit status from /var/tmp/rpm-tmp.r56unf (%build) [ 435s] [ 435s] [ 435s] RPM build errors: [ 435s] Bad exit status from /var/tmp/rpm-tmp.r56unf (%build) [ 435s] [ 435s] morla1 failed "build qemu-testsuite.spec" at Sat Nov 28 23:20:15 UTC 2015. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957379
Andreas Färber
http://bugzilla.opensuse.org/show_bug.cgi?id=957379
http://bugzilla.opensuse.org/show_bug.cgi?id=957379#c1
--- Comment #1 from Alexander Graf
http://bugzilla.opensuse.org/show_bug.cgi?id=957379
Bruce Rogers
http://bugzilla.opensuse.org/show_bug.cgi?id=957379
http://bugzilla.opensuse.org/show_bug.cgi?id=957379#c2
--- Comment #2 from Alexander Graf
http://bugzilla.opensuse.org/show_bug.cgi?id=957379
http://bugzilla.opensuse.org/show_bug.cgi?id=957379#c3
--- Comment #3 from Bruce Rogers
The make command seems to have spilled its address space with python calls and clones before the execve() to run make inside a subdirectory.
I don't think we really have to investigate this much further. We can simply do all the python calls explicitly before the qom test suite by running "make tests/qom-test" before the "make check-report.html" call.
Verifying whether it reproducibly fixes the build. If it does, I'll commit the change.
I tried this as well (semi-similar to the approach I stumbled upon of just doing the make check-report.html one more time if the first fails, which I saw consistent success with), and this succeeds for me consistently, so I think you are definitely on the right track here as a solution. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957379
http://bugzilla.opensuse.org/show_bug.cgi?id=957379#c4
Alexander Graf
participants (1)
-
bugzilla_noreply@novell.com