GNU bug report logs - #58782
29.0.50; tramp-kubernetes - connection cache not cleared

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Filipp Gunbin <fgunbin@HIDDEN>; Keywords: notabug moreinfo; Done: Michael Albinus <michael.albinus@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) notabug. Request was from Michael Albinus <michael.albinus@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 58782-done <at> debbugs.gnu.org:


Received: (at 58782-done) by debbugs.gnu.org; 2 Dec 2022 11:05:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 02 06:05:46 2022
Received: from localhost ([127.0.0.1]:46021 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1p13rW-0007jW-Ei
	for submit <at> debbugs.gnu.org; Fri, 02 Dec 2022 06:05:46 -0500
Received: from mout.gmx.net ([212.227.15.19]:39043)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1p13rU-0007jQ-RQ
 for 58782-done <at> debbugs.gnu.org; Fri, 02 Dec 2022 06:05:45 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417;
 t=1669979138; bh=HyjS/k7i+jsOTXjSjDSkEzL7wgmjTKuC5rbcg1l9xlw=;
 h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date;
 b=OWV84npEJgXhlMvUrKWF58ow8gSM90IXfdatKkQ95mnTi7ftD+JlPYrnECGaNiY8t
 bip4DlG/cmNBe10ssKsd4QCefnEX+ZSn8CZftZJE8RccSEm8yfmYThNY+bua+wvRM7
 NZiyVHaSXC+AMus8gOzayn/nrhSPZAB8jVmdzsRTacju6nbassGcd0hxnHxfZb4fm6
 hfYSho8a/RyqYZTY9nYYCzebPmH34JJ/m6XIns9bV6W7ecED90a1ANQwwUH63CCcgj
 XFyBHYWk96FeAry7xVkxnXnTkXjUUkzKkmqP4UuSMMV8yEOSkIYp6qm3fwS6frqiW8
 7bV4mh7HFlXZA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from gandalf.gmx.de ([185.89.39.11]) by mail.gmx.net (mrgmx005
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MHXBj-1pE0It3Xmb-00DTvD for
 <58782-done <at> debbugs.gnu.org>; Fri, 02 Dec 2022 12:05:38 +0100
From: Michael Albinus <michael.albinus@HIDDEN>
To: 58782-done <at> debbugs.gnu.org
Subject: Re: bug#58782: 29.0.50; tramp-kubernetes - connection cache not
 cleared
In-Reply-To: <87y1s3yodx.fsf@HIDDEN> (Michael Albinus's message of "Tue, 22
 Nov 2022 16:55:54 +0100")
References: <m2sfjb7jfu.fsf@HIDDEN> <874jvmlir6.fsf@HIDDEN>
 <87y1s3yodx.fsf@HIDDEN>
Date: Fri, 02 Dec 2022 12:05:38 +0100
Message-ID: <871qpi6p6l.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:GbdWu2cHfj63p4kpiZL+/SH3I+PC2A/ltbFg8/hAWRJ+uRkN+tK
 TIujxDCnf9x6KPckdkCd+iuNolvyW7kSo/7ufUnETR4aW+IhUsdg8eJKDl3w6mLPK3tofo1
 ldOoLRVlrtxkliBq+BchpxMW3+qqeHdCW4rGt3YdL+U0Y+QhbnRPZ199LpEW0+GQ69CVb6O
 BvgePY/UAWEOxJ9u74kPw==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:LKIanlmG2k4=;/bj8n+iYVqJn6eg+EAE6S7P0Y+I
 1Thk9YNRyMLc6TgEt4vo/adZ7S3DOyjRF2WX3FgVqXbM08m6/AUeN4TCcPVe+GXHtRpHEnGGu
 DpzcwSVvu06YvGXDH1ElVnmXcFQDLG0a8R+l8q8XHIEyao8X0fXyBbQ7QCJxM+E2cvYCx5EuB
 50WERutwi9gIQYV7rzHmj/+lEx27sjWIfG0Sf6qyQnVRcskP3SDB19M/AITszCEgc2P9WixRX
 LnUO+hPzn0mRTPzUYXtz6XnPKEIczwZpfdy1CMRga9HSd8iUvz/tYYUZU6Li1f269ttrXk5cj
 xJm2EZAUsdE+1x0PJxJPEzqiEHh3ASg7LvvskH+c2M+4ZC28C6Eo0Y8hwecPspv4wQp8wq2Nm
 Zv5z2wAkObtnLjKTfRimxgpIXa7RtbgPjskVMhgdMuzoPnnVkVrQExRUqG/SfajtkWpzHkiVc
 qaON3g0ZNxdEl9e/yzwbD5S570n7XO7kylTzJswfVrAS55S9nqGDUadW1NBQad3QsNfj59haV
 Yp2quuOw2wn/xUO4008cARvoh+ycFZLUtaC20UIuxQbSnQ5j0Y9SSw5yTQlBG11piKAmTP30v
 QARVNEfUXCAMCQQCBg+m14PIEN+IjIdxRz112U3Agdg4pgs9YxDe8Hmds+bEWJFlu0pMAUTAA
 HEbcgRNGTFYFvv1JDACVUB9+pXMUUkyjhTe2n0Z7br9PVi8RrSa4sdE9C85n15s/79Lj5G2sL
 ElS4nc+DMb+0JbutzU149wMG2fSt1hQpcwCHFgZj75j3qdynz6UBJXoj36h8B4edlflhssTPB
 nrg5RzV1VCj4RltEu3OnxmVKKoI+4j0S8nGKd7f4EWS2Ko/MPYMZmADulabjBAgwJRCEISGn4
 xYHbVQR3WIY2JFbApNb61vMZEPvnqF8TIgNVJIS+foUnyrQesXq3VuPt/eXlsmPHVewEWbVVj
 ri0x2w==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 58782-done
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Michael Albinus <michael.albinus@HIDDEN> writes:

Hi Filipp,

>> (As usual, please show all messages you get, and pls show the Tramp
>> debug buffer with sufficient tramp-verbose)
>
> Hmm, no response. Do you still feel we shall follow this report? If yes,
> pls provide more information.

No further information, so I'm closing this bug. Feel free to reopen if
you believe we shall discuss further.

>>> Thanks.

Best regards, Michael.




Notification sent to Filipp Gunbin <fgunbin@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Michael Albinus <michael.albinus@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 58782 <at> debbugs.gnu.org:


Received: (at 58782) by debbugs.gnu.org; 22 Nov 2022 15:56:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 22 10:56:08 2022
Received: from localhost ([127.0.0.1]:52355 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oxVd2-0004uf-6n
	for submit <at> debbugs.gnu.org; Tue, 22 Nov 2022 10:56:08 -0500
Received: from mout.gmx.net ([212.227.17.20]:43145)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1oxVcx-0004u6-S2
 for 58782 <at> debbugs.gnu.org; Tue, 22 Nov 2022 10:56:06 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417;
 t=1669132555; bh=CSDUh9e9w+Ks7jcpnLxRPo3zJauX/zmBIb+J/9eWq9E=;
 h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date;
 b=J4PxkdprxNmMd+yG00uLWA9B4eroi0OFI/u1EYgbKrCj1e4FlqN2m+Q6+9JIVo4F5
 2qEtGmM6ZGRuKAEwODAEWEbBjC3lkvagTU4PTymNo/5v5XGr83aKU+fRUaZ3a73lHZ
 gGhVGytpugIlKl7lFqmNkgLY+kH+gh8QccqBQLv8Sp5xVDX9VGECAc4ikDCuLgPeFK
 GisioQ/VW8xMxTXDEaPDaKUGglkRCeOnxPkUo9nfds8TKDZc5QTYhLYNjA3dBbFFRi
 Lt6Zf0rfNhbPQ0OaqWBXr7wKUbAw1IwA0lRjZ3Gsg96aU6ll1bYkNoiymhaIIhSsOS
 QUA6sohU9ZUSQ==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from gandalf.gmx.de ([185.89.39.6]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mlf0U-1pOHw93EdG-00igwm for
 <58782 <at> debbugs.gnu.org>; Tue, 22 Nov 2022 16:55:55 +0100
From: Michael Albinus <michael.albinus@HIDDEN>
To: 58782 <at> debbugs.gnu.org
Subject: Re: bug#58782: 29.0.50; tramp-kubernetes - connection cache not
 cleared
In-Reply-To: <874jvmlir6.fsf@HIDDEN> (Michael Albinus's message of "Sat, 29
 Oct 2022 18:03:25 +0200")
References: <m2sfjb7jfu.fsf@HIDDEN> <874jvmlir6.fsf@HIDDEN>
Date: Tue, 22 Nov 2022 16:55:54 +0100
Message-ID: <87y1s3yodx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:nu6M2PzD9Uy8Z454upqQV/QqyqBVQp7EhRg0JxCrnZxUr+1aI2f
 eKIxRj5TtFEfYwIbXox4/6jaF+omN8PloZA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B3qElRra4P3bWKdrEI1ZM9P2En/m8ipu5H713ho/uvM
 2URkV5N9/UbzwrK2xtZ9NoBLkgAcGHqE807LClkmT3J1rlRPxurmZJi0TwSXQ26m1hZZD1+gl
 JgLW7Q==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 58782
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Michael Albinus <michael.albinus@HIDDEN> writes:

Hi Filipp,

>> Kubernetes from Docker Desktop
>> (https://www.docker.com/products/docker-desktop/), one pod
>> "myapp-67cd597654-wxdjn" in namespace "main".
>>
>> emacs -Q
>>
>> 1) shell command: kubectl config set-context --current --namespace=main
>> 2) C-x C-f /kubernetes:myapp-67cd597654-wxdjn:/
>> 3) M-x tramp-cleanup-this-connection
>> 4) shell command: kubectl config set-context --current --namespace=
>> 5) Again C-x C-f /kubernetes:myapp-67cd597654-wxdjn:/
>>
>> I get an error, and completion cache (C-x C-f /kubernetes: TAB) is
>> cleared properly.
>
> I'm not sure what you mean with "I get an error".
>
>> But if at the step 5 I instead go to existing dired buffer opened at
>> step 2, and type, say, "i" on a subdirectory, I get the same error,
>> but the cache is NOT cleared - this is the bug.
>
> Again: which error?
>
>> The workaround is to set tramp-completion-use-cache to nil.  But
>> perhaps there exists a better fix.
>
> This is only for hot name completion. I don't see how it fits to your
> use case.
>
> (As usual, please show all messages you get, and pls show the Tramp
> debug buffer with sufficient tramp-verbose)

Hmm, no response. Do you still feel we shall follow this report? If yes,
pls provide more information.

>> Thanks.

Best regards, Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#58782; Package emacs. Full text available.
Added tag(s) moreinfo. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Oct 2022 16:03:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 29 12:03:50 2022
Received: from localhost ([127.0.0.1]:36423 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oooJJ-0007DX-UY
	for submit <at> debbugs.gnu.org; Sat, 29 Oct 2022 12:03:50 -0400
Received: from lists.gnu.org ([209.51.188.17]:38098)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1oooJE-0007DN-Qq
 for submit <at> debbugs.gnu.org; Sat, 29 Oct 2022 12:03:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <michael.albinus@HIDDEN>)
 id 1oooJ1-0005oj-IM
 for bug-gnu-emacs@HIDDEN; Sat, 29 Oct 2022 12:03:42 -0400
Received: from mout.gmx.net ([212.227.17.20])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <michael.albinus@HIDDEN>)
 id 1oooIy-0006Ds-28
 for bug-gnu-emacs@HIDDEN; Sat, 29 Oct 2022 12:03:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417;
 t=1667059406; bh=hcW+EAvyh+rnmjsk50pu+/2WpR/LXcu0UIutTDrqFGY=;
 h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date;
 b=Edq7J1JPK+SW/FPxzWzogi5hAROopKvTLkLTxSUCwPasrJjZYStUTOwHLVD9Zc85H
 5ptd3Jrr+YOMDsFPBlh0R61wPkSWngd+0D8LFr5kBSyh64lMrlj7aLJrMEezYHBoN5
 j5yrJZX75NHTQs4CtObCqzV8ofRHjJRcR6q8plTLQIJ3N0yE/vhHYqRZtcwaSF/8xl
 iujKpzLRvrtQsij2XbJl6gRQqXGH93hYsJioQ83N3oaG+rctspMkd1v8UANNtNEkjL
 Rw3AUSorEDw6PkXwdy1fXYVlpgCriQerXB0viUdEIUI/+z/IsJtV+2G2OaLgi9EYVj
 6hmKpFCLXTw4Q==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from gandalf.gmx.de ([79.140.119.53]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M2f9b-1ollth1JeR-004AeH for
 <bug-gnu-emacs@HIDDEN>; Sat, 29 Oct 2022 18:03:26 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: Re: bug#58782: 29.0.50; tramp-kubernetes - connection cache not
 cleared
In-Reply-To: <m2sfjb7jfu.fsf@HIDDEN> (Filipp Gunbin's message of "Tue, 25
 Oct 2022 23:11:01 +0300")
References: <m2sfjb7jfu.fsf@HIDDEN>
Date: Sat, 29 Oct 2022 18:03:25 +0200
Message-ID: <874jvmlir6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:iDYzEMMnZAHgdzpEEBanf//05bqHK4qviPRVwdTBLk9WRUq50Ae
 66fONyKQ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
 DFbxEdpA8Eegxs3atHgM87xqrCTS9vxnZ9/mwVSt371zj1SAhRNGwZEjl92f4x7LShxWOK6K4
 KEcqdL37c/hJM1p3NrGp+G9gQhhelUUSHnJttKhy4a7OG5z/IgWc4a1BFKc5941JDuqk+L92m
 tG59ZDnnP2o9Yc5eWAhAbpAZlV0=
Received-SPF: pass client-ip=212.227.17.20;
 envelope-from=michael.albinus@HIDDEN; helo=mout.gmx.net
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Filipp Gunbin <fgunbin@HIDDEN> writes:

Hi Filipp,

> Kubernetes from Docker Desktop
> (https://www.docker.com/products/docker-desktop/), one pod
> "myapp-67cd597654-wxdjn" in namespace "main".
>
> emacs -Q
>
> 1) shell command: kubectl config set-context --current --namespace=main
> 2) C-x C-f /kubernetes:myapp-67cd597654-wxdjn:/
> 3) M-x tramp-cleanup-this-connection
> 4) shell command: kubectl config set-context --current --namespace=
> 5) Again C-x C-f /kubernetes:myapp-67cd597654-wxdjn:/
>
> I get an error, and completion cache (C-x C-f /kubernetes: TAB) is
> cleared properly.

