all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Philipp <p.stephani2@gmail.com>
Cc: 42538@debbugs.gnu.org
Subject: bug#42538: 28.0.50; tramp-test35-remote-path test timing out on macOS
Date: Sun, 26 Jul 2020 11:19:31 +0200	[thread overview]
Message-ID: <87ft9epra4.fsf@gmx.de> (raw)
In-Reply-To: <m2h7tv76xg.fsf@gmail.com> (Philipp's message of "Sat, 25 Jul 2020 21:04:11 +0200")

[-- Attachment #1: Type: text/plain, Size: 1023 bytes --]

Philipp <p.stephani2@gmail.com> writes:

Hi Philipp,

> This is another follow-up to Bug#30700.  This time a specific TRAMP test
> times out on macOS:
>
> $ timeout -v 30m make -C test lisp/net/tramp-tests SELECTOR=tramp-test35-remote-path
>   GEN      lisp/net/tramp-tests.log
> Running 1 tests (2020-07-25 20:28:58+0200, selector `tramp-test35-remote-path')
> timeout: sending signal TERM to command ‘make’
> make[1]: *** [lisp/net/tramp-tests.log] Terminated: 15
> make: *** [lisp/net/tramp-tests] Terminated: 15

Well, I don't run macOS, so I cannot reproduce.

Could you please apply the appended patch to tramp-tests.el? Then run

$ rm test/lisp/net/tramp-tests.log
$ timeout -v 30s make -C test lisp/net/tramp-tests.log SELECTOR=tramp-test35-remote-path

This generates the file tramp-tests.log, which I would like to
see. Likely, it is huge, so pls send it directly to me.

I have also shortened the timeout to 30s; usually the test runs a
second, or two.

Best rewgards, Michael.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 917 bytes --]

diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 34782e7f15..b41f5bad87 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -5213,6 +5213,7 @@ tramp-test35-remote-path
   ;; Since Emacs 27.1.
   (skip-unless (fboundp 'exec-path))

+  (tramp--test-instrument-test-case 6
   (let* ((tmp-name (tramp--test-make-temp-name))
 	 (default-directory tramp-test-temporary-file-directory)
          (orig-exec-path (with-no-warnings (exec-path)))
@@ -5267,7 +5268,7 @@ tramp-test35-remote-path
       ;; Cleanup.
       (tramp-cleanup-connection tramp-test-vec 'keep-debug 'keep-password)
       (setq tramp-remote-path orig-tramp-remote-path)
-      (ignore-errors (delete-directory tmp-name 'recursive)))))
+      (ignore-errors (delete-directory tmp-name 'recursive))))))

 (ert-deftest tramp-test36-vc-registered ()
   "Check `vc-registered'."

  reply	other threads:[~2020-07-26  9:19 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-25 19:04 bug#42538: 28.0.50; tramp-test35-remote-path test timing out on macOS Philipp
2020-07-26  9:19 ` Michael Albinus [this message]
2020-07-26 14:13   ` Philipp Stephani
2020-07-26 15:52     ` Michael Albinus
2020-07-26 21:39       ` Philipp Stephani
2020-07-27 15:28         ` Michael Albinus
2020-07-29 14:26           ` Michael Albinus
2020-07-29 19:34             ` Philipp Stephani
2020-07-30 11:53               ` Michael Albinus
2020-07-31 15:02                 ` Philipp Stephani
2020-07-31 15:22                   ` Philipp Stephani
2020-07-31 16:55                     ` Michael Albinus
2020-07-31 17:30                       ` Philipp Stephani
2020-07-31 18:04                         ` Michael Albinus
2020-07-31 18:59                           ` Andreas Schwab
2020-07-31 19:53                           ` Philipp Stephani
2020-08-01 18:15                             ` Michael Albinus
2020-08-01 19:24                               ` Philipp Stephani
2020-08-01 19:27                                 ` Philipp Stephani
2020-08-02 11:37                                   ` Michael Albinus
2020-08-02 14:29                                     ` Philipp Stephani
2020-08-02 15:29                                       ` Michael Albinus
2020-08-02 11:32                                 ` 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=87ft9epra4.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=42538@debbugs.gnu.org \
    --cc=p.stephani2@gmail.com \
    /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.