Created attachment 100706 [details] dmesg ==System Environment== -------------------------- Regression: No. This case always fail. Non-working platforms: IVB ==kernel== -------------------------- origin/drm-intel-nightly: 969b3c5a312e849fa7a3dc0937a6acf34cdd7e25(fails) drm-intel-nightly: 2014y-06m-06d-22h-45m-15s integration manifest origin/drm-intel-next-queued: e4964a6e664b4c338b5ab1f1820b0477bec68396(fails) drm/i915: Update DRIVER_DATE to 20140606 origin/drm-intel-fixes: 15d24aa5602fb87c7b1358cfabcfeb9b26db290f(fails) drm/i915: BDW: Adding missing cursor offsets. ==Bug detailed description== ----------------------------- igt/prime_self_import/export-vs-gem_close-race fails Output: ./prime_self_import --run-subtest export-vs-gem_close-race IGT-Version: 1.6-g18d2130 (x86_64) (Linux: 3.15.0-rc3_drm-intel-next-queued_e4964a_20140609+ x86_64) leaked 2 objects Test assertion failure function test_export_close_race, file prime_self_import.c:379: Last errno: 0, Success Failed assertion: obj_count == 0 Subtest export-vs-gem_close-race: FAIL ==Reproduce steps== ---------------------------- 1. ./prime_self_import --run-subtest export-vs-gem_close-race
It fails on SNB+ platforms.
Test failed on hsw on latest -fixes(0485c9dc24ec0939b42ca5104c0373297506b555) [root@x-hsw27 tests]# ./prime_self_import --run-subtest export-vs-gem_close-race IGT-Version: 1.8-gaa63fc7 (x86_64) (Linux: 3.18.0-rc5_drm-intel-fixes_0485c9_20141118+ x86_64) leaked 1 objects Test assertion failure function test_export_close_race, file prime_self_import.c:374: Failed assertion: obj_count == 0 error: 1 != 0 Subtest export-vs-gem_close-race: FAIL (5.000s) [root@x-hsw27 tests]# dmesg -r|egrep "<[1-4]>"|grep drm [root@x-hsw27 tests]#
fixed in igt with commit 08f0e1c625571533bbef9a591d4ae4ce65c4144d Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Tue Nov 18 13:49:29 2014 +0100 tests/prime_self_import: Track leaked objects accurately
Verified on latest igt(d8078911f63494eba67f8f07ffb56c4bdeae7bc9) [root@x-ivb9 tests]# ./prime_self_import --run-subtest export-vs-gem_close-race IGT-Version: 1.8-gd807891 (x86_64) (Linux: 3.18.0-rc5_drm-intel-nightly_3cb89f_20141119_debug+ x86_64) leaked 0 objects Subtest export-vs-gem_close-race: SUCCESS (5.001s)
Closing old verified.
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.