From: Peter Xu <peterx@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: "Fabiano Rosas" <farosas@suse.de>,
qemu-devel@nongnu.org, berrange@redhat.com,
"Marc-André Lureau" <marcandre.lureau@redhat.com>
Subject: Re: [PATCH] tests/qtest: Remove migration-helpers.c
Date: Mon, 26 May 2025 11:30:02 -0400 [thread overview]
Message-ID: <aDSI-v1hi6v4CC6p@x1.local> (raw)
In-Reply-To: <87msazkinq.fsf@pond.sub.org>
On Mon, May 26, 2025 at 08:09:13AM +0200, Markus Armbruster wrote:
> Fabiano Rosas <farosas@suse.de> writes:
>
> > Commit 407bc4bf90 ("qapi: Move include/qapi/qmp/ to include/qobject/")
> > brought the migration-helpers.c back by mistake. This file has been
> > replaced with migration/migration-qmp.c and
> > migration/migration-util.c.
> >
> > Fixes: 407bc4bf90 ("qapi: Move include/qapi/qmp/ to include/qobject/")
> > Signed-off-by: Fabiano Rosas <farosas@suse.de>
>
> I have no idea how that happened. Rebase accident, perhaps? Thanks for
> cleaning up the mess I made!
>
> Your patch does what it says on the tin, but there's another dangling
> #include:
>
> $ git-grep migration-helpers
> --> tests/qtest/dbus-vmstate-test.c:#include "migration-helpers.h"
> tests/qtest/migration-helpers.c:#include "migration-helpers.h"
>
> Missed in commit b7d7f723a985 (tests/qtest/migration: Rename
> migration-helpers.c). Looks like dbus-vmstate-test is never compiled in
> CI. Dig, dig...
>
> dbus_daemon = find_program('dbus-daemon', required: false)
> if dbus_daemon.found() and gdbus_codegen.found()
> # Temporarily disabled due to Patchew failures:
> --> #qtests_i386 += ['dbus-vmstate-test']
> dbus_vmstate1 = custom_target('dbus-vmstate description',
> output: ['dbus-vmstate1.h', 'dbus-vmstate1.c'],
> input: meson.project_source_root() / 'backends/dbus-vmstate1.xml',
> command: [gdbus_codegen, '@INPUT@',
> '--interface-prefix', 'org.qemu',
> '--generate-c-code', '@BASENAME@']).to_list()
> else
> dbus_vmstate1 = []
> endif
>
> It's been "emporarily" disabled for more than five years:
>
> commit d46f81cb746d18b4530b5fe63e75b11f6b926f1f
> Author: Peter Maydell <peter.maydell@linaro.org>
> Date: Tue Mar 10 15:21:41 2020 +0000
>
> tests: Disable dbus-vmstate-test
>
> The dbus-vmstate-test has been failing in some Patchew configs
> since about the 6th March:
>
> dbus-daemon[9321]: Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry
>
> **
> ERROR:/tmp/qemu-test/src/tests/qtest/dbus-vmstate-test.c:114:get_connection: assertion failed (err == NULL): The connection is closed (g-io-error-quark, 18)
> cleaning up pid 9321
> ERROR - Bail out! ERROR:/tmp/qemu-test/src/tests/qtest/dbus-vmstate-test.c:114:get_connection: assertion failed (err == NULL): The connection is closed (g-io-error-quark, 18)
> make: *** [/tmp/qemu-test/src/tests/Makefile.include:632: check-qtest-x86_64] Error 1
> make: *** Waiting for unfinished jobs....
>
> It's not clear why this is happening (perhaps a recently revealed
> race condition or a change in the patchew build environment?).
>
> For the moment, disable this test so that patchew test runs are
> useful and don't email the list with spurious failure mails.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> Message-id: 20200310152141.13959-1-peter.maydell@linaro.org
>
> Separate issue, so for this patch
> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Thanks both! I queued this one for now.
Then it's a matter of whether we want to fix the build only, or fix the
test.. Also add Marc-André into the loop, in case we'd like to go the
latter..
--
Peter Xu
next prev parent reply other threads:[~2025-05-26 15:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-23 12:30 [PATCH] tests/qtest: Remove migration-helpers.c Fabiano Rosas
2025-05-26 6:09 ` Markus Armbruster
2025-05-26 15:30 ` Peter Xu [this message]
2025-05-26 15:31 ` Fabiano Rosas
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=aDSI-v1hi6v4CC6p@x1.local \
--to=peterx@redhat.com \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=farosas@suse.de \
--cc=marcandre.lureau@redhat.com \
--cc=qemu-devel@nongnu.org \
/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.