zram01 from ubuntu_ltp_kernel_misc failed with: TBROK: "check_read_mem_used_total /sys/block/zram5/mm_stat" timed out

Bug #2051324 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

This new check_read_mem_used_total() is added in recent LTP update [1][2]

Issue found with 5.15.0-94.104~20.04.1 generic-64k openstack ARM64 instance. The test is failing with:
  TBROK: "check_read_mem_used_total /sys/block/zram5/mm_stat" timed out

Test log:
INFO: Test start time: Fri Jan 26 02:53:32 UTC 2024
COMMAND: /opt/ltp/bin/ltp-pan -q -e -S -a 52810 -n 52810 -f /tmp/ltp-Sc89sRvhcZ/alltests -l /dev/null -C /dev/null -T /dev/null
LOG File: /dev/null
FAILED COMMAND File: /dev/null
TCONF COMMAND File: /dev/null
Running tests.......
zram01 1 TINFO: timeout per run is 0h 5m 0s
tst_supported_fs_types.c:89: TINFO: Kernel supports ext2
tst_supported_fs_types.c:54: TINFO: mkfs.ext2 does exist
tst_supported_fs_types.c:89: TINFO: Kernel supports ext3
tst_supported_fs_types.c:54: TINFO: mkfs.ext3 does exist
tst_supported_fs_types.c:89: TINFO: Kernel supports ext4
tst_supported_fs_types.c:54: TINFO: mkfs.ext4 does exist
tst_supported_fs_types.c:89: TINFO: Kernel supports xfs
tst_supported_fs_types.c:54: TINFO: mkfs.xfs does exist
tst_supported_fs_types.c:89: TINFO: Kernel supports btrfs
tst_supported_fs_types.c:54: TINFO: mkfs.btrfs does exist
tst_supported_fs_types.c:89: TINFO: Kernel supports vfat
tst_supported_fs_types.c:54: TINFO: mkfs.vfat does exist
tst_supported_fs_types.c:89: TINFO: Kernel supports exfat
tst_supported_fs_types.c:50: TINFO: mkfs.exfat does not exist
tst_supported_fs_types.c:156: TINFO: Skipping tmpfs as requested by the test
zram01 1 TINFO: timeout per run is 0h 45m 0s
zram01 1 TINFO: create '6' zram device(s)
zram01 1 TPASS: all zram devices (/dev/zram0~5) successfully created
zram01 1 TCONF: The device attribute max_comp_streams was introduced in kernel 3.15 and deprecated in 4.7
zram01 2 TINFO: test that we can set compression algorithm
zram01 2 TINFO: supported algs: lzo lzo-rle lz4 lz4hc 842 zstd
zram01 2 TINFO: /sys/block/zram0/comp_algorithm = 'lzo'
zram01 2 TINFO: /sys/block/zram0/comp_algorithm = 'lzo-rle'
zram01 2 TINFO: /sys/block/zram0/comp_algorithm = 'lz4'
zram01 2 TINFO: /sys/block/zram0/comp_algorithm = 'lz4hc'
zram01 2 TINFO: /sys/block/zram0/comp_algorithm = '842'
zram01 2 TINFO: /sys/block/zram0/comp_algorithm = 'zstd'
zram01 2 TINFO: /sys/block/zram1/comp_algorithm = 'lzo'
zram01 2 TINFO: /sys/block/zram1/comp_algorithm = 'lzo-rle'
zram01 2 TINFO: /sys/block/zram1/comp_algorithm = 'lz4'
zram01 2 TINFO: /sys/block/zram1/comp_algorithm = 'lz4hc'
zram01 2 TINFO: /sys/block/zram1/comp_algorithm = '842'
zram01 2 TINFO: /sys/block/zram1/comp_algorithm = 'zstd'
zram01 2 TINFO: /sys/block/zram2/comp_algorithm = 'lzo'
zram01 2 TINFO: /sys/block/zram2/comp_algorithm = 'lzo-rle'
zram01 2 TINFO: /sys/block/zram2/comp_algorithm = 'lz4'
zram01 2 TINFO: /sys/block/zram2/comp_algorithm = 'lz4hc'
zram01 2 TINFO: /sys/block/zram2/comp_algorithm = '842'
zram01 2 TINFO: /sys/block/zram2/comp_algorithm = 'zstd'
zram01 2 TINFO: /sys/block/zram3/comp_algorithm = 'lzo'
zram01 2 TINFO: /sys/block/zram3/comp_algorithm = 'lzo-rle'
zram01 2 TINFO: /sys/block/zram3/comp_algorithm = 'lz4'
zram01 2 TINFO: /sys/block/zram3/comp_algorithm = 'lz4hc'
zram01 2 TINFO: /sys/block/zram3/comp_algorithm = '842'
zram01 2 TINFO: /sys/block/zram3/comp_algorithm = 'zstd'
zram01 2 TINFO: /sys/block/zram4/comp_algorithm = 'lzo'
zram01 2 TINFO: /sys/block/zram4/comp_algorithm = 'lzo-rle'
zram01 2 TINFO: /sys/block/zram4/comp_algorithm = 'lz4'
zram01 2 TINFO: /sys/block/zram4/comp_algorithm = 'lz4hc'
zram01 2 TINFO: /sys/block/zram4/comp_algorithm = '842'
zram01 2 TINFO: /sys/block/zram4/comp_algorithm = 'zstd'
zram01 2 TINFO: /sys/block/zram5/comp_algorithm = 'lzo'
zram01 2 TINFO: /sys/block/zram5/comp_algorithm = 'lzo-rle'
zram01 2 TINFO: /sys/block/zram5/comp_algorithm = 'lz4'
zram01 2 TINFO: /sys/block/zram5/comp_algorithm = 'lz4hc'
zram01 2 TINFO: /sys/block/zram5/comp_algorithm = '842'
zram01 2 TINFO: /sys/block/zram5/comp_algorithm = 'zstd'
zram01 2 TPASS: test succeeded
zram01 3 TINFO: set disk size to zram device(s)
zram01 3 TINFO: /sys/block/zram0/disksize = '26214400'
zram01 3 TINFO: /sys/block/zram1/disksize = '26214400'
zram01 3 TINFO: /sys/block/zram2/disksize = '26214400'
zram01 3 TINFO: /sys/block/zram3/disksize = '314572800'
zram01 3 TINFO: /sys/block/zram4/disksize = '402653184'
zram01 3 TINFO: /sys/block/zram5/disksize = '26214400'
zram01 3 TPASS: test succeeded
zram01 4 TINFO: set memory limit to zram device(s)
zram01 4 TINFO: /sys/block/zram0/mem_limit = '25M'
zram01 4 TINFO: /sys/block/zram1/mem_limit = '25M'
zram01 4 TINFO: /sys/block/zram2/mem_limit = '25M'
zram01 4 TINFO: /sys/block/zram3/mem_limit = '300M'
zram01 4 TINFO: /sys/block/zram4/mem_limit = '384M'
zram01 4 TINFO: /sys/block/zram5/mem_limit = '25M'
zram01 4 TPASS: test succeeded
zram01 5 TINFO: make ext2 filesystem on /dev/zram0
zram01 5 TINFO: make ext3 filesystem on /dev/zram1
zram01 5 TINFO: make ext4 filesystem on /dev/zram2
zram01 5 TINFO: make xfs filesystem on /dev/zram3
zram01 5 TINFO: make btrfs filesystem on /dev/zram4
zram01 5 TINFO: make vfat filesystem on /dev/zram5
zram01 5 TPASS: zram_makefs succeeded
zram01 6 TINFO: mount /dev/zram0
zram01 6 TINFO: mount /dev/zram1
zram01 6 TINFO: mount /dev/zram2
zram01 6 TINFO: mount /dev/zram3
zram01 6 TINFO: mount /dev/zram4
zram01 6 TINFO: mount /dev/zram5
zram01 6 TPASS: mount of zram device(s) succeeded
zram01 7 TINFO: filling zram0 (it can take long time)
zram01 7 TPASS: zram0 was filled with '24724' KB
zram01 7 TINFO: /sys/block/zram0/mm_stat
20447232 6553 655360 26214400 655360 305 0 0 0
zram01 7 TINFO: mem_used_total: 655360
zram01 7 TPASS: compression ratio: 38.63:1
zram01 7 TINFO: filling zram1 (it can take long time)
zram01 7 TPASS: zram1 was filled with '20628' KB
zram01 7 TINFO: /sys/block/zram1/mm_stat
25493504 15275 327680 26214400 524288 385 0 0 0
zram01 7 TINFO: mem_used_total: 327680
zram01 7 TPASS: compression ratio: 64.46:1
zram01 7 TINFO: filling zram2 (it can take long time)
zram01 7 TPASS: zram2 was filled with '20140' KB
zram01 7 TINFO: /sys/block/zram2/mm_stat
25296896 1398 262144 26214400 262144 382 0 0 0
zram01 7 TINFO: mem_used_total: 262144
zram01 7 TPASS: compression ratio: 78.67:1
zram01 7 TINFO: filling zram3 (it can take long time)
zram01 7 TPASS: zram3 was filled with '284508' KB
zram01 7 TINFO: /sys/block/zram3/mm_stat
296878080 14438 458752 314572800 589824 4493 0 0 0
zram01 7 TINFO: mem_used_total: 458752
zram01 7 TPASS: compression ratio: 635.06:1
zram01 7 TINFO: filling zram4 (it can take long time)
zram01 7 TPASS: zram4 was filled with '330368' KB
zram01 7 TINFO: /sys/block/zram4/mm_stat
343015424 12093 262144 402653184 262144 5190 0 0 0
zram01 7 TINFO: mem_used_total: 262144
zram01 7 TPASS: compression ratio: 1290.50:1
zram01 7 TINFO: filling zram5 (it can take long time)
zram01 7 TPASS: zram5 was filled with '25568' KB
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TINFO: /sys/block/zram5/mm_stat
11403264 0 0 26214400 196608 174 0 0 0
zram01 7 TBROK: "check_read_mem_used_total /sys/block/zram5/mm_stat" timed out
zram01 7 TINFO: AppArmor enabled, this may affect test results
zram01 7 TINFO: it can be disabled with TST_DISABLE_APPARMOR=1 (requires super/root)
zram01 7 TINFO: loaded AppArmor profiles: none

Summary:
passed 17
failed 0
broken 1
skipped 1
warnings 0
INFO: ltp-pan reported some tests FAIL
LTP Version: 20230929
INFO: Test end time: Fri Jan 26 02:59:10 UTC 2024

[1] https://lists.ubuntu.com/archives/kernel-team/2023-December/147590.html
[2]
https://github.com/linux-test-project/ltp/commit/f045fd1de6420cc6d7db2bda0cd86fb56ff5b1c1

Po-Hsu Lin (cypressyew)
summary: - zram01 from ubuntu_ltp_kernel_misc failed with "TBROK:
- "check_read_mem_used_total /sys/block/zram5/mm_stat" timed out"
+ zram01 from ubuntu_ltp_kernel_misc failed with: TBROK:
+ "check_read_mem_used_total /sys/block/zram5/mm_stat" timed out
Po-Hsu Lin (cypressyew)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.