Bug 104284

Summary: [IGT] some gem_exec_fence Failed assertion: __gem_execbuf(fd, execbuf) == 0
Product: DRI Reporter: Hector Velazquez <hector.franciscox.velazquez.suriano>
Component: IGTAssignee: Default DRI bug account <dri-devel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard: ReadyForDev
i915 platform: CFL, CNL, GLK, KBL i915 features: GEM/execlists
Attachments:
Description Flags
output (all reported subtests)
none
error (/sys/class/drm/card0/error)
none
kernel log
none
CFL-dmesg-kernel-logs
none
CFL-dmesg-kernel-logs none

Description Hector Velazquez 2017-12-15 21:00:19 UTC
Created attachment 136207 [details]
output (all reported subtests)
Comment 1 Hector Velazquez 2017-12-15 21:00:27 UTC
This tests was failing on CNL QA

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

====================================================
output sample
====================================================
**** DEBUG ****
(gem_exec_fence:1861) DEBUG: Test requirement passed: has_submit_fence(i915)
(gem_exec_fence:1861) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_fence:1861) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_exec_fence:1861) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_exec_fence:1861) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_exec_fence:1861) igt-dummyload-DEBUG: Test requirement passed: nengine
(gem_exec_fence:1861) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:604:
(gem_exec_fence:1861) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_fence:1861) ioctl-wrappers-CRITICAL: error: -22 != 0
(gem_exec_fence:1861) igt-core-INFO: Stack trace:
(gem_exec_fence:1861) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(gem_exec_fence:1861) igt-core-INFO:   #1 [gem_execbuf+0x44]
(gem_exec_fence:1861) igt-core-INFO:   #2 [__real_main1452+0x2791]
(gem_exec_fence:1861) igt-core-INFO:   #3 [main+0x23]
(gem_exec_fence:1861) igt-core-INFO:   #4 [__libc_start_main+0xf1]
(gem_exec_fence:1861) igt-core-INFO:   #5 [_start+0x29]
(gem_exec_fence:1861) igt-core-INFO:   #6 [<unknown>+0x29]
****  END  ****

This is my configuration:
======================================
	Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.88-31-g47419a1
    commit: 47419a1497fa585ff74b41732b267356b9d5b949

Component: cairo
    tag: 1.15.8-71-g7421997
    commit: 742199768db7128f4f1cebcc14ec687f816ae2fa

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.20-220-g7440741
    commit: 74407418720ff7a9de7caabec05d4c3afe9a5c51

Component: piglit
    tag: piglit-v1
    commit: 827d374356f0782040a329ca70052f6e5ea239dc

======================================
	     Software
======================================
kernel version              : 4.15.0-rc3-drm-tip-ww50-commit-62d9383+
hostname                    : gfx-CannonLake-Client-Platform
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 113.2
bios release date           : 11/13/2017
ksc                         : 1.32
hardware acceleration       : disabled
swap partition              : disabled

======================================
	Graphic drivers
======================================
xf86-video-intel (tag)      : 2.99.917
xf86-video-intel (commit)   : 2.99.917-800-g37a682a
modesetting                 : enabled
modesetting compiled for    : 1.19.99.1 X.Org Video Driver
libdrm                      : 2.4.88
cairo                       : 1.15.11
intel-gpu-tools (tag)       : intel-gpu-tools-1.20-220-g74407418
intel-gpu-tools (commit)    : 74407418

======================================
	     Hardware
======================================
motherboard model          : CannonLakeClientPlatform
motherboard id             : CannonLakeYLPDDR4RVP
form factor                : Laptop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 1.00GHz
gpu card                   : Intel Corporation Device 5a49 (rev 03) (prog-if 00 [VGA controller])
memory ram                 : 7.61 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 102
cpu stepping               : 2
socket                     : Other
current cd clock frequency : 336000 kHz
maximum cd clock frequency : 528000 kHz
displays connected         : eDP-1 HDMI-A-1

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.6
guc fw loaded             : fetch NONE, load NONE
guc version wanted        : wanted 0.0, found 0.0
guc version found         : wanted 0.0, found 0.0

======================================
	     kernel parameters
======================================
drm.debug=0x1e log_buf_len=1M i915.alpha_support=1 quiet splash
Comment 2 Hector Velazquez 2017-12-15 21:01:57 UTC
Created attachment 136208 [details]
error (/sys/class/drm/card0/error)
Comment 3 Hector Velazquez 2017-12-15 21:02:27 UTC
Created attachment 136209 [details]
kernel log
Comment 4 Hector Velazquez 2017-12-15 21:04:49 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 5 Octavio 2017-12-19 16:17:06 UTC
This test are still 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-gc0be331 (x86_64) (Linux: 4.15.0-rc4-drm-intel-qa-ww51-commit-bf5cdf9+ x86_64)

