Bug 102592 - [IGT] some gem_* subtests failed with assertion: __gem_execbuf ...
Summary: [IGT] some gem_* subtests failed with assertion: __gem_execbuf ...
Status: CLOSED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-07 17:06 UTC by Hector Velazquez
Modified: 2018-01-04 20:15 UTC (History)
1 user (show)

See Also:
i915 platform: BXT, CNL, GLK, SKL
i915 features: GEM/Other


Attachments
Output log (38.95 KB, text/plain)
2017-09-07 17:06 UTC, Hector Velazquez
no flags Details
Dmesg log (185.86 KB, text/plain)
2017-09-07 17:07 UTC, Hector Velazquez
no flags Details

Description Hector Velazquez 2017-09-07 17:06:25 UTC
Created attachment 134052 [details]
Output log

The following tests FAIL on SKL 

Tests List:

igt@gem_reset_stats@ban-default
igt@gem_reset_stats@close-pending-default
igt@gem_reset_stats@close-pending-fork-default
igt@gem_reset_stats@close-pending-fork-reverse-default
igt@gem_reset_stats@reset-count-blt
igt@gem_reset_stats@reset-count-bsd
igt@gem_reset_stats@reset-count-bsd1
igt@gem_reset_stats@reset-count-bsd2
igt@gem_reset_stats@reset-count-default
igt@gem_reset_stats@reset-count-render
igt@gem_reset_stats@reset-count-vebox


======================================
        Output Sample
======================================
...
(gem_reset_stats:3028) igt-gt-DEBUG: Test requirement passed: ctx == 0 || ring == I915_EXEC_RENDER
(gem_reset_stats:3028) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:624:
(gem_reset_stats:3028) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_reset_stats:3028) ioctl-wrappers-CRITICAL: error: -5 != 0
(gem_reset_stats:3028) igt-core-INFO: Stack trace:
(gem_reset_stats:3028) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(gem_reset_stats:3028) igt-core-INFO:   #1 [gem_execbuf+0x44]
(gem_reset_stats:3028) igt-core-INFO:   #2 [igt_hang_ctx+0x202]
(gem_reset_stats:3028) igt-core-INFO:   #3 [inject_hang.isra.4+0x3e]
(gem_reset_stats:3028) igt-core-INFO:   #4 [__real_main773+0xd6d]
(gem_reset_stats:3028) igt-core-INFO:   #5 [main+0x23]
(gem_reset_stats:3028) igt-core-INFO:   #6 [__libc_start_main+0xf1]
(gem_reset_stats:3028) igt-core-INFO:   #7 [_start+0x29]
(gem_reset_stats:3028) igt-core-INFO:   #8 [<unknown>+0x29]
...

This is my configuration:

======================================
        Graphic stack
======================================

Component: drm
    tag: libdrm-2.4.81-53-gd55d080
    commit: d55d0804f9e37637d7510f38f97e07a50c6b7baa

Component: cairo
    tag: 1.15.6-30-gc29db4f
    commit: c29db4f0de52727406a8b62f4da9a382084b5a79

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-244-g4a1c8da
    commit: 4a1c8daff2005e2cbfe980d63bc0a0fb09cb017d

Component: piglit
    tag: piglit-v1
    commit: dab15137044c34023b1a843e72e781b03b17548b

======================================
	     Software
======================================
kernel version              : 4.13.0-drm-tip-ww36-commit-7a827ab+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 5.6
bios release date           : 09/29/2016
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-234-g490b386
intel-gpu-tools (commit)    : 490b386

======================================
	     Hardware
======================================
platform                   : Skylake Canyon
motherboard id             : NUC6i7KYB
form factor                : Desktop
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz
gpu card                   : Intel Corporation Iris Pro Graphics 580 (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 31.31 GB
max memory ram             : 32 GB
cpu thread                 : 8
cpu core                   : 4
cpu model                  : 94
cpu stepping               : 3
socket                     : Other
signature                  : Type 0, Family 6, Model 94, Stepping 3
hard drive                 : 223GiB (240GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : DP-1 DP-3

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.26
guc fw loaded             : SUCCESS
guc version wanted        : 6.1
guc version found         : 6.1
huc fw loaded             : yes

======================================
	     kernel parameters
======================================
quiet splash drm.debug=0x1e i915.enable_guc_submission=2 i915.enable_guc_loading=2 i915.alpha_support=1
Comment 1 Hector Velazquez 2017-09-07 17:07:09 UTC
Created attachment 134053 [details]
Dmesg log
Comment 2 Elizabeth 2017-10-16 21:32:42 UTC
(In reply to Hector Velazquez from comment #0)
> ...
> Tests List:
> 
> igt@gem_reset_stats@ban-default
> igt@gem_reset_stats@close-pending-default
> igt@gem_reset_stats@close-pending-fork-default
> igt@gem_reset_stats@close-pending-fork-reverse-default
> igt@gem_reset_stats@reset-count-blt
> igt@gem_reset_stats@reset-count-bsd
> igt@gem_reset_stats@reset-count-bsd1
> igt@gem_reset_stats@reset-count-bsd2
> igt@gem_reset_stats@reset-count-default
> igt@gem_reset_stats@reset-count-render
> igt@gem_reset_stats@reset-count-vebox
> ...
Every test is being skipped with the following output:

Test requirement not met in function drm_open_driver, file drmtest.c:378:
Test requirement: !(fd<0)
No known gpu found for chipset flags 0x1 (intel)
Last errno: 2, No such file or directory
Subtest close-pending-default: SKIP

Not sure if this is expected :/
Comment 3 Octavio 2017-12-13 20:02:44 UTC
The following test fail in BXT QA 

igt@gem_exec_fence@parallel-vebox
igt@gem_exec_fence@parallel-render

IGT-Version: 1.20-g39ac6b8 (x86_64) (Linux: 4.15.0-rc2-drm-intel-qa-ww49-commit-bdf9b36+ x86_64)

(gem_exec_fence:1815) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:604:
(gem_exec_fence:1815) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_fence:1815) ioctl-wrappers-CRITICAL: error: -22 != 0
Comment 4 Hector Velazquez 2017-12-13 21:07:26 UTC
This test are failing on CNL QA

igt@gem_exec_fence@parallel-blt
igt@gem_exec_fence@parallel-render
igt@gem_exec_fence@parallel-vebox

using IGT-Version: 1.20-g7440741 (x86_64) (Linux: 4.15.0-rc3-drm-tip-ww50-commit-62d9383+ x86_64)
intel-gpu-tools commit: 74407418720ff7a9de7caabec05d4c3afe9a5c51

(gem_exec_fence:1993) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:604:
(gem_exec_fence:1993) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_fence:1993) ioctl-wrappers-CRITICAL: error: -22 != 0
Subtest parallel-blt failed.
Comment 5 Octavio 2017-12-14 21:12:33 UTC
This test are failing on GLK

igt@gem_exec_fence@parallel-blt
igt@gem_exec_fence@parallel-render
igt@gem_exec_fence@parallel-vebox

using IGT-Version: 1.20-g103af72 (x86_64) (Linux: 4.15.0-rc3-drm-tip-ww50-commit-b00330d+ x86_64)

(gem_exec_fence:1778) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:604:
(gem_exec_fence:1778) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_fence:1778) ioctl-wrappers-CRITICAL: error: -22 != 0
Subtest parallel-blt failed.
Comment 6 Chris Wilson 2017-12-14 21:18:04 UTC
These are not the same.
Comment 7 Elizabeth 2018-01-04 20:15:36 UTC
This bug was for the gem_reset_stats tests, bug 104284 is for gem_exec_fence.


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.