Skip to contentSkip to conversation

ts/core_setmaster: new test for drop/set master semantics

PATCH Superseded Emil Velikov 2 participants 4 messages Feb 19, 2020 – Feb 21, 2020 Arm/Amlogic Meson SoC support

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ts/core_setmaster: new test for drop/set master semantics

From: Emil Velikov <[email protected]>

This test adds three distinct subtests:
- drop/set master as root
- drop/set master as non-root
- drop/set master for a shared fd

Currently the second subtest will fail, with kernel patch to address that has been submitted.

---
 tests/core_setmaster.c | 182 +++++++++++++++++++++++++++++++++++++++++
 tests/meson.build      |   1 +
 2 files changed, 183 insertions(+)
 create mode 100644 tests/core_setmaster.c
tests/core_setmaster.c new file +182 -0
new file mode 100644
index 00000000..2447c077
@@ -0,0 +1,182 @@
+/*
+ * Copyright © 2020 Collabora, Ltd.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ *
+ * Authors:
+ *    Emil Velikov <[email protected]>
+ *
+ */
+
+/*
+ * Testcase: Check that drop/setMaster behaves correctly wrt root/user access
+ *
+ * Test checks if the ioctls succeed or fail, depending if the applications was
+ * run with root, user privileges or if we have separate privileged arbitrator.
+ */
+
+#include "igt.h"
+#include <unistd.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <sys/stat.h>
+
+IGT_TEST_DESCRIPTION("Check that drop/setMaster behaves correctly wrt root/user"
+		     " access");
+
+static bool is_master(int fd)
+{
+	/* FIXME: replace with drmIsMaster once we bumped libdrm version */
+	return drmAuthMagic(fd, 0) != -EACCES;
+}
+
+static void check_drop_set(void)
+{
+	int master;
+
+	master = __drm_open_driver(DRIVER_ANY);
+
+	/* Double-check if open has failed */
+	igt_assert_neq(master, -1);
+
+	/* At this point we're master capable due to:
+	 * - being root - always
+	 * - normal user - as the only drm only drm client (on this VT)
+	 */
+	igt_assert_eq(is_master(master), true);
+
+	/* If we have SYS_CAP_ADMIN we're in the textbook best-case scenario.
+	 *
+	 * Otherwise newer kernels allow the application to drop/revoke its
+	 * master capability and request it again later.
+	 *
+	 * In this case, we address two types of issues:
+	 * - the application no longer need suid-root (or equivalent) which
+	 * was otherwise required _solely_ for these two ioctls
+	 * - plenty of applications ignore (or discard) the result of the
+	 * calls all together.
+	 */
+	igt_assert_eq(drmDropMaster(master), 0);
+	igt_assert_eq(drmSetMaster(master), 0);
+
+	close(master);
+}
+
+static unsigned tweak_perm(uint8_t *saved_perm, unsigned max_perm, bool save)
+{
+	char path[256];
+	struct stat st;
+	unsigned i;
+
+	for (i = 0; i < max_perm; i++) {
+		snprintf(path, sizeof(path), "/dev/dri/card%u", i);
+
+		/* Existing userspace assumes there's no gaps, do the same. */
+		if (stat(path, &st) != 0)
+			break;
+
+		if (save) {
+			/* Save and toggle */
+			saved_perm[i] = st.st_mode & (S_IROTH | S_IWOTH);
+			st.st_mode |= S_IROTH | S_IWOTH;
+		} else {
+			/* Clear and restore */
+			st.st_mode &= ~(S_IROTH | S_IWOTH);
+			st.st_mode |= saved_perm[i];
+		}
+
+		/* In the extremely unlikely case of this failing, there't not
+		 * much we can do.
+		 */
+		chmod(path, st.st_mode);
+	}
+	return i;
+}
+
+
+igt_main
+{
+	igt_subtest("master-drop-set-root") {
+		check_drop_set();
+	}
+
+
+	igt_subtest("master-drop-set-user") {
+		uint8_t saved_perm[255];
+		unsigned num;
+
+		/* Upon dropping root we end up as random user, which
+		 * a) is not in the video group, and
+		 * b) lacks logind ACL, thus
+		 * any open() fill fail.
+		 *
+		 * As such, save the state of original other rw permissions
+		 * and toggle them on.
+		 */
+		num = tweak_perm(saved_perm, ARRAY_SIZE(saved_perm), true);
+
+		igt_fork(child, 1) {
+			igt_drop_root();
+			check_drop_set();
+		}
+		igt_waitchildren();
+
+		/* Restore the orignal permissions */
+		tweak_perm(saved_perm, num, false);
+	}
+
+	igt_subtest("master-drop-set-shared-fd") {
+		int master;
+
+		master = __drm_open_driver(DRIVER_ANY);
+
+		/* Double-check if open has failed */
+		igt_assert_neq(master, -1);
+
+		igt_assert_eq(is_master(master), true);
+		igt_fork(child, 1) {
+			igt_drop_root();
+
+			/* Dropping root privileges should not alter the
+			 * master capability of the fd */
+			igt_assert_eq(is_master(master), true);
+
+			/* Even though we've got the master capable fd, we're
+			 * a different process (kernel struct pid *) than the
+			 * one which opened the device node.
+			 *
+			 * This ensures that existing workcases of separate
+			 * (privileged) arbitrator still work. For example:
+			 * - logind + X/Wayland compositor
+			 * - weston-launch + weston
+			 */
+			igt_assert_eq(drmDropMaster(master), -1);
+			igt_assert_eq(errno, EACCES);
+			igt_assert_eq(drmSetMaster(master), -1);
+			igt_assert_eq(errno, EACCES);
+
+			close(master);
+		}
+		igt_waitchildren();
+
+		close(master);
+	}
+}
tests/meson.build +1 -0
index fa0103e3..d8fb9f3e 100644
@@ -3,6 +3,7 @@ test_progs = [
 	'core_getclient',
 	'core_getstats',
 	'core_getversion',
+	'core_setmaster',
 	'core_setmaster_vs_auth',
 	'debugfs_test',
 	'dmabuf',
Signature · 6 lines
2.25.0

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

[igt-dev] ✗ GitLab.Pipeline: warning for ts/core_setmaster: new test for drop/set master semantics

== Series Details ==

== Series Details ==

Series: ts/core_setmaster: new test for drop/set master semantics
URL : https://patchwork.freedesktop.org/series/73650/
State : warning

== Summary ==

Did not get list of undocumented tests for this run, something is wrong!

Other than that, pipeline status: FAILED.

see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/110333 for the overview.

test:ninja-test-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/1672066):
#3 [__assert_fail_base.cold+0xf]
#4 [__assert_fail+0x46]
#5 [subtest_leak+0xff]
#6 [main+0x16e]
#7 [__libc_start_main+0xf3]
#8 [_start+0x2e]
igt_fork: ../lib/tests/igt_tests_common.h:41: void internal_assert_wexited(int, int): Assertion `WIFEXITED(wstatus) && WEXITSTATUS(wstatus) == exitcode' failed.
-------

Full log written to /builds/gfx-ci/igt-ci-tags/build/meson-logs/testlog.txt
FAILED: meson-test
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed. section_end:1582121608:build_script section_start:1582121608:after_script section_end:1582121610:after_script section_start:1582121610:upload_artifacts_on_failure section_end:1582121611:upload_artifacts_on_failure ERROR: Job failed: exit code 1


test:test-list-diff has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/1672071):
section_start:1582121597:restore_cache
section_end:1582121598:restore_cache
section_start:1582121598:download_artifacts
Downloading artifacts for build:tests-debian-autotools (1672064)...
Downloading artifacts from coordinator... ok  id=1672064 responseStatus=200 OK token=5wKH_VsJ
Downloading artifacts for build:tests-debian-meson (1672059)...
Downloading artifacts from coordinator... ok  id=1672059 responseStatus=200 OK token=CxeHLprz
section_end:1582121600:download_artifacts
section_start:1582121600:build_script
Authenticating with credentials from job payload (GitLab Registry)
$ diff <(sed "s/ /\n/g" meson-test-list.txt| grep -v 'vc4\|v3d\|panfrost' | sort) <(sed "s/ /\n/g" autotools-test-list.txt | sort) 14d13
< core_setmaster
section_end:1582121602:build_script
section_start:1582121602:after_script
section_end:1582121603:after_script
section_start:1582121603:upload_artifacts_on_failure
section_end:1582121604:upload_artifacts_on_failure
ERROR: Job failed: exit code 1


test:ninja-test-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/1672080):
#3 [__assert_fail_base.cold+0xf]
#4 [__assert_fail+0x46]
#5 [subtest_leak+0xff]
#6 [main+0x16e]
#7 [__libc_start_main+0xf3]
#8 [_start+0x2e]
igt_fork: ../lib/tests/igt_tests_common.h:41: void internal_assert_wexited(int, int): Assertion `WIFEXITED(wstatus) && WEXITSTATUS(wstatus) == exitcode' failed.
-------

