GNU bug report logs - #51369
intermittent dbus-test04-register-method failure

Previous Next

Package: emacs;

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

Date: Sun, 24 Oct 2021 09:06:02 UTC

Severity: minor

Tags: moreinfo

Found in version 28.0.60

Fixed in version 28.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 51369 in the body.
You can then email your comments to 51369 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#51369; Package emacs. (Sun, 24 Oct 2021 09:06: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: intermittent dbus-test04-register-method failure
Date: Sun, 24 Oct 2021 05:04:52 -0400
Package: emacs
Version: 28.0.60
Severity: minor

I do a daily build of the emacs-28 branch (before merging it to master).
3 of the past 4 days, dbus-test04-register-method has failed.
This failure is not repeatable. This is on CentOS 8.4.

(In general, I find the Emacs test suite continues to be frustratingly
unstable. Yesterday there was a non-repeatable files-tests failure.
So 4/4 days when make check failed non-repeatably.)


Running 16 tests (2021-10-24 01:51:00-0700, selector `(not (or (tag :expensive-test) (tag :unstable) (tag :nativecomp)))')
   passed   1/16  dbus-test00-availability-session (0.006923 sec)
   passed   2/16  dbus-test00-availability-system (0.009815 sec)
dbus[304869]: arguments to dbus_message_iter_append_basic() were incorrect, assertion "signature_validity == DBUS_VALID" failed in file ../../dbus/dbus-message.c line 2772.
This is normally a bug in some application using the D-Bus library.

   passed   3/16  dbus-test01-basic-types (0.000554 sec)
   passed   4/16  dbus-test01-compound-types (0.000304 sec)
   passed   5/16  dbus-test01-type-conversion (0.000184 sec)
   passed   6/16  dbus-test02-register-service-own-bus (0.473175 sec)
   passed   7/16  dbus-test02-register-service-session (0.016950 sec)
  skipped   8/16  dbus-test02-register-service-system (0.001274 sec)
   passed   9/16  dbus-test03-peer-interface (0.116033 sec)
Test dbus-test04-register-method backtrace:
  signal(ert-test-failed (((should (equal (should-error (dbus-call-met
  ert-fail(((should (equal (should-error (dbus-call-method :session db
  #f(compiled-function () #<bytecode -0x7a1d5334197ebdd>)()
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name dbus-test04-register-method :document
  ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
  ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :n
  ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable) (
  ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
  eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (
  command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/net/dbus-tests" "--e
  command-line()
  normal-top-level()
Test dbus-test04-register-method condition:
    (ert-test-failed
     ((should
       (equal
	(should-error ...)
	`...))
      :form
      (equal
       (dbus-error "D-Bus signal" "foo" "bar" "baz")
       (dbus-error "org.freedesktop.DBus.Error.Failed" "D-Bus error: \"D-Bus signal\", \"foo\", \"bar\", \"baz\""))
      :value nil :explanation
      (proper-lists-of-different-length 5 3
					(dbus-error "D-Bus signal" "foo" "bar" "baz")
					(dbus-error "org.freedesktop.DBus.Error.Failed" "D-Bus error: \"D-Bus signal\", \"foo\", \"bar\", \"baz\"")
					first-mismatch-at 1)))
   FAILED  10/16  dbus-test04-register-method (0.028452 sec)
   passed  11/16  dbus-test05-register-signal (0.219088 sec)
   passed  12/16  dbus-test06-property-types (0.368912 sec)
   passed  13/16  dbus-test06-register-property (0.107013 sec)
   passed  14/16  dbus-test06-register-property-emits-signal (0.136756 sec)
   passed  15/16  dbus-test06-register-property-several-paths (0.038262 sec)
   passed  16/16  dbus-test07-introspection (0.213032 sec)

Ran 16 tests, 14 results as expected, 1 unexpected, 1 skipped (2021-10-24 01:51:02-0700, 1.923455 sec)

1 unexpected results:
   FAILED  dbus-test04-register-method