(gem_exec_fence:1987) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:604:
(gem_exec_fence:1987) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_fence:1987) ioctl-wrappers-CRITICAL: error: -22 != 0
Comment 6 maria guadalupe 2018-01-10 18:05:54 UTC
the following tests are failing on KBL with the below configuration.

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


======================================
             Software
======================================
kernel version              : 4.15.0-rc6-drm-intel-qa-ww1-commit-914d61a+
hostname                    : KBL-2
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 5.6
bios release date           : 05/03/2017
ksc                         : 8.1
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.70
cairo                       : 1.14.6

======================================
             Hardware
======================================
motherboard id             : NUC7i7BNB
form factor                : Desktop
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz
gpu card                   : Intel Corporation Device 5927 (rev 06) (prog-if 00                                                                                                                                                              [VGA controller])
memory ram                 : 15.56 GB
max memory ram             : 32 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 142
cpu stepping               : 9
socket                     : Other
signature                  : Type 0, Family 6, Model 142, Stepping 9
hard drive                 : 167GiB (180GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : DP-1 DP-2

======================================
             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

======================================
             kernel parameters
======================================
quiet drm.debug=0x1e intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic fsck.r                                                                                                                                                             epair=yes i915.enable_guc=-1 resume=/dev/sda3 fastboot
Comment 7 Octavio 2018-01-10 21:55:58 UTC
These test still fail 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-g19c6c04 (x86_64) (Linux: 4.15.0-rc7-drm-intel-qa-ww2-commit-17fd162+ x86_64)

(gem_exec_fence:1811) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:605:
(gem_exec_fence:1811) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_fence:1811) ioctl-wrappers-CRITICAL: error: -22 != 0
Subtest parallel-blt failed.
Comment 8 Octavio 2018-01-15 21:47:35 UTC
These test still fail 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-g84a3080 (x86_64) (Linux: 4.15.0-rc8-drm-intel-qa-ww3-commit-37eb04c+ x86_64)

(gem_exec_fence:2422) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:605:
(gem_exec_fence:2422) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_fence:2422) ioctl-wrappers-CRITICAL: error: -22 != 0
Subtest parallel-blt failed.
**** DEBUG ****
(gem_exec_fence:2422) DEBUG: Test requirement passed: has_submit_fence(i915)
(gem_exec_fence:2422) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_fence:2422) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_exec_fence:2422) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_exec_fence:2422) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_exec_fence:2422) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_exec_fence:2422) igt-dummyload-DEBUG: Test requirement passed: nengine
(gem_exec_fence:2422) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:605:
(gem_exec_fence:2422) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_fence:2422) ioctl-wrappers-CRITICAL: error: -22 != 0
(gem_exec_fence:2422) igt-core-INFO: Stack trace:
(gem_exec_fence:2422) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(gem_exec_fence:2422) igt-core-INFO:   #1 [gem_execbuf+0x44]
(gem_exec_fence:2422) igt-core-INFO:   #2 [__real_main1452+0x2af7]
(gem_exec_fence:2422) igt-core-INFO:   #3 [main+0x27]
(gem_exec_fence:2422) igt-core-INFO:   #4 [__libc_start_main+0xf1]
(gem_exec_fence:2422) igt-core-INFO:   #5 [_start+0x2a]
(gem_exec_fence:2422) igt-core-INFO:   #6 [<unknown>+0x2a]
****  END  ****
Comment 9 Ricardo Perez 2018-01-29 18:56:15 UTC
These test are still failing on CFL

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

IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.15.0-rc9-drm-intel-qa-ww4-commit-59275f1+ x86_64)
Using GuC submission

For igt@gem_exec_fence@parallel-blt

**** DEBUG ****
(gem_exec_fence:8073) DEBUG: Test requirement passed: has_submit_fence(i915)
(gem_exec_fence:8073) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_fence:8073) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_exec_fence:8073) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_exec_fence:8073) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_exec_fence:8073) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_exec_fence:8073) igt-dummyload-DEBUG: Test requirement passed: nengine
(gem_exec_fence:8073) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:605:
(gem_exec_fence:8073) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_fence:8073) ioctl-wrappers-CRITICAL: error: -22 != 0
(gem_exec_fence:8073) igt-core-INFO: Stack trace:
(gem_exec_fence:8073) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(gem_exec_fence:8073) igt-core-INFO:   #1 [gem_execbuf+0x44]
(gem_exec_fence:8073) igt-core-INFO:   #2 [__real_main1452+0x2af7]
(gem_exec_fence:8073) igt-core-INFO:   #3 [main+0x27]
(gem_exec_fence:8073) igt-core-INFO:   #4 [__libc_start_main+0xf1]
(gem_exec_fence:8073) igt-core-INFO:   #5 [_start+0x2a]
(gem_exec_fence:8073) igt-core-INFO:   #6 [<unknown>+0x2a]
****  END  ****

