Bug 1508799
Summary: | qemu-kvm core dumped when doing 'savevm/loadvm/delvm' for the second time | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | yilzhang |
Component: | qemu-kvm-rhev | Assignee: | Dr. David Alan Gilbert <dgilbert> |
Status: | CLOSED ERRATA | QA Contact: | Ping Li <pingl> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 7.5 | CC: | awilliam, chayang, cliao, coli, hhan, juzhang, knoel, michen, mrezanin, ngu, peterx, pingl, quintela, qzhang, virt-maint, yilzhang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.10.0-5.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-11 00:46:47 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
yilzhang
2017-11-02 09:15:37 UTC
1. This bug can be reproduced without data-plane 2. x86 also has this bug We need my upstream 5089e1862fe Fix included in qemu-kvm-rhev-2.10.0-5.el7 Do savevm, loadvm and delvm 50 times, Cannot reproduce the issue. Set the bug status as verified. Packages tested: kernel-3.10.0-776.el7 qemu-kvm-rhev-2.10.0-5.el7 Test steps: 1. Boot a guest with below cml /usr/libexec/qemu-kvm \ -name 'avocado-vt-vm1' \ -sandbox off \ -machine pc \ -nodefaults \ -vga cirrus \ -chardev socket,id=qmp_id_qmpmonitor1,path=/var/tmp/pingl/monitor-qmpmonitor1-20171109-061915-yYUvh9mI,server,nowait \ -mon chardev=qmp_id_qmpmonitor1,mode=control \ -chardev socket,id=qmp_id_catch_monitor,path=/var/tmp/pingl/monitor-catch_monitor-20171109-061915-yYUvh9mI,server,nowait \ -mon chardev=qmp_id_catch_monitor,mode=control \ -device pvpanic,ioport=0x505,id=idTefwYH \ -chardev socket,id=serial_id_serial0,path=/var/tmp/pingl/serial-serial0-20171109-061915-yYUvh9mI,server,nowait \ -device isa-serial,chardev=serial_id_serial0 \ -chardev socket,id=seabioslog_id_20171109-061915-yYUvh9mI,path=/var/tmp/pingl/seabios-20171109-061915-yYUvh9mI,server,nowait \ -device isa-debugcon,chardev=seabioslog_id_20171109-061915-yYUvh9mI,iobase=0x402 \ -device ich9-usb-ehci1,id=usb1,addr=0x1d.7,multifunction=on,bus=pci.0 \ -device ich9-usb-uhci1,id=usb1.0,multifunction=on,masterbus=usb1.0,addr=0x1d.0,firstport=0,bus=pci.0 \ -device ich9-usb-uhci2,id=usb1.1,multifunction=on,masterbus=usb1.0,addr=0x1d.2,firstport=2,bus=pci.0 \ -device ich9-usb-uhci3,id=usb1.2,multifunction=on,masterbus=usb1.0,addr=0x1d.4,firstport=4,bus=pci.0 \ -drive id=drive_image1,if=none,snapshot=off,aio=native,cache=none,format=qcow2,file=/home/tests/diskfile/rhel75.qcow2 \ -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=0x3 \ -device virtio-net-pci,mac=9a:7f:80:81:82:83,id=idpY8FeM,vectors=4,netdev=idKS30aC,bus=pci.0,addr=0x4 \ -netdev tap,id=idKS30aC \ -m 8192 \ -smp 8,maxcpus=8,cores=4,threads=1,sockets=2 \ -cpu 'Opteron_G5',+kvm_pv_unhalt \ -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 \ -vnc :0 \ -rtc base=utc,clock=host,driftfix=slew \ -boot order=cdn,once=c,menu=off,strict=off \ -enable-kvm \ -monitor stdio \ -monitor unix:/var/tmp/pingl/monitor1,server,nowait \ 2. run stress test for internal snapshot with below script. # cat test.sh #!/bin/bash GUEST_IP=10.73.75.186 error=0 for i in {1..50};do echo run time:$i echo savevm s1 | nc -U /var/tmp/pingl/monitor1 ssh $GUEST_IP dd if=/dev/urandom of=~/$i bs=50M count=1 2>/dev/null echo loadvm s1 | nc -U /var/tmp/pingl/monitor1 ssh $GUEST_IP cat /etc/hosts if [ $? -ne 0 ] ; then echo Error found >> ./err error=`expr $error + 1` fi echo delvm s1 | nc -U /var/tmp/pingl/monitor1 done echo The error numbers is: $error (qemu) run time:50 QEMU 2.10.0 monitor - type 'help' for more information (qemu) savevm s1 (qemu) QEMU 2.10.0 monitor - type 'help' for more information (qemu) loadvm s1 (qemu) 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 QEMU 2.10.0 monitor - type 'help' for more information (qemu) delvm s1 (qemu) The error numbers is: 0 *** Bug 1507739 has been marked as a duplicate of this bug. *** https://bugzilla.redhat.com/show_bug.cgi?id=1531048 is this same bug reported against Fedora. It's causing me some inconvenience in Fedora testing; can we please have it fixed for Fedora (26 / 27 / 28 / Rawhide) too? Thanks. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:1104 |