Bug 102841 - [IGT] [KBL/GLK]gem_reloc_vs_gpu subtest fail with an assertion
Summary: [IGT] [KBL/GLK]gem_reloc_vs_gpu subtest fail with an assertion
Status: CLOSED FIXED
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: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-18 15:16 UTC by Armando Antonio
Modified: 2018-02-19 19:04 UTC (History)
1 user (show)

See Also:
i915 platform: CFL, GLK, KBL
i915 features: GEM/Other


Attachments
dmesg log (215.73 KB, text/plain)
2017-09-18 15:16 UTC, Armando Antonio
no flags Details
testlog (2.14 KB, text/plain)
2017-09-18 15:17 UTC, Armando Antonio
no flags Details

Description Armando Antonio 2017-09-18 15:16:44 UTC
Created attachment 134317 [details]
dmesg log

Hello, The following tests are falling on KBL with latest configuration

=========================================
test list 
=========================================
igt@gem_reloc_vs_gpu@forked-hang
igt@gem_reloc_vs_gpu@forked-interruptible-thrashing-hang

(gem_reloc_vs_gpu:1442) intel-batchbuffer-CRITICAL: Test assertion failure function intel_batchbuffer_flush_on_ring, file intel_batchbuffer.c:184:
(gem_reloc_vs_gpu:1442) intel-batchbuffer-CRITICAL: Failed assertion: (drm_intel_gem_bo_context_exec(batch->bo, ctx, used, ring)) == 0
(gem_reloc_vs_gpu:1442) intel-batchbuffer-CRITICAL: Last errno: 5, Input/output error
Stack trace:
(gem_reloc_vs_gpu:1446) intel-batchbuffer-CRITICAL: Failed assertion: (drm_intel_gem_bo_context_exec(batch->bo, ctx, used, ring)) == 0
(gem_reloc_vs_gpu:1446) intel-batchbuffer-CRITICAL: Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #0 [__igt_fail_assert+0x101]
  #0 [__igt_fail_assert+0x101]
  #0 [__igt_fail_assert+0x101]
  #1 [intel_batchbuffer_flush_on_ring+0xc7]
  #1 [intel_batchbuffer_flush_on_ring+0xc7]
  #1 [intel_batchbuffer_flush_on_ring+0xc7]
  #1 [intel_batchbuffer_flush_on_ring+0xc7]
  #2 [do_test+0x464]
  #2 [do_test+0x464]
  #2 [do_test+0x464]
  #2 [do_test+0x464]
  #3 [__real_main296+0x4e6]
  #3 [__real_main296+0x4e6]
  #3 [__real_main296+0x4e6]
  #3 [__real_main296+0x4e6]
  #4 [main+0x33]
  #4 [main+0x33]
  #4 [main+0x33]
  #4 [main+0x33]
  #5 [__libc_start_main+0xf1]
  #5 [__libc_start_main+0xf1]
  #5 [__libc_start_main+0xf1]
  #5 [__libc_start_main+0xf1]
  #6 [_start+0x29]
  #6 [_start+0x29]
  #6 [_start+0x29]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
  #7 [<unknown>+0x29]
  #7 [<unknown>+0x29]
  #7 [<unknown>+0x29]
child 2 failed with exit status 99
Subtest forked-hang failed.
**** DEBUG ****
(gem_reloc_vs_gpu:1428) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_reloc_vs_gpu:1428) ioctl-wrappers-DEBUG: Test requirement passed: has_ban_period || has_bannable
(gem_reloc_vs_gpu:1428) igt-gt-DEBUG: Test requirement passed: has_gpu_reset(fd)
****  END  ****

attached new dmesg
Comment 1 Armando Antonio 2017-09-18 15:17:42 UTC
Created attachment 134318 [details]
testlog
Comment 2 Elizabeth 2017-09-19 16:13:29 UTC
Adding tag into "Whiteboard" field - ReadyForDev
*Status is correct
*Platform is included
*Feature is included
*Priority and Severity correctly set
*Logs included
Comment 3 Armando Antonio 2017-09-19 21:27:44 UTC
The following test cases are failing on CFL with latest configuration

======================================= 
Test List
=======================================
igt@gem_reloc_vs_gpu@forked-hang


======================================
             Software
======================================
kernel version              : 4.14.0-rc1-drm-tip-ww38-commit-099f750+
hostname                    : CFL-CNP
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 95.4
bios release date           : 07/24/2017
ksc                         : 1.5
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.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-304-g93f72b2
intel-gpu-tools (commit)    : 93f72b2

======================================
             Hardware
======================================
motherboard model          : CoffeeLakeClientPlatform
motherboard id             : CoffeeLakeSUDIMMRVP
form factor                : Desktop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 3.60GHz
gpu card                   : Intel Corporation Device 3e92 (prog-if 00 [VGA controller])
memory ram                 : 15.58 GB
max memory ram             : 32 GB
cpu thread                 : 12
cpu core                   : 6
cpu model                  : 158
cpu stepping               : 10
socket                     : Other
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1 DP-1 DP-2

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.1
guc fw loaded             : SUCCESS
guc version wanted        : 9.14
guc version found         : 9.14
huc fw loaded             : yes

======================================
             kernel parameters
======================================
quiet drm.debug=0x1e pci=pcie_bus_safe intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 resume=/dev/sda3 fastboot

=====================
Output summary
=====================
(gem_reloc_vs_gpu:2262) intel-batchbuffer-CRITICAL: Test assertion failure function intel_batchbuffer_flush_on_ring, file intel_batchbuffer.c:184:
(gem_reloc_vs_gpu:2262) intel-batchbuffer-CRITICAL: Failed assertion: (drm_intel_gem_bo_context_exec(batch->bo, ctx, used, ring)) == 0
  #0 [__igt_fail_assert+0x101]
(gem_reloc_vs_gpu:2262) intel-batchbuffer-CRITICAL: Last errno: 5, Input/output error
Stack trace:
  #5 [__libc_start_main+0xf1]
Comment 4 Elizabeth 2018-02-14 21:47:46 UTC
Failure is not present anymore in igt results, though tests are either timeout or hanged. Unfortunately, we're not sure which commit may have fixed this issue. Closing case.
Comment 5 Elizabeth 2018-02-19 19:04:45 UTC
Note: igt@gem_reloc_vs_gpu@forked-hang takes around 40 minutes to finish as success.


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.