1 skipped results:
  SKIPPED  dbus-test02-register-service-system




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51369; Package emacs. (Mon, 01 Nov 2021 12:28:02 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 51369 <at> debbugs.gnu.org
Subject: Re: bug#51369: intermittent dbus-test04-register-method failure
Date: Mon, 01 Nov 2021 13:27:33 +0100
Glenn Morris <rgm <at> gnu.org> writes:

Hi Glenn,

> Test dbus-test04-register-method condition:
>     (ert-test-failed
>      ((should
>        (equal
> 	(should-error ...)
> 	`...))
>       :form
>       (equal
>        (dbus-error "D-Bus signal" "foo" "bar" "baz")
>        (dbus-error "org.freedesktop.DBus.Error.Failed" "D-Bus error: \"D-Bus signal\", \"foo\", \"bar\", \"baz\""))
>       :value nil :explanation
>       (proper-lists-of-different-length 5 3
> 					(dbus-error "D-Bus signal" "foo" "bar" "baz")
> 					(dbus-error "org.freedesktop.DBus.Error.Failed" "D-Bus error: \"D-Bus signal\", \"foo\", \"bar\", \"baz\"")
> 					first-mismatch-at 1)))
>    FAILED  10/16  dbus-test04-register-method (0.028452 sec)

The error message to be captured can arrive in two different
flavors. Only on hydra the other flavor appears sometimes.

So I skip this check on hydra. Pushed to emacs-28 and merged to master.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51369; Package emacs. (Mon, 01 Nov 2021 14:18:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 51369 <at> debbugs.gnu.org
Subject: Re: bug#51369: intermittent dbus-test04-register-method failure
Date: Mon, 01 Nov 2021 10:17:03 -0400
Michael Albinus wrote:

> The error message to be captured can arrive in two different
> flavors. Only on hydra the other flavor appears sometimes.
>
> So I skip this check on hydra. Pushed to emacs-28 and merged to master.

But my report was about a CentOS 8.4 desktop, not hydra.nixos.org.
The Emacs test-suite needs to be reliable everywhere.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51369; Package emacs. (Mon, 01 Nov 2021 18:25:01 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 51369 <at> debbugs.gnu.org
Subject: Re: bug#51369: intermittent dbus-test04-register-method failure
Date: Mon, 01 Nov 2021 19:23:52 +0100
Glenn Morris <rgm <at> gnu.org> writes:

Hi Glenn,

>> The error message to be captured can arrive in two different
>> flavors. Only on hydra the other flavor appears sometimes.
>>
>> So I skip this check on hydra. Pushed to emacs-28 and merged to master.
>
> But my report was about a CentOS 8.4 desktop, not hydra.nixos.org.
> The Emacs test-suite needs to be reliable everywhere.

I see.

I've installed a CentOS 8 VM, and compiled Emacs 29 there. Running
dbus-tests in batch.

In 4 of 10 runs, the reported error happened. Good, so I have a chance
to debug it.

(Next days I'm short in time, but let's see how it goes.)

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51369; Package emacs. (Sat, 06 Nov 2021 16:35:01 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 51369 <at> debbugs.gnu.org
Subject: Re: bug#51369: intermittent dbus-test04-register-method failure
Date: Sat, 06 Nov 2021 17:34:01 +0100
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi Glenn,

>>> The error message to be captured can arrive in two different
>>> flavors. Only on hydra the other flavor appears sometimes.
>>>
>>> So I skip this check on hydra. Pushed to emacs-28 and merged to master.
>>
>> But my report was about a CentOS 8.4 desktop, not hydra.nixos.org.
>> The Emacs test-suite needs to be reliable everywhere.
>
> I see.
>
> I've installed a CentOS 8 VM, and compiled Emacs 29 there. Running
> dbus-tests in batch.
>
> In 4 of 10 runs, the reported error happened. Good, so I have a chance
> to debug it.

I've pushed a corrected version of dbus-tests.el to the emacs-28 branch,
which passes all tests on my CentOS VM reliably. Merged with master.

Best regards, Michael.




Added tag(s) moreinfo. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Wed, 10 Nov 2021 15:10:02 GMT) Full text and rfc822 format available.

Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Tue, 16 Nov 2021 13:01:02 GMT) Full text and rfc822 format available.

Notification sent to Glenn Morris <rgm <at> gnu.org>:
bug acknowledged by developer. (Tue, 16 Nov 2021 13:01:02 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 51369-done <at> debbugs.gnu.org
Subject: Re: bug#51369: intermittent dbus-test04-register-method failure
Date: Tue, 16 Nov 2021 14:00:27 +0100
Version: 28.1

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

Hi Glenn,

> I've pushed a corrected version of dbus-tests.el to the emacs-28 branch,
> which passes all tests on my CentOS VM reliably. Merged with master.

No further comments, so I'm closing this bug.

Best regards, Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 15 Dec 2021 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 131 days ago.

Previous Next


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