Skip to contentSkip to conversation

tests/core_hotunplug: Take care of closing fences before failing

PATCH In review Janusz Krzysztofik 4 participants 10 messages Oct 14, 2020 – Oct 16, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/core_hotunplug: Take care of closing fences before failing

The test was designed to keep track of open device file descriptors for safe driver unbind on recovery from a failed subtest. In that context, fences introduced by commit 1fbd127bd4e1 ("core_hotplug:
Teach the healthcheck how to check execution status") can affect device recovery as much as an open device file if not closed before unbind.

Moreover, forced GPU reset which used to be applied on recovery from a failed i915 GPU health check is no longer reachable since a GPU hang hopefully detected by the new health check algorithm can now break the whole recovery procedure prematurely.

Refactor local_i915_healthcheck() so it takes care of closing fences and returns a result to its caller instead of long jumping on failures believed to be recoverable. While avoiding use of igt_assert() and friends, report actual source and error code of failures via igt_warn_on_f().

---
 tests/core_hotunplug.c | 46 ++++++++++++++++++++++++++++++++----------
 1 file changed, 35 insertions(+), 11 deletions(-)
tests/core_hotunplug.c +35 -11
index 70669c590..d6db02bad 100644
@@ -233,9 +233,9 @@ static int merge_fences(int old, int new)
 		return new;
 
 	merge = sync_fence_merge(old, new);
-	igt_assert(merge != -1);
-	close(old);
-	close(new);
+	/* Assume fence close errors don't affect device close status */
+	igt_ignore_warn(local_close(old, "old fence close failed"));
+	igt_ignore_warn(local_close(new, "new fence close failed"));
 
 	return merge;
 }
@@ -249,29 +249,53 @@ static int local_i915_healthcheck(int i915, const char *prefix)
 		.buffer_count = 1,
 	};
 	const struct intel_execution_engine2 *engine;
-	int fence = -1;
+	int fence = -1, err = 0, status = 1;
 
 	local_debug("%s%s\n", prefix, "running i915 GPU healthcheck");
-	if (local_i915_is_wedged(i915))
+	if (igt_warn_on_f(local_i915_is_wedged(i915), "GPU found wedged\n"))
 		return -EIO;
 
+	/* Assume gem_create()/gem_write() failures are unrecoverable */
 	obj.handle = gem_create(i915, 4096);
 	gem_write(i915, obj.handle, 0, &bbe, sizeof(bbe));
 
+	/* As soon as a fence is open, don't fail before closing it */
 	__for_each_physical_engine(i915, engine) {
 		execbuf.flags = engine->flags | I915_EXEC_FENCE_OUT;
-		gem_execbuf_wr(i915, &execbuf);
+		err = __gem_execbuf_wr(i915, &execbuf);
+		if (igt_warn_on_f(err < 0, "__gem_execbuf_wr() returned %d\n",
+				  err))
+			break;
 
 		fence = merge_fences(fence, execbuf.rsvd2 >> 32);
+		if (igt_warn_on_f(fence < 0, "merge_fences() returned %d\n",
+				  fence)) {
+			err = fence;
+			break;
+		}
+	}
+	if (fence >= 0) {
+		status = sync_fence_wait(fence, -1);
+		if (igt_warn_on_f(status < 0, "sync_fence_wait() returned %d\n",
+				  status))
+			err = status;
+		if (!err)
+			status = sync_fence_status(fence);
+
+		/* Assume fence close errors don't affect device close status */
+		igt_ignore_warn(local_close(fence, "fence close failed"));
 	}
-	igt_assert(fence != -1);
+
+	/* Assume gem_close() failure is unrecoverable */
 	gem_close(i915, obj.handle);
 
-	igt_assert_eq(sync_fence_wait(fence, -1), 0);
-	igt_assert_eq(sync_fence_status(fence), 1);
-	close(fence);
+	if (err < 0)
+		return err;
+	if (igt_warn_on_f(status != 1, "sync_fence_status() returned %d\n",
+			  status))
+		return -1;
 
-	if (local_i915_is_wedged(i915))
+	if (igt_warn_on_f(local_i915_is_wedged(i915), "GPU turned wedged\n"))
 		return -EIO;
 
 	return 0;
Signature · 6 lines
2.21.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#1 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for tests/core_hotunplug: Take care of closing fences before failing

== Series Details ==

== Series Details ==

Series: tests/core_hotunplug: Take care of closing fences before failing
URL : https://patchwork.freedesktop.org/series/82684/
State : success

== Summary ==

CI Bug Log - changes from IGT_5815 -> IGTPW_5069
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html

Known issues
------------

