|
From: | Anders Lindgren |
Subject: | bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X |
Date: | Fri, 18 Dec 2015 20:55:42 +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.
tramp-bt4.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |