madvise06 from ubuntu_ltp_syscalls failed on X / OEM-5.6 / F-5.8 / F-oem-5.10 (N pages were faulted out of 2 max)

Bug #1900714 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

Issue found on 5.8.0-25.26~20.04.1

 startup='Tue Oct 20 10:45:55 2020'
 tst_test.c:1248: TINFO: Timeout per run is 0h 05m 00s
 madvise06.c:52: TINFO: dropping caches
 madvise06.c:127: TINFO: SwapCached (before madvise): 960
 madvise06.c:141: TINFO: SwapCached (after madvise): 50504
 madvise06.c:153: TINFO: PageFault(madvice / no mem access): 0
 madvise06.c:157: TINFO: PageFault(madvice / mem access): 1
 madvise06.c:161: TFAIL: Bug has been reproduced

 HINT: You _MAY_ be missing kernel fixes, see:

 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=55231e5c898c

 Summary:
 passed 0
 failed 1
 skipped 0
 warnings 0
 tag=madvise06 stime=1603190755 dur=7 exit=exited stat=1 core=no cu=4 cs=56

Po-Hsu Lin (cypressyew)
tags: added: 5.8 amd64 focal kqa-blocker ppc64el ubuntu-ltp-syscalls
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Can be found on F-oem-5.10 as well.

tags: added: 5.10 oem sru-20201103
Po-Hsu Lin (cypressyew)
summary: - madvise06 from ubuntu_ltp_syscalls failed on F-5.8
+ madvise06 from ubuntu_ltp_syscalls failed on F-5.8 / F-oem-5.10
Revision history for this message
Kelsey Steele (kelsey-steele) wrote : Re: madvise06 from ubuntu_ltp_syscalls failed on F-5.8 / F-oem-5.10

Found on Groovy/linux 5.8.0-31.33 with following output:

13107. 11/26 17:42:07 DEBUG| utils:0153| [stdout] madvise06.c:232: TFAIL: 3205 pages were faulted out of 2 max
13108. 11/26 17:42:07 DEBUG| utils:0153| [stdout]
13109. 11/26 17:42:07 DEBUG| utils:0153| [stdout] HINT: You _MAY_ be missing kernel fixes, see:
13110. 11/26 17:42:07 DEBUG| utils:0153| [stdout]
13111. 11/26 17:42:07 DEBUG| utils:0153| [stdout] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=55231e5c898c
13112. 11/26 17:42:07 DEBUG| utils:0153| [stdout] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8de15e920dc8
13113. 11/26 17:42:07 DEBUG| utils:0153| [stdout]
13114. 11/26 17:42:07 DEBUG| utils:0153| [stdout] Summary:
13115. 11/26 17:42:07 DEBUG| utils:0153| [stdout] passed 0
13116. 11/26 17:42:07 DEBUG| utils:0153| [stdout] failed 2
13117. 11/26 17:42:07 DEBUG| utils:0153| [stdout] skipped 0
13118. 11/26 17:42:07 DEBUG| utils:0153| [stdout] warnings 0
13119. 11/26 17:42:07 DEBUG| utils:0153| [stdout] tag=madvise06 stime=1606411686 dur=7 exit=exited stat=1 core=no cu=6 cs=61

Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

Cut the log too short.. here's with both fails:

13096. 11/26 17:42:07 DEBUG| utils:0153| [stdout] madvise06.c:95: TINFO: cgmem.kmem.usage_in_bytes: 1936 Kb
13097. 11/26 17:42:07 DEBUG| utils:0153| [stdout] madvise06.c:213: TFAIL: less than 102400 Kb were moved to the swap cache
13098. 11/26 17:42:07 DEBUG| utils:0153| [stdout] madvise06.c:223: TINFO: PageFault(madvice / no mem access): 1
13099. 11/26 17:42:07 DEBUG| utils:0153| [stdout] madvise06.c:227: TINFO: PageFault(madvice / mem access): 3206
13100. 11/26 17:42:07 DEBUG| utils:0153| [stdout] madvise06.c:79: TINFO: After page access
13101. 11/26 17:42:07 DEBUG| utils:0153| [stdout] madvise06.c:80: TINFO: Swap: 208896 Kb
13102. 11/26 17:42:07 DEBUG| utils:0153| [stdout] madvise06.c:82: TINFO: SwapCached: 1232 Kb
13103. 11/26 17:42:07 DEBUG| utils:0153| [stdout] madvise06.c:84: TINFO: Cached: 204680 Kb
13104. 11/26 17:42:07 DEBUG| utils:0153| [stdout] madvise06.c:86: TINFO: cgmem.usage_in_bytes: 204704 Kb
13105. 11/26 17:42:07 DEBUG| utils:0153| [stdout] madvise06.c:91: TINFO: cgmem.memsw.usage_in_bytes: 411732 Kb
13106. 11/26 17:42:07 DEBUG| utils:0153| [stdout] madvise06.c:95: TINFO: cgmem.kmem.usage_in_bytes: 2028 Kb
13107. 11/26 17:42:07 DEBUG| utils:0153| [stdout] madvise06.c:232: TFAIL: 3205 pages were faulted out of 2 max
13108. 11/26 17:42:07 DEBUG| utils:0153| [stdout]
13109. 11/26 17:42:07 DEBUG| utils:0153| [stdout] HINT: You _MAY_ be missing kernel fixes, see:
13110. 11/26 17:42:07 DEBUG| utils:0153| [stdout]
13111. 11/26 17:42:07 DEBUG| utils:0153| [stdout] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=55231e5c898c
13112. 11/26 17:42:07 DEBUG| utils:0153| [stdout] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8de15e920dc8
13113. 11/26 17:42:07 DEBUG| utils:0153| [stdout]
13114. 11/26 17:42:07 DEBUG| utils:0153| [stdout] Summary:
13115. 11/26 17:42:07 DEBUG| utils:0153| [stdout] passed 0
13116. 11/26 17:42:07 DEBUG| utils:0153| [stdout] failed 2
13117. 11/26 17:42:07 DEBUG| utils:0153| [stdout] skipped 0
13118. 11/26 17:42:07 DEBUG| utils:0153| [stdout] warnings 0
13119. 11/26 17:42:07 DEBUG| utils:0153| [stdout] tag=madvise06 stime=1606411686 dur=7 exit=exited stat=1 core=no cu=6 cs=61

tags: added: groovy sru-20201109
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Looks like the case got updated.

