From: Ship Mints <shipmints@gmail.com>
To: Robert Pluim <rpluim@gmail.com>
Cc: 74907@debbugs.gnu.org, Stefan Kangas <stefankangas@gmail.com>
Subject: bug#74907: 31.0.50; nsm-check-local-subnet-ipv4 test fails on macOS with VPN enabled
Date: Mon, 16 Dec 2024 06:23:12 -0500 [thread overview]
Message-ID: <CAN+1HboZQ0+3SEg8uv+7Po9w10mniuX5tQxd+Mmu8rJA+Y4+CA@mail.gmail.com> (raw)
In-Reply-To: <87o71b6gmd.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1456 bytes --]
With the VPN running and without, check the value
of (network-lookup-address-info "localhost") and see if the VPN-regime
value looks sensible. It is possible that your VPN set up is absconding
with host resolution. I'd bet that (nsm-should-check "127.0.0.1") works
fine under both scenarios. You could at the command line also ping
localhost and see what that reveals or try macOS network "reachability"
diagnostic utility scutil -W -r localhost.
On Mon, Dec 16, 2024 at 5:58 AM Robert Pluim <rpluim@gmail.com> wrote:
> >>>>> On Mon, 16 Dec 2024 02:03:53 +0000, Stefan Kangas <
> stefankangas@gmail.com> said:
>
> Stefan> I see the below test failure when running with a VPN enabled
> on macOS.
> Stefan> It fails predictably every time, but when I disable the VPN,
> the test
> Stefan> passes.
>
> Stefan> Looking into it, it seems like it's this call that leads to the
> Stefan> backtrace:
>
> Stefan> (nsm-should-check "localhost")
>
> Stefan> However, when edebugging `nsm-should-check` and step through
> the code, I
> Stefan> do not get a backtrace, and it correctly returns t.
>
> Stefan> Any ideas for how to continue debugging this?
>
> `printf' (or in this case `message') is your friend :-)
>
> I suspect `network-interface-list' is returning unexpected values
> because of the VPN, but Iʼd check `network-lookup-address-info' as well
>
> Robert
> --
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 2049 bytes --]
next prev parent reply other threads:[~2024-12-16 11:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-16 2:03 bug#74907: 31.0.50; nsm-check-local-subnet-ipv4 test fails on macOS with VPN enabled Stefan Kangas
2024-12-16 10:56 ` Robert Pluim
2024-12-16 11:23 ` Ship Mints [this message]
2024-12-16 11:46 ` Robert Pluim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAN+1HboZQ0+3SEg8uv+7Po9w10mniuX5tQxd+Mmu8rJA+Y4+CA@mail.gmail.com \
--to=shipmints@gmail.com \
--cc=74907@debbugs.gnu.org \
--cc=rpluim@gmail.com \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).