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] [day] [month] [year] [list]
Message-ID: <CA+G9fYtg2Uw0Qe_iJfqdfjiYcqVGcMXxd_YdC0gcb4f7E0_xww@mail.gmail.com>
Date: Thu, 29 Feb 2024 02:05:06 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: Victor Nogueira <victor@...atatu.com>
Cc: kuba@...nel.org, davem@...emloft.net, edumazet@...gle.com, 
	jhs@...atatu.com, kernel@...atatu.com, netdev@...r.kernel.org, 
	pabeni@...hat.com, pctammela@...atatu.com, xiyou.wangcong@...il.com, 
	lkft-triage@...ts.linaro.org, anders.roxell@...aro.org, 
	Linux Kernel Functional Testing <lkft@...aro.org>
Subject: Re: [PATCH net-next] selftests: tc-testing: add mirred to block tdc tests

Hi Victor,

On Wed, 28 Feb 2024 at 23:05, Victor Nogueira <victor@...atatu.com> wrote:
>
> On 28/02/2024 13:49, Naresh Kamboju wrote:
> > LKFT tests running kselftests tc-testing noticing following run time errors
> > on Linux next master branch.
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
> >
> > This is started from Linux next-20240212 with following commit,
> >
> > f51470c5c4a0 selftests: tc-testing: add mirred to block tdc tests
> >
> > Run log errors:
> > ----------
> > # Test e684: Delete batch of 32 mirred mirror ingress actions
> > # multiprocessing.pool.RemoteTraceback:
> > # """
> > # Traceback (most recent call last):
> > #   File "/opt/kselftests/default-in-kernel/tc-testing/./tdc.py", line 142, in call_pre_case
> > #     pgn_inst.pre_case(caseinfo, test_skip)
> > #   File "/opt/kselftests/default-in-kernel/tc-testing/plugin-lib/nsPlugin.py", line 63, in pre_case
> > #     self.prepare_test(test)
> > #   File "/opt/kselftests/default-in-kernel/tc-testing/plugin-lib/nsPlugin.py", line 36, in prepare_test
> > #     self._nl_ns_create()
> > #   File "/opt/kselftests/default-in-kernel/tc-testing/plugin-lib/nsPlugin.py", line 130, in _nl_ns_create
> > #     ip.link('add', ifname=dev1, kind='veth', peer={'ifname': dev0, 'net_ns_fd':'/proc/1/ns/net'})
> > #   File "/usr/lib/python3/dist-packages/pyroute2/iproute/linux.py", line 1593, in link
> > #     ret = self.nlm_request(msg, msg_type=msg_type, msg_flags=msg_flags)
> > #           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > #   File "/usr/lib/python3/dist-packages/pyroute2/netlink/nlsocket.py", line 403, in nlm_request
> > #     return tuple(self._genlm_request(*argv, **kwarg))
> > #            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > #   File "/usr/lib/python3/dist-packages/pyroute2/netlink/nlsocket.py", line 985, in nlm_request
> > #     for msg in self.get(
> > #                ^^^^^^^^^
> > #   File "/usr/lib/python3/dist-packages/pyroute2/netlink/nlsocket.py", line 406, in get
> > #     return tuple(self._genlm_get(*argv, **kwarg))
> > #            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > #   File "/usr/lib/python3/dist-packages/pyroute2/netlink/nlsocket.py", line 770, in get
> > #     raise msg['header']['error']
> > # pyroute2.netlink.exceptions.NetlinkError: (34, 'Numerical result out of range')
>
> It looks like the ip link add command is returning ERANGE.
> We have tested this in NIPA for sometime with 64-bit and this is the
> first time
> we are seeing this:
>
> https://github.com/p4tc-dev/tc-executor/tree/storage/artifacts/485544
>
> Could you give us more information on how to reproduce this?

Steps to reproduce:
-------------

# To install tuxrun to your home directory at ~/.local/bin:
# pip3 install -U  \
  --user tuxrun==0.62.2
#
# Or install a deb/rpm depending on the running distribution
# See https://tuxmake.org/install-deb/ or
# https://tuxmake.org/install-rpm/
#
# See https://tuxrun.org/ for complete documentation.
#
# Please follow the additional instructions if the tests are related to FVP:
# https://tuxrun.org/run-fvp/
#

tuxrun  \
  --runtime podman  \
  --device qemu-x86_64  \
  --boot-args rw  \
  --kernel https://storage.tuxsuite.com/public/linaro/lkft/builds/2czN3tP1CXUNgatiVGk7ANylgIu/bzImage
 \
  --rootfs https://storage.tuxboot.com/debian/bookworm/amd64/rootfs.ext4.xz  \
  --modules https://storage.tuxsuite.com/public/linaro/lkft/builds/2czN3tP1CXUNgatiVGk7ANylgIu/modules.tar.xz
 \
  --parameters SKIPFILE=skipfile-lkft.yaml  \
  --parameters KSELFTEST=https://storage.tuxsuite.com/public/linaro/lkft/builds/2czN3tP1CXUNgatiVGk7ANylgIu/kselftest.tar.xz
 \
  --image docker.io/linaro/tuxrun-dispatcher:v0.62.2  \
  --tests kselftest-tc-testing  \
  --timeouts boot=15 kselftest-tc-testing=20


Links,
 - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2czN6g0MY3kgnwGYHadaUQHfPOU
 - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2czN6g0MY3kgnwGYHadaUQHfPOU/reproducer


>
> Note: This doesn't seem to be related to the patches in question.
> Seems to be a generic thing with nsPlugin itself.
>
> Thanks,
> Victor

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