Bug 111157 - [CI][DRMTIP] igt@gem_create@create-clear - dmesg-fail - Failed assertion: __gem_read(fd, handle, offset, buf, length) == 0
Summary: [CI][DRMTIP] igt@gem_create@create-clear - dmesg-fail - Failed assertion: __g...
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: 2019-07-17 10:23 UTC by Lakshmi
Modified: 2019-11-25 04:40 UTC (History)
1 user (show)

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


Attachments

Description Lakshmi 2019-07-17 10:23:54 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_323/fi-cfl-8700k/igt@gem_create@create-clear.html

Starting subtest: create-clear
(gem_create:1338) ioctl_wrappers-CRITICAL: Test assertion failure function gem_read, file ../lib/ioctl_wrappers.c:388:
(gem_create:1338) ioctl_wrappers-CRITICAL: Failed assertion: __gem_read(fd, handle, offset, buf, length) == 0
(gem_create:1338) ioctl_wrappers-CRITICAL: Last errno: 12, Cannot allocate memory
(gem_create:1338) ioctl_wrappers-CRITICAL: error: -12 != 0
Subtest create-clear failed.
**** DEBUG ****
(gem_create:1338) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_create:1338) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_create:1338) igt_debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_create:1338) ioctl_wrappers-CRITICAL: Test assertion failure function gem_read, file ../lib/ioctl_wrappers.c:388:
(gem_create:1338) ioctl_wrappers-CRITICAL: Failed assertion: __gem_read(fd, handle, offset, buf, length) == 0
(gem_create:1338) ioctl_wrappers-CRITICAL: Last errno: 12, Cannot allocate memory
(gem_create:1338) ioctl_wrappers-CRITICAL: error: -12 != 0
(gem_create:1338) igt_core-INFO: Stack trace:
(gem_create:1338) igt_core-INFO:   #0 ../lib/igt_core.c:1674 __igt_fail_assert()
(gem_create:1338) igt_core-INFO:   #1 ../lib/ioctl_wrappers.c:389 gem_read()
(gem_create:1338) igt_core-INFO:   #2 [<unknown>+0xdfbb1400]
****  END  ****
Subtest create-clear: FAIL (6.484s)
(gem_create:1338) ioctl_wrappers-CRITICAL: Test assertion failure function gem_read, file ../lib/ioctl_wrappers.c:388:
(gem_create:1338) ioctl_wrappers-CRITICAL: Failed assertion: __gem_read(fd, handle, offset, buf, length) == 0
(gem_create:1338) ioctl_wrappers-CRITICAL: Last errno: 12, Cannot allocate memory
(gem_create:1338) ioctl_wrappers-CRITICAL: error: -12 != 0
Comment 1 CI Bug Log 2019-07-17 10:24:31 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* CFL: igt@gem_create@create-clear - dmesg-fail - Failed assertion: __gem_read(fd, handle, offset, buf, length) == 0
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_323/fi-cfl-8700k/igt@gem_create@create-clear.html
Comment 2 Chris Wilson 2019-07-23 11:40:07 UTC
A nuisance, but we will hopefully see some improvement with more struct_mutex removal. This should be a temporary setback from not flushing as hard; although steps like https://patchwork.freedesktop.org/series/63943/ will help in correcting the shrink counters.
Comment 3 Andi 2019-07-27 11:26:00 UTC
This is another issue which is hard to reproduce.
I tried to reproduce it for one entire night, but couldn't manage to get the failure.

I would wait that Chris patch goes in and mark it as fixed.
Comment 4 Chris Wilson 2019-08-03 11:25:37 UTC
commit 1aff1903d0ff53f055088a77948ac8d8224d42db
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Aug 2 22:21:36 2019 +0100

    drm/i915: Hide unshrinkable context objects from the shrinker

Perhaps good enough for now. More to come later.
Comment 5 Lakshmi 2019-09-10 06:42:09 UTC
(In reply to Chris Wilson from comment #4)
> commit 1aff1903d0ff53f055088a77948ac8d8224d42db
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Fri Aug 2 22:21:36 2019 +0100
> 
>     drm/i915: Hide unshrinkable context objects from the shrinker
> 
> Perhaps good enough for now. More to come later.

Separate bug 111625 created for failure on SNB.


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.