-----------------------------------------------------------------------------

For igt@gem_exec_fence@parallel-render

**** DEBUG ****
(gem_exec_fence:10534) DEBUG: Test requirement passed: has_submit_fence(i915)
(gem_exec_fence:10534) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_fence:10534) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_exec_fence:10534) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_exec_fence:10534) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_exec_fence:10534) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_exec_fence:10534) igt-dummyload-DEBUG: Test requirement passed: nengine
(gem_exec_fence:10534) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:605:
(gem_exec_fence:10534) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_fence:10534) ioctl-wrappers-CRITICAL: error: -22 != 0
(gem_exec_fence:10534) igt-core-INFO: Stack trace:
(gem_exec_fence:10534) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(gem_exec_fence:10534) igt-core-INFO:   #1 [gem_execbuf+0x44]
(gem_exec_fence:10534) igt-core-INFO:   #2 [__real_main1452+0x2af7]
(gem_exec_fence:10534) igt-core-INFO:   #3 [main+0x27]
(gem_exec_fence:10534) igt-core-INFO:   #4 [__libc_start_main+0xf1]
(gem_exec_fence:10534) igt-core-INFO:   #5 [_start+0x2a]
(gem_exec_fence:10534) igt-core-INFO:   #6 [<unknown>+0x2a]
****  END  ****

------------------------------------------------------------------------------

For igt@gem_exec_fence@parallel-vebox

**** DEBUG ****
(gem_exec_fence:12877) DEBUG: Test requirement passed: has_submit_fence(i915)
(gem_exec_fence:12877) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_fence:12877) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_exec_fence:12877) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_exec_fence:12877) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_exec_fence:12877) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_exec_fence:12877) igt-dummyload-DEBUG: Test requirement passed: nengine
(gem_exec_fence:12877) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:605:
(gem_exec_fence:12877) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_fence:12877) ioctl-wrappers-CRITICAL: error: -22 != 0
(gem_exec_fence:12877) igt-core-INFO: Stack trace:
(gem_exec_fence:12877) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(gem_exec_fence:12877) igt-core-INFO:   #1 [gem_execbuf+0x44]
(gem_exec_fence:12877) igt-core-INFO:   #2 [__real_main1452+0x2af7]
(gem_exec_fence:12877) igt-core-INFO:   #3 [main+0x27]
(gem_exec_fence:12877) igt-core-INFO:   #4 [__libc_start_main+0xf1]
(gem_exec_fence:12877) igt-core-INFO:   #5 [_start+0x2a]
(gem_exec_fence:12877) igt-core-INFO:   #6 [<unknown>+0x2a]
****  END  ****
Comment 10 Ricardo Perez 2018-01-31 06:25:26 UTC
Running on CoffeeLake S UDIMM RVP QA system, the following test is failing:

igt@gem_exec_fence@parallel-vebox

Running:
IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.15.0-drm-intel-qa-ww5-commit-5f9f363+ x86_64)

---------------------------------------------------------------------------
**** DEBUG ****
(gem_exec_fence:8442) DEBUG: Test requirement passed: has_submit_fence(i915)
(gem_exec_fence:8442) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_fence:8442) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_exec_fence:8442) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_exec_fence:8442) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_exec_fence:8442) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_exec_fence:8442) igt-dummyload-DEBUG: Test requirement passed: nengine
(gem_exec_fence:8442) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:605:
(gem_exec_fence:8442) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_fence:8442) ioctl-wrappers-CRITICAL: error: -22 != 0
(gem_exec_fence:8442) igt-core-INFO: Stack trace:
(gem_exec_fence:8442) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(gem_exec_fence:8442) igt-core-INFO:   #1 [gem_execbuf+0x44]
(gem_exec_fence:8442) igt-core-INFO:   #2 [__real_main1452+0x2af7]
(gem_exec_fence:8442) igt-core-INFO:   #3 [main+0x27]
(gem_exec_fence:8442) igt-core-INFO:   #4 [__libc_start_main+0xf1]
(gem_exec_fence:8442) igt-core-INFO:   #5 [_start+0x2a]
(gem_exec_fence:8442) igt-core-INFO:   #6 [<unknown>+0x2a]
****  END  ****
Comment 11 Ricardo Perez 2018-01-31 06:25:49 UTC
Created attachment 137067 [details]
CFL-dmesg-kernel-logs
Comment 12 Ricardo Perez 2018-01-31 06:43:30 UTC
Running on CoffeeLake S UDIMM RVP QA system, the following test is failing:

