qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
	Juan Quintela <quintela@redhat.com>,
	Laurent Vivier <lvivier@redhat.com>, Peter Xu <peterx@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] tests/migration: Skip tests for ppc tcg
Date: Thu, 5 Jul 2018 15:17:39 +0100	[thread overview]
Message-ID: <20180705141739.GM2538@work-vm> (raw)
In-Reply-To: <CAFEAcA_wvRnHvy7CVO48DdHNaQxCyBhmjUrBVM-rGiXViH+jDg@mail.gmail.com>

* Peter Maydell (peter.maydell@linaro.org) wrote:
> On 30 June 2018 at 17:28, Peter Maydell <peter.maydell@linaro.org> wrote:
> > On 29 June 2018 at 18:43, Dr. David Alan Gilbert (git)
> > <dgilbert@redhat.com> wrote:
> >> From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
> >>
> >> PPC tcg seems to be failing migration tests quite regularly;
> >> we believe this is TCG bugs in dirty bit updating; it's
> >> not clear why PPC fails more but lets skip for the moment.
> >>
> >> $ ./tests/migration-test
> >> /ppc64/migration/deprecated: OK
> >> /ppc64/migration/bad_dest: SKIP
> >> /ppc64/migration/postcopy/unix: SKIP
> >> /ppc64/migration/precopy/unix: SKIP
> >
> > This patch seems to make the test fail in some setups:
> 
> Specifically, it's the 'gtester' command in 'make check'
> that makes the difference:
> 
> e104462:xenial:ppc$ QTEST_QEMU_BINARY=ppc64-softmmu/qemu-system-ppc64
> tests/migration-test
> /ppc64/migration/deprecated: OK
> /ppc64/migration/bad_dest: SKIP
> /ppc64/migration/postcopy/unix: SKIP
> /ppc64/migration/precopy/unix: SKIP
> e104462:xenial:ppc$ QTEST_QEMU_BINARY=ppc64-softmmu/qemu-system-ppc64
> gtester -k --verbose -m=quick tests/migration-test
> TEST: tests/migration-test... (pid=23304)
>   /ppc64/migration/deprecated:                                         OK
>   /ppc64/migration/bad_dest:                                           FAIL
> GTester: last random seed: R02Sa45f28859314d31ea4e89aeee4851d87
>   /ppc64/migration/postcopy/unix:                                      FAIL
> GTester: last random seed: R02Sa45f28859314d31ea4e89aeee4851d87
>   /ppc64/migration/precopy/unix:                                       FAIL
> GTester: last random seed: R02Sa45f28859314d31ea4e89aeee4851d87
> PASS: tests/migration-test
> 
> This seems to be a bug in gtester:
> https://bugzilla.gnome.org/show_bug.cgi?id=790934

Bah, and I liked that I was using a nice new gtk feature.

> which I guess we need to work around -- the easy approach would be to just
> call this a pass rather than a skip, I suppose.

Yeh, I'll rework it.  I'll include a printf saying we skipped it though
just to remove any false feeling of warmth and reassurance of an OK.

> I also note that in that bug report the glib folks say
> "don't use gtester, it's not maintained", and recommend that
> we switch to something else (a 'TAP harness', whatever that is)...

https://testanything.org/ I think, but I don't know anything about it.

Dave

> 
> thanks
> -- PMM
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

      reply	other threads:[~2018-07-05 14:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-29 17:43 [Qemu-devel] [PATCH] tests/migration: Skip tests for ppc tcg Dr. David Alan Gilbert (git)
2018-06-30 16:28 ` Peter Maydell
2018-07-05 13:48   ` Peter Maydell
2018-07-05 14:17     ` Dr. David Alan Gilbert [this message]

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=20180705141739.GM2538@work-vm \
    --to=dgilbert@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=peterx@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@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).