[Avocado-devel] qcow2 image resets to 193K during install phase

Lucas Meneghel Rodrigues lookkas at gmail.com
Tue Dec 1 16:41:40 UTC 2015


This is most certainly something overwriting the image. Currently
avocado-vt doesn't support running multiple parallel processes, although
this is one of the work items in the queue. Until then you'll have to
ensure no other parallel process is running.

On Tue, Dec 1, 2015 at 2:08 PM Lukáš Doktor <ldoktor at redhat.com> wrote:

> Dne 1.12.2015 v 15:41 Andrei Stepanov napsal(a):
> > Okay. I have suspicion, that beaker was running another copy of avocado
> > in the same time.
>
> Yep, this seems to be the most probable cause. The image is overwritten
> just before the VM is created (qemu-img => ~193kb...).§
>
> I never seen the image to shrink (unless you have corrupted backup, then
> on the failure it'd revert it to the backuped image, but I guess that's
> not this case)
>
> >
> > On Tue, Dec 1, 2015 at 3:16 PM, Andrei Stepanov <astepano at redhat.com
> > <mailto:astepano at redhat.com>> wrote:
> >
> >     Hello
> >
> >     I see strange behavior: during
> >
> >
>  io-github-autotest-qemu.unattended_install.url.extra_cdrom_ks.default_install.aio_threads
> >
> >     test image resets in size:
> >
> >     ls -lh
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     -rw-r--r--. 1 root root 29M Dec  1 14:55
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     [root at spice-bkr02 avocado-data]# ls -lh
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     -rw-r--r--. 1 root root 193K Dec  1 14:57
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     [root at spice-bkr02 avocado-data]# ls -lh
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     -rw-r--r--. 1 root root 193K Dec  1 14:57
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     [root at spice-bkr02 avocado-data]# ls -lh
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     -rw-r--r--. 1 root root 193K Dec  1 14:57
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     [root at spice-bkr02 avocado-data]# ls -lh
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     -rw-r--r--. 1 root root 193K Dec  1 14:57
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     [root at spice-bkr02 avocado-data]# ls -lh
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     -rw-r--r--. 1 root root 1.2G Dec  1 15:03
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     [root at spice-bkr02 avocado-data]# ls -lh
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     -rw-r--r--. 1 root root 1.2G Dec  1 15:03
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     [root at spice-bkr02 avocado-data]# ls -lh
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     -rw-r--r--. 1 root root 1.2G Dec  1 15:03
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     [root at spice-bkr02 avocado-data]# ls -lh
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     -rw-r--r--. 1 root root 193K Dec  1 15:05
> /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >
> >
> >     Did you ever see such thing before?
> >
> >
> >     /usr/libexec/qemu-kvm -S -name client -machine pc -nodefaults -vga
> >     cirrus -chardev
> >
>  socket,id=hmp_id_hmp1,path=/tmp/avocado_Y14oMj/monitor-hmp1-20151201-150126-1C6zC40w,server,nowait
> >     -mon chardev=hmp_id_hmp1,mode=readline -chardev
> >
>  socket,id=hmp_id_catch_monitor,path=/tmp/avocado_Y14oMj/monitor-catch_monitor-20151201-150126-1C6zC40w,server,nowait
> >     -mon chardev=hmp_id_catch_monitor,mode=readline -device
> >     pvpanic,ioport=0x505,id=idUW38oa -chardev
> >
>  socket,id=serial_id_serial0,path=/tmp/avocado_Y14oMj/serial-serial0-20151201-150126-1C6zC40w,server,nowait
> >     -device isa-serial,chardev=serial_id_serial0 -chardev
> >
>  socket,id=seabioslog_id_20151201-150126-1C6zC40w,path=/tmp/avocado_Y14oMj/seabios-20151201-150126-1C6zC40w,server,nowait
> >     -device
> >
>  isa-debugcon,chardev=seabioslog_id_20151201-150126-1C6zC40w,iobase=0x402
> >     -device ich9-usb-ehci1,id=usb1,addr=1d.7,multifunction=on,bus=pci.0
> >     -device
> >
>  ich9-usb-uhci1,id=usb1.0,multifunction=on,masterbus=usb1.0,addr=1d.0,firstport=0,bus=pci.0
> >     -device
> >
>  ich9-usb-uhci2,id=usb1.1,multifunction=on,masterbus=usb1.0,addr=1d.2,firstport=2,bus=pci.0
> >     -device
> >
>  ich9-usb-uhci3,id=usb1.2,multifunction=on,masterbus=usb1.0,addr=1d.4,firstport=4,bus=pci.0
> >     -drive
> >
>  id=drive_image1,if=none,cache=none,aio=threads,format=qcow2,file=/mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64_client.qcow2
> >     -device
> >
>  virtio-blk-pci,id=image1,drive=drive_image1,bootindex=1,bus=pci.0,addr=03
> >     -device
> >
>  virtio-net-pci,mac=9a:9b:ac:6d:9e:9f,id=idQULI5z,vectors=4,netdev=idK3P2Mt,bus=pci.0,addr=04
> >     -netdev tap,id=idK3P2Mt,fd=16 -m 1024 -smp
> >     2,maxcpus=2,cores=1,threads=1,sockets=2 -cpu SandyBridge -drive
> >
>  id=drive_unattended,if=none,aio=threads,media=cdrom,file=/mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64/ks.iso
> >     -device
> >
>  ide-cd,id=unattended,drive=drive_unattended,bootindex=3,bus=ide.0,unit=0
> >     -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 -kernel
> >
>  /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64/vmlinuz
> >     -append ks=cdrom nicdelay=60  console=ttyS0,115200 console=tty0
> >     -initrd
> >
>  /mnt/tests/spice/qe-tests/avocado-data/avocado-vt/images/rhel67-64/initrd.img
> >     -vnc :2 -rtc base=utc,clock=host -boot
> >     order=cdn,once=c,menu=off,strict=off -enable-kvm
> >
> >
> >
> >
> > _______________________________________________
> > Avocado-devel mailing list
> > Avocado-devel at redhat.com
> > https://www.redhat.com/mailman/listinfo/avocado-devel
> >
>
> _______________________________________________
> Avocado-devel mailing list
> Avocado-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/avocado-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20151201/66531895/attachment.htm>


More information about the Avocado-devel mailing list