I'm nbot sure what you mean with "I get an error".

> But if at the step 5 I instead go to existing dired buffer opened at
> step 2, and type, say, "i" on a subdirectory, I get the same error,
> but the cache is NOT cleared - this is the bug.

Again: which error?

> The workaround is to set tramp-completion-use-cache to nil.  But
> perhaps there exists a better fix.

This is only for hot nam,e completion. I don't see how it fits to your
use case.

(As usual, please show all messages you get, and pls show the Tramp
debug buffer with sufficient tramp-verbose)

> Thanks.

Best regards, Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#58782; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Oct 2022 20:11:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 25 16:11:20 2022
Received: from localhost ([127.0.0.1]:52478 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1onQGd-0005F7-Rs
	for submit <at> debbugs.gnu.org; Tue, 25 Oct 2022 16:11:20 -0400
Received: from lists.gnu.org ([209.51.188.17]:50402)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <fgunbin@HIDDEN>) id 1onQGb-0005Ez-MI
 for submit <at> debbugs.gnu.org; Tue, 25 Oct 2022 16:11:18 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <fgunbin@HIDDEN>)
 id 1onQGb-0005ST-Di
 for bug-gnu-emacs@HIDDEN; Tue, 25 Oct 2022 16:11:17 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <fgunbin@HIDDEN>)
 id 1onQGQ-0002Km-35
 for bug-gnu-emacs@HIDDEN; Tue, 25 Oct 2022 16:11:17 -0400
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.nyi.internal (Postfix) with ESMTP id 06CC15C0094
 for <bug-gnu-emacs@HIDDEN>; Tue, 25 Oct 2022 16:11:04 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute3.internal (MEProxy); Tue, 25 Oct 2022 16:11:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h=
 cc:content-type:date:date:from:from:in-reply-to:message-id
 :mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=
 1666728664; x=1666815064; bh=Z4tFwZNYzwmcyk0nZODZxRNtDuHkTojNAFz
 cvacnVe8=; b=uk8A6t9di+gj92qZfn8H4rPxV/AYayYNGgHpELhXFD/yX6XJFb6
 gOlza/SH3dylzDZIWLGQbDZZaxo5Dsdsues+PbTIs+9CEcaGWQlZ884GwtutaDM1
 4FdhQQzwn7j9t8dMVS10E7GaC9erFHWg+ruyuWFzXNVpSw3LROXtZVuKbhFSHUh3
 DVSWl9KaSH9AjgcWz26Maz9N1tis+1qQBDUXsGV9/C7vDyFvG+9Gy/NmPo1h8VIe
 jQu0OfMB05gOMcZf9VquqCkhLyIhfl7mXm7yH/Dab7YZGis0SObI0VbaX+OvudTW
 TsHapvEXM3f2GX7lSrQuPa1/trLpIj+06Ag==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:message-id:mime-version
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1666728664; x=
 1666815064; bh=Z4tFwZNYzwmcyk0nZODZxRNtDuHkTojNAFzcvacnVe8=; b=L
 cdU1IienXDFaPwXye+dCziCq3MTwPSMKftWRRv6iAdqQ7rjejzg5Zy3EK90H+s9H
 8ygzPYN6xz9S9JHo5bI3ncxgMRwVYR0tOvSaDIlPrlXvlp9ehu3taFs+aAykLNml
 sqrYQVcisv45qsF5AXBX2eUqhWTh7WxpifpBnevt/XILHUSU1NXpNrnLG7vTjegY
 EhyS/eJeqWS+taozLZCXDwHGbYCkQFRcOglpHBfzVGuXqZbVMcaRp/2skGKRw5BZ
 APG63cjcQYShI4x/iwq/8m9BrL+ShXme7iHsoORWojBau2Hpqi/MATpoo7qRDQbd
 iVewJUKDIFgRV84IcQ4nQ==