igt@gem_exec_fence@parallel-vebox

Running:
IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.15.0-drm-intel-qa-ww5-commit-5f9f363+ x86_64)

**** DEBUG ****
(gem_exec_fence:8442) DEBUG: Test requirement passed: has_submit_fence(i915)
(gem_exec_fence:8442) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_fence:8442) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_exec_fence:8442) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_exec_fence:8442) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_exec_fence:8442) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_exec_fence:8442) igt-dummyload-DEBUG: Test requirement passed: nengine
(gem_exec_fence:8442) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:605:
(gem_exec_fence:8442) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_fence:8442) ioctl-wrappers-CRITICAL: error: -22 != 0
(gem_exec_fence:8442) igt-core-INFO: Stack trace:
(gem_exec_fence:8442) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(gem_exec_fence:8442) igt-core-INFO:   #1 [gem_execbuf+0x44]
(gem_exec_fence:8442) igt-core-INFO:   #2 [__real_main1452+0x2af7]
(gem_exec_fence:8442) igt-core-INFO:   #3 [main+0x27]
(gem_exec_fence:8442) igt-core-INFO:   #4 [__libc_start_main+0xf1]
(gem_exec_fence:8442) igt-core-INFO:   #5 [_start+0x2a]
(gem_exec_fence:8442) igt-core-INFO:   #6 [<unknown>+0x2a]
****  END  ****
Comment 13 Ricardo Perez 2018-01-31 06:45:15 UTC
Created attachment 137068 [details]
CFL-dmesg-kernel-logs
Comment 14 Ricardo Perez 2018-01-31 07:56:47 UTC
Same failure signature for below tests running:

IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.15.0-drm-intel-qa-ww5-commit-5f9f363+ x86_64)
Comment 15 Hector Velazquez 2018-02-09 21:10:04 UTC
This test was failing on GLK QA 

Tests List:

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

IGT-Version: 1.21-g94bd67c (x86_64) (Linux: 4.15.0-drm-tip-ww6-commit-078873d+ x86_64)

======================================
        output sample
======================================
. . .
**** DEBUG ****
(gem_exec_fence:1443) DEBUG: Test requirement passed: has_submit_fence(i915)
(gem_exec_fence:1443) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_fence:1443) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_exec_fence:1443) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_exec_fence:1443) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_exec_fence:1443) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_exec_fence:1443) igt-dummyload-DEBUG: Test requirement passed: nengine
(gem_exec_fence:1443) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:605:
(gem_exec_fence:1443) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_fence:1443) ioctl-wrappers-CRITICAL: error: -22 != 0
(gem_exec_fence:1443) igt-core-INFO: Stack trace:
(gem_exec_fence:1443) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(gem_exec_fence:1443) igt-core-INFO:   #1 [gem_execbuf+0x44]
(gem_exec_fence:1443) igt-core-INFO:   #2 [__real_main1452+0x2791]
(gem_exec_fence:1443) igt-core-INFO:   #3 [main+0x23]
(gem_exec_fence:1443) igt-core-INFO:   #4 [__libc_start_main+0xf0]
(gem_exec_fence:1443) igt-core-INFO:   #5 [_start+0x29]
(gem_exec_fence:1443) igt-core-INFO:   #6 [<unknown>+0x29]
****  END  ****
. . .
Comment 16 Antonio Argenziano 2018-02-14 21:36:54 UTC
I believe the problem is that we use an exec flag (LOCAL_EXEC_FENCE_SUBMIT) that was not merged. Therefore when we try doing execbuf it fails with invalid flags.

The test is actually looking for a feature that has not been merged yet, so it should probably not run at all.
Comment 17 Chris Wilson 2018-02-21 11:24:08 UTC
commit 960e55a87d7b7d7385063e37cc9f281df2be8037 (upstream/master, origin/master, origin/HEAD)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Oct 24 12:05:23 2017 +0100

    igt/gem_ctx_isolation: Check isolation of registers between contexts
Comment 18 Lakshmi 2018-08-23 19:13:42 UTC
No failures noticed for gem_exec_fence tests. Closing the defect as fixed.

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.