This can still be found on F-5.8

 startup='Sat Nov 28 15:27:18 2020'
 tst_test.c:1248: TINFO: Timeout per run is 0h 05m 00s
 madvise06.c:104: TINFO: dropping caches
 madvise06.c:79: TINFO: Initial meminfo, later values are relative to this (except memcg)
 madvise06.c:80: TINFO: Swap: 0 Kb
 madvise06.c:82: TINFO: SwapCached: 0 Kb
 madvise06.c:84: TINFO: Cached: 76760 Kb
 madvise06.c:86: TINFO: cgmem.usage_in_bytes: 128 Kb
 madvise06.c:91: TINFO: cgmem.memsw.usage_in_bytes: 128 Kb
 madvise06.c:95: TINFO: cgmem.kmem.usage_in_bytes: 108 Kb
 madvise06.c:146: TINFO: mapping 409600 Kb (102400 pages), limit 204800 Kb, pass threshold 102400 Kb
 madvise06.c:79: TINFO: Before mmap
 madvise06.c:80: TINFO: Swap: 0 Kb
 madvise06.c:82: TINFO: SwapCached: 0 Kb
 madvise06.c:84: TINFO: Cached: 136 Kb
 madvise06.c:86: TINFO: cgmem.usage_in_bytes: 124 Kb
 madvise06.c:91: TINFO: cgmem.memsw.usage_in_bytes: 124 Kb
 madvise06.c:95: TINFO: cgmem.kmem.usage_in_bytes: 108 Kb
 madvise06.c:186: TINFO: PageFault(before mmap): 0
 madvise06.c:79: TINFO: Before dirty
 madvise06.c:80: TINFO: Swap: 0 Kb
 madvise06.c:82: TINFO: SwapCached: 0 Kb
 madvise06.c:84: TINFO: Cached: 148 Kb
 madvise06.c:86: TINFO: cgmem.usage_in_bytes: 124 Kb
 madvise06.c:91: TINFO: cgmem.memsw.usage_in_bytes: 124 Kb
 madvise06.c:95: TINFO: cgmem.kmem.usage_in_bytes: 108 Kb
 madvise06.c:191: TINFO: PageFault(before dirty): 0
 madvise06.c:193: TINFO: PageFault(after dirty): 0
 madvise06.c:79: TINFO: Before madvise
 madvise06.c:80: TINFO: Swap: 209920 Kb
 madvise06.c:82: TINFO: SwapCached: 3012 Kb
 madvise06.c:84: TINFO: Cached: 203076 Kb
 madvise06.c:86: TINFO: cgmem.usage_in_bytes: 204744 Kb
 madvise06.c:91: TINFO: cgmem.memsw.usage_in_bytes: 411460 Kb
 madvise06.c:95: TINFO: cgmem.kmem.usage_in_bytes: 1844 Kb
 madvise06.c:79: TINFO: After madvise
 madvise06.c:80: TINFO: Swap: 308480 Kb
 madvise06.c:82: TINFO: SwapCached: 101596 Kb
 madvise06.c:84: TINFO: Cached: 104508 Kb
 madvise06.c:86: TINFO: cgmem.usage_in_bytes: 204740 Kb
 madvise06.c:91: TINFO: cgmem.memsw.usage_in_bytes: 411460 Kb
 madvise06.c:95: TINFO: cgmem.kmem.usage_in_bytes: 1844 Kb
 madvise06.c:213: TFAIL: less than 102400 Kb were moved to the swap cache
 madvise06.c:223: TINFO: PageFault(madvice / no mem access): 1
 madvise06.c:227: TINFO: PageFault(madvice / mem access): 3203
 madvise06.c:79: TINFO: After page access
 madvise06.c:80: TINFO: Swap: 208640 Kb
 madvise06.c:82: TINFO: SwapCached: 1244 Kb
 madvise06.c:84: TINFO: Cached: 204828 Kb
 madvise06.c:86: TINFO: cgmem.usage_in_bytes: 204800 Kb
 madvise06.c:91: TINFO: cgmem.memsw.usage_in_bytes: 411552 Kb
 madvise06.c:95: TINFO: cgmem.kmem.usage_in_bytes: 1936 Kb
 madvise06.c:232: TFAIL: 3202 pages were faulted out of 2 max

 HINT: You _MAY_ be missing kernel fixes, see:

 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=55231e5c898c
 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8de15e920dc8

 Summary:
 passed 0
 failed 2
 skipped 0
 warnings 0
 tag=madvise06 stime=1606577238 dur=7 exit=exited stat=1 core=no cu=5 cs=59

Po-Hsu Lin (cypressyew)
summary: - madvise06 from ubuntu_ltp_syscalls failed on F-5.8 / F-oem-5.10
+ madvise06 from ubuntu_ltp_syscalls failed on OEM-5.6 / F-5.8 /
+ F-oem-5.10
summary: madvise06 from ubuntu_ltp_syscalls failed on OEM-5.6 / F-5.8 /
- F-oem-5.10
+ F-oem-5.10 (N pages were faulted out of 2 max)
tags: added: sru-20201130
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: madvise06 from ubuntu_ltp_syscalls failed on OEM-5.6 / F-5.8 / F-oem-5.10 (N pages were faulted out of 2 max)

Failed on F-oem-5.6 as well.
madvise06.c:238: TFAIL: 9 pages were faulted out of 2 max

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found on Xenial 4.4 as well.

madvise06.c:239: TFAIL: 14 pages were faulted out of 2 max

tags: added: 4.4 xenial
tags: added: sru-20210104
removed: 4.4 xenial
summary: - madvise06 from ubuntu_ltp_syscalls failed on OEM-5.6 / F-5.8 /
+ madvise06 from ubuntu_ltp_syscalls failed on X / OEM-5.6 / F-5.8 /
F-oem-5.10 (N pages were faulted out of 2 max)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Btw it's 4.4.0-199 Xenial, and this issue was only spotted on amd64 lowlatency kernel, passed on the rest. (except arm64 which was not tested due to maas issue)

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.