Open ouyangkui opened 4 years ago
cc @yangx-jy
Thank you for your bug report. @yangx-jy reported it to me few days ago.
Yes, TI-RPC are in bad state (there are more bugs), which reflect the fact that this technology is fading out (used mainly in nfs-utils nowadays), thus LTP priority are low. But I'm slowly working on it. There are some problems with netns on glibc (https://sourceforge.net/p/libtirpc/mailman/message/37014992/), some tests, like this one are failing even when use libtirpc.
BTW you're not using master branch and not even the latest release (it's always best to test master) thus don't have 889d1cdfbada47cee2fc466b0dee3df08f5d4f55, e0af1d2797329f1fff12703569a13813b176674d, 1e5c2444c3ec07583d24aeefa3608f52fdd8b128), but C code hasn't been changed thus running binaries has the same result.
Thank you so much! This issue block me long time:( I will sync the latest code and retry.
Hi Pevik: I download the master zip and install. Find changed code like e0af1d2
But doesn't work yet. warning issue(889d1cd ) is fixed now
<<
Summary:
passed 0
failed 1
skipped 0
warnings 0
<<
BTW, some cases failed similar yet. rpc_clnt_broadcast rpc_svc_destroy rpc_svfd_create rpc_svcfd
rpc_xprt_register"::::
<<
./rpc_pmap_set 10.0.0.2 536875000 0 rpcinfo 536875000 1 udp 0.0.0.0.2.88 - superuser
./runltp -f net.tirpc_tests -s tirpc_rpc_broadcast .....
cmdline="rpc_test.sh -s tirpc_svc_1 -c tirpc_rpc_broadcast_exp -e "1 2"" contacts="" analysis=exit <<>>
incrementing stop
tirpc_rpc_broadcast_exp 1 TINFO: initialize 'lhost' 'ltp_ns_veth2' interface
tirpc_rpc_broadcast_exp 1 TINFO: set local addr 10.0.0.2/24
tirpc_rpc_broadcast_exp 1 TINFO: set local addr fd00:1:1:1::2/64
tirpc_rpc_broadcast_exp 1 TINFO: initialize 'rhost' 'ltp_ns_veth1' interface
tirpc_rpc_broadcast_exp 1 TINFO: set remote addr 10.0.0.1/24
tirpc_rpc_broadcast_exp 1 TINFO: set remote addr fd00:1:1:1::1/64
tirpc_rpc_broadcast_exp 1 TINFO: Network config (local -- remote):
tirpc_rpc_broadcast_exp 1 TINFO: ltp_ns_veth2 -- ltp_ns_veth1
tirpc_rpc_broadcast_exp 1 TINFO: 10.0.0.2/24 -- 10.0.0.1/24
tirpc_rpc_broadcast_exp 1 TINFO: fd00:1:1:1::2/64 -- fd00:1:1:1::1/64
tirpc_rpc_broadcast_exp 1 TFAIL: tirpc_rpc_broadcast_exp 10.0.0.2 536875000 1 2 failed unexpectedly
rpc_test.sh: line 31: 15508 Killed $SERVER $PROGNUMNOSVC
<<>>
below testcases, failed, message is same with this issue ./runltp -f net.tirpc_tests -s tirpc_rpc_broadcast _exp ./runltp -f net.tirpc_tests -s tirpc_authdes_create
./runltp -f net.tirpc_tests -s tirpc_authdes_seccreate
run ns_exec failed,
./rpc_svc_1 536875000 & [3] 30371 ns_exec 15841 net,mnt sh -c ' tirpc_rpc_broadcast_exp 10.0.0.2 536875000 1 2 || echo RTERR' 1 RTERR tirpc_rpc_broadcast_exp 10.0.0.2 536875000 1 2 0