Bug 106707 - [CI] igt@gem_exec_schedule@deep-* - fail - Failed assertion: __vgem_fence_signal(fd, fence) == 0
Summary: [CI] igt@gem_exec_schedule@deep-* - fail - Failed assertion: __vgem_fence_sig...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: IGT (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-29 11:00 UTC by Martin Peres
Modified: 2018-08-28 06:19 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT, BXT, KBL, SKL
i915 features: GEM/Other


Attachments

Description Martin Peres 2018-05-29 11:00:28 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_49/fi-bxt-dsi/igt@gem_exec_schedule@deep-vebox.html

(gem_exec_schedule:1364) igt_vgem-CRITICAL: Test assertion failure function vgem_fence_signal, file ../lib/igt_vgem.c:193:
(gem_exec_schedule:1364) igt_vgem-CRITICAL: Failed assertion: __vgem_fence_signal(fd, fence) == 0
(gem_exec_schedule:1364) igt_vgem-CRITICAL: error: -110 != 0
Subtest deep-vebox failed.
Comment 1 Chris Wilson 2018-05-29 11:32:58 UTC
The warning is that it took so long to set the test up, the fence expired before we had done so; thus the order of execution was indeterminate.

It usually times out during the earlier construction and skips.
Comment 2 Martin Peres 2018-06-05 06:52:34 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_56/fi-bxt-dsi/igt@gem_exec_schedule@deep-bsd.html

(gem_exec_schedule:2059) igt_vgem-CRITICAL: Test assertion failure function vgem_fence_signal, file ../lib/igt_vgem.c:193:
(gem_exec_schedule:2059) igt_vgem-CRITICAL: Failed assertion: __vgem_fence_signal(fd, fence) == 0
(gem_exec_schedule:2059) igt_vgem-CRITICAL: error: -110 != 0
Subtest deep-bsd failed.
Comment 3 Martin Peres 2018-06-20 07:53:38 UTC
Seen on BSW: https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_67/fi-bsw-n3050/igt@gem_exec_schedule@deep-render.html

(gem_exec_schedule:1455) igt_vgem-CRITICAL: Test assertion failure function vgem_fence_signal, file ../lib/igt_vgem.c:193:
(gem_exec_schedule:1455) igt_vgem-CRITICAL: Failed assertion: __vgem_fence_signal(fd, fence) == 0
(gem_exec_schedule:1455) igt_vgem-CRITICAL: error: -110 != 0
Subtest deep-render failed.
Comment 4 Martin Peres 2018-06-23 12:48:02 UTC
Also seen on SKL: https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_69/fi-skl-gvtdvm/igt@gem_exec_schedule@deep-vebox.html

(gem_exec_schedule:1459) igt_vgem-CRITICAL: Test assertion failure function vgem_fence_signal, file ../lib/igt_vgem.c:193:
(gem_exec_schedule:1459) igt_vgem-CRITICAL: Failed assertion: __vgem_fence_signal(fd, fence) == 0
(gem_exec_schedule:1459) igt_vgem-CRITICAL: error: -110 != 0
Subtest deep-vebox failed.
Comment 5 Martin Peres 2018-07-23 12:50:02 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4519/fi-kbl-8809g/igt@amdgpu_amd_prime@amd-to-i915.html

(amd_prime:4831) igt_vgem-CRITICAL: Test assertion failure function vgem_fence_signal, file ../lib/igt_vgem.c:193:
(amd_prime:4831) igt_vgem-CRITICAL: Failed assertion: __vgem_fence_signal(fd, fence) == 0
(amd_prime:4831) igt_vgem-CRITICAL: error: -110 != 0
Subtest amd-to-i915 failed.
Comment 6 Chris Wilson 2018-07-23 12:56:04 UTC
(In reply to Martin Peres from comment #5)
> https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4519/fi-kbl-8809g/
> igt@amdgpu_amd_prime@amd-to-i915.html
> 
> (amd_prime:4831) igt_vgem-CRITICAL: Test assertion failure function
> vgem_fence_signal, file ../lib/igt_vgem.c:193:
> (amd_prime:4831) igt_vgem-CRITICAL: Failed assertion:
> __vgem_fence_signal(fd, fence) == 0
> (amd_prime:4831) igt_vgem-CRITICAL: error: -110 != 0
> Subtest amd-to-i915 failed.

Not a common problem. These are individual test setups that are just too slow on CI.
Comment 7 Martin Peres 2018-07-23 14:14:21 UTC
(In reply to Chris Wilson from comment #6)
> (In reply to Martin Peres from comment #5)
> > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4519/fi-kbl-8809g/
> > igt@amdgpu_amd_prime@amd-to-i915.html
> > 
> > (amd_prime:4831) igt_vgem-CRITICAL: Test assertion failure function
> > vgem_fence_signal, file ../lib/igt_vgem.c:193:
> > (amd_prime:4831) igt_vgem-CRITICAL: Failed assertion:
> > __vgem_fence_signal(fd, fence) == 0
> > (amd_prime:4831) igt_vgem-CRITICAL: error: -110 != 0
> > Subtest amd-to-i915 failed.
> 
> Not a common problem. These are individual test setups that are just too
> slow on CI.

Not sure I understand your explanation. Can you rephrase?

Also, what would you suggest I do for this issue? Should I create a new bug?
Comment 8 Chris Wilson 2018-07-23 14:18:44 UTC
(In reply to Martin Peres from comment #7)
> (In reply to Chris Wilson from comment #6)
> > (In reply to Martin Peres from comment #5)
> > > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4519/fi-kbl-8809g/
> > > igt@amdgpu_amd_prime@amd-to-i915.html
> > > 
> > > (amd_prime:4831) igt_vgem-CRITICAL: Test assertion failure function
> > > vgem_fence_signal, file ../lib/igt_vgem.c:193:
> > > (amd_prime:4831) igt_vgem-CRITICAL: Failed assertion:
> > > __vgem_fence_signal(fd, fence) == 0
> > > (amd_prime:4831) igt_vgem-CRITICAL: error: -110 != 0
> > > Subtest amd-to-i915 failed.
> > 
> > Not a common problem. These are individual test setups that are just too
> > slow on CI.
> 
> Not sure I understand your explanation. Can you rephrase?
> 
> Also, what would you suggest I do for this issue? Should I create a new bug?

It's a separate issue for the amdgpu_amd_prime test. We need to tune the setup to run within 10s or use a sw_sync fence instead of a vgem plug.
Comment 9 Martin Peres 2018-07-23 14:20:55 UTC
(In reply to Chris Wilson from comment #8)
> (In reply to Martin Peres from comment #7)
> > (In reply to Chris Wilson from comment #6)
> > > (In reply to Martin Peres from comment #5)
> > > > https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4519/fi-kbl-8809g/
> > > > igt@amdgpu_amd_prime@amd-to-i915.html
> > > > 
> > > > (amd_prime:4831) igt_vgem-CRITICAL: Test assertion failure function
> > > > vgem_fence_signal, file ../lib/igt_vgem.c:193:
> > > > (amd_prime:4831) igt_vgem-CRITICAL: Failed assertion:
> > > > __vgem_fence_signal(fd, fence) == 0
> > > > (amd_prime:4831) igt_vgem-CRITICAL: error: -110 != 0
> > > > Subtest amd-to-i915 failed.
> > > 
> > > Not a common problem. These are individual test setups that are just too
> > > slow on CI.
> > 
> > Not sure I understand your explanation. Can you rephrase?
> > 
> > Also, what would you suggest I do for this issue? Should I create a new bug?
> 
> It's a separate issue for the amdgpu_amd_prime test. We need to tune the
> setup to run within 10s or use a sw_sync fence instead of a vgem plug.

Thanks! I will create a new IGT bug then :)
Comment 10 Martin Peres 2018-07-23 14:30:17 UTC
New bug created: https://bugs.freedesktop.org/show_bug.cgi?id=107341

However, I would also like to documented that we can also see this bug in GLK:

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_74/fi-glk-dsi/igt@gem_exec_schedule@deep-render.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_76/fi-glk-dsi/igt@gem_exec_schedule@deep-vebox.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_76/fi-glk-dsi/igt@gem_exec_schedule@deep-bsd.html

(gem_exec_schedule:1158) igt_vgem-CRITICAL: Test assertion failure function vgem_fence_signal, file ../lib/igt_vgem.c:193:
(gem_exec_schedule:1158) igt_vgem-CRITICAL: Failed assertion: __vgem_fence_signal(fd, fence) == 0
(gem_exec_schedule:1158) igt_vgem-CRITICAL: error: -110 != 0
Subtest deep-bsd failed.
Comment 11 Chris Wilson 2018-07-24 12:25:05 UTC
commit 2884f91dd6d7682ea738ef6f0943cc591643dda2 (HEAD, upstream/master)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Jul 20 12:29:30 2018 +0100

    igt/gem_exec_schedule: Trim deep runtime
    
    Time the runtime for emitting deep dependency tree, while keeping it
    full of umpteen thousand requests.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106707
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Katarzyna Dec <katarzyna.dec@intel.com>
Comment 12 Lakshmi 2018-08-24 10:33:35 UTC
Closing this as this bug seen  more than 1 month ago.
Comment 13 Lakshmi 2018-08-28 06:19:16 UTC
This issue used o occur almost every round of CI DRM execution. Not seen this issue since ~200 rounds. Closing this defect.


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.