[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X
From: |
Michael Albinus |
Subject: |
bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X |
Date: |
Fri, 18 Dec 2015 09:12:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
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.
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, (continued)
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Anders Lindgren, 2015/12/12
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Michael Albinus, 2015/12/13
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Eli Zaretskii, 2015/12/13
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Anders Lindgren, 2015/12/14
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Michael Albinus, 2015/12/15
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Anders Lindgren, 2015/12/15
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Michael Albinus, 2015/12/15
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Anders Lindgren, 2015/12/16
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Michael Albinus, 2015/12/16
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Anders Lindgren, 2015/12/17
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X,
Michael Albinus <=
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Anders Lindgren, 2015/12/18
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Michael Albinus, 2015/12/19
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Anders Lindgren, 2015/12/19
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Michael Albinus, 2015/12/20
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Anders Lindgren, 2015/12/20
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Michael Albinus, 2015/12/20
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Anders Lindgren, 2015/12/20
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Michael Albinus, 2015/12/20
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Anders Lindgren, 2015/12/21
- bug#22145: 25.0.50; tramp and auto-revert tests hang on OS X, Michael Albinus, 2015/12/22