<style>table.customTableClassName {margin-bottom: 10px;border-collapse: collapse;display: table;}.customTableClassName td, .customTableClassName th {border: 1px solid #ddd;}</style><p style="box-sizing: border-box; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);">Hi<br style="box-sizing: border-box;">I executed the ltp test with the command ‘‘runltp -t 2d’, but the test only ran for 11 hours before exiting. The log shows that the program has ended. But the test suite cve-2017-2671 was not completed. When ltp exits, the message shows that systemd received the sigusr1 signal.At this time the system is still normal.Can anyone tell me if this is a bug or an environmental problem</p><p style="box-sizing: border-box; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);">The os env</p><pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 12px; margin-top: 0px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: var(--color-bg-tertiary); border-radius: 6px; color: rgb(36, 41, 46);">uname:
Linux weidong 4.19.90-2103.4.0.0062.up1.uel20.x86_64 #1 SMP Tue Mar 30 05:16:06 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
/proc/cmdline
BOOT_IMAGE=/vmlinuz-4.19.90-2103.4.0.0062.up1.uel20.x86_64 root=/dev/mapper/uos-root ro resume=/dev/mapper/uos-swap rd.lvm.lv=uos/root rd.lvm.lv=uos/swap video=VGA-1:640x480-32@60me rhgb console=tty0 crashkernel=512M rhgb
Gnu C gcc (GCC) 7.3.0
Clang
Gnu make 4.3
util-linux 2.35.2
mount linux 2.35.2 (libmount 2.35.2: selinux, btrfs, namespaces, assert, debug)
modutils 27
e2fsprogs 1.45.6
Linux C Library > libc.2.28
Dynamic linker (ldd) 2.28
Procps 3.3.16
iproute2 iproute2-ss200127
iputils s20190709
ethtool 5.4
Kbd 2.2.0
Sh-utils 8.32
Modules Loaded brd overlay fuse ext4 mbcache jbd2 loop sctp ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_conntrack ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat_ipv4 nf_nat iptable_mangle iptable_raw iptable_security rfkill nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter vfat fat intel_rapl skx_edac nfit libnvdimm x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel iTCO_wdt kvm iTCO_vendor_support irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel intel_cstate mei_me mei ioatdma intel_uncore i2c_i801 wmi ipmi_ssif joydev dca intel_rapl_perf pcspkr sg ipmi_si lpc_ich ipmi_devintf acpi_power_meter ipmi_msghandler acpi_pad ip_tables xfs sd_mod ast i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ahci libahci i40e drm crc32c_intel megaraid_sas libata dm_mirror dm_region_hash dm_log dm_mod
free reports:
total used free shared buff/cache available
Mem: 526476400 806896 525239536 26996 429968 522971848
Swap: 4194300 76224 4118076
cpuinfo:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 46 bits physical, 48 bits virtual
CPU(s): 64
On-line CPU(s) list: 0-63
Thread(s) per core: 2
Core(s) per socket: 16
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 85
Model name: Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz
Stepping: 7
CPU MHz: 1048.167
CPU max MHz: 3900.0000
CPU min MHz: 1000.0000
BogoMIPS: 4600.00
Virtualization: VT-x
L1d cache: 1 MiB
L1i cache: 1 MiB
L2 cache: 32 MiB
L3 cache: 44 MiB
NUMA node0 CPU(s): 0-15,32-47
NUMA node1 CPU(s): 16-31,48-63
Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Enhanced IBRS, IBPB conditional, RSB filling
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Mitigation; TSX disabled
Vulnerability Tsx async abort: Mitigation; TSX disabled
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear flush_l1d arch_capabilities
AppArmor disabled
SELinux status: disabled</pre><p style="box-sizing: border-box; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);">ltp-log</p><pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 12px; margin-top: 0px; margin-bottom: 16px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: var(--color-bg-tertiary); border-radius: 6px; color: rgb(36, 41, 46);">no big block device was specified on commandline.
Tests which require a big block device are disabled.
You can specify it with option -z
COMMAND: /opt/ltp/bin/ltp-pan -e -S -t 2d -a 17163 -n 17163 -p -f /tmp/ltp-3tCbfNepkp/alltests -l /opt/ltp/results/LTP_RUN_ON-2021_03_30-21h_28m_59s.log -C /opt/ltp/output/LTP_RUN_ON-2021_03_30-21h_28m_59s.failed -T /opt/ltp/output/LTP_RUN_ON-2021_03_30-21h_28m_59s.tconf
LOG File: /opt/ltp/results/LTP_RUN_ON-2021_03_30-21h_28m_59s.log
FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2021_03_30-21h_28m_59s.failed
TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-2021_03_30-21h_28m_59s.tconf
Running tests.......
PAN will run for 172800 seconds
<<<test_start>>>
tag=abort01 stime=1617110939
cmdline="abort01"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1263: TINFO: Timeout per run is 0h 05m 00s
abort01.c:62: TPASS: abort() dumped core
...
<<<test_start>>>
tag=cve-2017-2636 stime=1617152247
cmdline="pty05"
contacts=""
analysis=exit
<<<test_output>>>
tst_taint.c:88: TCONF: Ignoring already set kernel warning taint
tst_test.c:1263: TINFO: Timeout per run is 0h 05m 00s
../../../include/tst_fuzzy_sync.h:507: TINFO: Minimum sampling period ended
../../../include/tst_fuzzy_sync.h:331: TINFO: loop = 1024, delay_bias = 0
../../../include/tst_fuzzy_sync.h:320: TINFO: start_a - start_b: { avg = -1850880ns, avg_dev = 11138535ns, dev_ratio = 6.02 }
../../../include/tst_fuzzy_sync.h:320: TINFO: end_a - start_a : { avg = 472ns, avg_dev = 64ns, dev_ratio = 0.14 }
../../../include/tst_fuzzy_sync.h:320: TINFO: end_b - start_b : { avg = 558ns, avg_dev = 41ns, dev_ratio = 0.07 }
../../../include/tst_fuzzy_sync.h:320: TINFO: end_a - end_b : { avg = -1850966ns, avg_dev = 11138510ns, dev_ratio = 6.02 }
../../../include/tst_fuzzy_sync.h:320: TINFO: spins : { avg = 9608163 , avg_dev = 47376 , dev_ratio = 0.00 }
../../../include/tst_fuzzy_sync.h:637: TINFO: Exceeded execution time, requesting exit
pty05.c:84: TPASS: Nothing bad happened, probably
Summary:
passed 1
failed 0
broken 0
skipped 1
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=150 termination_type=exited termination_id=0 corefile=no
cutime=15040 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=cve-2017-2671 stime=1617152397
cmdline="cve-2017-2671"
contacts=""
analysis=exit
**<<<test_output>>>
tst_test.c:1263: TINFO: Timeout per run is 0h 05m 00s
cve-2017-2671.c:64: TINFO: Created ping socket, attempting to race...
../../include/tst_fuzzy_sync.h:507: TINFO: Minimum sampling period ended
../../include/tst_fuzzy_sync.h:331: TINFO: loop = 1024, delay_bias = 0
../../include/tst_fuzzy_sync.h:320: TINFO: start_a - start_b: { avg = -1857114ns, avg_dev = 11142979ns, dev_ratio = 6.00 }
../../include/tst_fuzzy_sync.h:320: TINFO: end_a - start_a : { avg = 290ns, avg_dev = 20ns, dev_ratio = 0.07 }
../../include/tst_fuzzy_sync.h:320: TINFO: end_b - start_b : { avg = 297ns, avg_dev = 19ns, dev_ratio = 0.06 }
../../include/tst_fuzzy_sync.h:320: TINFO: end_a - end_b : { avg = -1857121ns, avg_dev = 11142977ns, dev_ratio = 6.00 }
../../include/tst_fuzzy_sync.h:320: TINFO: spins : { avg = 9626576 , avg_dev = 1479 , dev_ratio = 0.00 }
<<<execution_status>>>
initiation_status="ok"
duration=51 termination_type=driver_interrupt termination_id=1 corefile=no
cutime=0 cstime=0
<<<test_end>>>**
INFO: ltp-pan reported some tests FAIL
LTP Version: 20210121
###############################################################
Done executing testcases.
LTP Version: 20210121
###############################################################
rm: cannot remove '/tmp/ltp-3tCbfNepkp/4kdbb5/memcg/55/cgroup.procs': Operation not permitted
rm: cannot remove '/tmp/ltp-3tCbfNepkp/4kdbb5/memcg/55/memory.use_hierarchy': Operation not permitted
rm: cannot remove '/tmp/ltp-3tCbfNepkp/4kdbb5/memcg/55/memory.kmem.tcp.usage_in_bytes': Operation not permitted
...
rm: cannot remove '/tmp/ltp-3tCbfNepkp/cQBqeV/memcg/27/memory.kmem.tcp.limit_in_bytes': Operation not permitted
rm: cannot remove '/tmp/ltp-3tCbfNepkp/cQBqeV/memcg/27/cgroup.clone_children': Operation not permitted
../../include/tst_fuzzy_sync.h:637: TINFO: Exceeded execution time, requesting exit
cve-2017-2671.c:104: TPASS: We didn't crash</pre><p style="box-sizing: border-box; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);">messages when ltp exits</p><pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 12px; margin-top: 0px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: var(--color-bg-tertiary); border-radius: 6px; color: rgb(36, 41, 46); margin-bottom: 0px !important;">Mar 31 09:02:28 weidong systemd[1]: Received SIGUSR1 from PID 2149497 (cve-2017-2671).
Mar 31 09:02:28 weidong systemd[1]: Trying to reconnect to bus...
Mar 31 09:02:28 weidong systemd[1]: session-8.scope: Succeeded.</pre><code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; padding: 0px; margin: 0px; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-radius: 6px; word-break: normal; border: 0px; display: inline; overflow: visible; line-height: inherit; overflow-wrap: normal;"><br></code><p style="margin:0px;">issues:https://github.com/linux-test-project/ltp/issues/806 </p><div id="write-custom-companySignature"> </div><p style="margin:0px;"><br>
</p>