From: Paul Eggert <eggert@cs.ucla.edu>
To: 36940@debbugs.gnu.org
Cc: Michael Albinus <michael.albinus@gmx.de>
Subject: bug#36940: tests slowness and failure after recent Tramp changes
Date: Mon, 5 Aug 2019 17:28:12 -0700 [thread overview]
Message-ID: <57e233fe-19e9-6eac-7fd5-7e181879d4df@cs.ucla.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 516 bytes --]
I'm having trouble with 'make check' after the recent Tramp changes on master.
First, the Tramp tests are now too slow; they take over 6 minutes on my platform
(Fedora 30 x86-4, AMD Phenom II X4 910e, default optimization), which is so slow
that I don't want to run 'make check' while developing, which would be a bad
habit to get into.
Second, the tramp-test19-directory-files-and-attributes test now fails.
A nit: the output has some weird spacing and log lines.
Attached is a log illustrating the problem.
[-- Attachment #2: tramp-log.txt --]
[-- Type: text/plain, Size: 7704 bytes --]
$ cd test
$ make lisp/net/tramp-tests
make[1]: Entering directory '/home/eggert/src/gnu/emacs/static-checking/test'
ELC lisp/net/tramp-tests.elc
GEN lisp/net/tramp-tests.log
Running 67 tests (2019-08-05 17:14:55-0700, selector `(not (tag :unstable))')
Remote directory: `/mock::/tmp/'
passed 1/67 tramp-test00-availability (0.134091 sec)
passed 2/67 tramp-test01-file-name-syntax (0.000661 sec)
passed 3/67 tramp-test01-file-name-syntax-separate (0.057887 sec)
passed 4/67 tramp-test01-file-name-syntax-simplified (0.000537 sec)
passed 5/67 tramp-test02-file-name-dissect (0.164562 sec)
passed 6/67 tramp-test02-file-name-dissect-separate (0.182987 sec)
passed 7/67 tramp-test02-file-name-dissect-simplified (0.125639 sec)
passed 8/67 tramp-test03-file-name-defaults (0.047693 sec)
passed 9/67 tramp-test03-file-name-host-rules (0.047958 sec)
passed 10/67 tramp-test03-file-name-method-rules (0.000560 sec)
passed 11/67 tramp-test04-substitute-in-file-name (0.046616 sec)
passed 12/67 tramp-test05-expand-file-name (0.002662 sec)
failed 13/67 tramp-test05-expand-file-name-relative (0.109334 sec)
passed 14/67 tramp-test06-directory-file-name (0.008505 sec)
passed 15/67 tramp-test07-file-exists-p (0.292224 sec)
passed 16/67 tramp-test08-file-local-copy (0.572839 sec)
passed 17/67 tramp-test09-insert-file-contents (0.788645 sec)
Wrote /mock:Penguin.CS.UCLA.EDU:/tmp/tramp-testKPOCQh
Wrote /mock:Penguin.CS.UCLA.EDU:/tmp/tramp-testKPOCQh
Wrote /mock:Penguin.CS.UCLA.EDU:/tmp/tramp-testKPOCQh
Wrote /mock:Penguin.CS.UCLA.EDU:/:/tmp/tramp-testVgUm8p
Wrote /mock:Penguin.CS.UCLA.EDU:/:/tmp/tramp-testVgUm8p
Wrote /mock:Penguin.CS.UCLA.EDU:/:/tmp/tramp-testVgUm8p
passed 18/67 tramp-test10-write-region (2.489417 sec)
passed 19/67 tramp-test10-write-region-file-precious-flag (0.909157 sec)
passed 20/67 tramp-test11-copy-file (4.763587 sec)
passed 21/67 tramp-test12-rename-file (5.399255 sec)
passed 22/67 tramp-test13-make-directory (0.285463 sec)
passed 23/67 tramp-test14-delete-directory (0.408382 sec)
passed 24/67 tramp-test15-copy-directory (2.118540 sec)
passed 25/67 tramp-test16-directory-files (0.551886 sec)
passed 26/67 tramp-test16-file-expand-wildcards (0.863207 sec)
passed 27/67 tramp-test17-dired-with-wildcards (1.344551 sec)
passed 28/67 tramp-test17-insert-directory (0.770590 sec)
passed 29/67 tramp-test18-file-attributes (0.913425 sec)
Test tramp-test19-directory-files-and-attributes backtrace:
signal(ert-test-failed (((should (tramp--test-file-attributes-equal-
ert-fail(((should (tramp--test-file-attributes-equal-p (file-attribu
(if (unwind-protect (setq value-4208 (apply fn-4206 args-4207)) (set
(let (form-description-4210) (if (unwind-protect (setq value-4208 (a
(let ((value-4208 'ert-form-evaluation-aborted-4209)) (let (form-des
(let* ((fn-4206 #'tramp--test-file-attributes-equal-p) (args-4207 (c
(if (tramp-compat-time-equal-p (nth 5 (file-attributes (expand-file-
(let ((elt (car --dolist-tail--))) (if (tramp-compat-time-equal-p (n
(while --dolist-tail-- (let ((elt (car --dolist-tail--))) (if (tramp
(let ((--dolist-tail-- attr)) (while --dolist-tail-- (let ((elt (car
(progn (make-directory tmp-name1) (let* ((fn-4191 #'file-directory-p
(unwind-protect (progn (make-directory tmp-name1) (let* ((fn-4191 #'
(let* ((tmp-name1 (tramp--test-make-temp-name nil quoted)) (tmp-name
(let ((quoted (car --dolist-tail--))) (let* ((tmp-name1 (tramp--test
(while --dolist-tail-- (let ((quoted (car --dolist-tail--))) (let* (
(let ((--dolist-tail-- (if (tramp--test-expensive-test) '(nil t) '(n
(closure (t) nil (let* ((fn-4186 #'tramp--test-enabled) (args-4187 (
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name tramp-test19-directory-files-and-attr
ert-run-or-rerun-test(#s(ert--stats :selector (not ...) :tests [...
ert-run-tests((not (tag :unstable)) #f(compiled-function (event-type
ert-run-tests-batch((not (tag :unstable)))
ert-run-tests-batch-and-exit((not (tag :unstable)))
eval((ert-run-tests-batch-and-exit '(not (tag :unstable))) t)
command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/net/tramp-tests.el"
command-line()
normal-top-level()
Test tramp-test19-directory-files-and-attributes condition:
(ert-test-failed
((should
(tramp--test-file-attributes-equal-p
(file-attributes ...)
(cdr elt)))
:form
(tramp--test-file-attributes-equal-p
(t 2 1000 1000
(0 0 0 1000)
(0 0 0 1000)
(0 0 0 1000)
60 "drwxrwxr-x" nil ...)
(t 2 1000 1000
(0 0 0 1000)
(0 0 0 1000)
(0 0 0 1000)
100 "drwxrwxr-x" nil ...))
:value nil :explanation
(list-elt 7
(different-atoms
(60 "#x3c" "?<")
(100 "#x64" "?d")))))
FAILED 30/67 tramp-test19-directory-files-and-attributes (0.395179 sec)
passed 31/67 tramp-test20-file-modes (0.494030 sec)
passed 32/67 tramp-test21-file-links (3.496317 sec)
passed 33/67 tramp-test22-file-times (0.635292 sec)
passed 34/67 tramp-test23-visited-file-modtime (0.467235 sec)
passed 35/67 tramp-test24-file-acl (1.166780 sec)
passed 36/67 tramp-test25-file-selinux (1.071320 sec)
passed 37/67 tramp-test26-file-name-completion (1.717422 sec)
passed 38/67 tramp-test27-load (0.674823 sec)
passed 39/67 tramp-test28-process-file (0.354999 sec)
passed 40/67 tramp-test29-start-file-process (0.611865 sec)
passed 41/67 tramp-test30-make-process (1.050409 sec)
passed 42/67 tramp-test31-interrupt-process (0.227394 sec)
passed 43/67 tramp-test32-shell-command (1.585847 sec)
passed 44/67 tramp-test33-environment-variables (1.115707 sec)
passed 45/67 tramp-test33-environment-variables-and-port-numbers (0.181967 sec)
passed 46/67 tramp-test34-connection-local-variables (1.904476 sec)
passed 47/67 tramp-test34-explicit-shell-file-name (0.245684 sec)
passed 48/67 tramp-test35-exec-path (0.582164 sec)
passed 49/67 tramp-test35-remote-path (7.544241 sec)
(Git)
passed 50/67 tramp-test36-vc-registered (1.141876 sec)
passed 51/67 tramp-test37-make-auto-save-file-name (0.230174 sec)
passed 52/67 tramp-test38-find-backup-file-name (0.480164 sec)
passed 53/67 tramp-test39-make-nearby-temp-file (0.317687 sec)
passed 54/67 tramp-test40-special-characters (20.833243 sec)
passed 55/67 tramp-test40-special-characters-with-ls (21.260023 sec)
passed 56/67 tramp-test40-special-characters-with-perl (25.160176 sec)
passed 57/67 tramp-test40-special-characters-with-stat (20.912877 sec)
passed 58/67 tramp-test41-utf8 (62.499158 sec)
passed 59/67 tramp-test41-utf8-with-ls (60.226228 sec)
passed 60/67 tramp-test41-utf8-with-perl (69.988970 sec)
passed 61/67 tramp-test41-utf8-with-stat (61.849094 sec)
passed 62/67 tramp-test42-file-system-info (0.137832 sec)
passed 63/67 tramp-test44-auto-load (0.253701 sec)
passed 64/67 tramp-test44-delay-load (0.326123 sec)
passed 65/67 tramp-test44-recursive-load (0.488679 sec)
passed 66/67 tramp-test44-remote-load-path (0.279566 sec)
passed 67/67 tramp-test45-unload (0.387463 sec)
Ran 67 tests, 66 results as expected, 1 unexpected (2019-08-05 17:21:32-0700, 397.134878 sec)
1 expected failures
1 unexpected results:
FAILED tramp-test19-directory-files-and-attributes
make[1]: *** [Makefile:183: lisp/net/tramp-tests.log] Error 1
make[1]: Leaving directory '/home/eggert/src/gnu/emacs/static-checking/test'
make: *** [Makefile:248: lisp/net/tramp-tests] Error 2
next reply other threads:[~2019-08-06 0:28 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-06 0:28 Paul Eggert [this message]
2019-08-06 12:59 ` bug#36940: tests slowness and failure after recent Tramp changes Michael Albinus
2019-08-06 16:13 ` Paul Eggert
2019-08-06 19:16 ` Michael Albinus
2019-08-06 19:54 ` Michael Albinus
2019-08-06 23:27 ` Paul Eggert
2019-08-07 15:20 ` Michael Albinus
2019-08-07 19:36 ` Paul Eggert
2019-08-08 14:14 ` Michael Albinus
2019-08-07 21:42 ` Glenn Morris
2019-08-08 13:52 ` Michael Albinus
2019-08-10 1:39 ` Paul Eggert
2019-08-10 9:43 ` Michael Albinus
2019-08-10 20:24 ` Paul Eggert
2019-08-11 10:12 ` Michael Albinus
2019-08-14 10:31 ` Michael Albinus
2019-08-15 4:26 ` Paul Eggert
2019-08-24 1:51 ` Stefan Kangas
2019-08-24 8:08 ` Michael Albinus
2019-08-24 12:51 ` Stefan Kangas
[not found] ` <CADwFkmnZ1D-t3BchTSuUrkbkOpKG=yCH9c1ZJbkyGr9mUZrAUg@mail.gmail.com>
2019-08-25 9:27 ` Michael Albinus
2019-08-25 9:51 ` Eli Zaretskii
2019-08-25 10:07 ` Eli Zaretskii
2019-08-25 11:26 ` Michael Albinus
2019-08-25 11:39 ` Eli Zaretskii
2019-08-25 11:46 ` Michael Albinus
2019-08-25 11:58 ` Eli Zaretskii
2019-08-26 9:22 ` Michael Albinus
2019-08-26 9:59 ` Eli Zaretskii
2019-08-26 11:47 ` Michael Albinus
2019-08-26 12:54 ` Stefan Kangas
2019-08-26 14:19 ` Michael Albinus
2019-08-26 14:36 ` Stefan Kangas
2019-08-26 15:09 ` Michael Albinus
2019-08-26 15:46 ` Stefan Kangas
2019-08-26 16:43 ` Michael Albinus
2019-08-26 17:46 ` Stefan Kangas
2019-08-26 19:47 ` Michael Albinus
2019-08-27 16:34 ` Stefan Kangas
2019-08-27 16:56 ` Michael Albinus
2019-08-28 0:23 ` Stefan Kangas
2019-08-25 11:28 ` Michael Albinus
2019-08-25 11:48 ` Michael Albinus
2019-08-25 15:39 ` Paul Eggert
2019-08-25 16:34 ` Michael Albinus
2019-08-25 20:36 ` Paul Eggert
2019-08-26 8:44 ` Michael Albinus
2019-08-27 2:17 ` Paul Eggert
2019-08-27 11:03 ` Michael Albinus
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=57e233fe-19e9-6eac-7fd5-7e181879d4df@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=36940@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/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.