all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#17858: dbus-test02-register-service-session fails
@ 2014-06-26 18:34 Glenn Morris
  2014-06-27 10:12 ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2014-06-26 18:34 UTC (permalink / raw)
  To: 17858

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

Package: emacs
Version: 24.4.50
Severity: minor

Current trunk on x86_64 RHEL 6.5, under XFCE 4.10.
I doubt this is a real issue, but dbus-test02-register-service-session
fails for me:

F dbus-test02-register-service-session
    Check service registration at `:session'.
    (ert-test-failed
     ((should
       (dbus-ping bus dbus-service-emacs 100))
      :form
      (dbus-ping :session "org.gnu.Emacs" 100)
      :value nil))



[-- Attachment #2: backtrace.txt.xz --]
[-- Type: application/octet-stream, Size: 3708 bytes --]

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

* bug#17858: dbus-test02-register-service-session fails
  2014-06-26 18:34 bug#17858: dbus-test02-register-service-session fails Glenn Morris
@ 2014-06-27 10:12 ` Michael Albinus
  2014-06-27 18:30   ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2014-06-27 10:12 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 17858

Glenn Morris <rgm@gnu.org> writes:

> Current trunk on x86_64 RHEL 6.5, under XFCE 4.10.
> I doubt this is a real issue, but dbus-test02-register-service-session
> fails for me:
>
> F dbus-test02-register-service-session
>     Check service registration at `:session'.
>     (ert-test-failed
>      ((should
>        (dbus-ping bus dbus-service-emacs 100))
>       :form
>       (dbus-ping :session "org.gnu.Emacs" 100)
>       :value nil))

Well, this is strange. When I run "dbus-monitor" in another shell in
parallel, the test runs successful. When there is no dbus-monitor
running, the test fails.

Usually I have enabled dbus-monitor when running tests, in order to see
whether everything works fine with D-Bus ...

Same behaviour in the emacs-24 branch. Will debug further. But this
looks hard to solve.

Best regards, Michael.





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

* bug#17858: dbus-test02-register-service-session fails
  2014-06-27 10:12 ` Michael Albinus
@ 2014-06-27 18:30   ` Michael Albinus
  2014-07-04 10:14     ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2014-06-27 18:30 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 17858

Michael Albinus <michael.albinus@gmx.de> writes:

> Same behaviour in the emacs-24 branch. Will debug further. But this
> looks hard to solve.

It is `dbus-ping' indeed, which behaves different when there is a
running dbus-monitor. I still don't understand why.

Anyway, I have changed in the emacs-24 branch the checks in
`dbus-test02-register-service-session' not to use `dbus-ping'. It runs
successfully now.

I would like to keep this bug open until we know what's up with
`dbus-ping'. When this is fixed, another test case shall be added to
dbus-tests.el as well. This is for the trunk.

Best regards, Michael.





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

* bug#17858: dbus-test02-register-service-session fails
  2014-06-27 18:30   ` Michael Albinus
@ 2014-07-04 10:14     ` Michael Albinus
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2014-07-04 10:14 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 17858-done

Version: 24.5

Michael Albinus <michael.albinus@gmx.de> writes:

> I would like to keep this bug open until we know what's up with
> `dbus-ping'. When this is fixed, another test case shall be added to
> dbus-tests.el as well. This is for the trunk.

Well, I've fixed this in the trunk. The ofd.Peer.Ping method must be
registered for all own services. There is also a corresponding test case
in dbus-tests.el.

Best regards, Michael.





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

end of thread, other threads:[~2014-07-04 10:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-26 18:34 bug#17858: dbus-test02-register-service-session fails Glenn Morris
2014-06-27 10:12 ` Michael Albinus
2014-06-27 18:30   ` Michael Albinus
2014-07-04 10:14     ` Michael Albinus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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.