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>] [day] [month] [year] [list]
Message-ID: <YsGiT/rXJHMo6JB3@xsang-OptiPlex-9020>
Date:   Sun, 3 Jul 2022 22:06:07 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Kuniyuki Iwashima <kuniyu@...zon.com>
Cc:     0day robot <lkp@...el.com>, LKML <linux-kernel@...r.kernel.org>,
        netdev@...r.kernel.org, lkp@...ts.01.org, ltp@...ts.linux.it,
        "David S. Miller" <davem@...emloft.net>,
        Eric Dumazet <edumazet@...gle.com>,
        Jakub Kicinski <kuba@...nel.org>,
        Paolo Abeni <pabeni@...hat.com>, Amit Shah <aams@...zon.com>,
        Kuniyuki Iwashima <kuniyu@...zon.com>,
        Kuniyuki Iwashima <kuni1840@...il.com>
Subject: [af_unix]  d66d39e471: ltp.rpc_pmap_set.fail



Greeting,

FYI, we noticed the following commit (built with gcc-11):

commit: d66d39e4713c1c9e70965e2375b780ab9522dfb3 ("[PATCH v3 net-next 5/6] af_unix: Put a socket into a per-netns hash table.")
url: https://github.com/intel-lab-lkp/linux/commits/Kuniyuki-Iwashima/af_unix-Introduce-per-netns-socket-hash-table/20220622-012539
base: https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git 8720bd951b8e8515ffd995c7631790fdabaa9265
patch link: https://lore.kernel.org/netdev/20220621171913.73401-6-kuniyu@amazon.com

in testcase: ltp
version: ltp-x86_64-14c1f76-1_20220625
with following parameters:

	test: net.rpc_tests
	ucode: 0x21

test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
test-url: http://linux-test-project.github.io/


on test machine: 4 threads 1 sockets Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz with 8G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


please be noted we also observed other three tests failed upon this commit
while pass on parent:

39d14b6772921fa2 d66d39e4713c1c9e70965e2375b
---------------- ---------------------------
       fail:runs  %reproduction    fail:runs
           |             |             |
           :6          100%           6:6     ltp.rpc_pmap_set.fail
           :6          100%           6:6     ltp.rpc_pmap_unset.fail
           :6          100%           6:6     ltp.rpc_registerrpc.fail
           :6          100%           6:6     ltp.rpc_svc_register.fail


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>



<<<test_start>>>
tag=rpc_pmap_set stime=1656693410
cmdline="rpc_test.sh -c rpc_pmap_set"
contacts=""
analysis=exit
<<<test_output>>>
rpc_test 1 TINFO: initialize 'lhost' 'ltp_ns_veth2' interface
rpc_test 1 TINFO: add local addr 10.0.0.2/24
rpc_test 1 TINFO: add local addr fd00:1:1:1::2/64
rpc_test 1 TINFO: initialize 'rhost' 'ltp_ns_veth1' interface
rpc_test 1 TINFO: add remote addr 10.0.0.1/24
rpc_test 1 TINFO: add remote addr fd00:1:1:1::1/64
rpc_test 1 TINFO: Network config (local -- remote):
rpc_test 1 TINFO: ltp_ns_veth2 -- ltp_ns_veth1
rpc_test 1 TINFO: 10.0.0.2/24 -- 10.0.0.1/24
rpc_test 1 TINFO: fd00:1:1:1::2/64 -- fd00:1:1:1::1/64
rpc_test 1 TINFO: timeout per run is 0h 5m 0s
rpc_test 1 TINFO: check registered RPC with rpcinfo
rpc_test 1 TINFO: registered RPC:
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100001    1   udp  44050  rstatd
    100001    2   udp  44050  rstatd
    100001    3   udp  44050  rstatd
    100001    4   udp  44050  rstatd
    100001    5   udp  44050  rstatd
    100002    2   udp  35568  rusersd
    100002    3   udp  35568  rusersd
   2000333   10   udp  51134
   2000333   10   tcp  63711
rpc_test 1 TINFO: using libtirpc: yes
rpc_test 1 TFAIL: rpc_pmap_set 10.0.0.2 536875000 failed unexpectedly
1

Summary:
passed   0
failed   1
broken   0
skipped  0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=1 corefile=no
cutime=7 cstime=44
<<<test_end>>>
<<<test_start>>>
tag=rpc_pmap_unset stime=1656693411
cmdline="rpc_test.sh -c rpc_pmap_unset"
contacts=""
analysis=exit
<<<test_output>>>
rpc_test 1 TINFO: initialize 'lhost' 'ltp_ns_veth2' interface
rpc_test 1 TINFO: add local addr 10.0.0.2/24
rpc_test 1 TINFO: add local addr fd00:1:1:1::2/64
rpc_test 1 TINFO: initialize 'rhost' 'ltp_ns_veth1' interface
rpc_test 1 TINFO: add remote addr 10.0.0.1/24
rpc_test 1 TINFO: add remote addr fd00:1:1:1::1/64
rpc_test 1 TINFO: Network config (local -- remote):
rpc_test 1 TINFO: ltp_ns_veth2 -- ltp_ns_veth1
rpc_test 1 TINFO: 10.0.0.2/24 -- 10.0.0.1/24
rpc_test 1 TINFO: fd00:1:1:1::2/64 -- fd00:1:1:1::1/64
rpc_test 1 TINFO: timeout per run is 0h 5m 0s
rpc_test 1 TINFO: check registered RPC with rpcinfo
rpc_test 1 TINFO: registered RPC:
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100001    1   udp  44050  rstatd
    100001    2   udp  44050  rstatd
    100001    3   udp  44050  rstatd
    100001    4   udp  44050  rstatd
    100001    5   udp  44050  rstatd
    100002    2   udp  35568  rusersd
    100002    3   udp  35568  rusersd
   2000333   10   udp  51134
   2000333   10   tcp  63711
