[缺陷描述]: ltp测试套执行host用例fail,报错host qibo-anolis8-nightly-func-x86-1 on local machine failed 日志如下: Running tests....... <<<test_start>>> tag=host stime=1663556046 cmdline="host01.sh" contacts="" analysis=exit <<<test_output>>> incrementing stop host01 1 TINFO: initialize 'lhost' 'ltp_ns_veth2' interface host01 1 TINFO: add local addr 10.0.0.2/24 host01 1 TINFO: add local addr fd00:1:1:1::2/64 host01 1 TINFO: initialize 'rhost' 'ltp_ns_veth1' interface host01 1 TINFO: add remote addr 10.0.0.1/24 host01 1 TINFO: add remote addr fd00:1:1:1::1/64 host01 1 TINFO: Network config (local -- remote): host01 1 TINFO: ltp_ns_veth2 -- ltp_ns_veth1 host01 1 TINFO: 10.0.0.2/24 -- 10.0.0.1/24 host01 1 TINFO: fd00:1:1:1::2/64 -- fd00:1:1:1::1/64 host01 1 TINFO: timeout per run is 0h 5m 0s host01 1 TINFO: test basic functionality of the host command host01 1 TINFO: lhost: qibo-anolis8-nightly-func-x86-1 host01 1 TFAIL: host qibo-anolis8-nightly-func-x86-1 on local machine failed Summary: passed 0 failed 1 broken 0 skipped 0 warnings 0 [重现概率]: 测试任务和手动执行都必现 [重现环境]: 环境信息:ecs OS: KERNEL: # uname -r 4.19.91-140.git.f167f3665c5a.an8.x86_64 MEMORY: # free -h total used free shared buff/cache available Mem: 15Gi 1.6Gi 11Gi 0.0Ki 2.3Gi 13Gi Swap: 0B 0B 0B CPU: # lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 2 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel BIOS Vendor ID: Alibaba Cloud CPU family: 6 Model: 106 Model name: Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz BIOS Model name: pc-i440fx-2.1 Stepping: 6 CPU MHz: 2699.998 BogoMIPS: 5399.99 Hypervisor vendor: KVM Virtualization type: full L1d cache: 48K L1i cache: 32K L2 cache: 1280K L3 cache: 49152K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves wbnoinvd arat avx512vbmi pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm arch_capabilities # cat /etc/os-release NAME="Anolis OS" VERSION="8.6" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.6" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.6" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" BIOS: # dmidecode -t 0 # dmidecode 3.3 Getting SMBIOS data from sysfs. SMBIOS 2.8 present. Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: SeaBIOS Version: 9e9f1cc Release Date: 04/01/2014 Address: 0xE8000 Runtime Size: 96 kB ROM Size: 64 kB Characteristics: BIOS characteristics not supported Targeted content distribution is supported BIOS Revision: 0.0 [复现步骤]: 1.安装ltp环境 git clone https://gitee.com/anolis/ltp.git cd ltp make autotools #默认会安装到/opt下 ./configure make make install cd /opt/ltp/ ./runltp -f net.tcp_cmds -s host [期望结果]: 用例执行pass [实际结果]: 用例执行失败 [原因分析]: 用例执行下面的命令报错导致失败: # host qibo-anolis8-nightly-func-x86-1 Host qibo-anolis8-nightly-func-x86-1 not found: 3(NXDOMAIN)