X-ME-Sender: <xms:10JYY5-TdgXyoFL6VirR2wgG23s1C-8lxfflePa_zZKJHbL1bUz9Cg>
 <xme:10JYY9vQpxxdWdc8-dgcCTkjqCTgpNEUFVH0dOwkJPpRSYkcPf6apzN89Z8pJMAXn
 K7V-pBiM5RqeBLG>
X-ME-Received: <xmr:10JYY3AHXWSR8c2GQN9TOXjf41W3C3kQFdH11Tc3Fanr5vT0-ky44sZzGOqBydWkLg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtddtgdduudekucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufgffkfggtgesthdtredttd
 ertdenucfhrhhomhephfhilhhiphhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghs
 thhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpeekveegvefhlefhveegvddtffevle
 fhvddvhfetfffhieeffeelleegleefjeeivdenucffohhmrghinhepughotghkvghrrdgt
 ohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepfh
 hguhhnsghinhesfhgrshhtmhgrihhlrdhfmh
X-ME-Proxy: <xmx:10JYY9c2bpAA0XaH06dxuCeI7MzSHYzgj_zsSppNl5kQhEpyz_noTA>
 <xmx:10JYY-NHqsD7bJBs5X839sGfjWXnTbkr_3737LFdwJJj7dWM4TZRKA>
 <xmx:10JYY_kpQaWUgPya5nYnf3n8XE17lAB_5QYj2_QjRmbMe860q3n8Hg>
 <xmx:2EJYYxYkxZAMNRg6xwAM4ljNFo61_v-w8X3VcRwfQocNgabRY2p7xw>
