Bug 106010 - [CI] igt@drm_vma_limiter - dmesg-fail - oom-killer
Summary: [CI] igt@drm_vma_limiter - dmesg-fail - oom-killer
Status: CLOSED WONTFIX
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-12 17:37 UTC by Martin Peres
Modified: 2018-06-28 22:03 UTC (History)
1 user (show)

See Also:
i915 platform: I915G, I965G, PNV
i915 features: GEM/Other


Attachments

Description Martin Peres 2018-04-12 17:37:16 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_7/fi-pnv-d510/igt@drm_vma_limiter.html

[  399.447494] java invoked oom-killer: gfp_mask=0x14200ca(GFP_HIGHUSER_MOVABLE), nodemask=(null), order=0, oom_score_adj=0
[  399.447655] CPU: 1 PID: 848 Comm: java Tainted: G     U           4.16.0-rc6-g94f5d9189e61-drmtip_7+ #1
[  399.447663] Hardware name:  /D510MO, BIOS MOPNV10J.86A.0311.2010.0802.2346 08/02/2010
[  399.447671] Call Trace:
[  399.447691]  dump_stack+0x67/0x95
[  399.447707]  dump_header+0x60/0x431
[  399.447728]  ? _raw_spin_unlock_irqrestore+0x39/0x60
[  399.447749]  oom_kill_process+0x2be/0x6d0
[  399.447774]  out_of_memory+0xf4/0x380
[  399.447792]  __alloc_pages_nodemask+0xe11/0x1210
[  399.447853]  __read_swap_cache_async+0x148/0x260
[  399.447878]  do_swap_page_readahead+0xa7/0x180
[  399.447889]  ? find_get_entry+0x130/0x210
[  399.447925]  ? do_swap_page+0x479/0x960
[  399.447935]  do_swap_page+0x479/0x960
[  399.447946]  ? __handle_mm_fault+0xb12/0xe00
[  399.447975]  __handle_mm_fault+0x62d/0xe00
[  399.448017]  handle_mm_fault+0x196/0x3a0
[  399.448039]  __do_page_fault+0x27e/0x580
[  399.448062]  ? page_fault+0x2f/0x50
[  399.448077]  page_fault+0x45/0x50
[  399.448087] RIP: 140ce478:0x7f6002b0cb20
[  399.448097] RSP: 140ce450:0000000000000000 EFLAGS: 7f60140ce428
[  399.448373] Mem-Info:
[  399.448403] active_anon:0 inactive_anon:0 isolated_anon:0
                active_file:57 inactive_file:35 isolated_file:0
                unevictable:0 dirty:0 writeback:0 unstable:0
                slab_reclaimable:13245 slab_unreclaimable:91610
                mapped:27 shmem:9 pagetables:1267 bounce:0
                free:1086 free_pcp:736 free_cma:0
[  399.448425] Node 0 active_anon:0kB inactive_anon:0kB active_file:228kB inactive_file:140kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:108kB dirty:0kB writeback:0kB shmem:36kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
[  399.448449] DMA free:1740kB min:92kB low:112kB high:132kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15984kB managed:15900kB mlocked:0kB kernel_stack:16kB pagetables:32kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[  399.448461] lowmem_reserve[]: 0 420 420 420
[  399.448546] DMA32 free:2604kB min:2576kB low:3220kB high:3864kB active_anon:32kB inactive_anon:20kB active_file:220kB inactive_file:240kB unevictable:0kB writepending:0kB present:490956kB managed:434556kB mlocked:0kB kernel_stack:3072kB pagetables:5036kB bounce:0kB free_pcp:2944kB local_pcp:736kB free_cma:0kB
[  399.448558] lowmem_reserve[]: 0 0 0 0
[  399.448627] DMA: 25*4kB (UE) 59*8kB (UME) 51*16kB (UME) 1*32kB (U) 5*64kB (M) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1740kB
[  399.448977] DMA32: 318*4kB (UE) 87*8kB (UEH) 7*16kB (UH) 5*32kB (H) 0*64kB 1*128kB (H) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2368kB
[  399.449309] 125 total pagecache pages
[  399.449336] 9 pages in swap cache
[  399.449351] Swap cache stats: add 128941, delete 128933, find 9562/23579
[  399.449363] Free swap  = 572104kB
[  399.449375] Total swap = 1030140kB
[  399.449388] 126735 pages RAM
[  399.449401] 0 pages HighMem/MovableOnly
[  399.449413] 14121 pages reserved
[  399.453887] Out of memory: Kill process 1681 (drm_vma_limiter) score 1014 or sacrifice child
[  399.455300] Killed process 1681 (drm_vma_limiter) total-vm:215992kB, anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Comment 2 Chris Wilson 2018-04-12 17:42:40 UTC
It's a unittest for libdrm_intel, not the kernel. It doesn't belong in igt, let alone CI. Can we just remove it from the test set?
Comment 3 Martin Peres 2018-05-03 10:19:40 UTC
(In reply to Chris Wilson from comment #2)
> It's a unittest for libdrm_intel, not the kernel. It doesn't belong in igt,
> let alone CI. Can we just remove it from the test set?

Can you make a patch to delete it?
Comment 4 Chris Wilson 2018-06-28 21:58:24 UTC
commit a14bc8b4d69eaca189665de505e6b10cbfbb7730 (HEAD, upstream/master)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Jun 28 21:48:06 2018 +0100

    tests: Drop drm_vma_limiter*
    
    These tests exercise an obscure piece of libdrm_intel API to keep the
    number of VMA opened in a process under a certain limit (only ever used
    by UXA as once upon a time we ran into the limit with many, many 1x1
    pixmaps or something like that). The tests are not exercising kernel API
    (or ABI) and need to check their resource requirements first. However,
    since they are only testing libdrm_intel, remove them from igt as they
    would better belong in a libdrm_intel test suite.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106010
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Martin Peres <martin.peres@linux.intel.com>
    Reviewed-by: Antonio Argenziano <antonio.argenziano@intel.com>
Comment 5 Martin Peres 2018-06-28 22:03:37 UTC
(In reply to Chris Wilson from comment #4)
> commit a14bc8b4d69eaca189665de505e6b10cbfbb7730 (HEAD, upstream/master)
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Thu Jun 28 21:48:06 2018 +0100
> 
>     tests: Drop drm_vma_limiter*
>     
>     These tests exercise an obscure piece of libdrm_intel API to keep the
>     number of VMA opened in a process under a certain limit (only ever used
>     by UXA as once upon a time we ran into the limit with many, many 1x1
>     pixmaps or something like that). The tests are not exercising kernel API
>     (or ABI) and need to check their resource requirements first. However,
>     since they are only testing libdrm_intel, remove them from igt as they
>     would better belong in a libdrm_intel test suite.
>     
>     Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106010
>     Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>     Cc: Martin Peres <martin.peres@linux.intel.com>
>     Reviewed-by: Antonio Argenziano <antonio.argenziano@intel.com>

Thanks a lot!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.