Skip to contentSkip to conversation

27449: regressions - FAIL

qemu-mainline test xen.org 1 participant 1 message Jun 24, 2014

lore
Share & tools
lore

xen.org

author Tested-by Riku Voipio Reviewed-by Eric Blake Reviewed-by Eric Blake Reviewed-by Eric Blake
#0 lore raw

flight 27449 qemu-mainline real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/27449/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-xl-qemuu-ovmf-amd64 11 guest-saverestore.2 fail REGR. vs. 27440

Tests which did not succeed, but are not blocking:

 test-amd64-i386-libvirt       9 guest-start                  fail   never pass
 test-amd64-amd64-libvirt      9 guest-start                  fail   never pass
 test-amd64-amd64-xl-pcipt-intel  9 guest-start                 fail never pass
 test-amd64-i386-xl-qemut-win7-amd64 14 guest-stop              fail never pass
 test-amd64-i386-xl-win7-amd64 14 guest-stop                   fail  never pass
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1 14 guest-stop         fail never pass
 test-amd64-amd64-xl-winxpsp3 14 guest-stop                   fail   never pass
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1 14 guest-stop         fail never pass
 test-amd64-amd64-xl-qemut-winxpsp3 14 guest-stop               fail never pass
 test-amd64-amd64-xl-qemut-win7-amd64 14 guest-stop             fail never pass
 test-amd64-amd64-xl-qemuu-winxpsp3 14 guest-stop               fail never pass
 test-amd64-amd64-xl-qemuu-win7-amd64 14 guest-stop             fail never pass
 test-amd64-i386-xl-qemut-winxpsp3 14 guest-stop                fail never pass
 test-amd64-i386-xl-winxpsp3-vcpus1 14 guest-stop               fail never pass
 test-amd64-amd64-xl-win7-amd64 14 guest-stop                   fail never pass

test-amd64-i386-xl-winxpsp3 14 guest-stop fail never pass
test-amd64-i386-xl-qemuu-win7-amd64 14 guest-stop fail never pass
test-amd64-i386-xl-qemuu-winxpsp3 14 guest-stop fail never pass

version targeted for testing:
qemuu d9c1647d896d3192cba9dbf98fb7efab876edde5
baseline version:
qemuu 427e1750a0b98a72cad424327604f51e993dcc5f

------------------------------------------------------------
People who touched revisions under test:
Chunyan Liu <[email protected]>
Liu Yuan <[email protected]>
Mark Cave-Ayland <[email protected]> Michael S. Tsirkin <[email protected]> Paolo Bonzini <[email protected]> Peter Crosthwaite <[email protected]> Peter Maydell <[email protected]> Riku Voipio <[email protected]>
Stefan Hajnoczi <[email protected]> Stefan Weil <[email protected]>
------------------------------------------------------------

jobs:

 build-amd64                                                  pass    
 build-i386                                                   pass    
 build-amd64-libvirt                                          pass    
 build-i386-libvirt                                           pass    
 build-amd64-pvops                                            pass    
 build-i386-pvops                                             pass    
 build-amd64-rumpuserxen                                      pass    
 build-i386-rumpuserxen                                       pass    
 test-amd64-amd64-xl                                          pass    
 test-amd64-i386-xl                                           pass    
 test-amd64-i386-rhel6hvm-amd                                 pass    
 test-amd64-i386-qemut-rhel6hvm-amd                           pass    
 test-amd64-i386-qemuu-rhel6hvm-amd                           pass    
 test-amd64-amd64-xl-qemut-debianhvm-amd64                    pass    
 test-amd64-i386-xl-qemut-debianhvm-amd64                     pass    
 test-amd64-amd64-xl-qemuu-debianhvm-amd64                    pass    
 test-amd64-i386-xl-qemuu-debianhvm-amd64                     pass    
 test-amd64-i386-freebsd10-amd64                              pass    
 test-amd64-amd64-xl-qemuu-ovmf-amd64                         fail    
 test-amd64-i386-xl-qemuu-ovmf-amd64                          pass    
 test-amd64-amd64-rumpuserxen-amd64                           pass    
 test-amd64-amd64-xl-qemut-win7-amd64                         fail    
 test-amd64-i386-xl-qemut-win7-amd64                          fail    
 test-amd64-amd64-xl-qemuu-win7-amd64                         fail    
 test-amd64-i386-xl-qemuu-win7-amd64                          fail    
 test-amd64-amd64-xl-win7-amd64                               fail    
 test-amd64-i386-xl-win7-amd64                                fail    
 test-amd64-i386-xl-credit2                                   pass    
 test-amd64-i386-freebsd10-i386                               pass    
 test-amd64-i386-rumpuserxen-i386                             pass    
 test-amd64-amd64-xl-pcipt-intel                              fail    
 test-amd64-i386-rhel6hvm-intel                               pass    
 test-amd64-i386-qemut-rhel6hvm-intel                         pass    
 test-amd64-i386-qemuu-rhel6hvm-intel                         pass    
 test-amd64-amd64-libvirt                                     fail    
 test-amd64-i386-libvirt                                      fail    
 test-amd64-i386-xl-multivcpu                                 pass    
 test-amd64-amd64-pair                                        pass    
 test-amd64-i386-pair                                         pass    
 test-amd64-amd64-xl-sedf-pin                                 pass    
 test-amd64-amd64-xl-sedf                                     pass    
 test-amd64-i386-xl-qemut-winxpsp3-vcpus1                     fail    
 test-amd64-i386-xl-qemuu-winxpsp3-vcpus1                     fail    
 test-amd64-i386-xl-winxpsp3-vcpus1                           fail    
 test-amd64-amd64-xl-qemut-winxpsp3                           fail    
 test-amd64-i386-xl-qemut-winxpsp3                            fail    
 test-amd64-amd64-xl-qemuu-winxpsp3                           fail    
 test-amd64-i386-xl-qemuu-winxpsp3                            fail    
 test-amd64-amd64-xl-winxpsp3                                 fail    
 test-amd64-i386-xl-winxpsp3                                  fail    

