From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Armstrong Newsgroups: gmane.emacs.bugs Subject: bug#58473: 29.0.50; todo-test-add-and-delete-file is a flaky test Date: Wed, 12 Oct 2022 09:42:18 -0700 Message-ID: <878rllvvrp.fsf@rfc20.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3993"; mail-complaints-to="usenet@ciao.gmane.io" To: 58473@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 12 18:43:36 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oiepT-0000qD-Lz for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 18:43:36 +0200 Original-Received: from localhost ([::1]:39250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiepN-00039c-K6 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 12:43:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oieoy-00038N-DB for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 12:43:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59257) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oieow-00037b-Lo for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 12:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oieow-0002kV-4A for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 12:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matt Armstrong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Oct 2022 16:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58473 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166559295410529 (code B ref -1); Wed, 12 Oct 2022 16:43:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Oct 2022 16:42:34 +0000 Original-Received: from localhost ([127.0.0.1]:58335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oieoS-0002jk-UX for submit@debbugs.gnu.org; Wed, 12 Oct 2022 12:42:33 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:58046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oieoQ-0002jc-Vx for submit@debbugs.gnu.org; Wed, 12 Oct 2022 12:42:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oieoP-00030H-7o for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 12:42:29 -0400 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:37909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oieoM-00033s-1F for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 12:42:28 -0400 Original-Received: (Authenticated sender: matt@rfc20.org) by mail.gandi.net (Postfix) with ESMTPSA id EFDA460008 for ; Wed, 12 Oct 2022 16:42:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rfc20.org; s=gm1; t=1665592942; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=B8P8So+H46cqi2BT01cQazm5pRjDuIRNKOo+F0pDggc=; b=Zo2+nOivpzdLk9M950qtN0om/WVZhAvJzwIiLUVo8TnuYvuc2he1SMISdvfBexn7J2AkzN VSSCCRq/gdt0AszTVr2tUYXQj10Xk+X/4vgOBxUSB284ECcdZbA3jG3BX6tBquw/EtntIZ e3MrV6s92qnBt8thn5McD7CzYsnWrq0bcCOVU0ghnztNh/QQaRNHLjHSI6FW3Lnfo3PQ8M yPkGzKo2tYHuVLYCoKJY72vh4YuuA62oQhuWLVjFx0ETb1yUlNId4EtHymtk6IfFMIxozz wWbL+kWwsrlNgI8ez72bH4vFo1xB+0ulmnQeJdzQ6jxWp8K3oyyeofGHMiEO1g== Original-Received: from matt by naz with local (Exim 4.96) (envelope-from ) id 1oieoE-00FW5t-2i for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 09:42:18 -0700 Received-SPF: pass client-ip=217.70.183.195; envelope-from=matt@rfc20.org; helo=relay3-d.mail.gandi.net X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LONGWORDS=2.035, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245233 Archived-At: --=-=-= Content-Type: text/plain It seems that todo-test-add-and-delete-file is a flaky test. It passes most of the time but sometimes not. Example error log: --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=todo-mode-tests.log Running 39 tests (2022-10-12 09:37:27-0700, selector `(not (or (tag :expensive-test) (tag :unstable) (tag :nativecomp)))') Test todo-test-add-and-delete-file backtrace: signal(ert-test-failed (((should (equal todo-current-todo-file todo- ert-fail(((should (equal todo-current-todo-file todo-test-file-1)) : #f(compiled-function () #)() ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name todo-test-add-and-delete-file :docume 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/calendar/todo-mode-t command-line() normal-top-level() Test todo-test-add-and-delete-file condition: (ert-test-failed ((should (equal todo-current-todo-file todo-test-file-1)) :form (equal nil "/home/matt/git/emacs-noverlay/test/lisp/calendar/todo-mode-resources/todo-test-1.todo") :value nil :explanation (different-types nil "/home/matt/git/emacs-noverlay/test/lisp/calendar/todo-mode-resources/todo-test-1.todo"))) FAILED 1/39 todo-test-add-and-delete-file (0.033038 sec) at lisp/calendar/todo-mode-tests.el:823 Type C-x C-q to return to Todo mode. Warning (todo): Type C-x C-q to return to Todo mode. This also runs a file format check and signals an error if the format has become invalid. However, this check cannot tell if the number of items or categories changed, which could result in the file containing inconsistent information. You can repair this inconsistency by invoking the command `todo-repair-categories-sexp', but this will revert any renumbering of the categories you have made, so you will have to renumber them again (see `(todo-mode) Reordering Categories'). Warning (todo): Type C-x C-q to return to Todo Archive mode. This also runs a file format check and signals an error if the format has become invalid. However, this check cannot tell if the number of items or categories changed, which could result in the file containing inconsistent information. You can repair this inconsistency by invoking the command `todo-repair-categories-sexp', but this will revert any renumbering of the categories you have made, so you will have to renumber them again (see `(todo-mode) Reordering Categories'). passed 2/39 todo-test-current-file-in-edit-mode (0.270833 sec) passed 3/39 todo-test-done-items-separator01-bol (0.129566 sec) passed 4/39 todo-test-done-items-separator01-eol (0.145479 sec) passed 5/39 todo-test-done-items-separator02-bol (0.111079 sec) passed 6/39 todo-test-done-items-separator02-eol (0.112115 sec) passed 7/39 todo-test-done-items-separator03-bol (0.156204 sec) passed 8/39 todo-test-done-items-separator03-eol (0.154852 sec) passed 9/39 todo-test-done-items-separator04-bol (0.171032 sec) passed 10/39 todo-test-done-items-separator04-eol (0.193185 sec) passed 11/39 todo-test-done-items-separator05-bol (0.154420 sec) passed 12/39 todo-test-done-items-separator05-eol (0.152174 sec) passed 13/39 todo-test-done-items-separator06-bol (0.169586 sec) passed 14/39 todo-test-done-items-separator06-eol (0.126120 sec) passed 15/39 todo-test-done-items-separator07 (0.187008 sec) passed 16/39 todo-test-edit-item-date-month (0.192969 sec) Warning (todo): Type C-x C-q to return to Todo mode. This also runs a file format check and signals an error if the format has become invalid. However, this check cannot tell if the number of items or categories changed, which could result in the file containing inconsistent information. You can repair this inconsistency by invoking the command `todo-repair-categories-sexp', but this will revert any renumbering of the categories you have made, so you will have to renumber them again (see `(todo-mode) Reordering Categories'). Warning (todo): Type C-x C-q to return to Todo Archive mode. This also runs a file format check and signals an error if the format has become invalid. However, this check cannot tell if the number of items or categories changed, which could result in the file containing inconsistent information. You can repair this inconsistency by invoking the command `todo-repair-categories-sexp', but this will revert any renumbering of the categories you have made, so you will have to renumber them again (see `(todo-mode) Reordering Categories'). passed 17/39 todo-test-edit-quit (0.354015 sec) passed 18/39 todo-test-item-highlighting (0.030907 sec) passed 19/39 todo-test-move-item01 (0.179885 sec) passed 20/39 todo-test-move-item02 (0.135768 sec) passed 21/39 todo-test-move-item03 (0.081981 sec) passed 22/39 todo-test-move-item04 (0.087317 sec) passed 23/39 todo-test-move-item05 (0.135557 sec) passed 24/39 todo-test-multiline-item-indentation-1 (0.122302 sec) Type C-x C-q to return to Todo mode. passed 25/39 todo-test-multiline-item-indentation-2 (0.166801 sec) Warning (todo): Type C-x C-q to return to Todo mode. This also runs a file format check and signals an error if the format has become invalid. However, this check cannot tell if the number of items or categories changed, which could result in the file containing inconsistent information. You can repair this inconsistency by invoking the command `todo-repair-categories-sexp', but this will revert any renumbering of the categories you have made, so you will have to renumber them again (see `(todo-mode) Reordering Categories'). passed 26/39 todo-test-multiline-item-indentation-3 (0.316444 sec) passed 27/39 todo-test-raise-lower-priority (0.122647 sec) passed 28/39 todo-test-revert-buffer01 (0.134979 sec) passed 29/39 todo-test-revert-buffer02 (0.120267 sec) passed 30/39 todo-test-todo-mark-unmark-category (0.087925 sec) passed 31/39 todo-test-todo-quit01 (0.576536 sec) passed 32/39 todo-test-todo-quit02 (0.160571 sec) passed 33/39 todo-test-toggle-item-header01 (0.027441 sec) passed 34/39 todo-test-toggle-item-header02 (0.124355 sec) passed 35/39 todo-test-toggle-item-header03 (0.153855 sec) passed 36/39 todo-test-toggle-item-header04 (0.203886 sec) passed 37/39 todo-test-toggle-item-header05 (0.199669 sec) Items unarchived. passed 38/39 todo-test-toggle-item-header06 (0.391414 sec) passed 39/39 todo-test-toggle-item-header07 (0.098373 sec) Ran 39 tests, 38 results as expected, 1 unexpected (2022-10-12 09:37:34-0700, 6.913405 sec) 1 unexpected results: FAILED todo-test-add-and-delete-file --=-=-= Content-Type: text/plain In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) of 2022-10-05 built on naz Repository revision: e2027d60ba6c9a78ef9539234969ef2a44bf84fe Repository branch: my-build System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure --with-native-compilation --with-pgtk' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS XIM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: pyvenv-mode: t global-git-commit-mode: t magit-auto-revert-mode: t msb-mode: t display-time-mode: t global-tab-line-mode: t tab-line-mode: t shell-dirtrack-mode: t auto-insert-mode: t keyfreq-autosave-mode: t keyfreq-mode: t savehist-mode: t icomplete-vertical-mode: t icomplete-mode: t editorconfig-mode: t which-key-mode: t electric-pair-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t Load-path shadows: ~/env/elisp/ol-notmuch hides /home/matt/.config/emacs/elpa/ol-notmuch-20220428.1337/ol-notmuch /home/matt/.config/emacs/elpa/transient-20220918.2101/transient hides /home/matt/git/emacs-build/lisp/transient Features: (shadow emacsbug completion vc-annotate flyspell ispell perl-mode flymake-ruby flymake-easy ruby-mode whitespace conf-mode flymake-yamllint yaml-mode calc-alg calc-ext calc-menu calc calc-loaddefs calc-macs emoji-labels emoji multisession sqlite js qp pylint tramp tramp-loaddefs trampver tramp-integration tramp-compat ls-lisp yasnippet highlight-indentation elpy elpy-rpc pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util elpy-shell elpy-profile elpy-django s elpy-refactor ido hideshow grep cus-edit cus-start cus-load sh-script executable textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check macros apropos emacs-news-mode rect cl-print shortdoc help-fns radix-tree magit-patch magit-subtree magit-gitignore magit-ediff ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util term/xterm xterm git-rebase view facemenu two-column sort company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company mail-extr files-x mm-archive tabify man notmuch notmuch-tree notmuch-jump notmuch-hello notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-message notmuch-draft notmuch-maildir-fcc notmuch-address notmuch-company notmuch-parser notmuch-wash coolj goto-addr icalendar diary-lib diary-loaddefs notmuch-tag notmuch-lib notmuch-compat hl-line magit-extras face-remap magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func edebug magit-diff smerge-mode diff git-commit log-edit add-log magit-core magit-autorevert autorevert magit-margin magit-transient magit-process with-editor magit-mode transient magit-git magit-base crm dabbrev gud dired-aux misearch multi-isearch pulse display-line-numbers bug-reference protbuf msb time copyright mule-util markdown-mode color vc-hg vc-git diff-mode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view pcvs-util vc vc-dispatcher go-mode find-file etags fileloop eglot array jsonrpc ert pp ewoc debug backtrace xref flymake-proc flymake compile pcase imenu clang-format+ clang-format cap-words superword subword my llvm-c-style google-c-style cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs editorconfig-core editorconfig-core-handle editorconfig-fnmatch org-element avl-tree generator ol-w3m ol-rmail ol-mhe ol-irc ol-info org-habit org-agenda org-refile ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range message sendmail yank-media rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win ol-eww eww xdg url-queue shr pixel-fill kinsoku url-file svg xml dom puny mm-url gnus nnheader gnus-util text-property-search mail-utils range wid-edit mm-util mail-prsvr ol-doi org-link-doi ol-docview doc-view filenotify jka-compr image-mode exif dired dired-loaddefs ol-bibtex ol-bbdb tab-line server web-mode disp-table nix-mode ffap thingatpt smie nix-repl nix-shell nix-store magit-section dash compat-27 compat-26 nix-instantiate nix-shebang nix-format nix dirtrack ob-shell shell ob-ruby ob-python python compat compat-macs ob-dot org-protocol org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color ring org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex iso8601 time-date org-keys oc org-loaddefs find-func cal-menu calendar cal-loaddefs finder-inf ol-notmuch ol org-compat org-macs format-spec skeleton autoinsert advice keyfreq project edmacro kmacro savehist icomplete comp comp-cstr warnings icons rx editorconfig which-key package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source eieio eieio-core password-cache json subr-x map byte-opt url-vars cl-extra help-mode cl-macs gv cl-seq elec-pair use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core cl-loaddefs cl-lib bytecomp byte-compile cconv info bazel-autoloads clang-format+-autoloads clang-format-autoloads cmake-mode-autoloads d-mode-autoloads debbugs-autoloads editorconfig-autoloads eglot-autoloads elpy-autoloads company-autoloads exec-path-from-shell-autoloads flymake-ruby-autoloads flymake-easy-autoloads flymake-yamllint-autoloads go-mode-autoloads google-c-style-autoloads graphviz-dot-mode-autoloads highlight-indentation-autoloads magit-autoloads git-commit-autoloads markdown-mode-autoloads meson-mode-autoloads nix-mode-autoloads magit-section-autoloads dash-autoloads nixpkgs-fmt-autoloads ol-notmuch-autoloads notmuch-autoloads orderless-autoloads org-drill-autoloads ox-hugo-autoloads persist-autoloads pylint-autoloads pyvenv-autoloads s-autoloads shfmt-autoloads reformatter-autoloads tomelr-autoloads transient-autoloads use-package-autoloads bind-key-autoloads vertico-autoloads web-mode-autoloads which-key-autoloads with-editor-autoloads compat-autoloads yaml-mode-autoloads yasnippet-autoloads rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 1552683 200072) (symbols 48 60189 405) (strings 32 316503 22389) (string-bytes 1 9599931) (vectors 16 169883) (vector-slots 8 3447448 320750) (floats 8 774 987) (intervals 56 68555 6744) (buffers 1000 107)) -- matt (sent from an Emacs running the feature/noverlay branch) --=-=-=--