Bug 77422 - [IVB HSW bisected]Subcase reimport-vs-gem_close-race of prime_self_import failed
Summary: [IVB HSW bisected]Subcase reimport-vs-gem_close-race of prime_self_import failed
Status: CLOSED DUPLICATE of bug 77421
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Mika Kuoppala
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-14 08:12 UTC by Guo Jinxian
Modified: 2017-07-24 22:54 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Guo Jinxian 2014-04-14 08:12:29 UTC
System Environment:
--------------------------
Platform: IVB HSW
kernel:   (drm-intel-nightly)cf8c74f4e33678bc5151df4b68cb7f8c2b51bf6e
intel-gpu-tools: cc730c418f44245c49776059b2564f54da4449e6

Bug detailed description:
----------------------------
Subcase reimport-vs-gem_close-race  of prime_self_import failed.

It's intel-gpu-tools regression issue:

2f2c491cf3167befe7c79e4b17afb4f6284dfc84 is the first bad commit
commit 2f2c491cf3167befe7c79e4b17afb4f6284dfc84
Author: Mika Kuoppala <mika.kuoppala@intel.com>
Date:   Fri Mar 28 10:52:46 2014 +0200

    lib/drmtest: don't dup quiescent fd

    If we dup the fd, we are in mercy of the context banning
    of the test application. Better to have our own to guarantee
    that gem_quiescent_gpu won't find itself banned on exit.

    Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>

:040000 040000 ceeb48448f495672745b61fb7e7a61f151f26cc5 4dddf6d79c79df33d39e193bcf81898b149d6973 M      lib

output on -nightly kernel:

[root@x-ivb9 tests]# ./prime_self_import --run-subtest reimport-vs-gem_close-race
IGT-Version: 1.6-gcc730c4 (x86_64) (Linux: 3.14.0_drm-intel-nightly_cf8c74_20140414_debug+ x86_64)
leaked 1 objects
Test assertion failure function test_reimport_close_race, file prime_self_import.c:297:
Last errno: 0, Success
Failed assertion: obj_count == 0
Subtest reimport-vs-gem_close-race: FAIL


Reproduce steps:
---------------------------- 
1.  ./prime_self_import --run-subtest reimport-vs-gem_close-race
Comment 1 Daniel Vetter 2014-04-15 13:27:13 UTC

*** This bug has been marked as a duplicate of bug 77421 ***


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.