Here are the changes found in IGTPW_5069 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@kms_chamelium@hdmi-crc-fast:
- fi-kbl-7500u: [PASS][1] -> [DMESG-WARN][2] ([i915#2203])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/fi-kbl-7500u/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/fi-kbl-7500u/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-bsw-kefka: [PASS][3] -> [DMESG-WARN][4] ([i915#1982])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/fi-bsw-kefka/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/fi-bsw-kefka/igt@[email protected]

* igt@vgem_basic@setversion:
- fi-tgl-y: [PASS][5] -> [DMESG-WARN][6] ([i915#402]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/fi-tgl-y/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/fi-tgl-y/igt@[email protected]

#### Possible fixes ####

* igt@kms_chamelium@dp-crc-fast:
- fi-kbl-7500u: [DMESG-WARN][7] ([i915#165]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/fi-kbl-7500u/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/fi-kbl-7500u/igt@[email protected]

* igt@kms_cursor_legacy@basic-flip-before-cursor-legacy:
- fi-icl-u2: [DMESG-WARN][9] ([i915#1982]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/fi-icl-u2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/fi-icl-u2/igt@[email protected]

* igt@prime_self_import@basic-with_two_bos:
- fi-tgl-y: [DMESG-WARN][11] ([i915#402]) -> [PASS][12] +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/fi-tgl-y/igt@prime_self_import@basic-with_two_bos.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/fi-tgl-y/igt@prime_self_import@basic-with_two_bos.html

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[i915#165]: https://gitlab.freedesktop.org/drm/intel/issues/165
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2203]: https://gitlab.freedesktop.org/drm/intel/issues/2203
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[k.org#205379]: https://bugzilla.kernel.org/show_bug.cgi?id=205379

Participating hosts (46 -> 40)
------------------------------

Missing (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper fi-bdw-samus

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_5815 -> IGTPW_5069

CI-20190529: 20190529
CI_DRM_9138: 5e4234f97efbaa30f0beb243dcf98fe0a0bb0945 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5069: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html
IGT_5815: 0c3b29498a624ad42033a219d031cb9dd475405b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#2 lore raw

[igt-dev] ✗ Fi.CI.IGT: failure for tests/core_hotunplug: Take care of closing fences before failing

In reply to Janusz Krzysztofik
== Series Details ==

== Series Details ==

Series: tests/core_hotunplug: Take care of closing fences before failing
URL : https://patchwork.freedesktop.org/series/82684/
State : failure

== Summary ==

CI Bug Log - changes from IGT_5815_full -> IGTPW_5069_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_5069_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_5069_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_5069_full:

### IGT changes ###

#### Possible regressions ####

* igt@kms_plane@plane-position-hole-pipe-b-planes:
- shard-iclb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb8/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb7/igt@[email protected]

Known issues
------------

Here are the changes found in IGTPW_5069_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_reloc@basic-many-active@bcs0:
- shard-glk: [PASS][3] -> [FAIL][4] ([i915#2389])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk3/igt@gem_exec_reloc@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk2/igt@gem_exec_reloc@[email protected]

* igt@gem_exec_whisper@basic-contexts-priority-all:
- shard-glk: [PASS][5] -> [DMESG-WARN][6] ([i915#118] / [i915#95])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk9/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk5/igt@[email protected]

* igt@kms_big_fb@linear-16bpp-rotate-0:
- shard-snb: [PASS][7] -> [SKIP][8] ([fdo#109271]) +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-snb2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-snb4/igt@[email protected]

* igt@kms_big_fb@yf-tiled-32bpp-rotate-0:
- shard-apl: [PASS][9] -> [DMESG-WARN][10] ([i915#1635] / [i915#1982])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl8/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl2/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-128x128-sliding:
- shard-kbl: [PASS][11] -> [FAIL][12] ([i915#54])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl6/igt@[email protected]
- shard-glk: [PASS][13] -> [FAIL][14] ([i915#54])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk3/igt@[email protected]
- shard-apl: [PASS][15] -> [FAIL][16] ([i915#1635] / [i915#54])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl6/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl2/igt@[email protected]

* igt@kms_cursor_edge_walk@pipe-c-256x256-top-edge:
- shard-glk: [PASS][17] -> [DMESG-WARN][18] ([i915#1982])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk3/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk9/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-msflip-blt:
- shard-tglb: [PASS][19] -> [FAIL][20] ([i915#2416])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb2/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb7/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-cpu:
- shard-glk: [PASS][21] -> [FAIL][22] ([i915#49])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk6/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-cpu.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk7/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-cpu.html

* igt@kms_frontbuffer_tracking@psr-rgb101010-draw-mmap-wc:
- shard-tglb: [PASS][23] -> [DMESG-WARN][24] ([i915#1982])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb3/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb7/igt@[email protected]

* igt@kms_psr@psr2_dpms:
- shard-iclb: [PASS][25] -> [SKIP][26] ([fdo#109441]) +1 similar issue
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb2/igt@kms_psr@psr2_dpms.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb6/igt@kms_psr@psr2_dpms.html

* igt@kms_vblank@pipe-b-ts-continuation-dpms-suspend:
- shard-kbl: [PASS][27] -> [INCOMPLETE][28] ([i915#155])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl6/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl6/igt@[email protected]

* igt@perf_pmu@most-busy-idle-check-all@vecs0:
- shard-iclb: [PASS][29] -> [DMESG-WARN][30] ([i915#1982])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb5/igt@perf_pmu@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@perf_pmu@[email protected]

#### Possible fixes ####

* igt@feature_discovery@psr2:
- shard-iclb: [SKIP][31] ([i915#658]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb8/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@[email protected]

* igt@gem_exec_whisper@basic-fds-forked-all:
- shard-glk: [DMESG-WARN][33] ([i915#118] / [i915#95]) -> [PASS][34] +1 similar issue
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk6/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk3/igt@[email protected]

* igt@gem_mmap_offset@blt-coherency:
- shard-apl: [FAIL][35] ([i915#1635]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl2/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl8/igt@[email protected]

* igt@kms_big_fb@linear-8bpp-rotate-0:
- shard-kbl: [DMESG-WARN][37] ([i915#1982]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl7/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl1/igt@[email protected]

* igt@kms_draw_crc@draw-method-xrgb8888-render-untiled:
- shard-glk: [FAIL][39] ([i915#177] / [i915#52] / [i915#54]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk8/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk4/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1:
- shard-glk: [FAIL][41] ([i915#79]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk6/igt@kms_flip@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk7/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-plflip-blt:
- shard-tglb: [DMESG-WARN][43] ([i915#1982]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb5/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb5/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite:
- shard-apl: [FAIL][45] ([i915#1635] / [i915#49]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
- shard-kbl: [FAIL][47] ([i915#49]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt:
- shard-tglb: [FAIL][49] ([i915#2416]) -> [PASS][50] +1 similar issue
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt.html

* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [SKIP][51] ([fdo#109441]) -> [PASS][52] +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb1/igt@kms_psr@psr2_sprite_plane_move.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html

* igt@perf@non-system-wide-paranoid:
- shard-apl: [SKIP][53] ([fdo#109271] / [i915#1354] / [i915#1635]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl3/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl2/igt@[email protected]
- shard-glk: [SKIP][55] ([fdo#109271] / [i915#1354]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk9/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk3/igt@[email protected]
- shard-iclb: [SKIP][57] ([i915#1354]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb2/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@[email protected]
- shard-kbl: [SKIP][59] ([fdo#109271] / [i915#1354]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl4/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl6/igt@[email protected]
- shard-tglb: [SKIP][61] ([i915#1354]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb1/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb5/igt@[email protected]

#### Warnings ####

* igt@kms_dp_dsc@basic-dsc-enable-edp:
- shard-iclb: [SKIP][63] ([fdo#109349]) -> [DMESG-WARN][64] ([i915#1226])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb3/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw:
- shard-tglb: [FAIL][65] ([i915#2416]) -> [DMESG-FAIL][66] ([i915#1982])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb8/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb6/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-rgb101010-draw-blt:
- shard-tglb: [DMESG-FAIL][67] ([i915#1982]) -> [FAIL][68] ([i915#2416])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb2/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb3/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1226]: https://gitlab.freedesktop.org/drm/intel/issues/1226
[i915#1354]: https://gitlab.freedesktop.org/drm/intel/issues/1354
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#177]: https://gitlab.freedesktop.org/drm/intel/issues/177
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2389]: https://gitlab.freedesktop.org/drm/intel/issues/2389
[i915#2416]: https://gitlab.freedesktop.org/drm/intel/issues/2416
[i915#2521]: https://gitlab.freedesktop.org/drm/intel/issues/2521
[i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49
[i915#52]: https://gitlab.freedesktop.org/drm/intel/issues/52
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95

Participating hosts (8 -> 8)
------------------------------

No changes in participating hosts

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_5815 -> IGTPW_5069

CI-20190529: 20190529
CI_DRM_9138: 5e4234f97efbaa30f0beb243dcf98fe0a0bb0945 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5069: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html
IGT_5815: 0c3b29498a624ad42033a219d031cb9dd475405b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#3 lore raw

Re: [igt-dev] ✗ Fi.CI.IGT: failure for tests/core_hotunplug: Take care of closing fences before failing

Hi Lakshmi,

Quoted 18 lines · Patchwork

Patch Details
Series: tests/core_hotunplug: Take care of closing fences before failing
URL: https://patchwork.freedesktop.org/series/82684/
State: failure
Details: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html
CI Bug Log - changes from IGT_5815_full -> IGTPW_5069_full Summary
FAILURE

Serious unknown changes coming with IGTPW_5069_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_5069_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html

Quoted 7 lines

Possible new issues
Here are the unknown changes that may have been introduced in IGTPW_5069_full:

IGT changes
Possible regressions
igt@kms_plane@plane-position-hole-pipe-b-planes:
shard-iclb: PASS -> FAIL

Another false positive, not related to the change, not preceded in its CI run by the test modified by the patch.

Thanks,
Janusz

Quoted 108 lines

Known issues
Here are the changes found in IGTPW_5069_full that come from known issues:

IGT changes
Issues hit
igt@gem_exec_reloc@basic-many-active@bcs0:

shard-glk: PASS -> FAIL (i915#2389)
igt@gem_exec_whisper@basic-contexts-priority-all:

shard-glk: PASS -> DMESG-WARN (i915#118 / i915#95) igt@kms_big_fb@linear-16bpp-rotate-0:

shard-snb: PASS -> SKIP (fdo#109271) +1 similar issue igt@kms_big_fb@yf-tiled-32bpp-rotate-0:

shard-apl: PASS -> DMESG-WARN (i915#1635 / i915#1982) igt@kms_cursor_crc@pipe-c-cursor-128x128-sliding:

shard-kbl: PASS -> FAIL (i915#54)

shard-glk: PASS -> FAIL (i915#54)

shard-apl: PASS -> FAIL (i915#1635 / i915#54)

igt@kms_cursor_edge_walk@pipe-c-256x256-top-edge:

shard-glk: PASS -> DMESG-WARN (i915#1982) igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-msflip-blt:

shard-tglb: PASS -> FAIL (i915#2416) igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-cpu:

shard-glk: PASS -> FAIL (i915#49) igt@kms_frontbuffer_tracking@psr-rgb101010-draw-mmap-wc:

shard-tglb: PASS -> DMESG-WARN (i915#1982)
igt@kms_psr@psr2_dpms:

shard-iclb: PASS -> SKIP (fdo#109441) +1 similar issue igt@kms_vblank@pipe-b-ts-continuation-dpms-suspend:

shard-kbl: PASS -> INCOMPLETE (i915#155)
igt@perf_pmu@most-busy-idle-check-all@vecs0:

shard-iclb: PASS -> DMESG-WARN (i915#1982)
Possible fixes
igt@feature_discovery@psr2:

shard-iclb: SKIP (i915#658) -> PASS
igt@gem_exec_whisper@basic-fds-forked-all:

shard-glk: DMESG-WARN (i915#118 / i915#95) -> PASS +1 similar issue igt@gem_mmap_offset@blt-coherency:

shard-apl: FAIL (i915#1635) -> PASS
igt@kms_big_fb@linear-8bpp-rotate-0:

shard-kbl: DMESG-WARN (i915#1982) -> PASS igt@kms_draw_crc@draw-method-xrgb8888-render-untiled:

shard-glk: FAIL (i915#177 / i915#52 / i915#54) -> PASS igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1:

shard-glk: FAIL (i915#79) -> PASS igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-plflip-blt:

shard-tglb: DMESG-WARN (i915#1982) -> PASS igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite:

shard-apl: FAIL (i915#1635 / i915#49) -> PASS

shard-kbl: FAIL (i915#49) -> PASS

igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt:

shard-tglb: FAIL (i915#2416) -> PASS +1 similar issue igt@kms_psr@psr2_sprite_plane_move:

shard-iclb: SKIP (fdo#109441) -> PASS +1 similar issue igt@perf@non-system-wide-paranoid:

shard-apl: SKIP (fdo#109271 / i915#1354 / i915#1635) -> PASS

shard-glk: SKIP (fdo#109271 / i915#1354) -> PASS

shard-iclb: SKIP (i915#1354) -> PASS

shard-kbl: SKIP (fdo#109271 / i915#1354) -> PASS

shard-tglb: SKIP (i915#1354) -> PASS

Warnings
igt@kms_dp_dsc@basic-dsc-enable-edp:

shard-iclb: SKIP (fdo#109349) -> DMESG-WARN (i915#1226) igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw:

shard-tglb: FAIL (i915#2416) -> DMESG-FAIL (i915#1982) igt@kms_frontbuffer_tracking@psr-rgb101010-draw-blt:

shard-tglb: DMESG-FAIL (i915#1982) -> FAIL (i915#2416)
{name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE).

Participating hosts (8 -> 8)
No changes in participating hosts

Quoted 7 lines

Build changes
CI: CI-20190529 -> None
IGT: IGT_5815 -> IGTPW_5069
CI-20190529: 20190529
CI_DRM_9138: 5e4234f97efbaa30f0beb243dcf98fe0a0bb0945 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5069: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html
IGT_5815: 0c3b29498a624ad42033a219d031cb9dd475405b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#4 lore raw

Re: [igt-dev] ✗ Fi.CI.IGT: failure for tests/core_hotunplug: Take care of closing fences before failing

Janusz, I have addressed the failure and re-reported the results.

Lakshmi.
-----Original Message-----
From: Janusz Krzysztofik <[email protected]>
Sent: Thursday, October 15, 2020 2:13 AM
To: Vudum, Lakshminarayana <[email protected]>
Cc: [email protected]
Subject: Re: ✗ Fi.CI.IGT: failure for tests/core_hotunplug: Take care of closing fences before failing

Hi Lakshmi,

Quoted 18 lines · Patchwork

Patch Details
Series: tests/core_hotunplug: Take care of closing fences before failing
URL: https://patchwork.freedesktop.org/series/82684/
State: failure
Details: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html
CI Bug Log - changes from IGT_5815_full -> IGTPW_5069_full Summary FAILURE

Serious unknown changes coming with IGTPW_5069_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_5069_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL:
https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html

Quoted 7 lines

Possible new issues
Here are the unknown changes that may have been introduced in IGTPW_5069_full:

IGT changes
Possible regressions
igt@kms_plane@plane-position-hole-pipe-b-planes:
shard-iclb: PASS -> FAIL

Another false positive, not related to the change, not preceded in its CI run by the test modified by the patch.

Thanks,
Janusz

Quoted 107 lines

Known issues
Here are the changes found in IGTPW_5069_full that come from known issues:

IGT changes
Issues hit
igt@gem_exec_reloc@basic-many-active@bcs0:

shard-glk: PASS -> FAIL (i915#2389)
igt@gem_exec_whisper@basic-contexts-priority-all:

shard-glk: PASS -> DMESG-WARN (i915#118 / i915#95) igt@kms_big_fb@linear-16bpp-rotate-0:

shard-snb: PASS -> SKIP (fdo#109271) +1 similar issue igt@kms_big_fb@yf-tiled-32bpp-rotate-0:

shard-apl: PASS -> DMESG-WARN (i915#1635 / i915#1982) igt@kms_cursor_crc@pipe-c-cursor-128x128-sliding:

shard-kbl: PASS -> FAIL (i915#54)

shard-glk: PASS -> FAIL (i915#54)

shard-apl: PASS -> FAIL (i915#1635 / i915#54)

igt@kms_cursor_edge_walk@pipe-c-256x256-top-edge:

shard-glk: PASS -> DMESG-WARN (i915#1982) igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-msflip-blt:

shard-tglb: PASS -> FAIL (i915#2416) igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-cpu:

shard-glk: PASS -> FAIL (i915#49) igt@kms_frontbuffer_tracking@psr-rgb101010-draw-mmap-wc:

shard-tglb: PASS -> DMESG-WARN (i915#1982)
igt@kms_psr@psr2_dpms:

shard-iclb: PASS -> SKIP (fdo#109441) +1 similar issue igt@kms_vblank@pipe-b-ts-continuation-dpms-suspend:

shard-kbl: PASS -> INCOMPLETE (i915#155)
igt@perf_pmu@most-busy-idle-check-all@vecs0:

shard-iclb: PASS -> DMESG-WARN (i915#1982) Possible fixes igt@feature_discovery@psr2:

shard-iclb: SKIP (i915#658) -> PASS
igt@gem_exec_whisper@basic-fds-forked-all:

shard-glk: DMESG-WARN (i915#118 / i915#95) -> PASS +1 similar issue igt@gem_mmap_offset@blt-coherency:

shard-apl: FAIL (i915#1635) -> PASS
igt@kms_big_fb@linear-8bpp-rotate-0:

shard-kbl: DMESG-WARN (i915#1982) -> PASS igt@kms_draw_crc@draw-method-xrgb8888-render-untiled:

shard-glk: FAIL (i915#177 / i915#52 / i915#54) -> PASS igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1:

shard-glk: FAIL (i915#79) -> PASS igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-plflip-blt:

shard-tglb: DMESG-WARN (i915#1982) -> PASS igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite:

shard-apl: FAIL (i915#1635 / i915#49) -> PASS

shard-kbl: FAIL (i915#49) -> PASS

igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt:

shard-tglb: FAIL (i915#2416) -> PASS +1 similar issue igt@kms_psr@psr2_sprite_plane_move:

shard-iclb: SKIP (fdo#109441) -> PASS +1 similar issue igt@perf@non-system-wide-paranoid:

shard-apl: SKIP (fdo#109271 / i915#1354 / i915#1635) -> PASS

shard-glk: SKIP (fdo#109271 / i915#1354) -> PASS

shard-iclb: SKIP (i915#1354) -> PASS

shard-kbl: SKIP (fdo#109271 / i915#1354) -> PASS

shard-tglb: SKIP (i915#1354) -> PASS

Warnings
igt@kms_dp_dsc@basic-dsc-enable-edp:

shard-iclb: SKIP (fdo#109349) -> DMESG-WARN (i915#1226) igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw:

shard-tglb: FAIL (i915#2416) -> DMESG-FAIL (i915#1982) igt@kms_frontbuffer_tracking@psr-rgb101010-draw-blt:

shard-tglb: DMESG-FAIL (i915#1982) -> FAIL (i915#2416) {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE).

Participating hosts (8 -> 8)
No changes in participating hosts

Quoted 10 lines

Build changes
CI: CI-20190529 -> None
IGT: IGT_5815 -> IGTPW_5069
CI-20190529: 20190529
CI_DRM_9138: 5e4234f97efbaa30f0beb243dcf98fe0a0bb0945 @
git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5069:
https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html
IGT_5815: 0c3b29498a624ad42033a219d031cb9dd475405b @
git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#5 lore raw

Re: [igt-dev] ✗ Fi.CI.IGT: failure for tests/core_hotunplug: Take care of closing fences before failing

Quoted 1 line · Lakshminarayana

Janusz, I have addressed the failure and re-reported the results.

Thank you,
Janusz

Quoted 38 lines

Lakshmi.
-----Original Message-----
From: Janusz Krzysztofik <[email protected]>
Sent: Thursday, October 15, 2020 2:13 AM
To: Vudum, Lakshminarayana <[email protected]>
Cc: [email protected]
Subject: Re: ✗ Fi.CI.IGT: failure for tests/core_hotunplug: Take care of closing fences before failing

Hi Lakshmi,

Quoted 18 lines · Patchwork

Patch Details
Series: tests/core_hotunplug: Take care of closing fences before failing
URL: https://patchwork.freedesktop.org/series/82684/
State: failure
Details: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html
CI Bug Log - changes from IGT_5815_full -> IGTPW_5069_full Summary FAILURE

Serious unknown changes coming with IGTPW_5069_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_5069_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL:
https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html

Quoted 7 lines

Possible new issues
Here are the unknown changes that may have been introduced in IGTPW_5069_full:

IGT changes
Possible regressions
igt@kms_plane@plane-position-hole-pipe-b-planes:
shard-iclb: PASS -> FAIL

Quoted 122 lines

Another false positive, not related to the change, not preceded in its CI run by the test modified by the patch.

Thanks,
Janusz

Quoted 117 lines

Known issues
Here are the changes found in IGTPW_5069_full that come from known issues:

IGT changes
Issues hit
igt@gem_exec_reloc@basic-many-active@bcs0:

shard-glk: PASS -> FAIL (i915#2389)
igt@gem_exec_whisper@basic-contexts-priority-all:

shard-glk: PASS -> DMESG-WARN (i915#118 / i915#95) igt@kms_big_fb@linear-16bpp-rotate-0:

shard-snb: PASS -> SKIP (fdo#109271) +1 similar issue igt@kms_big_fb@yf-tiled-32bpp-rotate-0:

shard-apl: PASS -> DMESG-WARN (i915#1635 / i915#1982) igt@kms_cursor_crc@pipe-c-cursor-128x128-sliding:

shard-kbl: PASS -> FAIL (i915#54)

shard-glk: PASS -> FAIL (i915#54)

shard-apl: PASS -> FAIL (i915#1635 / i915#54)

igt@kms_cursor_edge_walk@pipe-c-256x256-top-edge:

shard-glk: PASS -> DMESG-WARN (i915#1982) igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-msflip-blt:

shard-tglb: PASS -> FAIL (i915#2416) igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-cpu:

shard-glk: PASS -> FAIL (i915#49) igt@kms_frontbuffer_tracking@psr-rgb101010-draw-mmap-wc:

shard-tglb: PASS -> DMESG-WARN (i915#1982)
igt@kms_psr@psr2_dpms:

shard-iclb: PASS -> SKIP (fdo#109441) +1 similar issue igt@kms_vblank@pipe-b-ts-continuation-dpms-suspend:

shard-kbl: PASS -> INCOMPLETE (i915#155)
igt@perf_pmu@most-busy-idle-check-all@vecs0:

shard-iclb: PASS -> DMESG-WARN (i915#1982) Possible fixes igt@feature_discovery@psr2:

shard-iclb: SKIP (i915#658) -> PASS
igt@gem_exec_whisper@basic-fds-forked-all:

shard-glk: DMESG-WARN (i915#118 / i915#95) -> PASS +1 similar issue igt@gem_mmap_offset@blt-coherency:

shard-apl: FAIL (i915#1635) -> PASS
igt@kms_big_fb@linear-8bpp-rotate-0:

shard-kbl: DMESG-WARN (i915#1982) -> PASS igt@kms_draw_crc@draw-method-xrgb8888-render-untiled:

shard-glk: FAIL (i915#177 / i915#52 / i915#54) -> PASS igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1:

shard-glk: FAIL (i915#79) -> PASS igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-plflip-blt:

shard-tglb: DMESG-WARN (i915#1982) -> PASS igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite:

shard-apl: FAIL (i915#1635 / i915#49) -> PASS

shard-kbl: FAIL (i915#49) -> PASS

igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt:

shard-tglb: FAIL (i915#2416) -> PASS +1 similar issue igt@kms_psr@psr2_sprite_plane_move:

shard-iclb: SKIP (fdo#109441) -> PASS +1 similar issue igt@perf@non-system-wide-paranoid:

shard-apl: SKIP (fdo#109271 / i915#1354 / i915#1635) -> PASS

shard-glk: SKIP (fdo#109271 / i915#1354) -> PASS

shard-iclb: SKIP (i915#1354) -> PASS

shard-kbl: SKIP (fdo#109271 / i915#1354) -> PASS

shard-tglb: SKIP (i915#1354) -> PASS

Warnings
igt@kms_dp_dsc@basic-dsc-enable-edp:

shard-iclb: SKIP (fdo#109349) -> DMESG-WARN (i915#1226) igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw:

shard-tglb: FAIL (i915#2416) -> DMESG-FAIL (i915#1982) igt@kms_frontbuffer_tracking@psr-rgb101010-draw-blt:

shard-tglb: DMESG-FAIL (i915#1982) -> FAIL (i915#2416) {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE).

Participating hosts (8 -> 8)
No changes in participating hosts

Build changes
CI: CI-20190529 -> None
IGT: IGT_5815 -> IGTPW_5069
CI-20190529: 20190529
CI_DRM_9138: 5e4234f97efbaa30f0beb243dcf98fe0a0bb0945 @
git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5069:
https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html
IGT_5815: 0c3b29498a624ad42033a219d031cb9dd475405b @
git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

Reviewed-by on v1 1/1
#6 lore raw
In reply to Janusz Krzysztofik
Quoted 115 lines · Janusz Krzysztofik

The test was designed to keep track of open device file descriptors for safe driver unbind on recovery from a failed subtest. In that context, fences introduced by commit 1fbd127bd4e1 ("core_hotplug:
Teach the healthcheck how to check execution status") can affect device
recovery as much as an open device file if not closed before unbind.

Moreover, forced GPU reset which used to be applied on recovery from a
failed i915 GPU health check is no longer reachable since a GPU hang hopefully detected by the new health check algorithm can now break the
whole recovery procedure prematurely.

Refactor local_i915_healthcheck() so it takes care of closing fences and returns a result to its caller instead of long jumping on failures
believed to be recoverable. While avoiding use of igt_assert() and friends, report actual source and error code of failures via igt_warn_on_f().

Quoted 1 line
Cc Chris Wilson <[email protected]>
---
 tests/core_hotunplug.c | 46 ++++++++++++++++++++++++++++++++------
----
 1 file changed, 35 insertions(+), 11 deletions(-)
tests/core_hotunplug.c +3 -3
index 70669c590..d6db02bad 100644
@@ -233,9 +233,9 @@ static int merge_fences(int old, int new)
 		return new;
 
 	merge = sync_fence_merge(old, new);
-	igt_assert(merge != -1);
-	close(old);
-	close(new);
+	/* Assume fence close errors don't affect device close status
 */
+	igt_ignore_warn(local_close(old, "old fence close failed"));
+	igt_ignore_warn(local_close(new, "new fence close failed"));
 
 	return merge;

}

tests/core_hotunplug.c +23 -3
@@ -249,29 +249,53 @@ static int local_i915_healthcheck(int i915,
 const char *prefix)
 		.buffer_count = 1,
 	};
 	const struct intel_execution_engine2 *engine;
-	int fence = -1;
+	int fence = -1, err = 0, status = 1;
 
 	local_debug("%s%s\n", prefix, "running i915 GPU healthcheck");
-	if (local_i915_is_wedged(i915))
+	if (igt_warn_on_f(local_i915_is_wedged(i915), "GPU found
 wedged\n"))
 		return -EIO;
 
+	/* Assume gem_create()/gem_write() failures are unrecoverable
 */
 	obj.handle = gem_create(i915, 4096);
 	gem_write(i915, obj.handle, 0, &bbe, sizeof(bbe));
 
+	/* As soon as a fence is open, don't fail before closing it */
 	__for_each_physical_engine(i915, engine) {
 		execbuf.flags = engine->flags | I915_EXEC_FENCE_OUT;
-		gem_execbuf_wr(i915, &execbuf);
+		err = __gem_execbuf_wr(i915, &execbuf);
+		if (igt_warn_on_f(err < 0, "__gem_execbuf_wr() returned
 %d\n",
+				  err))
+			break;
 
 		fence = merge_fences(fence, execbuf.rsvd2 >> 32);
+		if (igt_warn_on_f(fence < 0, "merge_fences() returned
 %d\n",
+				  fence)) {
+			err = fence;
+			break;
+		}
+	}
+	if (fence >= 0) {
+		status = sync_fence_wait(fence, -1);
+		if (igt_warn_on_f(status < 0, "sync_fence_wait()
 returned %d\n",
+				  status))
+			err = status;
+		if (!err)
+			status = sync_fence_status(fence);
+
+		/* Assume fence close errors don't affect device close

status */

tests/core_hotunplug.c +1 -0
+		igt_ignore_warn(local_close(fence, "fence close

failed"));

tests/core_hotunplug.c +5 -4
 	}
-	igt_assert(fence != -1);
+
+	/* Assume gem_close() failure is unrecoverable */
 	gem_close(i915, obj.handle);
 
-	igt_assert_eq(sync_fence_wait(fence, -1), 0);
-	igt_assert_eq(sync_fence_status(fence), 1);
-	close(fence);
+	if (err < 0)
+		return err;
+	if (igt_warn_on_f(status != 1, "sync_fence_status() returned

%d\n",

tests/core_hotunplug.c +3 -1
+			  status))
+		return -1;
 
-	if (local_i915_is_wedged(i915))
+	if (igt_warn_on_f(local_i915_is_wedged(i915), "GPU turned
Quoted 2 lines

wedged\n"))
return -EIO;

LGTM,

Quoted 2 lines

return 0;

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#7 lore raw
Quoted 113 lines · Marcin Bernatowicz
Quoted 112 lines · Janusz Krzysztofik

The test was designed to keep track of open device file descriptors for safe driver unbind on recovery from a failed subtest. In that context, fences introduced by commit 1fbd127bd4e1 ("core_hotplug:
Teach the healthcheck how to check execution status") can affect device
recovery as much as an open device file if not closed before unbind.

Moreover, forced GPU reset which used to be applied on recovery from a
failed i915 GPU health check is no longer reachable since a GPU hang hopefully detected by the new health check algorithm can now break the
whole recovery procedure prematurely.

Refactor local_i915_healthcheck() so it takes care of closing fences and returns a result to its caller instead of long jumping on failures
believed to be recoverable. While avoiding use of igt_assert() and friends, report actual source and error code of failures via igt_warn_on_f().

---
 tests/core_hotunplug.c | 46 ++++++++++++++++++++++++++++++++------
----
 1 file changed, 35 insertions(+), 11 deletions(-)
tests/core_hotunplug.c +3 -3
index 70669c590..d6db02bad 100644
@@ -233,9 +233,9 @@ static int merge_fences(int old, int new)
 		return new;
 
 	merge = sync_fence_merge(old, new);
-	igt_assert(merge != -1);
-	close(old);
-	close(new);
+	/* Assume fence close errors don't affect device close status
 */
+	igt_ignore_warn(local_close(old, "old fence close failed"));
+	igt_ignore_warn(local_close(new, "new fence close failed"));
 
 	return merge;

}

tests/core_hotunplug.c +23 -3
@@ -249,29 +249,53 @@ static int local_i915_healthcheck(int i915,
 const char *prefix)
 		.buffer_count = 1,
 	};
 	const struct intel_execution_engine2 *engine;
-	int fence = -1;
+	int fence = -1, err = 0, status = 1;
 
 	local_debug("%s%s\n", prefix, "running i915 GPU healthcheck");
-	if (local_i915_is_wedged(i915))
+	if (igt_warn_on_f(local_i915_is_wedged(i915), "GPU found
 wedged\n"))
 		return -EIO;
 
+	/* Assume gem_create()/gem_write() failures are unrecoverable
 */
 	obj.handle = gem_create(i915, 4096);
 	gem_write(i915, obj.handle, 0, &bbe, sizeof(bbe));
 
+	/* As soon as a fence is open, don't fail before closing it */
 	__for_each_physical_engine(i915, engine) {
 		execbuf.flags = engine->flags | I915_EXEC_FENCE_OUT;
-		gem_execbuf_wr(i915, &execbuf);
+		err = __gem_execbuf_wr(i915, &execbuf);
+		if (igt_warn_on_f(err < 0, "__gem_execbuf_wr() returned
 %d\n",
+				  err))
+			break;
 
 		fence = merge_fences(fence, execbuf.rsvd2 >> 32);
+		if (igt_warn_on_f(fence < 0, "merge_fences() returned
 %d\n",
+				  fence)) {
+			err = fence;
+			break;
+		}
+	}
+	if (fence >= 0) {
+		status = sync_fence_wait(fence, -1);
+		if (igt_warn_on_f(status < 0, "sync_fence_wait()
 returned %d\n",
+				  status))
+			err = status;
+		if (!err)
+			status = sync_fence_status(fence);
+
+		/* Assume fence close errors don't affect device close

status */

tests/core_hotunplug.c +1 -0
+		igt_ignore_warn(local_close(fence, "fence close

failed"));

tests/core_hotunplug.c +5 -4
 	}
-	igt_assert(fence != -1);
+
+	/* Assume gem_close() failure is unrecoverable */
 	gem_close(i915, obj.handle);
 
-	igt_assert_eq(sync_fence_wait(fence, -1), 0);
-	igt_assert_eq(sync_fence_status(fence), 1);
-	close(fence);
+	if (err < 0)
+		return err;
+	if (igt_warn_on_f(status != 1, "sync_fence_status() returned

%d\n",

tests/core_hotunplug.c +2 -0
+			  status))
+		return -1;
Quoted 6 lines
Quoted 4 lines
tests/core_hotunplug.c +1 -1
-	if (local_i915_is_wedged(i915))
+	if (igt_warn_on_f(local_i915_is_wedged(i915), "GPU turned

wedged\n"))
return -EIO;

LGTM,

Thanks Marcin, pushed.

Unfortunately I forgot to include the R-b and pushed without it so it will exist only in the list archives, sorry.

Thanks,
Janusz

Quoted 3 lines
Quoted 3 lines

return 0;

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#8 lore raw

[igt-dev] ✗ Fi.CI.IGT: failure for tests/core_hotunplug: Take care of closing fences before failing

In reply to Janusz Krzysztofik
== Series Details ==

== Series Details ==

Series: tests/core_hotunplug: Take care of closing fences before failing
URL : https://patchwork.freedesktop.org/series/82684/
State : failure

== Summary ==

CI Bug Log - changes from IGT_5815_full -> IGTPW_5069_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_5069_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_5069_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_5069_full:

### IGT changes ###

#### Possible regressions ####

* igt@kms_plane@plane-position-hole-pipe-b-planes:
- shard-iclb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb8/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb7/igt@[email protected]

Known issues
------------

Here are the changes found in IGTPW_5069_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_reloc@basic-many-active@bcs0:
- shard-glk: [PASS][3] -> [FAIL][4] ([i915#2389])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk3/igt@gem_exec_reloc@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk2/igt@gem_exec_reloc@[email protected]

* igt@gem_exec_whisper@basic-contexts-priority-all:
- shard-glk: [PASS][5] -> [DMESG-WARN][6] ([i915#118] / [i915#95])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk9/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk5/igt@[email protected]

* igt@kms_big_fb@linear-16bpp-rotate-0:
- shard-snb: [PASS][7] -> [SKIP][8] ([fdo#109271]) +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-snb2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-snb4/igt@[email protected]

* igt@kms_big_fb@yf-tiled-32bpp-rotate-0:
- shard-apl: [PASS][9] -> [DMESG-WARN][10] ([i915#1635] / [i915#1982])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl8/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl2/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-128x128-sliding:
- shard-kbl: [PASS][11] -> [FAIL][12] ([i915#54])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl6/igt@[email protected]
- shard-glk: [PASS][13] -> [FAIL][14] ([i915#54])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk3/igt@[email protected]
- shard-apl: [PASS][15] -> [FAIL][16] ([i915#1635] / [i915#54])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl6/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl2/igt@[email protected]

* igt@kms_cursor_edge_walk@pipe-c-256x256-top-edge:
- shard-glk: [PASS][17] -> [DMESG-WARN][18] ([i915#1982])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk3/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk9/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-msflip-blt:
- shard-tglb: [PASS][19] -> [FAIL][20] ([i915#2416])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb2/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb7/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-cpu:
- shard-glk: [PASS][21] -> [FAIL][22] ([i915#49])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk6/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-cpu.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk7/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-cpu.html

* igt@kms_frontbuffer_tracking@psr-rgb101010-draw-mmap-wc:
- shard-tglb: [PASS][23] -> [DMESG-WARN][24] ([i915#1982])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb3/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb7/igt@[email protected]

* igt@kms_psr@psr2_dpms:
- shard-iclb: [PASS][25] -> [SKIP][26] ([fdo#109441]) +1 similar issue
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb2/igt@kms_psr@psr2_dpms.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb6/igt@kms_psr@psr2_dpms.html

* igt@kms_vblank@pipe-b-ts-continuation-dpms-suspend:
- shard-kbl: [PASS][27] -> [INCOMPLETE][28] ([i915#155])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl6/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl6/igt@[email protected]

* igt@perf_pmu@most-busy-idle-check-all@vecs0:
- shard-iclb: [PASS][29] -> [DMESG-WARN][30] ([i915#1982])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb5/igt@perf_pmu@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@perf_pmu@[email protected]

#### Possible fixes ####

* igt@feature_discovery@psr2:
- shard-iclb: [SKIP][31] ([i915#658]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb8/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@[email protected]

* igt@gem_exec_whisper@basic-fds-forked-all:
- shard-glk: [DMESG-WARN][33] ([i915#118] / [i915#95]) -> [PASS][34] +1 similar issue
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk6/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk3/igt@[email protected]

* igt@gem_mmap_offset@blt-coherency:
- shard-apl: [FAIL][35] ([i915#1635]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl2/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl8/igt@[email protected]

* igt@kms_big_fb@linear-8bpp-rotate-0:
- shard-kbl: [DMESG-WARN][37] ([i915#1982]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl7/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl1/igt@[email protected]

* igt@kms_draw_crc@draw-method-xrgb8888-render-untiled:
- shard-glk: [FAIL][39] ([i915#177] / [i915#52] / [i915#54]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk8/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk4/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1:
- shard-glk: [FAIL][41] ([i915#79]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk6/igt@kms_flip@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk7/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-plflip-blt:
- shard-tglb: [DMESG-WARN][43] ([i915#1982]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb5/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb5/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite:
- shard-apl: [FAIL][45] ([i915#1635] / [i915#49]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
- shard-kbl: [FAIL][47] ([i915#49]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt:
- shard-tglb: [FAIL][49] ([i915#2416]) -> [PASS][50] +1 similar issue
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt.html

* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [SKIP][51] ([fdo#109441]) -> [PASS][52] +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb1/igt@kms_psr@psr2_sprite_plane_move.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html

* igt@perf@non-system-wide-paranoid:
- shard-apl: [SKIP][53] ([fdo#109271] / [i915#1354] / [i915#1635]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl3/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl2/igt@[email protected]
- shard-glk: [SKIP][55] ([fdo#109271] / [i915#1354]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk9/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk3/igt@[email protected]
- shard-iclb: [SKIP][57] ([i915#1354]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb2/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@[email protected]
- shard-kbl: [SKIP][59] ([fdo#109271] / [i915#1354]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl4/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl6/igt@[email protected]
- shard-tglb: [SKIP][61] ([i915#1354]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb1/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb5/igt@[email protected]

#### Warnings ####

* igt@kms_dp_dsc@basic-dsc-enable-edp:
- shard-iclb: [SKIP][63] ([fdo#109349]) -> [DMESG-WARN][64] ([i915#1226])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb3/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw:
- shard-tglb: [FAIL][65] ([i915#2416]) -> [DMESG-FAIL][66] ([i915#1982])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb8/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb6/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-rgb101010-draw-blt:
- shard-tglb: [DMESG-FAIL][67] ([i915#1982]) -> [FAIL][68] ([i915#2416])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb2/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb3/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1226]: https://gitlab.freedesktop.org/drm/intel/issues/1226
[i915#1354]: https://gitlab.freedesktop.org/drm/intel/issues/1354
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#177]: https://gitlab.freedesktop.org/drm/intel/issues/177
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2389]: https://gitlab.freedesktop.org/drm/intel/issues/2389
[i915#2416]: https://gitlab.freedesktop.org/drm/intel/issues/2416
[i915#2521]: https://gitlab.freedesktop.org/drm/intel/issues/2521
[i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49
[i915#52]: https://gitlab.freedesktop.org/drm/intel/issues/52
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95

Participating hosts (8 -> 8)
------------------------------

No changes in participating hosts

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_5815 -> IGTPW_5069

CI-20190529: 20190529
CI_DRM_9138: 5e4234f97efbaa30f0beb243dcf98fe0a0bb0945 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5069: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html
IGT_5815: 0c3b29498a624ad42033a219d031cb9dd475405b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#9 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for tests/core_hotunplug: Take care of closing fences before failing

In reply to Janusz Krzysztofik
== Series Details ==

== Series Details ==

Series: tests/core_hotunplug: Take care of closing fences before failing
URL : https://patchwork.freedesktop.org/series/82684/
State : success

== Summary ==

CI Bug Log - changes from IGT_5815_full -> IGTPW_5069_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html

Known issues
------------

Here are the changes found in IGTPW_5069_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_reloc@basic-many-active@bcs0:
- shard-glk: [PASS][1] -> [FAIL][2] ([i915#2389])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk3/igt@gem_exec_reloc@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk2/igt@gem_exec_reloc@[email protected]

* igt@gem_exec_whisper@basic-contexts-priority-all:
- shard-glk: [PASS][3] -> [DMESG-WARN][4] ([i915#118] / [i915#95])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk9/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk5/igt@[email protected]

* igt@kms_big_fb@linear-16bpp-rotate-0:
- shard-snb: [PASS][5] -> [SKIP][6] ([fdo#109271]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-snb2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-snb4/igt@[email protected]

* igt@kms_big_fb@yf-tiled-32bpp-rotate-0:
- shard-apl: [PASS][7] -> [DMESG-WARN][8] ([i915#1635] / [i915#1982])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl8/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl2/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-128x128-sliding:
- shard-kbl: [PASS][9] -> [FAIL][10] ([i915#54])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl1/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl6/igt@[email protected]
- shard-glk: [PASS][11] -> [FAIL][12] ([i915#54])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk2/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk3/igt@[email protected]
- shard-apl: [PASS][13] -> [FAIL][14] ([i915#1635] / [i915#54])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl6/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl2/igt@[email protected]

* igt@kms_cursor_edge_walk@pipe-c-256x256-top-edge:
- shard-glk: [PASS][15] -> [DMESG-WARN][16] ([i915#1982])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk3/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk9/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-msflip-blt:
- shard-tglb: [PASS][17] -> [FAIL][18] ([i915#2416])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb2/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb7/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-cpu:
- shard-glk: [PASS][19] -> [FAIL][20] ([i915#49])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk6/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-cpu.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk7/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-cpu.html

* igt@kms_frontbuffer_tracking@psr-rgb101010-draw-mmap-wc:
- shard-tglb: [PASS][21] -> [DMESG-WARN][22] ([i915#1982])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb3/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb7/igt@[email protected]

* igt@kms_plane@plane-position-hole-pipe-b-planes:
- shard-iclb: [PASS][23] -> [FAIL][24] ([i915#2472])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb8/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb7/igt@[email protected]

* igt@kms_psr@psr2_dpms:
- shard-iclb: [PASS][25] -> [SKIP][26] ([fdo#109441]) +1 similar issue
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb2/igt@kms_psr@psr2_dpms.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb6/igt@kms_psr@psr2_dpms.html

* igt@kms_vblank@pipe-b-ts-continuation-dpms-suspend:
- shard-kbl: [PASS][27] -> [INCOMPLETE][28] ([i915#155])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl6/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl6/igt@[email protected]

* igt@perf_pmu@most-busy-idle-check-all@vecs0:
- shard-iclb: [PASS][29] -> [DMESG-WARN][30] ([i915#1982])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb5/igt@perf_pmu@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@perf_pmu@[email protected]

#### Possible fixes ####

* igt@feature_discovery@psr2:
- shard-iclb: [SKIP][31] ([i915#658]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb8/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@[email protected]

* igt@gem_exec_whisper@basic-fds-forked-all:
- shard-glk: [DMESG-WARN][33] ([i915#118] / [i915#95]) -> [PASS][34] +1 similar issue
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk6/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk3/igt@[email protected]

* igt@gem_mmap_offset@blt-coherency:
- shard-apl: [FAIL][35] ([i915#1635]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl2/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl8/igt@[email protected]

* igt@kms_big_fb@linear-8bpp-rotate-0:
- shard-kbl: [DMESG-WARN][37] ([i915#1982]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl7/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl1/igt@[email protected]

* igt@kms_draw_crc@draw-method-xrgb8888-render-untiled:
- shard-glk: [FAIL][39] ([i915#177] / [i915#52] / [i915#54]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk8/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk4/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1:
- shard-glk: [FAIL][41] ([i915#79]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk6/igt@kms_flip@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk7/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-plflip-blt:
- shard-tglb: [DMESG-WARN][43] ([i915#1982]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb5/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb5/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite:
- shard-apl: [FAIL][45] ([i915#1635] / [i915#49]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
- shard-kbl: [FAIL][47] ([i915#49]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt:
- shard-tglb: [FAIL][49] ([i915#2416]) -> [PASS][50] +1 similar issue
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt.html

* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [SKIP][51] ([fdo#109441]) -> [PASS][52] +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb1/igt@kms_psr@psr2_sprite_plane_move.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html

* igt@perf@non-system-wide-paranoid:
- shard-apl: [SKIP][53] ([fdo#109271] / [i915#1354] / [i915#1635]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-apl3/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-apl2/igt@[email protected]
- shard-glk: [SKIP][55] ([fdo#109271] / [i915#1354]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-glk9/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-glk3/igt@[email protected]
- shard-iclb: [SKIP][57] ([i915#1354]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb2/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@[email protected]
- shard-kbl: [SKIP][59] ([fdo#109271] / [i915#1354]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-kbl4/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-kbl6/igt@[email protected]
- shard-tglb: [SKIP][61] ([i915#1354]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb1/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb5/igt@[email protected]

#### Warnings ####

* igt@kms_dp_dsc@basic-dsc-enable-edp:
- shard-iclb: [SKIP][63] ([fdo#109349]) -> [DMESG-WARN][64] ([i915#1226])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-iclb3/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-iclb2/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw:
- shard-tglb: [FAIL][65] ([i915#2416]) -> [DMESG-FAIL][66] ([i915#1982])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb8/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb6/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-rgb101010-draw-blt:
- shard-tglb: [DMESG-FAIL][67] ([i915#1982]) -> [FAIL][68] ([i915#2416])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5815/shard-tglb2/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/shard-tglb3/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1226]: https://gitlab.freedesktop.org/drm/intel/issues/1226
[i915#1354]: https://gitlab.freedesktop.org/drm/intel/issues/1354
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#177]: https://gitlab.freedesktop.org/drm/intel/issues/177
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2389]: https://gitlab.freedesktop.org/drm/intel/issues/2389
[i915#2416]: https://gitlab.freedesktop.org/drm/intel/issues/2416
[i915#2472]: https://gitlab.freedesktop.org/drm/intel/issues/2472
[i915#2521]: https://gitlab.freedesktop.org/drm/intel/issues/2521
[i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49
[i915#52]: https://gitlab.freedesktop.org/drm/intel/issues/52
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95

Participating hosts (8 -> 8)
------------------------------

No changes in participating hosts

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_5815 -> IGTPW_5069

CI-20190529: 20190529
CI_DRM_9138: 5e4234f97efbaa30f0beb243dcf98fe0a0bb0945 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5069: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html
IGT_5815: 0c3b29498a624ad42033a219d031cb9dd475405b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5069/index.html

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev