All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eduardo Habkost <ehabkost@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>,
	Kevin Wolf <kwolf@redhat.com>,
	Peter Maydell <peter.maydell@linaro.org>,
	Marcelo Tosatti <mtosatti@redhat.com>,
	Ronnie Sahlberg <ronniesahlberg@gmail.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Jason Wang <jasowang@redhat.com>,
	qemu-devel@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>,
	Rob Herring <robh@kernel.org>, Josh Durgin <jdurgin@redhat.com>,
	Alexander Graf <agraf@suse.de>,
	Christian Borntraeger <borntraeger@de.ibm.com>,
	Marcel Apfelbaum <marcel@redhat.com>,
	Richard Henderson <rth@twiddle.net>, Jeff Cody <jcody@redhat.com>,
	Peter Lieven <pl@kamp.de>, Greg Kurz <groug@kaod.org>,
	Alistair Francis <alistair.francis@xilinx.com>,
	Peter Chubb <peter.chubb@nicta.com.au>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	Igor Mammedov <imammedo@redhat.com>,
	David Gibson <david@gibson.dropbear.id.au>,
	Peter Crosthwaite <crosthwaite.peter@gmail.com>,
	Cornelia Huck <cohuck@redhat.com>,
	"Richard W.M. Jones" <rjones@redhat.com>,
	Max Reitz <mreitz@redhat.com>,
	"An eesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Subject: [Qemu-devel] Slow tests on "make check" (was Re: [PULL 6/9] Convert error_report() to warn_report())
Date: Tue, 25 Jul 2017 16:08:18 -0300	[thread overview]
Message-ID: <20170725190818.GQ2757@localhost.localdomain> (raw)
In-Reply-To: <5b194736-15ba-7f62-cc8b-46cf03777644@redhat.com>

On Mon, Jul 24, 2017 at 09:30:06AM +0200, Paolo Bonzini wrote:
> On 24/07/2017 08:30, Markus Armbruster wrote:
> > Markus Armbruster <armbru@redhat.com> writes:
> > 
> >> Kevin Wolf <kwolf@redhat.com> writes:
> >>
> >>> Am 13.07.2017 um 15:27 hat Markus Armbruster geschrieben:
> >>>> From: Alistair Francis <alistair.francis@xilinx.com>
> >>>>
> >>>> Convert all uses of error_report("warning:"... to use warn_report()
> >>>> instead. This helps standardise on a single method of printing warnings
> >>>> to the user.
> >>>>
> >>>> All of the warnings were changed using these two commands:
> >>>>     find ./* -type f -exec sed -i \
> >>>>       's|error_report(".*warning[,:] |warn_report("|Ig' {} +
> >>>>
> >>>> Indentation fixed up manually afterwards.
> >>>>
> >>>> The test-qdev-global-props test case was manually updated to ensure that
> >>>> this patch passes make check (as the test cases are case sensitive).
> >>>
> >>> This patch broke qemu-iotests 051 because it neglected to update the
> >>> reference output. Not sure if a change of the message was even intended,
> >>> but with a error location prefix, the order changes:
> >>>
> >>> -(qemu) QEMU_PROG: -drive if=scsi,media=cdrom: warning: bus=0,unit=0 is deprecated with this machine type
> >>> +(qemu) warning: qemu-system-x86_64: -drive if=scsi,media=cdrom: bus=0,unit=0 is deprecated with this machine type
> >>>
> >>> Personally, I would expect the error location or at least the program
> >>> name to come first even for warnings.
> >>
> >> I'll fix it.
> >>
> >> While focusing on something other than block, I forget qemu-iotests
> >> exist.  My fault, but it's a pretty common fault.  I reiterate my plea
> >> to include (a sensible subset of) it in "make check".
> > 
> > Oh, 051 isn't run by "make check-block".  It could just as well not
> > exist then.
> > 
> > What's the recommended way to run all iotests a build of QEMU can run?
> 
> I use "path-to-srcdir/tests/check-block.sh".  It takes about 20 minutes.
> 
> There are two issues with check-block:
> 
> * tests that require QEMU are skipped (rationale: you might be building
> without the x86_64-softmmu target).
> 
> * it only runs the "quick" group, but I think we should reverse the
> direction and mark slow tests specifically (that would cut about 10
> minutes out of the 20).

About slow tests: I never included device-crash-test on "make
check" because it would take too long to run.  Also, "make
check-help" lies when it says "make check" runs all tests,
because it doesn't run check-block.

Should we add a new Makefile target (check-all?) that includes
slower tests?

-- 
Eduardo

  reply	other threads:[~2017-07-25 19:10 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-13 13:27 [Qemu-devel] [PULL 0/9] Error reporting patches for 2017-07-13 Markus Armbruster
2017-07-13 13:27 ` [Qemu-devel] [PULL 1/9] xilinx: Fix latent error handling bug Markus Armbruster
2017-07-13 13:27 ` [Qemu-devel] [PULL 2/9] block: Don't try to set *errp directly Markus Armbruster
2017-07-13 13:27 ` [Qemu-devel] [PULL 3/9] websock: " Markus Armbruster
2017-07-13 13:27 ` [Qemu-devel] [PULL 4/9] util/qemu-error: Rename error_print_loc() to be more generic Markus Armbruster
2017-07-13 13:27 ` [Qemu-devel] [PULL 5/9] error: Functions to report warnings and informational messages Markus Armbruster
2017-07-13 13:27 ` [Qemu-devel] [PULL 6/9] Convert error_report() to warn_report() Markus Armbruster
2017-07-17 10:19   ` Kevin Wolf
2017-07-18  5:17     ` Markus Armbruster
2017-07-24  6:30       ` Markus Armbruster
2017-07-24  7:30         ` Paolo Bonzini
2017-07-25 19:08           ` Eduardo Habkost [this message]
2017-07-25 23:24             ` [Qemu-devel] Slow tests on "make check" (was Re: [PULL 6/9] Convert error_report() to warn_report()) Alistair Francis
2017-07-25 23:26               ` Alistair Francis
2017-07-26 10:17                 ` Richard W.M. Jones
2017-07-26 10:35             ` Daniel P. Berrange
2017-07-26 10:30           ` [Qemu-devel] [PULL 6/9] Convert error_report() to warn_report() Daniel P. Berrange
2017-07-27  8:25           ` Markus Armbruster
2017-07-27  8:45             ` Kevin Wolf
2017-07-27  9:14               ` Markus Armbruster
2017-07-27 11:45           ` Max Reitz
2017-07-13 13:27 ` [Qemu-devel] [PULL 7/9] char-socket: Report TCP socket waiting as information Markus Armbruster
2017-07-13 13:27 ` [Qemu-devel] [PULL 8/9] error: Implement the warn and free Error functions Markus Armbruster
2017-07-13 13:27 ` [Qemu-devel] [PULL 9/9] Convert error_report*_err() to warn_report*_err() Markus Armbruster
2017-07-13 13:46 ` [Qemu-devel] [PULL 0/9] Error reporting patches for 2017-07-13 no-reply
2017-07-14 10:05 ` Peter Maydell

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=20170725190818.GQ2757@localhost.localdomain \
    --to=ehabkost@redhat.com \
    --cc=agraf@suse.de \
    --cc=alistair.francis@xilinx.com \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=armbru@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=crosthwaite.peter@gmail.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=groug@kaod.org \
    --cc=imammedo@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=jcody@redhat.com \
    --cc=jdurgin@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=marcel@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=mst@redhat.com \
    --cc=mtosatti@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.chubb@nicta.com.au \
    --cc=peter.maydell@linaro.org \
    --cc=pl@kamp.de \
    --cc=qemu-devel@nongnu.org \
    --cc=rjones@redhat.com \
    --cc=robh@kernel.org \
    --cc=ronniesahlberg@gmail.com \
    --cc=rth@twiddle.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.