Bug 103648 - [CI] igt@prime_mmap_coherency@read - Failed assertion: ptr_cpu[i] == 0
Summary: [CI] igt@prime_mmap_coherency@read - Failed assertion: ptr_cpu[i] == 0
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI 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: 2017-11-09 13:44 UTC by Marta Löfstedt
Modified: 2018-02-13 16:14 UTC (History)
1 user (show)

See Also:
i915 platform: GLK
i915 features: GEM/Other


Attachments

Description Marta Löfstedt 2017-11-09 13:44:58 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3325/shard-glkb1/igt@prime_mmap_coherency@read.html

(prime_mmap_coherency:4584) CRITICAL: Test assertion failure function test_read_flush, file prime_mmap_coherency.c:84:
(prime_mmap_coherency:4584) CRITICAL: Failed assertion: ptr_cpu[i] == 0
(prime_mmap_coherency:4584) CRITICAL: error: 38367 != 0
Subtest read failed.

Note bug 103168 is for igt@prime_mmap_coherency@write Failed assertion: !(stale)
Comment 1 Marta Löfstedt 2017-12-15 09:16:13 UTC
Last seen  CI_DRM_3325: 2017-11-09 / 232 runs ago, time to close and archive
Comment 2 maria guadalupe 2018-02-13 16:09:47 UTC
the following test is failing on KBL

igt@prime_mmap_coherency@read

**** DEBUG ****
(prime_mmap_coherency:2191) CRITICAL: Test assertion failure function test_read_flush, file prime_mmap_coherency.c:80:
(prime_mmap_coherency:2191) CRITICAL: Failed assertion: ptr_cpu != MAP_FAILED
(prime_mmap_coherency:2191) CRITICAL: Last errno: 9, Bad file descriptor
(prime_mmap_coherency:2191) igt-core-INFO: Stack trace:
(prime_mmap_coherency:2191) igt-core-INFO:   #0 [<unknown>+0x7061]
(prime_mmap_coherency:2191) igt-core-INFO:   #1 [<unknown>+0x7061]
(prime_mmap_coherency:2191) igt-core-INFO:   #2 [<unknown>+0x7061]
(prime_mmap_coherency:2191) igt-core-INFO:   #3 [<unknown>+0x7061]
(prime_mmap_coherency:2191) igt-core-INFO:   #4 [<unknown>+0x7061]

**** Configuration ****
======================================
kernel version              : 4.15.0-drm-intel-qa-ww6-commit-6c10ba2+
libdrm                      : 2.4.89
cairo                       : 1.15.11
intel-gpu-tools (tag)       : intel-gpu-tools-1.20-310-g37bd27

 ***** Firmware *****
======================================
dmc fw loaded             : yes
dmc version               : 1.4
guc fw loaded             : fetch SUCCESS, load SUCCESS
guc version wanted        : wanted 9.39, found 9.39
guc version found         : wanted 9.39, found 9.39
Comment 3 Chris Wilson 2018-02-13 16:14:43 UTC
(In reply to maria guadalupe from comment #2) 

Please note this is *not* the same bug.

> **** Configuration ****
> ======================================
> kernel version              : 4.15.0-drm-intel-qa-ww6-commit-6c10ba2+
> libdrm                      : 2.4.89
> cairo                       : 1.15.11
> intel-gpu-tools (tag)       : intel-gpu-tools-1.20-310-g37bd27
> 

Why test on such an old version? Your bug was fixed in

commit 098a4013434dafda61fa47bde08c29b36f436e9b
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Jan 29 14:26:24 2018 +0000

    igt/prime_mmap_coherency: Close dmabuf after use


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.