Full log written to /builds/gfx-ci/igt-ci-tags/build/meson-logs/testlog.txt
FAILED: meson-test
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed. section_end:1582121626:build_script section_start:1582121626:after_script section_end:1582121627:after_script section_start:1582121627:upload_artifacts_on_failure section_end:1582121629:upload_artifacts_on_failure ERROR: Job failed: exit code 1


== Logs ==

For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/110333
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#2 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for ts/core_setmaster: new test for drop/set master semantics

In reply to Emil Velikov
== Series Details ==

== Series Details ==

Series: ts/core_setmaster: new test for drop/set master semantics
URL : https://patchwork.freedesktop.org/series/73650/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7964 -> IGTPW_4185
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_close_race@basic-threads:
- fi-byt-n2820: [PASS][1] -> [INCOMPLETE][2] ([i915#45])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/fi-byt-n2820/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/fi-byt-n2820/igt@[email protected]

* igt@i915_selftest@live_gem_contexts:
- fi-cfl-guc: [PASS][3] -> [DMESG-FAIL][4] ([i915#623])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/fi-cfl-guc/igt@i915_selftest@live_gem_contexts.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/fi-cfl-guc/igt@i915_selftest@live_gem_contexts.html

#### Possible fixes ####

* igt@gem_close_race@basic-threads:
- fi-hsw-4770r: [TIMEOUT][5] ([fdo#112271] / [i915#1084]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/fi-hsw-4770r/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/fi-hsw-4770r/igt@[email protected]

* igt@i915_selftest@live_gtt:
- fi-kbl-7500u: [TIMEOUT][7] ([fdo#112271]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/fi-kbl-7500u/igt@i915_selftest@live_gtt.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/fi-kbl-7500u/igt@i915_selftest@live_gtt.html

#### Warnings ####

* igt@amdgpu/amd_prime@amd-to-i915:
- fi-icl-u3: [SKIP][9] ([fdo#109315] / [i915#585]) -> [SKIP][10] ([fdo#109315])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/fi-icl-u3/igt@amdgpu/[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/fi-icl-u3/igt@amdgpu/[email protected]

[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271
[i915#1084]: https://gitlab.freedesktop.org/drm/intel/issues/1084
[i915#45]: https://gitlab.freedesktop.org/drm/intel/issues/45
[i915#585]: https://gitlab.freedesktop.org/drm/intel/issues/585
[i915#623]: https://gitlab.freedesktop.org/drm/intel/issues/623

Participating hosts (49 -> 45)
------------------------------

Additional (2): fi-hsw-4770 fi-snb-2520m
Missing (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-bdw-samus

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

* CI: CI-20190529 -> None
* IGT: IGT_5450 -> IGTPW_4185

CI-20190529: 20190529
CI_DRM_7964: af0d76d734234d537d1ed6bebfc2f55c88ea2a49 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4185: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/index.html
IGT_5450: dfba090e720ed4e043158887f1ba6a76059491e8 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Testlist changes ==

+igt@core_setmaster@master-drop-set-root
+igt@core_setmaster@master-drop-set-shared-fd
+igt@core_setmaster@master-drop-set-user

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#3 lore raw

[igt-dev] ✗ Fi.CI.IGT: failure for ts/core_setmaster: new test for drop/set master semantics

In reply to Emil Velikov
== Series Details ==

== Series Details ==

Series: ts/core_setmaster: new test for drop/set master semantics
URL : https://patchwork.freedesktop.org/series/73650/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_7964_full -> IGTPW_4185_full
====================================================

Summary
-------

**FAILURE**

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

If you think the reported changes have nothing to do with the changes introduced in IGTPW_4185_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_4185/index.html

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

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

### IGT changes ###

#### Possible regressions ####

* {igt@core_setmaster@master-drop-set-user} (NEW):
- shard-iclb: NOTRUN -> [FAIL][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb1/igt@[email protected]
- shard-kbl: NOTRUN -> [FAIL][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-kbl6/igt@[email protected]
- shard-snb: NOTRUN -> [FAIL][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-snb1/igt@[email protected]
- shard-tglb: NOTRUN -> [FAIL][4]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-tglb2/igt@[email protected]
- shard-apl: NOTRUN -> [FAIL][5]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-apl2/igt@[email protected]
- shard-glk: NOTRUN -> [FAIL][6]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-glk7/igt@[email protected]
- shard-hsw: NOTRUN -> [FAIL][7]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-hsw2/igt@[email protected]

* igt@gem_exec_balancer@hang:
- shard-iclb: [PASS][8] -> [FAIL][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb4/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb4/igt@[email protected]

#### Warnings ####

* igt@gem_exec_async@concurrent-writes-bsd:
- shard-tglb: [SKIP][10] ([fdo#112146]) -> [INCOMPLETE][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-tglb3/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-tglb6/igt@[email protected]

New tests
---------

New tests have been introduced between CI_DRM_7964_full and IGTPW_4185_full:

### New IGT tests (3) ###

* igt@core_setmaster@master-drop-set-root:
- Statuses : 7 pass(s)
- Exec time: [0.01, 0.02] s

* igt@core_setmaster@master-drop-set-shared-fd:
- Statuses : 7 pass(s)
- Exec time: [0.01, 0.03] s

* igt@core_setmaster@master-drop-set-user:
- Statuses : 7 fail(s)
- Exec time: [0.01, 0.07] s

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_balancer@smoke:
- shard-iclb: [PASS][12] -> [SKIP][13] ([fdo#110854])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb1/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb7/igt@[email protected]

* igt@gem_exec_schedule@in-order-bsd:
- shard-iclb: [PASS][14] -> [SKIP][15] ([fdo#112146]) +5 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb6/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb1/igt@[email protected]

* igt@gem_exec_schedule@promotion-bsd1:
- shard-iclb: [PASS][16] -> [SKIP][17] ([fdo#109276]) +15 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb4/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb3/igt@[email protected]

* igt@gem_partial_pwrite_pread@write:
- shard-hsw: [PASS][18] -> [FAIL][19] ([i915#694])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-hsw2/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-hsw7/igt@[email protected]

* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-kbl: [PASS][20] -> [FAIL][21] ([i915#644])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-kbl7/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-kbl2/igt@[email protected]

* igt@i915_pm_dc@dc5-dpms:
- shard-iclb: [PASS][22] -> [FAIL][23] ([i915#447])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb4/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb3/igt@[email protected]

* igt@i915_pm_rps@reset:
- shard-iclb: [PASS][24] -> [FAIL][25] ([i915#413]) +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb1/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb1/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-wc:
- shard-snb: [PASS][26] -> [DMESG-WARN][27] ([i915#478])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-snb4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-wc.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-snb4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-kbl: [PASS][28] -> [DMESG-WARN][29] ([i915#180]) +3 similar issues
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-kbl7/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-kbl7/igt@[email protected]
- shard-apl: [PASS][30] -> [DMESG-WARN][31] ([i915#180]) +2 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-apl7/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-apl4/igt@[email protected]

* igt@kms_psr@no_drrs:
- shard-tglb: [PASS][32] -> [SKIP][33] ([i915#668]) +2 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-tglb8/igt@kms_psr@no_drrs.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-tglb2/igt@kms_psr@no_drrs.html

* igt@kms_psr@psr2_cursor_plane_onoff:
- shard-iclb: [PASS][34] -> [SKIP][35] ([fdo#109441]) +2 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb2/igt@kms_psr@psr2_cursor_plane_onoff.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb5/igt@kms_psr@psr2_cursor_plane_onoff.html

* igt@perf_pmu@busy-check-all-vcs1:
- shard-iclb: [PASS][36] -> [SKIP][37] ([fdo#112080]) +11 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb4/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb7/igt@[email protected]

#### Possible fixes ####

* igt@gem_busy@close-race:
- shard-hsw: [TIMEOUT][38] ([fdo#112271] / [i915#1084]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-hsw1/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-hsw7/igt@[email protected]

* {igt@gem_ctx_persistence@close-replace-race}:
- shard-tglb: [FAIL][40] ([i915#1241]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-tglb8/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-tglb2/igt@[email protected]

* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-iclb: [SKIP][42] ([fdo#110841]) -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb2/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb6/igt@[email protected]

* igt@gem_exec_parallel@vcs1-fds:
- shard-iclb: [SKIP][44] ([fdo#112080]) -> [PASS][45] +12 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb7/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb2/igt@[email protected]

* {igt@gem_exec_schedule@implicit-both-bsd1}:
- shard-iclb: [SKIP][46] ([fdo#109276] / [i915#677]) -> [PASS][47] +1 similar issue
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb8/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb4/igt@[email protected]

* igt@gem_exec_schedule@pi-common-bsd:
- shard-iclb: [SKIP][48] ([i915#677]) -> [PASS][49] +2 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb2/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb8/igt@[email protected]

* igt@gem_exec_schedule@preempt-contexts-bsd2:
- shard-iclb: [SKIP][50] ([fdo#109276]) -> [PASS][51] +17 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb6/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb1/igt@[email protected]

* igt@gem_exec_schedule@preemptive-hang-bsd:
- shard-iclb: [SKIP][52] ([fdo#112146]) -> [PASS][53] +3 similar issues
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb1/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb8/igt@[email protected]

* igt@gem_userptr_blits@sync-unmap-after-close:
- shard-snb: [DMESG-WARN][54] ([fdo#111870] / [i915#478]) -> [PASS][55]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-snb1/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-snb4/igt@[email protected]

* igt@i915_selftest@live_gt_lrc:
- shard-tglb: [INCOMPLETE][56] ([i915#1233]) -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-tglb1/igt@i915_selftest@live_gt_lrc.html
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-tglb6/igt@i915_selftest@live_gt_lrc.html

* igt@i915_suspend@sysfs-reader:
- shard-apl: [DMESG-WARN][58] ([i915#180]) -> [PASS][59] +5 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-apl6/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-apl7/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-128x42-sliding:
- shard-kbl: [FAIL][60] ([i915#54]) -> [PASS][61]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-kbl1/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-kbl2/igt@[email protected]
- shard-apl: [FAIL][62] ([i915#54]) -> [PASS][63]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-apl4/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-apl4/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-kbl: [DMESG-WARN][64] ([i915#180]) -> [PASS][65] +2 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-kbl4/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-kbl3/igt@[email protected]

* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [SKIP][66] ([fdo#109441]) -> [PASS][67] +1 similar issue
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-iclb5/igt@kms_psr@psr2_primary_mmap_cpu.html
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html

* igt@perf_pmu@cpu-hotplug:
- shard-hsw: [INCOMPLETE][68] ([i915#61]) -> [PASS][69]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-hsw5/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-hsw2/igt@[email protected]

#### Warnings ####

* igt@gem_userptr_blits@map-fixed-invalidate-busy:
- shard-snb: [DMESG-WARN][70] ([fdo#111870] / [i915#478]) -> [DMESG-WARN][71] ([fdo#110789] / [fdo#111870] / [i915#478])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-snb1/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-snb1/igt@[email protected]

* igt@i915_pm_dc@dc6-psr:
- shard-tglb: [FAIL][72] ([i915#454]) -> [SKIP][73] ([i915#468])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-tglb5/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-tglb2/igt@[email protected]

* igt@i915_pm_rpm@sysfs-read:
- shard-snb: [SKIP][74] ([fdo#109271]) -> [INCOMPLETE][75] ([i915#82])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-snb4/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-snb2/igt@[email protected]

* igt@runner@aborted:
- shard-snb: ([FAIL][76], [FAIL][77], [FAIL][78], [FAIL][79], [FAIL][80], [FAIL][81], [FAIL][82], [FAIL][83]) ([fdo#111870] / [i915#1077]) -> ([FAIL][84], [FAIL][85], [FAIL][86], [FAIL][87], [FAIL][88], [FAIL][89], [FAIL][90], [FAIL][91]) ([fdo#111870] / [i915#1077] / [i915#698])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-snb6/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-snb1/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-snb2/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-snb2/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-snb4/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-snb1/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-snb2/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7964/shard-snb4/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-snb1/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-snb1/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-snb1/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-snb4/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-snb5/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-snb5/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-snb5/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/shard-snb5/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#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110789]: https://bugs.freedesktop.org/show_bug.cgi?id=110789
[fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841
[fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
[fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870
[fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
[fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146
[fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271
[i915#1077]: https://gitlab.freedesktop.org/drm/intel/issues/1077
[i915#1084]: https://gitlab.freedesktop.org/drm/intel/issues/1084
[i915#1233]: https://gitlab.freedesktop.org/drm/intel/issues/1233
[i915#1241]: https://gitlab.freedesktop.org/drm/intel/issues/1241
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#413]: https://gitlab.freedesktop.org/drm/intel/issues/413
[i915#447]: https://gitlab.freedesktop.org/drm/intel/issues/447
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#468]: https://gitlab.freedesktop.org/drm/intel/issues/468
[i915#478]: https://gitlab.freedesktop.org/drm/intel/issues/478
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#61]: https://gitlab.freedesktop.org/drm/intel/issues/61
[i915#644]: https://gitlab.freedesktop.org/drm/intel/issues/644
[i915#668]: https://gitlab.freedesktop.org/drm/intel/issues/668
[i915#677]: https://gitlab.freedesktop.org/drm/intel/issues/677
[i915#694]: https://gitlab.freedesktop.org/drm/intel/issues/694
[i915#698]: https://gitlab.freedesktop.org/drm/intel/issues/698
[i915#82]: https://gitlab.freedesktop.org/drm/intel/issues/82

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

Missing (2): pig-skl-6260u pig-glk-j5005

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

* CI: CI-20190529 -> None
* IGT: IGT_5450 -> IGTPW_4185
* Piglit: piglit_4509 -> None

CI-20190529: 20190529
CI_DRM_7964: af0d76d734234d537d1ed6bebfc2f55c88ea2a49 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4185: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/index.html
IGT_5450: dfba090e720ed4e043158887f1ba6a76059491e8 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4185/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev