GNU bug report logs - #17858
dbus-test02-register-service-session fails

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Thu, 26 Jun 2014 18:35:02 UTC

Severity: minor

Found in version 24.4.50

Fixed in version 25.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17858 in the body.
You can then email your comments to 17858 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17858; Package emacs. (Thu, 26 Jun 2014 18:35:02 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: dbus-test02-register-service-session fails
Date: Thu, 26 Jun 2014 14:34:28 -0400
[Message part 1 (text/plain, inline)]
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))


[backtrace.txt.xz (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17858; Package emacs. (Fri, 27 Jun 2014 10:14:01 GMT) Full text and rfc822 format available.

Message #6 received at 17858 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 17858 <at> debbugs.gnu.org
Subject: Re: bug#17858: dbus-test02-register-service-session fails
Date: Fri, 27 Jun 2014 12:12:46 +0200
Glenn Morris <rgm <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17858; Package emacs. (Fri, 27 Jun 2014 18:31:01 GMT) Full text and rfc822 format available.

Message #9 received at 17858 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 17858 <at> debbugs.gnu.org
Subject: Re: bug#17858: dbus-test02-register-service-session fails
Date: Fri, 27 Jun 2014 20:30:40 +0200
Michael Albinus <michael.albinus <at> 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.




Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Fri, 04 Jul 2014 10:15:03 GMT) Full text and rfc822 format available.

Notification sent to Glenn Morris <rgm <at> gnu.org>:
bug acknowledged by developer. (Fri, 04 Jul 2014 10:15:05 GMT) Full text and rfc822 format available.

Message #14 received at 17858-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 17858-done <at> debbugs.gnu.org
Subject: Re: bug#17858: dbus-test02-register-service-session fails
Date: Fri, 04 Jul 2014 12:14:14 +0200
Version: 24.5

Michael Albinus <michael.albinus <at> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 01 Aug 2014 11:24:04 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 04 Oct 2014 16:36:06 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 25.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 04 Oct 2014 16:36:06 GMT) Full text and rfc822 format available.

bug No longer marked as fixed in versions 24.5. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 04 Oct 2014 16:36:06 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 02 Nov 2014 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 199 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.