From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#26911: 25.2; eshell "cd .." doesn't work correctly with TRAMP Date: Sat, 05 Sep 2020 14:18:30 +0300 Message-ID: <83lfhopj3t.fsf@gnu.org> References: <693aa189-03fa-b963-89eb-ce19c51ba325@cs.ucla.edu> <83wo1jz32t.fsf@gnu.org> <83sgc7z220.fsf@gnu.org> <83r1rryrk0.fsf@gnu.org> <47047d69-91aa-fd0d-1510-64ba7c246970@cs.ucla.edu> <83a6yeynd1.fsf@gnu.org> <03a31052-795a-c169-c199-2b0f3ba88ec2@cs.ucla.edu> <83sgc5xq8k.fsf@gnu.org> <164450fe-7f86-e336-87d4-13c52e52c61c@cs.ucla.edu> <83eenoxm18.fsf@gnu.org> <6acf8cfa-6071-e7b1-3055-04292634bb39@cs.ucla.edu> <83sgc2x3p2.fsf@gnu.org> <83imcuvkhd.fsf@gnu.org> <871rjhsqmr.fsf@gmx.de> <83lfhpu3st.fsf@gnu.org> <87wo19r6m2.fsf@gmx.de> <83eenhtxjv.fsf@gnu.org> <87r1rhr0rw.fsf@gmx.de> <838sdpqw07.fsf@gnu.org> <87363wr59c.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18585"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 26911@debbugs.gnu.org, mattiase@acm.org, eggert@cs.ucla.edu, yegortimoshenko@gmail.com To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 05 13:19:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEWDu-0004fs-3L for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 13:19:10 +0200 Original-Received: from localhost ([::1]:37914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEWDt-00014g-6V for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 07:19:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEWDm-00014V-JO for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 07:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58297) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEWDm-00084G-AI for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 07:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEWDm-0003TD-5f for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 07:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 11:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26911 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 26911-submit@debbugs.gnu.org id=B26911.159930472713318 (code B ref 26911); Sat, 05 Sep 2020 11:19:02 +0000 Original-Received: (at 26911) by debbugs.gnu.org; 5 Sep 2020 11:18:47 +0000 Original-Received: from localhost ([127.0.0.1]:41610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEWDX-0003Sk-47 for submit@debbugs.gnu.org; Sat, 05 Sep 2020 07:18:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEWDV-0003SX-Hy for 26911@debbugs.gnu.org; Sat, 05 Sep 2020 07:18:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33144) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEWDP-00083c-4b; Sat, 05 Sep 2020 07:18:39 -0400 Original-Received: from [176.228.60.248] (port=2474 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kEWDO-0005OB-I9; Sat, 05 Sep 2020 07:18:38 -0400 In-Reply-To: <87363wr59c.fsf@gmx.de> (message from Michael Albinus on Sat, 05 Sep 2020 10:34:39 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187203 Archived-At: > From: Michael Albinus > Cc: bug-gnu-emacs@gnu.org, 26911@debbugs.gnu.org, mattiase@acm.org, > eggert@cs.ucla.edu, yegortimoshenko@gmail.com > Date: Sat, 05 Sep 2020 10:34:39 +0200 > > > I'm talking to sysadmins to see how to overcome this problem, but in > > case I cannot, how do I run the Tramp suite one test at a time? can > > you show me an example command for that? > > # make tramp-tests SELECTOR='tramp-test05-expand-file-name' Thanks. FTR, this translates into the following invocation from the shell prompt: emacs -Q -batch -l test\lisp\net\tramp-tests.elc --eval "(ert-run-tests-batch-and-exit 'TEST-NAME)" First, I think I know the reason for the problem I had yesterday to run all the tests. There's some problem in the Tramp tests that causes almost each test that was run to leave 3 processes on the remote system: 2 sshd's and 1 /bin/sh. AFAICT, these are created by the first connection made by each test. Most tests create additional connections, but their processes are all killed or exit when the test completes, whereas this one connection is left behind. And some test leave behind more than one such triplet. So after running enough tests, the system is full of these triplets of zombie processes, and on a resource-challenged system that could cause additional connections to fail due to lack of resources to start another process. Is it possible to make sure these processes are killed as part of each test's cleanup? For now, I ran the tests one by one, each time killing the zombie processes manually on the remote system. It took some time... Anyway, doing this cleanup manually allowed me to run all the tests (skipping those which I knew to be "unstable"), and all but one of them succeeded. The one which failed is shown below together with the failure description: Test tramp-test30-make-process condition: (ert-test-failed ((should (string-match (if ... "unknown signal \\'" "killed.* \\'") (buffer-string))) :form (string-match "unknown signal \\'" "killed ") :value nil)) FAILED 1/1 tramp-test30-make-process (39.250000 sec) Just to be sure, I've ran this test twice, and each time it failed with the same error. I think this more or less concludes the testing of the fixes in these two bugs, so I'm going to close them now. Thanks.