------------------------------------------------------------
sg-report-flight on osstest.cam.xci-test.com
logs: /home/xc_osstest/logs
images: /home/xc_osstest/images

Logs, config files, etc. are available at
http://www.chiark.greenend.org.uk/~xensrcts/logs

Test harness code can be found at
http://xenbits.xensource.com/gitweb?p=osstest.git;a=summary

Not pushing.

------------------------------------------------------------
commit d9c1647d896d3192cba9dbf98fb7efab876edde5
Merge: 910f66f 2bd3bce
Author: Peter Maydell <[email protected]>
Date: Mon Jun 23 12:55:22 2014 +0100

Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging

Block pull request

# gpg: Signature made Mon 23 Jun 2014 09:53:49 BST using RSA key ID 81AB73C8 # gpg: Good signature from "Stefan Hajnoczi <[email protected]>"
# gpg: aka "Stefan Hajnoczi <[email protected]>"

* remotes/stefanha/tags/block-pull-request:
block: asynchronously stop the VM on I/O errors
vl: allow other threads to do qemu_system_vmstop_request
sheepdog: fix NULL dereference in sd_create
QemuOpts: check NULL opts in qemu_opt_get functions
block: m25p80: Support read only bdrvs.
block: m25p80: sync_page(): Deindent function body.

commit 910f66fcda2d410249697d959dcbdf8c82d77844
Merge: 337b172 68716da
Author: Peter Maydell <[email protected]>
Date: Mon Jun 23 12:40:39 2014 +0100

Merge remote-tracking branch 'remotes/mcayland/qemu-sparc' into staging

* remotes/mcayland/qemu-sparc:
apb: Fix out-of-bounds array write access

commit 337b172bb970bb4f679bfbd9a9a749d210511817
Merge: 3840f84 871c60a
Author: Peter Maydell <[email protected]>
Date: Mon Jun 23 11:35:27 2014 +0100

Merge remote-tracking branch 'remotes/mcayland/qemu-openbios' into staging

* remotes/mcayland/qemu-openbios:
Update OpenBIOS images

commit 3840f8429043a9082696db99a7ccbc36cb72224c

Author: Michael S. Tsirkin <[email protected]>
Date:   Mon Jun 23 10:29:07 2014 +0300

console: move chardev declarations to sysemu/char.h

move generic chardev APIs to sysemu/char.h, to make them available to callers which can not depend on the whole of ui/console.h. This fixes a build error on systems without pixman-devel:

./configure --disable-tools --disable-docs --target-list=arm-linux-user
...
pixman none
...
make
...
In file included from /data/home/nchip/linaro/qemu/include/ui/console.h:4:0,
from /data/home/nchip/linaro/qemu/stubs/vc-init.c:2:
/data/home/nchip/linaro/qemu/include/ui/qemu-pixman.h:14:20: fatal
error: pixman.h: No such file or directory
#include <pixman.h>
^
compilation terminated.

Message-id: [email protected]

commit 2bd3bce8efebe86b031beab5c0e3b9bbaec0b502

Author: Paolo Bonzini <[email protected]>
Date:   Thu Jun 5 14:53:59 2014 +0200

block: asynchronously stop the VM on I/O errors

With virtio-blk dataplane, I/O errors might occur while QEMU is not in the main I/O thread. However, it's invalid to call vm_stop when we're neither in a VCPU thread nor in the main I/O thread, even if we were to take the iothread mutex around it.

To avoid this problem, we can raise a request to the main I/O thread, similar to what QEMU does when vm_stop is called from a CPU thread. We know that bdrv_error_action is called from an AIO callback, and the moment at which the callback will fire is not well-defined; it depends on the moment at which the disk or OS finishes the operation, which can happen at any time. Note that QEMU is certainly not in a CPU thread and we do not need to call cpu_stop_current() like vm_stop() does.

However, we need to ensure that any action taken by management will result in correct detection of the error _and_ a running VM. In particular:

- the event must be raised after the iostatus has been set, so that "info block" will return an iostatus that matches the event.

- the VM must be stopped after the iostatus has been set, so that "info block" will return an iostatus that matches the runstate.

The ordering between the STOP and BLOCK_IO_ERROR events is preserved; BLOCK_IO_ERROR is documented to come first.

This makes bdrv_error_action() thread safe (assuming QMP events are, which is attacked by a separate series).

commit 74892d2468b9f0c56b915ce94848d6f7fac39740

Author: Paolo Bonzini <[email protected]>
Date:   Thu Jun 5 14:53:58 2014 +0200

vl: allow other threads to do qemu_system_vmstop_request

There patch protects vmstop_requested with a lock and introduces qemu_system_vmstop_request_prepare.

Together with the new call to qemu_vmstop_requested in vm_start, qemu_system_vmstop_request_prepare avoids a race where the VM could remain stopped even though the iostatus of a block device has already been set (for example).

qemu_system_vmstop_request_prepare however also lets the caller thread delay observation of the state change until it has itself communicated that change to the user. This delay avoids any possibility of a wrong reordering of the BLOCK_IO_ERROR event and the subsequent STOP event.

commit 5d5da114b39d3cf187a69dcf5eaca7eaf886c041

Author: Liu Yuan <[email protected]>
Date:   Tue Jun 17 13:45:35 2014 +0800

sheepdog: fix NULL dereference in sd_create

Following command

qemu-img create -f qcow2 sheepdog:test 20g

will cause core dump because aio_context is NULL in sd_create. We should initialize it by qemu_get_aio_context() to avoid NULL dereference.

commit 435db4cf29b88b6612e30acda01cd18788dff458

Author: Chunyan Liu <[email protected]>
Date:   Wed Jun 18 10:47:26 2014 +0800

QemuOpts: check NULL opts in qemu_opt_get functions

Some places will call bdrv_create_file(filename, NULL, &local_err), where opts is NULL. Check NULL in qemu_opt_get and qemu_opt_get_*_del functions, to avoid extra effort of checking opts before calling them every time.

commit 999e5aa5cec71d7138c4b5271092f59ca85f9f6b

Author: Peter Crosthwaite <[email protected]>
Date:   Wed Jun 18 18:36:37 2014 -0700

block: m25p80: Support read only bdrvs.

By just never doing write-backs. This is completely invisible to the guest, as the entire storage area is implemented as device state (at realize time the entire drive is read in).

commit fc1084aad72297cb6dbccf4c78473b5390ff6c87

Author: Peter Crosthwaite <[email protected]>
Date:   Wed Jun 18 18:36:03 2014 -0700

block: m25p80: sync_page(): Deindent function body.

sync_page() was conditionalizing it's whole fn body on the bdrv being non-null. Just return for the function immediately on NULL brdv and get rid of the big if.

Makes implementation consistent with flash_zynq_area().

commit 871c60a7368dbfcb7b2620b0483eed8305fd7b6b

Author: Mark Cave-Ayland <[email protected]>
Date:   Fri Jun 20 23:59:19 2014 +0100

Update OpenBIOS images

Update OpenBIOS images to SVN r1306 built from submodule.

commit 68716da745858ca86ac587d14ac553051e5f04eb

Author: Stefan Weil <[email protected]>
Date:   Mon Jun 9 16:19:29 2014 +0200

apb: Fix out-of-bounds array write access

The array regs is declared with IOMMU_NREGS (3) elements and accessed using IOMMU_CTRL (0) and IOMMU_BASE (8). In most cases, those values are right shifted before being used as an index which results in indices 0 and 1. In one case, this right shift was missing for IOMMU_BASE which results in an out-of-bounds write access with index 8.

The patch adds the missing shift operation also for IOMMU_CTRL where it is needed only for cosmetic reasons.