rpc_test 1 TINFO: using libtirpc: yes
rpc_test 1 TFAIL: rpc_pmap_unset 10.0.0.2 536875000 failed unexpectedly
1

Summary:
passed   0
failed   1
broken   0
skipped  0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=8 cstime=44
<<<test_end>>>

...

<<<test_start>>>
tag=rpc_svc_register stime=1656693442
cmdline="rpc_test.sh -c rpc_svc_register"
contacts=""
analysis=exit
<<<test_output>>>
rpc_test 1 TINFO: initialize 'lhost' 'ltp_ns_veth2' interface
rpc_test 1 TINFO: add local addr 10.0.0.2/24
rpc_test 1 TINFO: add local addr fd00:1:1:1::2/64
rpc_test 1 TINFO: initialize 'rhost' 'ltp_ns_veth1' interface
rpc_test 1 TINFO: add remote addr 10.0.0.1/24
rpc_test 1 TINFO: add remote addr fd00:1:1:1::1/64
rpc_test 1 TINFO: Network config (local -- remote):
rpc_test 1 TINFO: ltp_ns_veth2 -- ltp_ns_veth1
rpc_test 1 TINFO: 10.0.0.2/24 -- 10.0.0.1/24
rpc_test 1 TINFO: fd00:1:1:1::2/64 -- fd00:1:1:1::1/64
rpc_test 1 TINFO: timeout per run is 0h 5m 0s
rpc_test 1 TINFO: check registered RPC with rpcinfo
rpc_test 1 TINFO: registered RPC:
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100001    1   udp  44050  rstatd
    100001    2   udp  44050  rstatd
    100001    3   udp  44050  rstatd
    100001    4   udp  44050  rstatd
    100001    5   udp  44050  rstatd
    100002    2   udp  35568  rusersd
    100002    3   udp  35568  rusersd
   2000333   10   udp  51134
   2000333   10   tcp  63711
rpc_test 1 TINFO: using libtirpc: yes
rpc_test 1 TFAIL: rpc_svc_register 10.0.0.2 536875000 failed unexpectedly
1

Summary:
passed   0
failed   1
broken   0
skipped  0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=1 corefile=no
cutime=6 cstime=45
<<<test_end>>>

...

<<<test_start>>>
tag=rpc_registerrpc stime=1656693443
cmdline="rpc_test.sh -c rpc_registerrpc"
contacts=""
analysis=exit
<<<test_output>>>
rpc_test 1 TINFO: initialize 'lhost' 'ltp_ns_veth2' interface
rpc_test 1 TINFO: add local addr 10.0.0.2/24
rpc_test 1 TINFO: add local addr fd00:1:1:1::2/64
rpc_test 1 TINFO: initialize 'rhost' 'ltp_ns_veth1' interface
rpc_test 1 TINFO: add remote addr 10.0.0.1/24
rpc_test 1 TINFO: add remote addr fd00:1:1:1::1/64
rpc_test 1 TINFO: Network config (local -- remote):
rpc_test 1 TINFO: ltp_ns_veth2 -- ltp_ns_veth1
rpc_test 1 TINFO: 10.0.0.2/24 -- 10.0.0.1/24
rpc_test 1 TINFO: fd00:1:1:1::2/64 -- fd00:1:1:1::1/64
rpc_test 1 TINFO: timeout per run is 0h 5m 0s
rpc_test 1 TINFO: check registered RPC with rpcinfo
rpc_test 1 TINFO: registered RPC:
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100001    1   udp  44050  rstatd
    100001    2   udp  44050  rstatd
    100001    3   udp  44050  rstatd
    100001    4   udp  44050  rstatd
    100001    5   udp  44050  rstatd
    100002    2   udp  35568  rusersd
    100002    3   udp  35568  rusersd
   2000333   10   udp  51134
   2000333   10   tcp  63711
rpc_test 1 TINFO: using libtirpc: yes
rpc_test 1 TFAIL: rpc_registerrpc 10.0.0.2 536875000 failed unexpectedly
rpc_registerrpc: rpc_reg:  couldn't register prog 536875000 vers 1 for udp
rpc_registerrpc: rpc_reg:  couldn't register prog 536875000 vers 1 for udp6
rpc_registerrpc: rpc_reg:  cant find suitable transport for udp
1

Summary:
passed   0
failed   1
broken   0
skipped  0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=1 corefile=no
cutime=8 cstime=44
<<<test_end>>>



To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        sudo bin/lkp install job.yaml           # job file is attached in this email
        bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
        sudo bin/lkp run generated-yaml-file

        # if come across any failure that blocks the test,
        # please remove ~/.lkp and /lkp dir to run from a clean state.



-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



View attachment "config-5.19.0-rc2-00448-gd66d39e4713c" of type "text/plain" (167354 bytes)

View attachment "job-script" of type "text/plain" (5887 bytes)

Download attachment "kmsg.xz" of type "application/x-xz" (40128 bytes)

View attachment "ltp" of type "text/plain" (98423 bytes)

View attachment "job.yaml" of type "text/plain" (4758 bytes)

View attachment "reproduce" of type "text/plain" (27 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