-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
False
-
-
False
-
None
-
rhel-kernel-ft
-
-
This issue was originally created at 2024-04-17T08:14:39.389Z as a Gitlab issue:
https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/issues/1906
- Snippet of test failure
>>> 1:zram01__with_dmesg_entry BROK <<<
###############################################################################
- Test Num : 1 #
- Test Case : zram01__with_dmesg_entry #
- Test Result : BROK #
###############################################################################
1 <<<test_start>>>
2 tag=zram01__with_dmesg_entry stime=1713237190
3 cmdline="dmesg -c 1>/dev/null 2>&1; zram01.sh; EXIT_CODE=$?; dmesg > /mnt/testarea/ltp/output/DMESG_DIR_filtered_runtest-dmesg-output-57844-11:13:08PM/zram01.dmesg.log; exit $EXIT_CODE"
4 contacts=""
5 analysis=exit
6 <<<test_output>>>
7 zram01 1 TINFO: Running: zram01.sh
8 zram01 1 TINFO: timeout per run is 0h 10m 0s
9 tst_supported_fs_types.c:96: TINFO: Kernel supports ext2
10 tst_supported_fs_types.c:61: TINFO: mkfs.ext2 does exist
11 tst_supported_fs_types.c:96: TINFO: Kernel supports ext3
12 tst_supported_fs_types.c:61: TINFO: mkfs.ext3 does exist
13 tst_supported_fs_types.c:96: TINFO: Kernel supports ext4
14 tst_supported_fs_types.c:61: TINFO: mkfs.ext4 does exist
15 tst_supported_fs_types.c:96: TINFO: Kernel supports xfs
16 tst_supported_fs_types.c:61: TINFO: mkfs.xfs does exist
17 tst_supported_fs_types.c:104: TINFO: Skipping bcachefs because of FUSE blacklist
18 tst_supported_fs_types.c:96: TINFO: Kernel supports vfat
19 tst_supported_fs_types.c:61: TINFO: mkfs.vfat does exist
20 tst_supported_fs_types.c:127: TINFO: Filesystem exfat is not supported
21 tst_supported_fs_types.c:127: TINFO: Filesystem ntfs is not supported
22 tst_supported_fs_types.c:169: TINFO: Skipping tmpfs as requested by the test
23 zram01 1 TINFO: timeout per run is 1h 15m 0s
24 zram01 1 TINFO: create '5' zram device(s)
25 zram01 1 TPASS: all zram devices (/dev/zram0~4) successfully created
26 zram01 1 TCONF: The device attribute max_comp_streams was introduced in kernel 3.15 and deprecated in 4.7
27 zram01 2 TINFO: test that we can set compression algorithm
28 zram01 2 TINFO: supported algs: lzo
29 zram01 2 TINFO: /sys/block/zram0/comp_algorithm = 'lzo'
30 zram01 2 TINFO: /sys/block/zram1/comp_algorithm = 'lzo'
31 zram01 2 TINFO: /sys/block/zram2/comp_algorithm = 'lzo'
32 zram01 2 TINFO: /sys/block/zram3/comp_algorithm = 'lzo'
33 zram01 2 TINFO: /sys/block/zram4/comp_algorithm = 'lzo'
34 zram01 2 TPASS: test succeeded
35 zram01 3 TINFO: set disk size to zram device(s)
36 zram01 3 TINFO: /sys/block/zram0/disksize = '26214400'
37 zram01 3 TINFO: /sys/block/zram1/disksize = '26214400'
38 zram01 3 TINFO: /sys/block/zram2/disksize = '26214400'
39 zram01 3 TINFO: /sys/block/zram3/disksize = '314572800'
40 zram01 3 TINFO: /sys/block/zram4/disksize = '26214400'
41 zram01 3 TPASS: test succeeded
42 zram01 4 TINFO: set memory limit to zram device(s)
43 zram01 4 TINFO: /sys/block/zram0/mem_limit = '25M'
44 zram01 4 TINFO: /sys/block/zram1/mem_limit = '25M'
45 zram01 4 TINFO: /sys/block/zram2/mem_limit = '25M'
46 zram01 4 TINFO: /sys/block/zram3/mem_limit = '300M'
47 zram01 4 TINFO: /sys/block/zram4/mem_limit = '25M'
48 zram01 4 TPASS: test succeeded
49 zram01 5 TINFO: make ext2 filesystem on /dev/zram0
50 zram01 5 TINFO: make ext3 filesystem on /dev/zram1
51 zram01 5 TINFO: make ext4 filesystem on /dev/zram2
52 zram01 5 TINFO: make xfs filesystem on /dev/zram3
53 zram01 5 TINFO: make vfat filesystem on /dev/zram4
54 zram01 5 TPASS: zram_makefs succeeded
55 zram01 6 TINFO: mount /dev/zram0
56 zram01 6 TINFO: mount /dev/zram1
57 zram01 6 TINFO: mount /dev/zram2
58 zram01 6 TINFO: mount /dev/zram3
59 zram01 6 TINFO: mount /dev/zram4
60 zram01 6 TPASS: mount of zram device(s) succeeded
61 zram01 7 TINFO: filling zram0 (it can take long time)
62 zram01 7 TPASS: zram0 was filled with '24720' KB
63 zram01 7 TINFO: /sys/block/zram0/mm_stat
64 19333120 11187 262144 26214400 327680 290 0 0
65 zram01 7 TINFO: mem_used_total: 262144
66 zram01 7 TPASS: compression ratio: 96.56:1
67 zram01 7 TINFO: filling zram1 (it can take long time)
68 zram01 7 TPASS: zram1 was filled with '20624' KB
69 zram01 7 TINFO: /sys/block/zram1/mm_stat
70 26214400 24819 458752 26214400 851968 396 0 0
71 zram01 7 TINFO: mem_used_total: 458752
72 zram01 7 TPASS: compression ratio: 46.03:1
73 zram01 7 TINFO: filling zram2 (it can take long time)
74 zram01 7 TPASS: zram2 was filled with '20132' KB
75 zram01 7 TINFO: /sys/block/zram2/mm_stat
76 25362432 3666 393216 26214400 524288 382 0 0
77 zram01 7 TINFO: mem_used_total: 393216
78 zram01 7 TPASS: compression ratio: 52.42:1
79 zram01 7 TINFO: filling zram3 (it can take long time)
80 zram01 7 TPASS: zram3 was filled with '284508' KB
81 zram01 7 TINFO: /sys/block/zram3/mm_stat
82 296878080 36203 393216 314572800 589824 4493 0 0
83 zram01 7 TINFO: mem_used_total: 393216
84 zram01 7 TPASS: compression ratio: 740.90:1
85 zram01 7 TINFO: filling zram4 (it can take long time)
86 zram01 7 TPASS: zram4 was filled with '25568' KB
87 zram01 7 TINFO: /sys/block/zram4/mm_stat
88 9306112 0 0 26214400 196608 142 0 0
89 zram01 7 TINFO: /sys/block/zram4/mm_stat
90 9306112 0 0 26214400 196608 142 0 0
91 zram01 7 TINFO: /sys/block/zram4/mm_stat
92 9306112 0 0 26214400 196608 142 0 0
93 zram01 7 TINFO: /sys/block/zram4/mm_stat
94 9306112 0 0 26214400 196608 142 0 0
95 zram01 7 TINFO: /sys/block/zram4/mm_stat
96 9306112 0 0 26214400 196608 142 0 0
97 zram01 7 TINFO: /sys/block/zram4/mm_stat
98 9306112 0 0 26214400 196608 142 0 0
99 zram01 7 TINFO: /sys/block/zram4/mm_stat
100 9306112 0 0 26214400 196608 142 0 0
101 zram01 7 TINFO: /sys/block/zram4/mm_stat
102 9306112 0 0 26214400 196608 142 0 0
103 zram01 7 TINFO: /sys/block/zram4/mm_stat
104 9306112 0 0 26214400 196608 142 0 0
105 zram01 7 TINFO: /sys/block/zram4/mm_stat
106 9306112 0 0 26214400 196608 142 0 0
107 zram01 7 TINFO: /sys/block/zram4/mm_stat
108 9306112 0 0 26214400 196608 142 0 0
109 zram01 7 TINFO: /sys/block/zram4/mm_stat
110 9306112 0 0 26214400 196608 142 0 0
111 zram01 7 TINFO: /sys/block/zram4/mm_stat
112 9306112 0 0 26214400 196608 142 0 0
113 zram01 7 TINFO: /sys/block/zram4/mm_stat
114 9306112 0 0 26214400 196608 142 0 0
115 zram01 7 TINFO: /sys/block/zram4/mm_stat
116 9306112 0 0 26214400 196608 142 0 0
117 zram01 7 TINFO: /sys/block/zram4/mm_stat
118 9306112 0 0 26214400 196608 142 0 0
119 zram01 7 TINFO: /sys/block/zram4/mm_stat
120 9306112 0 0 26214400 196608 142 0 0
121 zram01 7 TINFO: /sys/block/zram4/mm_stat
122 9306112 0 0 26214400 196608 142 0 0
123 zram01 7 TINFO: /sys/block/zram4/mm_stat
124 9306112 0 0 26214400 196608 142 0 0
125 zram01 7 TINFO: /sys/block/zram4/mm_stat
126 9306112 0 0 26214400 196608 142 0 0
127 zram01 7 TINFO: /sys/block/zram4/mm_stat
128 9306112 0 0 26214400 196608 142 0 0
129 zram01 7 TINFO: /sys/block/zram4/mm_stat
130 9306112 0 0 26214400 196608 142 0 0
131 zram01 7 TBROK: "check_read_mem_used_total /sys/block/zram4/mm_stat" timed out
132 zram01 7 TINFO: SELinux enabled in enforcing mode, this may affect test results
133 zram01 7 TINFO: it can be disabled with TST_DISABLE_SELINUX=1 (requires super/root)
134 zram01 7 TINFO: install seinfo to find used SELinux profiles
135 zram01 7 TINFO: loaded SELinux profiles: none
136
137 Summary:
138 passed 15
139 failed 0
140 broken 1
141 skipped 1
142 warnings 0
143 incrementing stop
144 <<<execution_status>>>
145 initiation_status="ok"
146 duration=217 termination_type=exited termination_id=2 corefile=no
147 cutime=17620 cstime=5500
148 <<<test_end>>>
ampere-mtsnow-altra-02-vm-18.lab.eng.rdu2.redhat.com:
This could be reproduced on rhel-8.10, and couldn't reproduce with rhel9.4 kernel.
vmlinuz-4.18.0-544.el8.aarch64 is bad.
vmlinuz-5.14.0-440.el9.aarch64 is good.[root@ampere-mtsnow-altra-02-vm-18 ~]# nproc
3
[root@ampere-mtsnow-altra-02-vm-18 ~]# lscpu
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 3
On-line CPU(s) list: 0-2
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 3
NUMA node(s): 1
Vendor ID: ARM
BIOS Vendor ID: QEMU
Model: 1
Model name: Neoverse-N1
BIOS Model name: virt-rhel8.6.0
Stepping: r3p1
BogoMIPS: 50.00
L1d cache: unknown size
L1i cache: unknown size
L2 cache: unknown size
NUMA node0 CPU(s): 0-2
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs
[root@ampere-mtsnow-altra-02-vm-18 ~]# hostname
ampere-mtsnow-altra-02-vm-18.lab.eng.rdu2.redhat.comIn a manual test, we find it takes 20 secs to finish test, means compressed the data, it's issue for rhel8 and no one notice it.
Please include the relevant output of the failing test.
- Test logs on DataWarehouse
Nox``
- DataWarehouse issue
No
- Additional details
Please include any additional information you have about the issue here.
**In case opening the links above result in a 404 page on DataWarehouse, please
make sure you are [correctly logged into DataWarehouse via Red Hat SSO](
https://cki-project.org/l/datawarehouse-404).**
- links to