From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#37202: shadowfile-tests: two failures on macOS Date: Thu, 19 Sep 2019 17:19:35 -0700 Organization: UCLA Computer Science Department Message-ID: <62ea6270-30a8-fe82-e9ed-e12a733b6983@cs.ucla.edu> References: <871rx5wvmo.fsf@gmx.de> <87blw8oz9d.fsf@gmx.de> <87muflpoiz.fsf@gmx.de> <87ftlcxnm0.fsf@gmx.de> <8736h8mm48.fsf@gmx.de> <87y2yzkxle.fsf@gmx.de> <87a7b8idm1.fsf@gmx.de> <87woe9halp.fsf@gmx.de> <871rwck0e1.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="139451"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 Cc: Stefan Kangas , 37202@debbugs.gnu.org To: Michael Albinus , Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 20 02:20:38 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iB6f7-000a8D-6I for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Sep 2019 02:20:37 +0200 Original-Received: from localhost ([::1]:50020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iB6f5-0001Zy-Ez for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Sep 2019 20:20:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44663) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iB6ea-00016M-Jk for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2019 20:20:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iB6eY-0006tR-Nw for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2019 20:20:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47764) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iB6eY-0006tM-FF for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2019 20:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iB6eY-00066K-9B for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2019 20:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Sep 2019 00:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37202 X-GNU-PR-Package: emacs Original-Received: via spool by 37202-submit@debbugs.gnu.org id=B37202.156893878423419 (code B ref 37202); Fri, 20 Sep 2019 00:20:02 +0000 Original-Received: (at 37202) by debbugs.gnu.org; 20 Sep 2019 00:19:44 +0000 Original-Received: from localhost ([127.0.0.1]:56585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iB6eF-00065e-Mn for submit@debbugs.gnu.org; Thu, 19 Sep 2019 20:19:43 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:54852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iB6eE-00065R-6b for 37202@debbugs.gnu.org; Thu, 19 Sep 2019 20:19:42 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7B6E21600A0; Thu, 19 Sep 2019 17:19:36 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 6i2bqkHGxVMn; Thu, 19 Sep 2019 17:19:35 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 8D8E11600B0; Thu, 19 Sep 2019 17:19:35 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Tw2DAyaVI_Rr; Thu, 19 Sep 2019 17:19:35 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 7066D1600A0; Thu, 19 Sep 2019 17:19:35 -0700 (PDT) In-Reply-To: <871rwck0e1.fsf@gmx.de> Content-Language: en-US X-BeenThere: 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: 209.51.188.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:166741 Archived-At: On 9/19/19 4:09 AM, Michael Albinus wrote: >> https://hydra.nixos.org/build/101137999 > > ... It seems rather that this is the first sign that Paul's > recent changes have damaged Tramp. I mean, that file-attributes returns > an error now instead of nil, if a file is not accessible. Could you explain how the backtrace implicates file-attributes? I see the following in the backtrace, but I don't see file-attributes listed there, and when I look at the tramp-handle-file-modes source it appears that file-attributes returned nil which is what I think you expected. Test shadow-test08-shadow-todo backtrace: signal(args-out-of-range ("([] 1)")) tramp-signal-hook-function(args-out-of-range ([] 1)) tramp-mode-string-to-int(nil) tramp-handle-file-modes(#("/mock:localhost:/build/shadowfile-tests75GTBI" 6 15 (tramp-default t))) apply(tramp-handle-file-modes #("/mock:localhost:/build/shadowfile-tests75GTBI" 6 15 (tramp-default t))) tramp-sh-file-name-handler(file-modes #("/mock:localhost:/build/shadowfile-tests75GTBI" 6 15 (tramp-default t))) apply(tramp-sh-file-name-handler file-modes #("/mock:localhost:/build/shadowfile-tests75GTBI" 6 15 (tramp-default t))) tramp-file-name-handler(file-modes #("/mock:localhost:/build/shadowfile-tests75GTBI" 6 15 (tramp-default t))) file-modes(#("/mock:localhost:/build/shadowfile-tests75GTBI" 6 15 (tramp-default t)))