-
Bug
-
Resolution: Done
-
Undefined
-
None
-
False
-
-
False
-
None
-
-
This issue was originally created at 2024-04-30T07:16:09.758Z as a Gitlab issue:
https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/issues/1910
- Snippet of test failure
- subcase swapping01 failed on machine with small size of memory
- Test logs
- fail.log [segment](https://beaker-archive.host.prod.eng.bos.redhat.com/beaker-logs/2024/04/91966/9196606/16002601/176845937/VMMTIER1.fail.log)
121 swapping01.c:110: TINFO: available physical memory: 3124 MB
122 swapping01.c:116: TINFO: try to allocate: 4061 MB
- beaker jobs
- [x86_64](https://beaker.engineering.redhat.com/recipes/16002601#task176845930,task176845937)
- [aarch64](https://beaker.engineering.redhat.com/recipes/16002613#task176846185)
- Additional details
- [upstream_case](https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/mem/swapping/swapping01.c)
- appendix: full fail log
>>> 149:swapping01__with_dmesg_entry FAIL <<<
###############################################################################- Test Num : 149 #
- Test Case : swapping01__with_dmesg_entry #
- Test Result : FAIL #
###############################################################################
1 <<<test_start>>>
2 tag=swapping01__with_dmesg_entry stime=1713862673
3 cmdline="dmesg -c 1>/dev/null 2>&1; swapping01 -i 5; EXIT_CODE=$?; dmesg > /mnt/testarea/ltp/output/DMESG_DIR_VMMTIER1-dmesg-output-98355-10:22:43AM/swapping01.dmesg.log; exit $EXIT_CODE"
4 contacts=""
5 analysis=exit
6 <<<test_output>>>
7 tst_kconfig.c:87: TINFO: Parsing kernel config '/lib/modules/5.14.0-284.64.1.el9_2.x86_64/build/.config'
8 tst_kernel.c:87: TINFO: uname.machine=x86_64 kernel is 64bit
9 tst_test.c:1709: TINFO: LTP version: 20240129
10 tst_test.c:1593: TINFO: Timeout per run is 0h 11m 00s
11 tst_safe_macros.c:619: TINFO: === /proc/meminfo ===
12 MemTotal: 3488244 kB
13 MemFree: 3258920 kB
14 MemAvailable: 3199020 kB
15 Buffers: 0 kB
16 Cached: 92144 kB
17 SwapCached: 4144 kB
18 Active: 31712 kB
19 Inactive: 75120 kB
20 Active(anon): 1668 kB
21 Inactive(anon): 14444 kB
22 Active(file): 30044 kB
23 Inactive(file): 60676 kB
24 Unevictable: 0 kB
25 Mlocked: 0 kB
26 SwapTotal: 4145148 kB
27 SwapFree: 4089416 kB
28 Zswap: 0 kB
29 Zswapped: 0 kB
30 Dirty: 44 kB
31 Writeback: 0 kB
32 AnonPages: 13344 kB
33 Mapped: 18544 kB
34 Shmem: 1404 kB
35 KReclaimable: 26620 kB
36 Slab: 64896 kB
37 SReclaimable: 26620 kB
38 SUnreclaim: 38276 kB
39 KernelStack: 2176 kB
40 PageTables: 1976 kB
41 NFS_Unstable: 0 kB
42 Bounce: 0 kB
43 WritebackTmp: 0 kB
44 CommitLimit: 5889268 kB
45 Committed_AS: 232592 kB
46 VmallocTotal: 34359738367 kB
47 VmallocUsed: 23764 kB
48 VmallocChunk: 0 kB
49 Percpu: 364 kB
50 HardwareCorrupted: 0 kB
51 AnonHugePages: 2048 kB
52 ShmemHugePages: 0 kB
53 ShmemPmdMapped: 0 kB
54 FileHugePages: 0 kB
55 FilePmdMapped: 0 kB
56 CmaTotal: 0 kB
57 CmaFree: 0 kB
58 HugePages_Total: 0
59 HugePages_Free: 0
60 HugePages_Rsvd: 0
61 HugePages_Surp: 0
62 Hugepagesize: 2048 kB
63 Hugetlb: 0 kB
64 DirectMap4k: 145400 kB
65 DirectMap2M: 4048896 kB
66 tst_safe_macros.c:619: TINFO: === /proc/meminfo ===
67 MemTotal: 3488244 kB
68 MemFree: 3306964 kB
69 MemAvailable: 3208196 kB
70 Buffers: 0 kB
71 Cached: 14056 kB
72 SwapCached: 2928 kB
73 Active: 9312 kB
74 Inactive: 10900 kB
75 Active(anon): 2272 kB
76 Inactive(anon): 5016 kB
77 Active(file): 7040 kB
78 Inactive(file): 5884 kB
79 Unevictable: 0 kB
80 Mlocked: 0 kB
81 SwapTotal: 4145148 kB
82 SwapFree: 4085388 kB
83 Zswap: 0 kB
84 Zswapped: 0 kB
85 Dirty: 12 kB
86 Writeback: 0 kB
87 AnonPages: 3844 kB
88 Mapped: 10892 kB
89 Shmem: 1132 kB
90 KReclaimable: 26680 kB
91 Slab: 64704 kB
92 SReclaimable: 26680 kB
93 SUnreclaim: 38024 kB
94 KernelStack: 2064 kB
95 PageTables: 1584 kB
96 NFS_Unstable: 0 kB
97 Bounce: 0 kB
98 WritebackTmp: 0 kB
99 CommitLimit: 5889268 kB
100 Committed_AS: 209084 kB
101 VmallocTotal: 34359738367 kB
102 VmallocUsed: 23684 kB
103 VmallocChunk: 0 kB
104 Percpu: 364 kB
105 HardwareCorrupted: 0 kB
106 AnonHugePages: 0 kB
107 ShmemHugePages: 0 kB
108 ShmemPmdMapped: 0 kB
109 FileHugePages: 0 kB
110 FilePmdMapped: 0 kB
111 CmaTotal: 0 kB
112 CmaFree: 0 kB
113 HugePages_Total: 0
114 HugePages_Free: 0
115 HugePages_Rsvd: 0
116 HugePages_Surp: 0
117 Hugepagesize: 2048 kB
118 Hugetlb: 0 kB
119 DirectMap4k: 145400 kB
120 DirectMap2M: 4048896 kB
121 swapping01.c:110: TINFO: available physical memory: 3124 MB
122 swapping01.c:116: TINFO: try to allocate: 4061 MB
123 tst_safe_macros.c:619: TINFO: === /proc/meminfo ===
124 MemTotal: 3488244 kB
125 MemFree: 115376 kB
126 MemAvailable: 16436 kB
127 Buffers: 0 kB
128 Cached: 9544 kB
129 SwapCached: 2317256 kB
130 Active: 7428 kB
131 Inactive: 3232772 kB
132 Active(anon): 2016 kB
133 Inactive(anon): 3229628 kB
134 Active(file): 5412 kB
135 Inactive(file): 3144 kB
136 Unevictable: 0 kB
137 Mlocked: 0 kB
138 SwapTotal: 4145148 kB
139 SwapFree: 836664 kB
140 Zswap: 0 kB
141 Zswapped: 0 kB
142 Dirty: 0 kB
143 Writeback: 0 kB
144 AnonPages: 915464 kB
145 Mapped: 7216 kB
146 Shmem: 988 kB
147 KReclaimable: 30700 kB
148 Slab: 68700 kB
149 SReclaimable: 30700 kB
150 SUnreclaim: 38000 kB
151 KernelStack: 2064 kB
152 PageTables: 9724 kB
153 NFS_Unstable: 0 kB
154 Bounce: 0 kB
155 WritebackTmp: 0 kB
156 CommitLimit: 5889268 kB
157 Committed_AS: 4367812 kB
158 VmallocTotal: 34359738367 kB
159 VmallocUsed: 23684 kB
160 VmallocChunk: 0 kB
161 Percpu: 364 kB
162 HardwareCorrupted: 0 kB
163 AnonHugePages: 24576 kB
164 ShmemHugePages: 0 kB
165 ShmemPmdMapped: 0 kB
166 FileHugePages: 0 kB
167 FilePmdMapped: 0 kB
168 CmaTotal: 0 kB
169 CmaFree: 0 kB
170 HugePages_Total: 0
171 HugePages_Free: 0
172 HugePages_Rsvd: 0
173 HugePages_Surp: 0
174 Hugepagesize: 2048 kB
175 Hugetlb: 0 kB
176 DirectMap4k: 145400 kB
177 DirectMap2M: 4048896 kB
178 swapping01.c:154: TFAIL: heavy swapping detected: 3173 MB swapped
179 tst_test.c:1641: TINFO: Killed the leftover descendant processes
180
181 HINT: You MAY be missing kernel fixes:
182
183 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=50a15981a1fa
184
185 Summary:
186 passed 0
187 failed 1
188 broken 0
189 skipped 0
190 warnings 0
191 <<<execution_status>>>
192 initiation_status="ok"
193 duration=300 termination_type=exited termination_id=1 corefile=no
194 cutime=0 cstime=3
195 <<<test_end>>>
- links to