Bug 94535 - [BSW/BDW] igt drm_import_export import-close-race-prime fails
Summary: [BSW/BDW] igt drm_import_export import-close-race-prime fails
Status: CLOSED WORKSFORME
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: 2016-03-14 17:19 UTC by cprigent
Modified: 2017-07-24 22:42 UTC (History)
1 user (show)

See Also:
i915 platform: BDW, BSW/CHT
i915 features: display/Other


Attachments
dmesg (117.94 KB, text/plain)
2016-03-14 17:19 UTC, cprigent
no flags Details

Description cprigent 2016-03-14 17:19:05 UTC
Created attachment 122279 [details]
dmesg

Hardware: 
Motherboard: Aspire XC-704 
cpu model name : Intel(R) Pentium(R) CPU N3700 @ 1.60GHz 
cpu model : 76 
cpu family : 6 
Graphic card: Device 22b1 (rev 21)

Software:
Kernel mainline 4.4.0 from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
  commit afd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc
  Author: Linus Torvalds <torvalds@linux-foundation.org>
  Date:   Sun Jan 10 15:01:32 2016 -0800
  Linux 4.4
drm: libdrm-2.4.67-5 ea07de9 from git://anongit.freedesktop.org/mesa/drm
mesa: tag mesa-11.1.2 7bcd827 from git://anongit.freedesktop.org/mesa/mesa
cairo: tag 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
waffle: master bb29b2a from git://github.com/waffle-gl/waffle
xorg-server-macros: tag: util-macros-1.19.0-2 d7acec2 from git://git.freedesktop.org/git/xorg/util/macros
xserver: tag: xorg-server-1.18.1 23e60f9 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: tag 2.99.917-560 d167280 from git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
libva: tag libva-1.7.0.pre1 35f1447 from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: tag 1.7.0.pre1 ab8e4e3 from git://anongit.freedesktop.org/vaapi/intel-driver

One external screen connected to HDMI

Steps:
-------
1. Execute IGT test:
# ./drm_import_export --run-subtest import-close-race-prime

Actual result:
---------------
1. Test is Fail, output:
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(drm_import_export:2870) CRITICAL: Test assertion failure function import_close_thread, file drm_import_export.c:173:
(drm_import_export:2870) CRITICAL: Failed assertion: (*__errno_location ()) == 2
(drm_import_export:2870) CRITICAL: Last errno: 22, Invalid argument
(drm_import_export:2870) CRITICAL: error: 22 != 2
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [import_close_thread+0xec]
  #2 [start_thread+0xc2]
  #3 [clone+0x6d]
  #4 [<unknown>+0x6d]
Subtest import-close-race-prime failed.
**** DEBUG ****
(drm_import_export:2870) CRITICAL: Test assertion failure function import_close_thread, file drm_import_export.c:173:
(drm_import_export:2870) CRITICAL: Failed assertion: (*__errno_location ()) == 2
(drm_import_export:2870) CRITICAL: Last errno: 22, Invalid argument
(drm_import_export:2870) CRITICAL: error: 22 != 2
****  END  ****
Subtest import-close-race-prime: FAIL (0.033s)
Received signal SIGSEGV.
Received signal SIGSEGVSegmentation fault (core dumped)

Expected result:
-----------------
1. Test is Pass
Comment 1 Elio 2016-06-03 14:38:08 UTC
This test passing in BSW with following configuration:

 Software information
============================================
Kernel version                  : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+
Linux distribution              : Ubuntu 16.04 LTS
Architecture                    : 64-bit
Mesa version                    : Not found << Please see the message at the bottom >>
xf86-video-intel version        : 2.99.917
Xorg-Xserver version            : 1.18.3
DRM version                     : 2.4.68
VAAPI version                   : Intel i965 driver for Intel(R) CherryView - 1.7.0
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.14-348-g303b380] / Commit [303b380]
Kernel driver in use            : i915
Hardware acceleration           :
Bios revision                   : 0.33
KSC revision                    : 0.16


 Hardware information
============================================
Platform                        :
Motherboard model               : 10G9000NUS
Motherboard type                : BRASWELL Desktop
Motherboard manufacturer        : LENOVO
CPU family                      : Pentium
CPU information                 : Intel(R) Pentium(R) CPU  N3700  @ 1.60GHz
GPU Card                        : Intel Corporation Device 22b1 (rev 21) (prog-if 00 [VGA controller])
Memory ram                      : 8 GB
Maximum memory ram allowed      : 8 GB
Display resolution              :
CPU's number                    : 4
Hard drive Capacity             : 120 GB

IGT-Version: 1.14-g303b380 (x86_64) (Linux: 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+ x86_64)
Subtest import-close-race-prime: SUCCESS (2.568s)


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.