== sanity-lnet test 502: Verify lnetctl peer set --health (MR) ========================================================== 12:32:38 (1756312358) Loading LNet and configuring DLC /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1034: echo: write error: Device or resource busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1035: echo: write error: Device or resource busy Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs MODOPTS_LIBCFS= Force libcfs to create 2 CPU partitions /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet configure Cleaning up LNet Writer error: failed to resolve Netlink family id /home/green/git/lustre-release/lustre/scripts/lustre_rmmod: line 114: echo: write error: Device or resource busy /home/green/git/lustre-release/lustre/scripts/lustre_rmmod: line 156: echo: write error: Device or resource busy unloading modules via unload_modules_local on: 'oleg123-server' oleg123-server: oleg123-server.virtnet: executing unload_modules_local oleg123-server: /home/green/git/lustre-release/lustre/scripts/lustre_rmmod: line 114: echo: write error: Device or resource busy oleg123-server: LNET unconfigure error 22: Invalid argument oleg123-server: /home/green/git/lustre-release/lustre/scripts/lustre_rmmod: line 156: echo: write error: Device or resource busy modules unloaded. /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1034: echo: write error: Device or resource busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1035: echo: write error: Device or resource busy 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 -a oleg123-server: Writer error: failed to resolve Netlink family id oleg123-server: opening /dev/lnet failed: No such file or directory oleg123-server: hint: the kernel modules may not be loaded oleg123-server: IOC_LIBCFS_GET_NI error 2: No such file or directory pdsh@oleg123-client: oleg123-server: ssh exited with exit code 1 oleg123-server: oleg123-server.virtnet: executing load_lnet oleg123-server: Loading modules from /home/green/git/lustre-release/lustre oleg123-server: /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1034: echo: write error: Device or resource busy oleg123-server: /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 1035: echo: write error: Device or resource busy oleg123-server: detected 4 online CPUs by sysfs oleg123-server: MODOPTS_LIBCFS= oleg123-server: Force libcfs to create 2 CPU partitions /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl discover 192.168.201.123@tcp discover: - primary nid: 192.168.201.123@tcp Multi-Rail: true peer_ni: - nid: 192.168.201.123@tcp oleg123-server: oleg123-server.virtnet: executing lnet_if_list oleg123-server: oleg123-server.virtnet: executing /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl net add --net tcp1 --if ens2 oleg123-server: default via 192.168.201.254 dev ens2 192.168.201.0/24 dev ens2 proto kernel scope link src 192.168.201.123 oleg123-server: default via 192.168.201.254 dev ens2 192.168.201.0/24 dev ens2 proto kernel scope link src 192.168.201.123 /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl lnet configure /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl net add --net tcp1 --if ens2 default via 192.168.201.254 dev ens2 192.168.201.0/24 dev ens2 proto kernel scope link src 192.168.201.23 default via 192.168.201.254 dev ens2 192.168.201.0/24 dev ens2 proto kernel scope link src 192.168.201.23 net: - net type: lo local NI(s): - nid: 0@lo status: up - net type: tcp local NI(s): - nid: 192.168.201.23@tcp status: up interfaces: 0: ens2 - net type: tcp1 local NI(s): - nid: 192.168.201.23@tcp1 status: up interfaces: 0: ens2 - primary nid: 192.168.201.123@tcp - nid: 192.168.201.123@tcp health stats: health value: 1000 - nid: 192.168.201.123@tcp1 health stats: health value: 1000 debug=+net debug=-1 /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl fault drop add -s *@tcp -d *@tcp -r 1 /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl peer set --health 0 --nid 192.168.201.123@tcp /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl peer set --health 1000 --all /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl net set --health 1000 --all Check that remote NI health has been changed hval: 2000 max_hval: 2000 /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl peer set --health 0 --all /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl peer set --health 1000 --all /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl net set --health 1000 --all Check that remote NI health has been changed hval: 2000 max_hval: 2000 /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl peer set --health 500 --nid 192.168.201.123@tcp /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl peer set --health 1000 --all /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl net set --health 1000 --all Check that remote NI health has been changed hval: 2000 max_hval: 2000 /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl peer set --health 500 --all /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl peer set --health 1000 --all /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl net set --health 1000 --all Check that remote NI health has been changed hval: 2000 max_hval: 2000 oleg123-server: oleg123-server.virtnet: executing /home/green/git/lustre-release/lustre/../lnet/utils/lnetctl net del --net tcp1 --if ens2 Writer error: failed to resolve Netlink family id /home/green/git/lustre-release/lustre/scripts/lustre_rmmod: line 114: echo: write error: Device or resource busy /home/green/git/lustre-release/lustre/scripts/lustre_rmmod: line 156: echo: write error: Device or resource busy unloading modules via unload_modules_local on: 'oleg123-server' oleg123-server: oleg123-server.virtnet: executing unload_modules_local oleg123-server: /home/green/git/lustre-release/lustre/scripts/lustre_rmmod: line 114: echo: write error: Device or resource busy oleg123-server: /home/green/git/lustre-release/lustre/scripts/lustre_rmmod: line 156: echo: write error: Device or resource busy modules unloaded. oleg123-server: oleg123-server.virtnet: executing unload_modules_local oleg123-server: /home/green/git/lustre-release/lustre/scripts/lustre_rmmod: line 114: echo: write error: Device or resource busy oleg123-server: LNET unconfigure error 22: Invalid argument oleg123-server: /home/green/git/lustre-release/lustre/scripts/lustre_rmmod: line 156: echo: write error: Device or resource busy pdsh@oleg123-client: oleg123-client: ssh exited with exit code 2 pdsh@oleg123-client: oleg123-server: ssh exited with exit code 2 pdsh@oleg123-client: oleg123-client: ssh exited with exit code 2 pdsh@oleg123-client: oleg123-server: ssh exited with exit code 2