Feedback-ID: id48c41f1:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <bug-gnu-emacs@HIDDEN>; Tue, 25 Oct 2022 16:11:03 -0400 (EDT)
From: Filipp Gunbin <fgunbin@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.50; tramp-kubernetes - connection cache not cleared
User-Agent: Gnus/5.13 (Gnus v5.13)
Mail-Followup-To: bug-gnu-emacs@HIDDEN
Date: Tue, 25 Oct 2022 23:11:01 +0300
Message-ID: <m2sfjb7jfu.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=66.111.4.27; envelope-from=fgunbin@HIDDEN;
 helo=out3-smtp.messagingengine.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.6 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


Kubernetes from Docker Desktop
(https://www.docker.com/products/docker-desktop/), one pod
"myapp-67cd597654-wxdjn" in namespace "main".

emacs -Q

1) shell command: kubectl config set-context --current --namespace=main
2) C-x C-f /kubernetes:myapp-67cd597654-wxdjn:/
3) M-x tramp-cleanup-this-connection
4) shell command: kubectl config set-context --current --namespace=
5) Again C-x C-f /kubernetes:myapp-67cd597654-wxdjn:/

I get an error, and completion cache (C-x C-f /kubernetes: TAB) is
cleared properly.

But if at the step 5 I instead go to existing dired buffer opened at
step 2, and type, say, "i" on a subdirectory, I get the same error,
but the cache is NOT cleared - this is the bug.

The workaround is to set tramp-completion-use-cache to nil.  But
perhaps there exists a better fix.

Thanks.



In GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin20.6.0, NS
 appkit-2202.70 Version 11.7 (Build 20G817)) of 2022-10-25 built on
 fgunbin.local
Repository revision: 7e60246ab3cb7a3c40ca48d8ea9c107f00a6aea6
Repository branch: master
System Description:  macOS 11.7

Configured using:
 'configure --enable-check-lisp-object-type --with-file-notification=no'

Configured features:
ACL GLIB GNUTLS LCMS2 LIBXML2 MODULES NS PDUMPER PNG RSVG SQLITE3
THREADS TOOLKIT_SCROLL_BARS WEBP XIM ZLIB

Important settings:
  value of $LC_ALL: ru_RU.UTF-8
  value of $LC_CTYPE: UTF-8
  locale-coding-system: utf-8-unix




Acknowledgement sent to Filipp Gunbin <fgunbin@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#58782; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 2 Dec 2022 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.