[LTP] Test failures observed on 6.15 kernel in memcontrol04 test suite
Harshvardhan Jha
harshvardhan.j.jha@oracle.com
Mon Apr 14 11:42:05 CEST 2025
Hi Martin,
On 09/04/25 6:42 PM, Martin Doucha wrote:
> On 09. 04. 25 12:31, Harshvardhan Jha via ltp wrote:
>> Hi there,
>>
>> I've been observing 5 failures on vanilla 6.15 kernel when running ltp
>> memcontrol04 test and I've attached the logs to this email. Please let
>> me know if this is a kernel issue or due to outdated test case.
>> Something similar was observed on 6.14 and it was rectified iirc.
>
> Hi,
> this is a minor kernel bug and our colleague is working on a fix[1].
> You can safely ignore any failures described as "F low
> events=<nonzero>" in the test output.
>
> [1]
> https://urldefense.com/v3/__https://bugzilla.suse.com/show_bug.cgi?id=1196298__;!!ACWV5N9M2RV99hQ!PicXqj3LGuf-pdgmn4JAALFdplA83-YDyrV61zaU-GUz8czlbHHzCqwt0aUChk41PmYxrGaozow9h4-ldcqXBZ5K$
>
I tried running this on a 6.12 kernel and on that kernel this test
doesn't run and is shown to be broken. I've attached the file to this email.
Thanks & Regards,
Harshvardhan
-------------- next part --------------
Gnu C gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7)
Clang
Gnu make 4.4.1
util-linux 2.40.2
mount util-linux 2.40.2 (libmount 2.40.2: selinux, btrfs, namespaces, idmapping, fd-based-mount, statx, assert, debug)
modutils 31
btrfs v6.12
e2fsprogs 1.47.1
exfat 1.2.2
vfat 4.2
xfs 6.11.0
Linux C Library GNU C Library (GNU libc) stable release version 2.39.
Dynamic linker (ldd) 2.39
Procps 4.0.4
Net-tools 2.10-alpha
iproute2 1.5.0
iputils 20240905
ethtool 6.11
Sh-utils 9.5
Modules Loaded ext4 jbd2 ext2 mbcache nft_redir rfkill ipt_REJECT xt_comment xt_owner nft_compat nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set vfat fat intel_rapl_msr bochs drm_vram_helper drm_ttm_helper ttm intel_rapl_common drm_kms_helper i2c_piix4 pcspkr i2c_smbus pvpanic_mmio pvpanic sg drm fuse loop vsock_loopback vmw_vsock_virtio_transport_common vmw_vsock_vmci_transport vsock vmw_vmci xfs nvme_tcp nvme_fabrics nvme_keyring nvme_core nvme_auth ata_generic sd_mod crct10dif_pclmul pata_acpi crc32_pclmul ata_piix ghash_clmulni_intel sha512_ssse3 libata virtio_net sha256_ssse3 sha1_ssse3 net_failover virtio_scsi failover serio_raw btrfs blake2b_generic xor zstd_compress raid6_pq sunrpc dm_mirror dm_region_hash dm_log be2iscsi bnx2i cnic uio cxgb4i cxgb4 tls cxgb3i cxgb3 mdio libcxgbi libcxgb qla4xxx iscsi_boot_sysfs iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi dm_multipath dm_mod qemu_fw_cfg virtio_pci virtio_pci_legacy_dev virtio_pci_modern_dev aesni_intel gf128mul crypto_simd cryptd
cpuinfo:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 40 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Vendor ID: AuthenticAMD
BIOS Vendor ID: QEMU
Model name: AMD EPYC 7551 32-Core Processor
BIOS Model name: pc-i440fx-7.2 CPU @ 2.0GHz
BIOS CPU family: 1
CPU family: 23
Model: 1
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
Stepping: 2
BogoMIPS: 3992.50
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibpb vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr virt_ssbd arat overflow_recov succor arch_capabilities
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 256 KiB (4 instances)
L1i cache: 256 KiB (4 instances)
L2 cache: 2 MiB (4 instances)
L3 cache: 16 MiB (1 instance)
NUMA node(s): 1
NUMA node0 CPU(s): 0-7
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed: Mitigation; untrained return thunk; SMT vulnerable
Vulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcode
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
free reports:
total used free shared buff/cache available
Mem: 32397256 826788 29522820 8904 2459588 31570468
Swap: 6291452 0 6291452
memory (/proc/meminfo):
MemTotal: 32397256 kB
MemFree: 29522820 kB
MemAvailable: 31570468 kB
Buffers: 7280 kB
Cached: 2386200 kB
SwapCached: 0 kB
Active: 439040 kB
Inactive: 2105624 kB
Active(anon): 167240 kB
Inactive(anon): 0 kB
Active(file): 271800 kB
Inactive(file): 2105624 kB
Unevictable: 8932 kB
Mlocked: 8932 kB
SwapTotal: 6291452 kB
SwapFree: 6291452 kB
Zswap: 0 kB
Zswapped: 0 kB
Dirty: 64 kB
Writeback: 0 kB
AnonPages: 160056 kB
Mapped: 143136 kB
Shmem: 8904 kB
KReclaimable: 66108 kB
Slab: 172068 kB
SReclaimable: 66108 kB
SUnreclaim: 105960 kB
KernelStack: 5388 kB
PageTables: 4220 kB
SecPageTables: 0 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 22490080 kB
Committed_AS: 1115876 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 32000 kB
VmallocChunk: 0 kB
Percpu: 3584 kB
HardwareCorrupted: 0 kB
AnonHugePages: 65536 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
FileHugePages: 83968 kB
FilePmdMapped: 71680 kB
CmaTotal: 0 kB
CmaFree: 0 kB
Unaccepted: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 0 kB
DirectMap4k: 223976 kB
DirectMap2M: 8159232 kB
DirectMap1G: 27262976 kB
available filesystems:
autofs bdev bpf btrfs cgroup cgroup2 configfs cpuset debugfs devpts devtmpfs efivarfs ext2 ext3 ext4 fuse fuseblk fusectl hugetlbfs mqueue pipefs proc pstore ramfs rpc_pipefs securityfs selinuxfs sockfs sysfs tmpfs tracefs vfat xfs zonefs
mounted filesystems (/proc/mounts):
/dev/mapper/ocivolume-root / xfs rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
devtmpfs /dev devtmpfs rw,seclabel,nosuid,size=4096k,nr_inodes=4038352,mode=755,inode64 0 0
tmpfs /dev/shm tmpfs rw,seclabel,nosuid,nodev,noexec,inode64 0 0
devpts /dev/pts devpts rw,seclabel,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
sysfs /sys sysfs rw,seclabel,nosuid,nodev,noexec,relatime 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
cgroup2 /sys/fs/cgroup cgroup2 rw,seclabel,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0
pstore /sys/fs/pstore pstore rw,seclabel,nosuid,nodev,noexec,relatime 0 0
efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0
bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /run tmpfs rw,seclabel,nosuid,nodev,size=6479452k,nr_inodes=819200,mode=755,inode64 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,nosuid,noexec,relatime 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1792 0 0
mqueue /dev/mqueue mqueue rw,seclabel,nosuid,nodev,noexec,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,seclabel,nosuid,nodev,relatime,pagesize=2M 0 0
debugfs /sys/kernel/debug debugfs rw,seclabel,nosuid,nodev,noexec,relatime 0 0
tracefs /sys/kernel/tracing tracefs rw,seclabel,nosuid,nodev,noexec,relatime 0 0
tmpfs /run/credentials/systemd-journald.service tmpfs ro,seclabel,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap 0 0
/dev/mapper/ocivolume-oled /var/oled xfs rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 0
/dev/sda2 /boot xfs rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 0
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
/dev/sda1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro 0 0
tmpfs /run/user/1000 tmpfs rw,seclabel,nosuid,nodev,relatime,size=3239724k,nr_inodes=809931,mode=700,uid=1000,gid=1000,inode64 0 0
tmpfs /run/credentials/getty@tty1.service tmpfs ro,seclabel,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap 0 0
tmpfs /run/credentials/serial-getty@ttyS0.service tmpfs ro,seclabel,nosuid,nodev,noexec,relatime,nosymfollow,size=1024k,nr_inodes=1024,mode=700,inode64,noswap 0 0
tmpfs /run/user/987 tmpfs rw,seclabel,nosuid,nodev,relatime,size=3239724k,nr_inodes=809931,mode=700,uid=987,gid=988,inode64 0 0
/dev/sdb1 /tmpdir xfs rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 0
mounted filesystems (df):
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/ocivolume-root xfs 133G 17G 117G 13% /
devtmpfs devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs tmpfs 16G 0 16G 0% /dev/shm
efivarfs efivarfs 256K 57K 195K 23% /sys/firmware/efi/efivars
tmpfs tmpfs 6.2G 8.7M 6.2G 1% /run
tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service
/dev/mapper/ocivolume-oled xfs 15G 326M 15G 3% /var/oled
/dev/sda2 xfs 2.0G 1.2G 766M 62% /boot
/dev/sda1 vfat 100M 7.6M 93M 8% /boot/efi
tmpfs tmpfs 3.1G 4.0K 3.1G 1% /run/user/1000
tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/getty@tty1.service
tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/serial-getty@ttyS0.service
tmpfs tmpfs 3.1G 4.0K 3.1G 1% /run/user/987
/dev/sdb1 xfs 20G 424M 20G 3% /tmpdir
tainted (/proc/sys/kernel/tainted):
0
AppArmor disabled
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: actual (secure)
Max kernel policy version: 33
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 -a 40409 -n 40409 -p -f /tmpdir/ltp-6YfcgchEad/alltests -l /opt/ltp/results/LTP_RUN_ON-2025_04_09-10h_02m_33s.log -C /opt/ltp/output/LTP_RUN_ON-2025_04_09-10h_02m_33s.failed -T /opt/ltp/output/LTP_RUN_ON-2025_04_09-10h_02m_33s.tconf
INFO: Restricted to memcontrol04
LOG File: /opt/ltp/results/LTP_RUN_ON-2025_04_09-10h_02m_33s.log
FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2025_04_09-10h_02m_33s.failed
TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-2025_04_09-10h_02m_33s.tconf
Running tests.......
<<<test_start>>>
tag=memcontrol04 stime=1744192954
cmdline="memcontrol04"
contacts=""
analysis=exit
<<<test_output>>>
tst_tmpdir.c:316: TINFO: Using /tmpdir/ltp-6YfcgchEad/LTP_memJ5oIC7 as tmpdir (xfs filesystem)
tst_device.c:96: TINFO: Found free device 0 '/dev/loop0'
tst_test.c:1900: TINFO: LTP version: 20250130-39-g7f3922a24
tst_test.c:1904: TINFO: Tested kernel: 6.12.0-0.20.20.1.el10uek.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Apr 7 21:05:28 PDT 2025 x86_64
tst_kconfig.c:88: TINFO: Parsing kernel config '/lib/modules/6.12.0-0.20.20.1.el10uek.x86_64/config'
tst_test.c:1722: TINFO: Overall timeout per run is 0h 00m 30s
tst_supported_fs_types.c:97: TINFO: Kernel supports ext2
tst_supported_fs_types.c:62: TINFO: mkfs.ext2 does exist
tst_supported_fs_types.c:97: TINFO: Kernel supports ext3
tst_supported_fs_types.c:62: TINFO: mkfs.ext3 does exist
tst_supported_fs_types.c:97: TINFO: Kernel supports ext4
tst_supported_fs_types.c:62: TINFO: mkfs.ext4 does exist
tst_supported_fs_types.c:97: TINFO: Kernel supports xfs
tst_supported_fs_types.c:62: TINFO: mkfs.xfs does exist
tst_supported_fs_types.c:97: TINFO: Kernel supports btrfs
tst_supported_fs_types.c:62: TINFO: mkfs.btrfs does exist
tst_supported_fs_types.c:105: TINFO: Skipping bcachefs because of FUSE blacklist
tst_supported_fs_types.c:169: TINFO: Skipping vfat as requested by the test
tst_supported_fs_types.c:169: TINFO: Skipping exfat as requested by the test
tst_supported_fs_types.c:169: TINFO: Skipping ntfs as requested by the test
tst_supported_fs_types.c:169: TINFO: Skipping tmpfs as requested by the test
tst_test.c:1833: TINFO: === Testing on ext2 ===
tst_test.c:1170: TINFO: Formatting /dev/loop0 with ext2 opts='' extra opts=''
mke2fs 1.47.1 (20-May-2024)
tst_test.c:1182: TINFO: Mounting /dev/loop0 to /tmpdir/ltp-6YfcgchEad/LTP_memJ5oIC7/mntdir fstyp=ext2 flags=0
memcontrol04.c:118: TINFO: Child 40610 in leaf_C: Allocating pagecache: 52428800
memcontrol04.c:118: TINFO: Child 40611 in leaf_D: Allocating pagecache: 52428800
memcontrol04.c:118: TINFO: Child 40612 in leaf_F: Allocating pagecache: 52428800
memcontrol04.c:99: TINFO: Child 40613 in trunk_G: Allocating anon: 155189248
tst_test.c:438: TBROK: Child (40613) killed by signal SIGKILL
HINT: You _MAY_ be hit by known kernel failures:
Low events in F: https://bugzilla.suse.com/show_bug.cgi?id=1196298
Summary:
passed 0
failed 0
broken 1
skipped 0
warnings 0
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=4 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=383
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: 20250130-39-g7f3922a24
###############################################################
Done executing testcases.
LTP Version: 20250130-39-g7f3922a24
###############################################################
More information about the ltp
mailing list