From: Stefan Kangas <stefankangas@gmail.com>
To: 74907@debbugs.gnu.org
Subject: bug#74907: 31.0.50; nsm-check-local-subnet-ipv4 test fails on macOS with VPN enabled
Date: Mon, 16 Dec 2024 02:03:53 +0000 [thread overview]
Message-ID: <CADwFkmkVe0MVaONYg8OWFJ+E=dUeWYmOd19O54Fusq3i-6e6oA@mail.gmail.com> (raw)
I see the below test failure when running with a VPN enabled on macOS.
It fails predictably every time, but when I disable the VPN, the test
passes.
Looking into it, it seems like it's this call that leads to the
backtrace:
(nsm-should-check "localhost")
However, when edebugging `nsm-should-check` and step through the code, I
do not get a backtrace, and it correctly returns t.
Any ideas for how to continue debugging this?
Running 2 tests (2024-12-16 02:41:49+0100, selector ‘(not (or (tag
:expensive-test) (tag :unstable) (tag :nativecomp)))’)
Test nsm-check-local-subnet-ipv4 backtrace:
signal(wrong-type-argument (arrayp (0 . [0 0 255 0 0 0 16 2 0 0 10 1
signal(wrong-type-argument (arrayp (0 . [0 0 255 0 0 0 16 2 0 0 10 1
apply(signal (wrong-type-argument (arrayp (0 . [0 0 255 0 0 0 16 2 0
#f(compiled-function () #<bytecode 0xb0a4a42ef70c609>)()
#f(compiled-function () #<bytecode 0x14ecd754278a5065>)()
handler-bind-1(#f(compiled-function () #<bytecode 0x14ecd754278a5065
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name nsm-check-local-subnet-ipv4 :document
ert-run-or-rerun-test(#s(ert--stats :selector (not (or (tag :expensi
ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :n
ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable) (
ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (
command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-l
command-line()
normal-top-level()
Test nsm-check-local-subnet-ipv4 condition:
(wrong-type-argument arrayp (0 . [0 0 255 0 0 0 16 2 0 0 ...]))
FAILED 1/2 nsm-check-local-subnet-ipv4 (0.021312 sec) at
lisp/net/nsm-tests.el:30
skipped 2/2 nsm-check-local-subnet-ipv6 (0.000127 sec)
Ran 2 tests, 0 results as expected, 1 unexpected, 1 skipped
(2024-12-16 02:41:49+0100, 0.108002 sec)
1 unexpected results:
FAILED nsm-check-local-subnet-ipv4
1 skipped results:
SKIPPED nsm-check-local-subnet-ipv6
In GNU Emacs 31.0.50 (build 17, aarch64-apple-darwin24.1.0, NS
appkit-2575.20 Version 15.1.1 (Build 24B91)) of 2024-12-16 built on
foo.local
Repository revision: 29058579e9f27872d47e9d5146dfd9ce79697a0d
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2575
System Description: macOS 15.1.1
Configured using:
'configure --without-dbus'
next reply other threads:[~2024-12-16 2:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-16 2:03 Stefan Kangas [this message]
2024-12-16 10:56 ` bug#74907: 31.0.50; nsm-check-local-subnet-ipv4 test fails on macOS with VPN enabled Robert Pluim
2024-12-16 11:23 ` Ship Mints
2024-12-16 11:46 ` Robert Pluim
2024-12-16 21:55 ` Stefan Kangas
2024-12-17 7:36 ` Robert Pluim
2024-12-17 11:26 ` Stefan Kangas
2024-12-17 12:40 ` Robert Pluim
2024-12-17 12:45 ` Stefan Kangas
2024-12-17 12:57 ` Robert Pluim
2024-12-17 13:11 ` Ship Mints
2024-12-17 13:14 ` Ship Mints
2024-12-17 13:30 ` Robert Pluim
2024-12-18 0:16 ` Stefan Kangas
2024-12-18 16:03 ` Robert Pluim
2024-12-19 15:29 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkmkVe0MVaONYg8OWFJ+E=dUeWYmOd19O54Fusq3i-6e6oA@mail.gmail.com' \
--to=stefankangas@gmail.com \
--cc=74907@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.