From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#30807: Tramp tests take waaayyy too long and refuse to exit Date: Wed, 14 Mar 2018 10:07:41 +0100 Message-ID: <87efkn9g9u.fsf@gmx.de> References: <1fde81b8-b266-86b8-133a-1bde81145346@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1521018439 11824 195.159.176.226 (14 Mar 2018 09:07:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2018 09:07:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 30807@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 14 10:07:14 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ew2NO-0002yo-CW for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Mar 2018 10:07:14 +0100 Original-Received: from localhost ([::1]:45021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ew2PR-00012R-FV for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Mar 2018 05:09:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ew2PB-0000wM-IT for bug-gnu-emacs@gnu.org; Wed, 14 Mar 2018 05:09:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ew2P8-00081e-AQ for bug-gnu-emacs@gnu.org; Wed, 14 Mar 2018 05:09:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52486) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ew2P8-00081Q-6Q for bug-gnu-emacs@gnu.org; Wed, 14 Mar 2018 05:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ew2P7-00011R-Rg for bug-gnu-emacs@gnu.org; Wed, 14 Mar 2018 05:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Mar 2018 09:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30807 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30807-submit@debbugs.gnu.org id=B30807.15210184823849 (code B ref 30807); Wed, 14 Mar 2018 09:09:01 +0000 Original-Received: (at 30807) by debbugs.gnu.org; 14 Mar 2018 09:08:02 +0000 Original-Received: from localhost ([127.0.0.1]:60383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ew2OA-000100-Gq for submit@debbugs.gnu.org; Wed, 14 Mar 2018 05:08:02 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:43517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ew2O8-0000zV-2q for 30807@debbugs.gnu.org; Wed, 14 Mar 2018 05:08:00 -0400 Original-Received: from detlef.gmx.de ([213.220.156.85]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MY3Ho-1f99OJ2yps-00UttL; Wed, 14 Mar 2018 10:07:43 +0100 In-Reply-To: <1fde81b8-b266-86b8-133a-1bde81145346@cs.ucla.edu> (Paul Eggert's message of "Tue, 13 Mar 2018 13:48:57 -0700") X-Provags-ID: V03:K0:Kors8WD9yn8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enThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144248 Archived-At: Paul Eggert writes: Hi Paul, > For the past few weeks "make check" has been taking a looooong time on > Emacs master on my Fedora 27 desktop (AMD Phenom II X4 910e). All following timings are performed on my 8-years old ThinkPad T500 (Intel Core2 Duo T9550, 4MB RAM). Yes, something is wrong. In the emacs-26 branch, I see --8<---------------cut here---------------start------------->8--- $ time make -C test tramp-tests SELECTOR=3D'$(SELECTOR_DEFAULT)' 28.902u 4.947s 0:36.09 93.7% 0+0k 4448+4568io 0pf+0w --8<---------------cut here---------------end--------------->8--- The same call in master yields --8<---------------cut here---------------start------------->8--- $ time make -C test tramp-tests SELECTOR=3D'$(SELECTOR_DEFAULT)' 228.608u 7.401s 4:08.63 94.9% 0+0k 8064+8784io 8pf+0w --8<---------------cut here---------------end--------------->8--- Up to eight time slower. I will check what's up. (Usually, I run only the expensive Tramp tests, so I haven't seen this yet) > and some of the tests in the corresponding script look to be very > slow. Can this be sped up? Let's mark the slow tests to be expensive, > so that they are run only if one executes "make check-expensive". This is already the case. I guess you've uncovered an error, which must be fixed. > Worse, there's another long wait here: > > =C2=A0 GEN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 lisp/net/tramp-archive-tests.log > > after this line is output: > > =C2=A0=C2=A0 passed=C2=A0 20/22=C2=A0 tramp-archive-test40-file-system-in= fo I don't see an error here. I get --8<---------------cut here---------------start------------->8--- $ time make -C test tramp-archive-tests SELECTOR=3D'$(SELECTOR_DEFAULT)' 11.131u 0.678s 0:17.43 67.6% 0+0k 0+104io 0pf+0w --8<---------------cut here---------------end--------------->8--- This is not superfast (17s duration), but maybe acceptable. > and here the wait is so long that I gave up trying to run the tests > and typed control-C to exit them. Presumably the semi-inflooping test > is tramp-archive-test42-auto-load. (Why is it 42 and not 41? Why are > there two test42s? I don't know.) No problem here: --8<---------------cut here---------------start------------->8--- $ time make -C test tramp-archive-tests SELECTOR=3D'\"tramp-archive-test42-= auto-load\"' 1.505u 0.256s 0:02.64 66.2% 0+0k 0+0io 0pf+0w --8<---------------cut here---------------end--------------->8--- The reasoning for the test numbering is explained in the comment of tramp-archive-tests.el: ;; The `tramp-archive-testnn-*' tests correspond to the respective ;; tests in tramp-tests.el. > Worse yet, after I control-C out of "make check" and get a shell > prompt back, a subsidiary Emacs that is running the Tramp test refuses > to exit and continues to chew up CPU time in the background until I > use "kill 3304" (or whatever) to kill it. This really needs to get > fixed. I will try to produce some instrumentation for tramp-archive-test42-auto-lo= ad in order to catch your problem. > Because of these problems I no longer routinely run "make check". This is bad, and we shall fix it. Best regards, Michael.