[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 00/17] Block patches
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PULL 00/17] Block patches |
Date: |
Fri, 5 Jun 2015 14:53:51 +0100 |
On 5 June 2015 at 12:57, Stefan Hajnoczi <address@hidden> wrote:
> The following changes since commit 3b730f570c5872ceea2137848f1d4554d4847441:
>
> Merge remote-tracking branch 'remotes/agraf/tags/signed-ppc-for-upstream'
> into staging (2015-06-04 14:04:14 +0100)
>
> are available in the git repository at:
>
> git://github.com/stefanha/qemu.git tags/block-pull-request
>
> for you to fetch changes up to 1ad69e1128519a970a9fdf0203a67ab4bc18eb68:
>
> qemu-iotests: expand test 093 to support group throttling (2015-06-05
> 11:03:07 +0100)
>
> ----------------------------------------------------------------
I'm afraid this doesn't pass 'make check' on my OSX box:
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$((RANDOM % 255 + 1))} gtester -k
--verbose -m=quick tests/test-throttle
TEST: tests/test-throttle... (pid=56152)
/throttle/leak_bucket: OK
/throttle/compute_wait:
qemu: qemu_mutex_lock: Invalid argument
OK
/throttle/init: OK
/throttle/destroy: OK
/throttle/have_timer: OK
/throttle/detach_attach: OK
/throttle/config/enabled: OK
/throttle/config/conflicting: OK
/throttle/config/is_valid: OK
/throttle/config_functions: OK
/throttle/accounting: OK
/throttle/groups: FAIL
GTester: last random seed: R02S1a38f05a43ead1a639325fc354866dd4
(pid=56154)
FAIL: tests/test-throttle
make: *** [check-tests/test-throttle] Error 1
Backtrace:
#0 0x00007fff8d25c286 in __pthread_kill ()
#1 0x00007fff9495d42f in pthread_kill ()
#2 0x00007fff9635fb53 in abort ()
#3 0x00000001000c0890 in error_exit (err=22, msg=0x1000f0042
"qemu_mutex_lock") at
/Users/pm215/src/qemu/util/qemu-thread-posix.c:48
#4 0x00000001000c0904 in qemu_mutex_lock (mutex=0x1000fa560) at
/Users/pm215/src/qemu/util/qemu-thread-posix.c:75
#5 0x00000001000719b3 in throttle_group_incref (name=0x1000e0d20
"bar") at /Users/pm215/src/qemu/block/throttle-groups.c:86
#6 0x0000000100071829 in throttle_group_register_bs (bs=0x10100c400,
groupname=0x1000e0d20 "bar") at
/Users/pm215/src/qemu/block/throttle-groups.c:399
#7 0x0000000100002c89 in test_groups () at
/Users/pm215/src/qemu/tests/test-throttle.c:519
#8 0x00000001005d891d in g_test_run_suite_internal ()
#9 0x00000001005d8ae1 in g_test_run_suite_internal ()
#10 0x00000001005d8198 in g_test_run_suite ()
#11 0x00000001000012da in main (argc=1, argv=0x7fff5fbff8e0) at
/Users/pm215/src/qemu/tests/test-throttle.c:595
OSX errno 22 is EINVAL.
As far as I can tell nothing is calling throttle_groups_init() and
so the mutex hasn't been initialized when the test code tries to
lock it.
-- PMM
- [Qemu-devel] [PULL 08/17] iotests: Use event_wait in wait_ready, (continued)
- [Qemu-devel] [PULL 08/17] iotests: Use event_wait in wait_ready, Stefan Hajnoczi, 2015/06/05
- [Qemu-devel] [PULL 09/17] Revert "iothread: release iothread around aio_poll", Stefan Hajnoczi, 2015/06/05
- [Qemu-devel] [PULL 10/17] throttle: Extract timers from ThrottleState into a separate structure, Stefan Hajnoczi, 2015/06/05
- [Qemu-devel] [PULL 12/17] throttle: Add throttle group infrastructure tests, Stefan Hajnoczi, 2015/06/05
- [Qemu-devel] [PULL 11/17] throttle: Add throttle group infrastructure, Stefan Hajnoczi, 2015/06/05
- [Qemu-devel] [PULL 14/17] throttle: acquire the ThrottleGroup lock in bdrv_swap(), Stefan Hajnoczi, 2015/06/05
- [Qemu-devel] [PULL 13/17] throttle: Add throttle group support, Stefan Hajnoczi, 2015/06/05
- [Qemu-devel] [PULL 16/17] throttle: Update throttle infrastructure copyright, Stefan Hajnoczi, 2015/06/05
- [Qemu-devel] [PULL 15/17] throttle: add the name of the ThrottleGroup to BlockDeviceInfo, Stefan Hajnoczi, 2015/06/05
- [Qemu-devel] [PULL 17/17] qemu-iotests: expand test 093 to support group throttling, Stefan Hajnoczi, 2015/06/05
- Re: [Qemu-devel] [PULL 00/17] Block patches,
Peter Maydell <=