All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests: Disable dbus-vmstate-test
@ 2020-03-10 15:21 Peter Maydell
  2020-03-10 15:26 ` Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Peter Maydell @ 2020-03-10 15:21 UTC (permalink / raw)
  To: qemu-devel; +Cc: Laurent Vivier, Paolo Bonzini, Thomas Huth

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>
---
 tests/qtest/Makefile.include | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/qtest/Makefile.include b/tests/qtest/Makefile.include
index 383b0ab2171..5115f7897db 100644
--- a/tests/qtest/Makefile.include
+++ b/tests/qtest/Makefile.include
@@ -18,7 +18,8 @@ check-qtest-pci-$(CONFIG_IVSHMEM_DEVICE) += ivshmem-test
 DBUS_DAEMON := $(shell which dbus-daemon 2>/dev/null)
 ifneq ($(GDBUS_CODEGEN),)
 ifneq ($(DBUS_DAEMON),)
-check-qtest-pci-$(CONFIG_GIO) += dbus-vmstate-test
+# Temporarily disabled due to Patchew failures:
+#check-qtest-pci-$(CONFIG_GIO) += dbus-vmstate-test
 endif
 endif
 
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] tests: Disable dbus-vmstate-test
  2020-03-10 15:21 [PATCH] tests: Disable dbus-vmstate-test Peter Maydell
@ 2020-03-10 15:26 ` Paolo Bonzini
  2020-03-10 21:53   ` Marc-André Lureau
  2020-03-10 15:27 ` Laurent Vivier
  2020-03-12 14:47 ` Peter Maydell
  2 siblings, 1 reply; 5+ messages in thread
From: Paolo Bonzini @ 2020-03-10 15:26 UTC (permalink / raw)
  To: Peter Maydell, qemu-devel; +Cc: Laurent Vivier, Thomas Huth

On 10/03/20 16:21, Peter Maydell wrote:
> 
>   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.

It has failed forever since it has been committed.  It only happens in
the Ubuntu configuration, and I had disabled it for a long time due to
this failure.  On March 6th I added it back to see if someone had fixed it.

Paolo



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] tests: Disable dbus-vmstate-test
  2020-03-10 15:21 [PATCH] tests: Disable dbus-vmstate-test Peter Maydell
  2020-03-10 15:26 ` Paolo Bonzini
@ 2020-03-10 15:27 ` Laurent Vivier
  2020-03-12 14:47 ` Peter Maydell
  2 siblings, 0 replies; 5+ messages in thread
From: Laurent Vivier @ 2020-03-10 15:27 UTC (permalink / raw)
  To: Peter Maydell, qemu-devel
  Cc: Paolo Bonzini, Thomas Huth, Marc-André Lureau

On 10/03/2020 16:21, Peter Maydell wrote:
> 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>
> ---
>  tests/qtest/Makefile.include | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/qtest/Makefile.include b/tests/qtest/Makefile.include
> index 383b0ab2171..5115f7897db 100644
> --- a/tests/qtest/Makefile.include
> +++ b/tests/qtest/Makefile.include
> @@ -18,7 +18,8 @@ check-qtest-pci-$(CONFIG_IVSHMEM_DEVICE) += ivshmem-test
>  DBUS_DAEMON := $(shell which dbus-daemon 2>/dev/null)
>  ifneq ($(GDBUS_CODEGEN),)
>  ifneq ($(DBUS_DAEMON),)
> -check-qtest-pci-$(CONFIG_GIO) += dbus-vmstate-test
> +# Temporarily disabled due to Patchew failures:
> +#check-qtest-pci-$(CONFIG_GIO) += dbus-vmstate-test
>  endif
>  endif
>  

Adding Marc-André.

The MAINTAINERS file has not been updated when the file has been moved
from tests/ to tests/qtest

Thanks,
Laurent



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] tests: Disable dbus-vmstate-test
  2020-03-10 15:26 ` Paolo Bonzini
@ 2020-03-10 21:53   ` Marc-André Lureau
  0 siblings, 0 replies; 5+ messages in thread
From: Marc-André Lureau @ 2020-03-10 21:53 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: Laurent Vivier, Peter Maydell, Thomas Huth, QEMU

Hi

On Tue, Mar 10, 2020 at 4:27 PM Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> On 10/03/20 16:21, Peter Maydell wrote:
> >
> >   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.

I tried to reproduce on a fresh ubuntu 19.10, with make
docker-test-debug@fedora there, and the dbus-vmstate test pass, as
well as the rest for the build.

Any help on how to reproduce appreciated.

-- 
Marc-André Lureau


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] tests: Disable dbus-vmstate-test
  2020-03-10 15:21 [PATCH] tests: Disable dbus-vmstate-test Peter Maydell
  2020-03-10 15:26 ` Paolo Bonzini
  2020-03-10 15:27 ` Laurent Vivier
@ 2020-03-12 14:47 ` Peter Maydell
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Maydell @ 2020-03-12 14:47 UTC (permalink / raw)
  To: QEMU Developers
  Cc: Laurent Vivier, Paolo Bonzini, Thomas Huth, Marc-André Lureau

On Tue, 10 Mar 2020 at 15:21, Peter Maydell <peter.maydell@linaro.org> wrote:
>
> 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.

I've applied this to master to suppress the patchew emails.
(If people would prefer to turn the relevant patchew config
off again instead we can then revert this commit. AFAICT we
lose test coverage either way...)

thanks
-- PMM


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-03-12 14:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10 15:21 [PATCH] tests: Disable dbus-vmstate-test Peter Maydell
2020-03-10 15:26 ` Paolo Bonzini
2020-03-10 21:53   ` Marc-André Lureau
2020-03-10 15:27 ` Laurent Vivier
2020-03-12 14:47 ` Peter Maydell

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.