qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: QEMU Developers <qemu-devel@nongnu.org>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: test-aio-multithread assertion
Date: Mon, 14 Oct 2019 11:26:26 +0100	[thread overview]
Message-ID: <CAFEAcA_cAaJ7Q=FNf8dZJuGAjjuCANW2QkMFFjfSLaSAFBN6Vw@mail.gmail.com> (raw)
In-Reply-To: <CAFEAcA9vHZc=s+2f7-a88DsLPph=PE2noz+ai+q5tM+KGabkSg@mail.gmail.com>

On Thu, 5 Sep 2019 at 14:17, Peter Maydell <peter.maydell@linaro.org> wrote:
>
> On Wed, 4 Sep 2019 at 12:50, Peter Maydell <peter.maydell@linaro.org> wrote:
> >
> > Hi; I've been seeing intermittently on the BSDs this assertion
> > running test-aio-multithread as part of 'make check':
> >
> > MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))}
> > tests/test-aio-multithread -m=quick -k --tap < /dev/null |
> > ./scripts/tap-drive
> > r.pl --test-name="test-aio-multithread"
> > PASS 1 test-aio-multithread /aio/multi/lifecycle
> > PASS 2 test-aio-multithread /aio/multi/schedule
> > ERROR - too few tests run (expected 5, got 2)
> > Assertion failed: (!qemu_lockcnt_count(&ctx->list_lock)), function
> > aio_ctx_finalize, file /home/qemu/qemu-test.kaRA0o/src/util/async.c,
> > line 283.
> > Abort trap (core dumped)
> > gmake: *** [/home/qemu/qemu-test.kaRA0o/src/tests/Makefile.include:905:
> > check-unit] Error 1
> >
> > Anybody got any ideas?
>
> Here's a different intermittent assertion on Netbsd from test-aio-multithread:
>
> MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))}
> tests/test-aio-multithread -m=quick
> -k --tap < /dev/null | ./scripts/tap-driver.pl
> --test-name="test-aio-multithread"
> PASS 1 test-aio-multithread /aio/multi/lifecycle
> PASS 2 test-aio-multithread /aio/multi/schedule
> assertion "QSLIST_EMPTY(&ctx->scheduled_coroutines)" failed: file
> "util/async.c", line 279, function "
> aio_ctx_finalize"
> ERROR - too few tests run (expected 5, got 2)

Just saw this QSLIST_EMPTY(&ctx->scheduled_coroutines) assertion
from FreeBSD as well, so it's still around as a definite
intermittent.

thanks
-- PMM


  reply	other threads:[~2019-10-14 10:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-04 11:50 [Qemu-devel] test-aio-multithread assertion Peter Maydell
2019-09-05 13:17 ` Peter Maydell
2019-10-14 10:26   ` Peter Maydell [this message]
2019-10-14 10:50     ` Paolo Bonzini
2019-11-19 17:55       ` Peter Maydell
2019-11-19 18:01         ` Peter Maydell
2019-09-16 15:33 ` [Qemu-devel] " Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFEAcA_cAaJ7Q=FNf8dZJuGAjjuCANW2QkMFFjfSLaSAFBN6Vw@mail.gmail.com' \
    --to=peter.maydell@linaro.org \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).