lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGXJAmxyNRfJp9UemEdVpxegf1bnK5eBMYe5etmUoS-kZd98vg@mail.gmail.com>
Date: Mon, 13 Jan 2025 09:27:34 -0800
From: John Ousterhout <ouster@...stanford.edu>
To: netdev@...r.kernel.org
Cc: pabeni@...hat.com, edumazet@...gle.com, horms@...nel.org, kuba@...nel.org
Subject: Re: [PATCH net-next v5 00/12] Begin upstreaming Homa transport protocol

The Patchwork Web page for this patch set
(https://patchwork.kernel.org/project/netdevbpf/list/?series=922654&state=*)
is showing errors for the "netdev/contest" context for each of the
patches in the series. The errors are the same for each patch, and
they seem to be coming from places other than Homa. For example, I am
including below the error output for the bpf-offload-py test; I can't
find anything related to Homa in the test output. Is there something I
need to worry about here? BTW, one of the tests (coccicheck) did
produce a warning about Homa unnecessarily casting the output of a
kmalloc call; I have fixed that one.

make -C tools/testing/selftests TARGETS="net"
TEST_PROGS=bpf_offload.py TEEST_GEN_PROGS="" run_tests
make: Entering directory '/home/virtme/testing-3/tools/testing/selftests'
make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net'
make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net'
TAP version 13
1..1
# overriding timeout to 7200
# selftests: net: bpf_offload.py
# 12.84 [+12.84] Test destruction of generic XDP...
# 12.84 [+0.00] Traceback (most recent call last):
# 12.85 [+0.00]   File
"/home/virtme/testing-3/tools/testing/selftests/net/./bpf_offload.py",
line 749, in <module>
# 12.85 [+0.00]     simdev = BpfNetdevSimDev()
# 12.85 [+0.00]   File
"/home/virtme/testing-3/tools/testing/selftests/net/./bpf_offload.py",
line 347, in __init__
# 12.86 [+0.01]     super().__init__(port_count, ns=ns)
# 12.86 [+0.00]   File
"/home/virtme/testing-3/tools/testing/selftests/net/lib/py/nsim.py",
line 87, in __init__
# 12.86 [+0.00]     self.nsims.append(self._make_port(port_index,
ifnames[port_index]))
# 12.87 [+0.00]   File
"/home/virtme/testing-3/tools/testing/selftests/net/./bpf_offload.py",
line 351, in _make_port
# 12.87 [+0.00]     return BpfNetdevSim(self, port_index, ifname, self.ns)
# 12.87 [+0.00]   File
"/home/virtme/testing-3/tools/testing/selftests/net/./bpf_offload.py",
line 380, in __init__
# 12.88 [+0.00]     self.dfs_refresh()
# 12.88 [+0.00]   File
"/home/virtme/testing-3/tools/testing/selftests/net/./bpf_offload.py",
line 389, in dfs_refresh
# 12.88 [+0.00]     self.dfs = DebugfsDir(self.dfs_dir)
# 12.88 [+0.00]   File
"/home/virtme/testing-3/tools/testing/selftests/net/./bpf_offload.py",
line 290, in __init__
# 12.89 [+0.00]     self._dict = self._debugfs_dir_read(path)
# 12.89 [+0.00]   File
"/home/virtme/testing-3/tools/testing/selftests/net/./bpf_offload.py",
line 329, in _debugfs_dir_read
# 12.89 [+0.00]     _, out = cmd('cat %s/%s' % (path, f))
# 12.89 [+0.00]   File
"/home/virtme/testing-3/tools/testing/selftests/net/./bpf_offload.py",
line 112, in cmd
# 12.89 [+0.00]     return cmd_result(proc,
include_stderr=include_stderr, fail=fail)
# 12.90 [+0.00]   File
"/home/virtme/testing-3/tools/testing/selftests/net/./bpf_offload.py",
line 134, in cmd_result
# 12.90 [+0.00]     raise Exception("Command failed: %s\n%s" %
(proc.args, stderr))
# 12.90 [+0.00] Exception: Command failed: cat
/sys/kernel/debug/netdevsim/netdevsim22122//ports/0//queue_reset
# 12.90 [+0.00]
# 12.90 [+0.00] cat:
/sys/kernel/debug/netdevsim/netdevsim22122//ports/0//queue_reset:
Invalid argument
not ok 1 selftests: net: bpf_offload.py # exit=1
make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net'
make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests'
xx__-> echo $?
0
xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak
xx__->

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