== sanity-lnet test 164: Check no issue when reading 'nid' in all scenarios ========================================================== 09:49:00 (1789566540) Cleaning up LNet LNET unconfigure error 22: Invalid argument unloading modules via unload_modules_local on: 'oleg333-server' oleg333-server: oleg333-server.virtnet: executing unload_modules_local oleg333-server: kmemleak disabled oleg333-server: LNET unconfigure error 22: Invalid argument modules unloaded. ip link add 'test1pl' type veth peer name test1pg ip link set 'test1pl' up ip addr add "10.1.2.3/31" dev test1pg ip addr add "2001:db8:0:f101::1/64" dev test1pg ip link set test1pg up Waiting 10s for '0' Updated after 2s: want '0' got '0' Loading LNet and configuring DLC Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs MODOPTS_LIBCFS= Force libcfs to create 2 CPU partitions ../libcfs/libcfs/libcfs options: 'cpu_npartitions=2' /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet configure Check malformed nid fails /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl import --- add: - import: errno: -22 descr: ! "Invalid NID '192.168.203.33'" ... /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet unconfigure /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet configure Check wrong net in nid fails /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl import --- add: - net: errno: -22 descr: ! "invalid configuration" ... --- add: - import: errno: -22 descr: ! "Failed to configure NI on net 'tcp1' rc = -22" ... /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet unconfigure /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet configure Check mismatching between nid and inteface fails /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl import --- add: - net: errno: -100 descr: ! "cannot add LNet NI" ... --- add: - import: errno: -22 descr: ! "Failed to configure NI on net 'tcp1' rc = -22" ... /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet unconfigure /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet configure Check 'nid' cannot be used in ip2nets /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl import --- add: - import: errno: -22 descr: ! "'nid' not valid for ip2nets" ... /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet unconfigure /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet configure Check MR works /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl import /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet unconfigure /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet configure Check nid/interfaces order doesn't matter /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl import /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet unconfigure /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet configure Cleaning up LNet Writer error: failed to resolve Netlink family id unloading modules via unload_modules_local on: 'oleg333-server' oleg333-server: oleg333-server.virtnet: executing unload_modules_local oleg333-server: kmemleak disabled oleg333-server: LNET unconfigure error 22: Invalid argument modules unloaded. pdsh@oleg333-client: oleg333-server: ssh exited with exit code 2 pdsh@oleg333-client: oleg333-client: ssh exited with exit code 2 pdsh@oleg333-client: oleg333-server: ssh exited with exit code 2 pdsh@oleg333-client: oleg333-client: ssh exited with exit code 2