unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Anders Lindgren <andlind@gmail.com>
Cc: 22145@debbugs.gnu.org
Subject: bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X
Date: Fri, 18 Dec 2015 09:12:30 +0100	[thread overview]
Message-ID: <87wpsc18gh.fsf@gmx.de> (raw)
In-Reply-To: <CABr8ebZc=PMushCSTmFTvvMvxzM1+vPXWLnTqkJK1fcpWwQ25A@mail.gmail.com> (Anders Lindgren's message of "Thu, 17 Dec 2015 20:38:48 +0100")

Anders Lindgren <andlind@gmail.com> writes:

> Hi,

Hi Anders,

> I tried to see what actually happened in the test cases.
>
> I seem to have boiled things down to the following line, when
> evaluated, tramp hangs. When enabling debug-on-quit, I get the
> attached backtrace after hitting C-g.
>
> (write-region "test" nil
> "/mock:anders-lindgrens-macbook.local:/private/var/folders/qq/qqGPPGoBHOGgJs3oBoKTHU+++TI/-Tmp-/tramp-test1900-Fy/test")
>
>
> The directory exists and is empty.
>
> It looks like the code tries to run an external command "mock" (which
> doesn't exits, as far as I know).

Nope. "mock" is not a command. It is a fake (mock) Tramp method I create
on-the-fly when running tramp-test.el. This is because I cannot use any
real Tramp method, because usually they require user authentication,
which is a no-go for tests running in batch mode.

According to your backtrace, you have interrupted Tramp at the following
place:

> Debugger entered--Lisp error: (quit)
>   accept-process-output(#<process *tramp/mock anders-lindgrens-macbook.local*> 1 nil t)
>   tramp-accept-process-output(#<process *tramp/mock anders-lindgrens-macbook.local*> 1)
>   tramp-wait-for-regexp(#<process *tramp/mock anders-lindgrens-macbook.local*> nil "\\(^\\|\\)[^#$\n]*///9132fe7dc760b6d1120df52ca7cc56ca#\\$?$")
>   tramp-wait-for-output(#<process *tramp/mock anders-lindgrens-macbook.local*>)
>   tramp-send-command(["mock" nil "anders-lindgrens-macbook.local" "/private/var/folders/qq/qqGPPGoBHOGgJs3oBoKTHU+++TI/-Tmp-/tramp-test1900-Fy/test" nil] "echo \\\"`getconf PATH 2>/dev/null`\\\" 2>/dev/null; echo tramp_exit_status $?")

This is the command "echo \\\"`getconf PATH 2>/dev/null`\\\"
2>/dev/null; echo tramp_exit_status $?", which shouldn't fail. At least
it didn't fail so far.

Could you send the full Tramp traces? Maybe my last change has damaged
something else.

> -- Anders

Best regards, Michael.





  reply	other threads:[~2015-12-18  8:12 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11  6:46 bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X Anders Lindgren
2015-12-12  9:31 ` Michael Albinus
2015-12-12 18:35   ` Anders Lindgren
2015-12-12 19:21     ` Michael Albinus
2015-12-12 21:05       ` Anders Lindgren
2015-12-13  9:02         ` Michael Albinus
2015-12-13 15:36           ` Eli Zaretskii
2015-12-13 21:44           ` Anders Lindgren
2015-12-15 11:33             ` Michael Albinus
2015-12-15 19:56               ` Anders Lindgren
2015-12-15 22:57                 ` Michael Albinus
2015-12-16  6:26                   ` Anders Lindgren
2015-12-16 22:39                     ` Michael Albinus
2015-12-17 19:38                       ` Anders Lindgren
2015-12-18  8:12                         ` Michael Albinus [this message]
2015-12-18 19:55                           ` Anders Lindgren
2015-12-19 19:24                             ` Michael Albinus
2015-12-19 22:43                               ` Anders Lindgren
2015-12-20 12:30                                 ` Michael Albinus
2015-12-20 15:38                                   ` Anders Lindgren
2015-12-20 15:42                                     ` Michael Albinus
2015-12-20 17:31                                       ` Anders Lindgren
2015-12-20 17:55                                         ` Michael Albinus
2015-12-21 22:35                                           ` Anders Lindgren
2015-12-22 11:03                                             ` Michael Albinus
     [not found]                                               ` <CABr8ebaB1SqyrOSTXkQNSsf+bAd-JqBAYDR8_BiTsBikG-Eykw@mail.gmail.com>
2015-12-25  9:56                                                 ` Michael Albinus
2015-12-26  5:01                                                   ` Anders Lindgren
2015-12-26 19:56                                                     ` Michael Albinus
2015-12-26 21:41                                                       ` Anders Lindgren
2016-01-05 21:33                                               ` John Wiegley
2016-01-05 21:36                                                 ` Michael Albinus
2016-01-06  0:07                                                   ` John Wiegley
2016-01-06  4:53                                                     ` Michael Albinus
2016-01-06 18:39                                                       ` John Wiegley
2016-01-06 18:48                                                         ` Eli Zaretskii
2016-01-06 19:04                                                           ` John Wiegley
2016-01-07 20:03                                                             ` Michael Albinus
2016-01-07 20:31                                                               ` Anders Lindgren
2016-01-08  3:17                                                                 ` Random832
2016-01-08  6:03                                                                 ` Richard Stallman
2016-01-07 23:34                                                               ` John Wiegley
2016-01-08  9:13                                                                 ` Michael Albinus
2016-01-08  3:11                                                               ` Random832
2016-01-08  9:01                                                                 ` Michael Albinus
2016-01-08 13:39                                                                   ` Random832
2016-01-08 14:17                                                                     ` Michael Albinus
2016-01-08 17:40                                                                       ` Random832
2016-01-08 18:47                                                                         ` Michael Albinus
2016-01-08 20:14                                                                           ` Random832
2016-01-09 13:00                                                                             ` Michael Albinus
2016-01-09 13:06                                                                               ` Eli Zaretskii
2016-01-09 19:15                                                                                 ` Michael Albinus
2016-01-09 19:24                                                                                 ` Random832
2016-01-09 20:18                                                                                 ` Michael Albinus
2016-01-09 20:26                                                                                   ` Eli Zaretskii
2016-01-10  8:49                                                                                     ` Michael Albinus
2016-01-10 12:50                                                                                       ` Michael Albinus
     [not found]                                                                                         ` <m2fuvq2p62.fsf@newartisans.com>
2016-03-17 19:39                                                                                           ` Michael Albinus
2016-03-21 21:08                                                                                             ` John Wiegley
2016-03-22 10:09                                                                                               ` Michael Albinus
     [not found]                                                                                                 ` <87twjpi0nl.fsf@gmx.de>
     [not found]                                                                                                   ` <m2zithoz98.fsf@newartisans.com>
     [not found]                                                                                                     ` <87bn5widue.fsf@gmx.de>
     [not found]                                                                                                       ` <m260w3ex7p.fsf@newartisans.com>
     [not found]                                                                                                         ` <874mbnj4hi.fsf@gmx.de>
     [not found]                                                                                                           ` <m2wpojahsp.fsf@newartisans.com>
     [not found]                                                                                                             ` <87wpojhh8t.fsf@gmx.de>
     [not found]                                                                                                               ` <m2k2kjadov.fsf@newartisans.com>
     [not found]                                                                                                                 ` <878u0z6lty.fsf@gmx.de>
2016-04-01  8:36                                                                                                                   ` Michael Albinus
2016-04-02 21:38                                                                                                                     ` John Wiegley
2016-04-03  6:52                                                                                                                       ` Michael Albinus
2016-01-12 16:24                                                                               ` John Wiegley
2016-01-12 17:04                                                                               ` John Wiegley
2016-01-12 19:05                                                                                 ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wpsc18gh.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=22145@debbugs.gnu.org \
    --cc=andlind@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).