From: Andrea Corallo <acorallo@gnu.org>
To: Michael Albinus <Michael.Albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: Flickering tests
Date: Wed, 03 Jul 2024 10:52:37 -0400 [thread overview]
Message-ID: <yp1ikxmjznu.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <yp18qyjlssq.fsf@fencepost.gnu.org> (Andrea Corallo's message of "Tue, 02 Jul 2024 11:25:41 -0400")
Andrea Corallo <acorallo@gnu.org> writes:
> Michael Albinus <Michael.Albinus@gmx.de> writes:
>
>> Andrea Corallo <acorallo@gnu.org> writes:
>>
>>> Hello,
>>
>> Hi Andrea,
>>
>>> lately I see some flickering tests in the testsuite.
>>>
>>> I see these tests failing irregularly on emacs-30 master and igc:
>>>
>>> dbus-test06-register-property-emits-signal
>>> dbus-test05-register-signal-with-nils
>>> dbus-test06-property-types
>>> dbus-test03-peer-interface
>>> secrets-test03-items
>>>
>>> Am I the only one?
>>
>> I don't see it here.
>>
>> Could you pls show the error messages of the failed tests?
>>
>>> Andrea
>>
>> Best regards, Michael.
>
> Hi Michael,
>
> this what I saw on a recent master for
> dbus-test05-register-signal-with-nils and
> dbus-test05-register-signal-with-nils:
>
> Test dbus-test05-register-signal-with-nils backtrace:
> signal(ert-test-failed (((should (equal dbus--test-signal-received '
> ert-fail(((should (equal dbus--test-signal-received '("foo"))) :form
> #f(compiled-function () #<bytecode 0xfe2dc592f6eb0e>)()
> #f(compiled-function () #<bytecode 0x19b37652292aff8f>)()
> handler-bind-1(#f(compiled-function () #<bytecode 0x19b37652292aff8f
> ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
> ert-run-test(#s(ert-test :name dbus-test05-register-signal-with-nils
> ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
> ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
> 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" "--eval" "(setq treesit-extra-l
> command-line()
> normal-top-level()
> Test dbus-test05-register-signal-with-nils condition:
> (ert-test-failed
> ((should (equal dbus--test-signal-received '("foo"))) :form
> (equal
> ((":1.171874" "/org/gtk/vfs/mount/1" "foo.tar.gz"
> "archive:host=file%253A%252F%252F%252Fhome%252Fandcor03%252Femacs-ci%252Femacs-ci-repo1%252Ftest%252Flisp%252Fnet%252Ftramp-archive-resources%252Ffoo.tar.gz"
> ""
> ". GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic"
> ". GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive"
> "" t ... ...))
> ("foo"))
> :value nil :explanation
> (list-elt 0
> (different-types
> (":1.171874" "/org/gtk/vfs/mount/1" "foo.tar.gz"
> "archive:host=file%253A%252F%252F%252Fhome%252Fandcor03%252Femacs-ci%252Femacs-ci-repo1%252Ftest%252Flisp%252Fnet%252Ftramp-archive-resources%252Ffoo.tar.gz"
> ""
> ". GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic"
> ". GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive"
> "" t ... ...)
> "foo"))))
> FAILED 12/17 dbus-test05-register-signal-with-nils (0.112019 sec) at lisp/net/dbus-tests.el:795
>
> Test dbus-test06-register-property-emits-signal backtrace:
> signal(ert-test-failed (((should (equal dbus--test-signal-received `
> ert-fail(((should (equal dbus--test-signal-received `(,dbus--test-in
> #f(compiled-function () #<bytecode -0xdd8901871824899>)()
> #f(compiled-function () #<bytecode 0x19b37652292aff8f>)()
> handler-bind-1(#f(compiled-function () #<bytecode 0x19b37652292aff8f
> ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
> ert-run-test(#s(ert-test :name dbus-test06-register-property-emits-s
> ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
> ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
> 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" "--eval" "(setq treesit-extra-l
> command-line()
> normal-top-level()
> Test dbus-test06-register-property-emits-signal condition:
> (ert-test-failed
> ((should (equal dbus--test-signal-received `...)) :form
> (equal ("org.gnu.Emacs.TestDBus")
> ("org.gnu.Emacs.TestDBus.Interface" (...) nil))
> :value nil :explanation
> (proper-lists-of-different-length 1 3 ("org.gnu.Emacs.TestDBus")
> ("org.gnu.Emacs.TestDBus.Interface"
> (...) nil)
> first-mismatch-at 0)))
> FAILED 15/17 dbus-test06-register-property-emits-signal (0.008444 sec) at lisp/net/dbus-tests.el:1163
>
> Andrea
Mmhh, I've the impression this happen on my system only when it's under
heavy load. I've 64 cores and if I "make check -j64" I've say 50%
probability to hit these, but if I run only:
./src/emacs -batch -l ert -l ./test/lisp/net/dbus-tests.el -f ert-run-tests-batch-and-exit
they all pass. Perhaps some timeout need to be adjusted?
Andrea
next prev parent reply other threads:[~2024-07-03 14:52 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-02 9:47 Flickering tests Andrea Corallo
2024-07-02 12:43 ` Andrea Corallo
2024-07-03 1:47 ` john muhl
2024-07-03 7:25 ` Andrea Corallo
2024-07-03 20:14 ` Stefan Kangas
2024-07-04 19:41 ` john muhl
2024-07-02 14:28 ` Michael Albinus
2024-07-02 15:25 ` Andrea Corallo
2024-07-03 14:52 ` Andrea Corallo [this message]
2024-07-03 15:39 ` Michael Albinus
2024-07-03 18:16 ` Andrea Corallo
2024-07-05 7:36 ` Michael Albinus
2024-07-09 8:39 ` Andrea Corallo
2024-07-09 8:49 ` Michael Albinus
2024-07-09 9:47 ` Andrea Corallo
2024-07-09 10:47 ` Michael Albinus
2024-07-09 12:30 ` Andrea Corallo
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=yp1ikxmjznu.fsf@fencepost.gnu.org \
--to=acorallo@gnu.org \
--cc=Michael.Albinus@gmx.de \
--cc=emacs-devel@gnu.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.
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.