Skip to contentSkip to conversation

Add VM error capture tests

PATCH In review [email protected] 5 participants 9 messages Jun 7, 2023 – Jun 9, 2023

lore
Share & tools
lore
#0 lore raw

cover Add VM error capture tests

From: Janga Rahul Kumar <[email protected]>

Add tests to check VM error capture.

Janga Rahul Kumar (2):
tests/xe_vm.c: Add VM bind error capture test tests/xe_vm.c: Add Negative test to VM error capture

 tests/xe/xe_vm.c | 81 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 81 insertions(+)
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/2 tests/xe_vm.c: Add VM bind error capture test

From: Janga Rahul Kumar <[email protected]>

Test injects error during vm bind and check the captured bind address.

---
 tests/xe/xe_vm.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
tests/xe/xe_vm.c +53 -0
index 861822b4..0da6c847 100644
@@ -1589,6 +1589,56 @@ try_again_after_invalidate:
 	xe_vm_destroy(fd, vm);
 }
 
+/**
+ * SUBTEST: vm-error-capture-address
+ * Description: Test to check vm error capture
+ * Functionality: error capture
+ * Run type: FULL
+ * TODO: change ``'Run type' == FULL`` to a better category
+ *
+ */
+static void
+vm_error_capture_address(int fd)
+{
+	struct drm_xe_vm_bind_op_error_capture capture = {};
+	struct drm_xe_ext_vm_set_property ext = {
+		.base.next_extension = 0,
+		.base.name = XE_VM_EXTENSION_SET_PROPERTY,
+		.property = XE_VM_PROPERTY_BIND_OP_ERROR_CAPTURE_ADDRESS,
+		.value = to_user_pointer(&capture),
+	};
+
+	uint32_t vm, bo;
+	uint64_t addr = 0x1a0000;
+	size_t bo_size;
+
+	struct drm_xe_sync sync = {
+		.flags = DRM_XE_SYNC_SYNCOBJ | DRM_XE_SYNC_SIGNAL,
+	};
+
+	sync.handle = syncobj_create(fd, 0);
+	bo_size = 0x1000 * 32;
+
+	vm = xe_vm_create(fd, DRM_XE_VM_CREATE_ASYNC_BIND_OPS,
+				to_user_pointer(&ext));
+
+	bo = xe_bo_create(fd, 0, vm, bo_size);
+#define INJECT_ERROR	(0x1 << 31)
+	__xe_vm_bind_assert(fd, vm, 0, bo, 0, addr, bo_size,
+			XE_VM_BIND_OP_MAP | XE_VM_BIND_FLAG_ASYNC |
+			INJECT_ERROR, &sync, 1, 0, 0);
+
+	igt_assert_eq(addr, capture.addr);
+
+	syncobj_destroy(fd, sync.handle);
+
+	if (bo)
+		gem_close(fd, bo);
+
+	xe_vm_destroy(fd, vm);
+}
+
+
 igt_main
 {
 	struct drm_xe_engine_class_instance *hwe, *hwe_non_copy = NULL;
@@ -1871,6 +1921,9 @@ igt_main
 		}
 	}
 
+	igt_subtest("vm-error-capture-address")
+		vm_error_capture_address(fd);
+
 	igt_fixture {
 		xe_device_put(fd);
 		close(fd);
Signature · 1 line
2.25.1
#2 lore raw

PATCH 2/2 tests/xe_vm.c: Add Negative test to VM error capture

In reply to [email protected]

From: Janga Rahul Kumar <[email protected]>

Add negative test to check invalid arguments.

---
 tests/xe/xe_vm.c | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
tests/xe/xe_vm.c +28 -0
index 0da6c847..7f369fc4 100644
@@ -1638,6 +1638,31 @@ vm_error_capture_address(int fd)
 	xe_vm_destroy(fd, vm);
 }
 
+/**
+ * SUBTEST: vm-error-capture-address-invalid-val
+ * Description: Negative test to check vm error capture
+ * Functionality: error capture
+ * Run type: FULL
+ * TODO: change ``'Run type' == FULL`` to a better category
+ *
+ */
+static void
+vm_error_capture_address_invalid_val(int fd)
+{
+	struct drm_xe_ext_vm_set_property ext = {
+		.base.next_extension = 0,
+		.base.name = XE_VM_EXTENSION_SET_PROPERTY,
+		.property = XE_VM_PROPERTY_BIND_OP_ERROR_CAPTURE_ADDRESS,
+		.value = 0,
+	};
+
+	struct drm_xe_vm_create create = {
+		.extensions = to_user_pointer(&ext),
+		.flags = DRM_XE_VM_CREATE_ASYNC_BIND_OPS,
+	};
+
+	do_ioctl_err(fd, DRM_IOCTL_XE_VM_CREATE, &create, EINVAL);
+}
 
 igt_main
 {
@@ -1924,6 +1949,9 @@ igt_main
 	igt_subtest("vm-error-capture-address")
 		vm_error_capture_address(fd);
 
+	igt_subtest("vm-error-capture-address-invalid-val")
+		vm_error_capture_address_invalid_val(fd);
+
 	igt_fixture {
 		xe_device_put(fd);
 		close(fd);
Signature · 1 line
2.25.1
Reviewed-by on v1 2/2
#3 lore raw

Re: [igt-dev] [PATCH i-g-t 2/2] tests/xe_vm.c: Add Negative test to VM error capture

Quoted 57 lines

-----Original Message-----
From: igt-dev <[email protected]> On Behalf Of [email protected]
Sent: 07 June 2023 01:34 PM
To: [email protected]; Gandi, Ramadevi <[email protected]>; Kumar, Janga Rahul <[email protected]>
Subject: [igt-dev] [PATCH i-g-t 2/2] tests/xe_vm.c: Add Negative test to VM error capture

From: Janga Rahul Kumar <[email protected]>

Add negative test to check invalid arguments.

---
 tests/xe/xe_vm.c | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
tests/xe/xe_vm.c index 0da6c847..7f369fc4 renamed from tests/xe/xe_vm.c +0 -0

100644

tests/xe/xe_vm.c +23 -0
@@ -1638,6 +1638,31 @@ vm_error_capture_address(int fd)
 	xe_vm_destroy(fd, vm);
 }
 
+/**
+ * SUBTEST: vm-error-capture-address-invalid-val
+ * Description: Negative test to check vm error capture
+ * Functionality: error capture
+ * Run type: FULL
+ * TODO: change ``'Run type' == FULL`` to a better category
+ *
+ */
+static void
+vm_error_capture_address_invalid_val(int fd) {
+	struct drm_xe_ext_vm_set_property ext = {
+		.base.next_extension = 0,
+		.base.name = XE_VM_EXTENSION_SET_PROPERTY,
+		.property =
 XE_VM_PROPERTY_BIND_OP_ERROR_CAPTURE_ADDRESS,
+		.value = 0,
+	};
+
+	struct drm_xe_vm_create create = {
+		.extensions = to_user_pointer(&ext),
+		.flags = DRM_XE_VM_CREATE_ASYNC_BIND_OPS,
+	};
+
+	do_ioctl_err(fd, DRM_IOCTL_XE_VM_CREATE, &create, EINVAL); }
 
 igt_main
 {

tests/xe/xe_vm.c igt_main · line 1957

Quoted 9 lines
tests/xe/xe_vm.c +3 -0
@@ -1924,6 +1949,9 @@ igt_main
 	igt_subtest("vm-error-capture-address")
 		vm_error_capture_address(fd);
 
+	igt_subtest("vm-error-capture-address-invalid-val")
+		vm_error_capture_address_invalid_val(fd);
+
 	igt_fixture {
 		xe_device_put(fd);
 		close(fd);

LGTM,

Quoted 2 lines

--
2.25.1

#4 lore raw

Re: [igt-dev] [PATCH i-g-t 2/2] tests/xe_vm.c: Add Negative test to VM error capture

Hi,

Quoted 25 lines · Priyanka
Quoted 25 lines

From: Janga Rahul Kumar <[email protected]>

Add negative test to check invalid arguments.

---
 tests/xe/xe_vm.c | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
tests/xe/xe_vm.c index 0da6c847..7f369fc4 renamed from tests/xe/xe_vm.c +0 -0

100644

tests/xe/xe_vm.c +6 -0
@@ -1638,6 +1638,31 @@ vm_error_capture_address(int fd)
 	xe_vm_destroy(fd, vm);
 }
 
+/**
+ * SUBTEST: vm-error-capture-address-invalid-val
+ * Description: Negative test to check vm error capture
+ * Functionality: error capture
+ * Run type: FULL
+ * TODO: change ``'Run type' == FULL`` to a better category

[...cut...]

Quoted 9 lines

tests/xe/xe_vm.c igt_main · line 1957

Quoted 7 lines
tests/xe/xe_vm.c +3 -0
+	igt_subtest("vm-error-capture-address-invalid-val")
+		vm_error_capture_address_invalid_val(fd);
+
 	igt_fixture {
 		xe_device_put(fd);
 		close(fd);

LGTM,

We should drop/change this, see reply from Matthew about uAPI changing.

Regards,
Kamil

Quoted 3 lines
Quoted 2 lines

--
2.25.1

#5 lore raw

[igt-dev] ✗ GitLab.Pipeline: warning for Add VM error capture tests

In reply to [email protected]
== Series Details ==

== Series Details ==

Series: Add VM error capture tests
URL : https://patchwork.freedesktop.org/series/118988/
State : warning

== Summary ==

Pipeline status: FAILED.

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

build-containers:build-debian has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/43266810):

      "DockerVersion": "",
      "Labels": {},
      "Architecture": "amd64",
      "Os": "linux",
      "Layers": [
          "sha256:2f92e8d0541551f215cc8116b6a6507a714a936f45b19286a6664467db837932"
      ]

}
Skipping, already built
Getting image source signatures
Copying blob sha256:2f92e8d0541551f215cc8116b6a6507a714a936f45b19286a6664467db837932
Copying config sha256:08904a47f4efcc161569a9b7f88c458fc6e3e85a2225132246af9cf5cc6c4e5b
Writing manifest to image destination
time="2023-06-07T08:25:32Z" level=fatal msg="Error writing manifest: Error uploading manifest commit-432abc51b9d723f6b143240c96754a3dae373ea2 to registry.freedesktop.org/gfx-ci/igt-ci-tags/build-debian-minimal: received unexpected HTTP status: 500 Internal Server Error" section_end:1686126333:step_script
section_start:1686126333:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1686126333:cleanup_file_variables
ERROR: Job failed: exit code 1

build-containers:build-debian-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/43266812):
time="2023-06-07T08:25:39Z" level=fatal msg="Invalid status code returned when fetching blob 500 (Internal Server Error)"
Building!
STEP 1: FROM debian:buster
Getting image source signatures
Copying blob sha256:c722db24a050621ee87ea07acd5d066d3d6a94737c32012f27d73a1ad5cc645c
Copying config sha256:8b5601a5a7f855241ac7f372ec0042e793b0b3eb3f3a601014845f22bd371c90
Writing manifest to image destination
Storing signatures
STEP 2: RUN apt-get update
error running container: error creating container for [/bin/sh -c apt-get update]: time="2023-06-07T08:25:42Z" level=warning msg="signal: killed"
time="2023-06-07T08:25:42Z" level=error msg="container_linux.go:346: starting container process caused \"process_linux.go:297: applying cgroup configuration for process caused \\\"mountpoint for cgroup not found\\\"\"\n" container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"mountpoint for cgroup not found\""
: exit status 1
Error: error building at STEP "RUN apt-get update": error while running runtime: exit status 1
section_end:1686126343:step_script
section_start:1686126343:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1686126344:cleanup_file_variables
ERROR: Job failed: exit code 1

build-containers:build-debian-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/43266811):

          "intel-IGT_5164"
      ],
      "Created": "2019-11-20T12:54:52.073706506Z",
      "DockerVersion": "",
      "Labels": {},
      "Architecture": "amd64",
      "Os": "linux",
      "Layers": [
          "sha256:45252bb38c9c74dfe76c4b3808269db61d3b2aebe5e26bf7fcd85e48b93e16f9"
      ]

}
Skipping, already built
Getting image source signatures
time="2023-06-07T08:25:33Z" level=fatal msg="Error trying to reuse blob sha256:45252bb38c9c74dfe76c4b3808269db61d3b2aebe5e26bf7fcd85e48b93e16f9 at destination: failed to read from destination repository gfx-ci/igt-ci-tags/build-debian-armhf: 500 (Internal Server Error)" section_end:1686126334:step_script
section_start:1686126334:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1686126334:cleanup_file_variables
ERROR: Job failed: exit code 1

build-containers:build-debian-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/43266813):
time="2023-06-07T08:25:40Z" level=fatal msg="Invalid status code returned when fetching blob 500 (Internal Server Error)"
Building!
STEP 1: FROM debian:buster
Getting image source signatures
Copying blob sha256:c722db24a050621ee87ea07acd5d066d3d6a94737c32012f27d73a1ad5cc645c
Copying config sha256:8b5601a5a7f855241ac7f372ec0042e793b0b3eb3f3a601014845f22bd371c90
Writing manifest to image destination
Storing signatures
STEP 2: RUN apt-get update
error running container: error creating container for [/bin/sh -c apt-get update]: time="2023-06-07T08:25:43Z" level=warning msg="signal: killed"
time="2023-06-07T08:25:43Z" level=error msg="container_linux.go:346: starting container process caused \"process_linux.go:297: applying cgroup configuration for process caused \\\"mountpoint for cgroup not found\\\"\"\n" container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"mountpoint for cgroup not found\""
: exit status 1
Error: error building at STEP "RUN apt-get update": error while running runtime: exit status 1
section_end:1686126344:step_script
section_start:1686126344:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1686126346:cleanup_file_variables
ERROR: Job failed: exit code 1

build-containers:build-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/43266814):
time="2023-06-07T08:25:41Z" level=fatal msg="Invalid status code returned when fetching blob 500 (Internal Server Error)"
Building!
STEP 1: FROM fedora:31
Getting image source signatures
Copying blob sha256:854946d575a439a894349addd141568875d7c1e673d3286b08250f3dde002e6a
Copying config sha256:7e94ed77b448a8d2ff08b92d3ca743e4e862c744892d6886c73487581eb5863a
Writing manifest to image destination
Storing signatures
STEP 2: RUN dnf install -y gcc flex bison libatomic meson ninja-build xdotool 'pkgconfig(libdrm)' 'pkgconfig(pciaccess)' 'pkgconfig(libkmod)' 'pkgconfig(libprocps)' 'pkgconfig(libunwind)' 'pkgconfig(libdw)' 'pkgconfig(pixman-1)' 'pkgconfig(valgrind)' 'pkgconfig(cairo)' 'pkgconfig(libudev)' 'pkgconfig(glib-2.0)' 'pkgconfig(gsl)' 'pkgconfig(alsa)' 'pkgconfig(xmlrpc)' 'pkgconfig(xmlrpc_util)' 'pkgconfig(xmlrpc_client)' 'pkgconfig(json-c)' 'pkgconfig(gtk-doc)' 'pkgconfig(xv)' 'pkgconfig(xrandr)' python3-docutils
error running container: error creating container for [/bin/sh -c dnf install -y gcc flex bison libatomic meson ninja-build xdotool 'pkgconfig(libdrm)' 'pkgconfig(pciaccess)' 'pkgconfig(libkmod)' 'pkgconfig(libprocps)' 'pkgconfig(libunwind)' 'pkgconfig(libdw)' 'pkgconfig(pixman-1)' 'pkgconfig(valgrind)' 'pkgconfig(cairo)' 'pkgconfig(libudev)' 'pkgconfig(glib-2.0)' 'pkgconfig(gsl)' 'pkgconfig(alsa)' 'pkgconfig(xmlrpc)' 'pkgconfig(xmlrpc_util)' 'pkgconfig(xmlrpc_client)' 'pkgconfig(json-c)' 'pkgconfig(gtk-doc)' 'pkgconfig(xv)' 'pkgconfig(xrandr)' python3-docutils]: time="2023-06-07T08:25:48Z" level=warning msg="signal: killed"
time="2023-06-07T08:25:48Z" level=error msg="container_linux.go:346: starting container process caused \"process_linux.go:297: applying cgroup configuration for process caused \\\"mountpoint for cgroup not found\\\"\"\n" container_linux.go:346: starting container process caused "process_linux.go:297: applying cgroup configuration for process caused \"mountpoint for cgroup not found\""
: exit status 1
Error: error building at STEP "RUN dnf install -y gcc flex bison libatomic meson ninja-build xdotool 'pkgconfig(libdrm)' 'pkgconfig(pciaccess)' 'pkgconfig(libkmod)' 'pkgconfig(libprocps)' 'pkgconfig(libunwind)' 'pkgconfig(libdw)' 'pkgconfig(pixman-1)' 'pkgconfig(valgrind)' 'pkgconfig(cairo)' 'pkgconfig(libudev)' 'pkgconfig(glib-2.0)' 'pkgconfig(gsl)' 'pkgconfig(alsa)' 'pkgconfig(xmlrpc)' 'pkgconfig(xmlrpc_util)' 'pkgconfig(xmlrpc_client)' 'pkgconfig(json-c)' 'pkgconfig(gtk-doc)' 'pkgconfig(xv)' 'pkgconfig(xrandr)' python3-docutils": error while running runtime: exit status 1
section_end:1686126349:step_script
section_start:1686126349:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1686126350:cleanup_file_variables
ERROR: Job failed: exit code 1

== Logs ==

For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/902056

#6 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for Add VM error capture tests

In reply to [email protected]
== Series Details ==

== Series Details ==

Series: Add VM error capture tests
URL : https://patchwork.freedesktop.org/series/118988/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13239 -> IGTPW_9124
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Participating hosts (40 -> 37)
------------------------------

Missing (3): bat-mtlp-8 fi-snb-2520m fi-elk-e7500

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

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

### IGT changes ###

#### Issues hit ####

* igt@i915_selftest@live@gt_heartbeat:
- fi-apl-guc: [PASS][1] -> [DMESG-FAIL][2] ([i915#5334])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html

* igt@i915_selftest@live@migrate:
- bat-dg2-11: [PASS][3] -> [DMESG-WARN][4] ([i915#7699])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/bat-dg2-11/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/bat-dg2-11/igt@i915_selftest@[email protected]

* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- bat-dg2-11: NOTRUN -> [SKIP][5] ([i915#7828])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/bat-dg2-11/igt@[email protected]

* igt@kms_pipe_crc_basic@nonblocking-crc@pipe-d-dp-1:
- bat-dg2-8: [PASS][6] -> [FAIL][7] ([i915#7932])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@hangcheck:
- bat-dg2-11: [ABORT][8] ([i915#7913] / [i915#7979]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/bat-dg2-11/igt@i915_selftest@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/bat-dg2-11/igt@i915_selftest@[email protected]

* {igt@kms_pipe_crc_basic@compare-crc-sanitycheck-nv12@pipe-b-dp-6}:
- {bat-adlp-11}: [ABORT][10] ([i915#4423]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/bat-adlp-11/igt@kms_pipe_crc_basic@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/bat-adlp-11/igt@kms_pipe_crc_basic@[email protected]

* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-c-dp-1:
- bat-dg2-8: [FAIL][12] ([i915#7932]) -> [PASS][13] +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]

#### Warnings ####

* igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-a-edp-1:
- bat-adlp-6: [ABORT][14] ([i915#8434]) -> [ABORT][15] ([i915#7977] / [i915#8434])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/bat-adlp-6/igt@kms_pipe_crc_basic@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/bat-adlp-6/igt@kms_pipe_crc_basic@[email protected]

* igt@kms_setmode@basic-clone-single-crtc:
- bat-rplp-1: [SKIP][16] ([i915#3555] / [i915#4579]) -> [ABORT][17] ([i915#4579] / [i915#8260])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/bat-rplp-1/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/bat-rplp-1/igt@[email protected]

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

[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#4309]: https://gitlab.freedesktop.org/drm/intel/issues/4309
[i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6121]: https://gitlab.freedesktop.org/drm/intel/issues/6121
[i915#6868]: https://gitlab.freedesktop.org/drm/intel/issues/6868
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7977]: https://gitlab.freedesktop.org/drm/intel/issues/7977
[i915#7979]: https://gitlab.freedesktop.org/drm/intel/issues/7979
[i915#8260]: https://gitlab.freedesktop.org/drm/intel/issues/8260
[i915#8434]: https://gitlab.freedesktop.org/drm/intel/issues/8434

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

* CI: CI-20190529 -> None
* IGT: IGT_7320 -> IGTPW_9124

CI-20190529: 20190529
CI_DRM_13239: 9fd1b1228aa74faf1b3d3cd4ace8e2c80896c15c @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_9124: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/index.html
IGT_7320: 1c96b08a4cde6f2d49824a8cc3303bd860617b52 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

Testlist changes
----------------

+igt@xe_vm@vm-error-capture-address
+igt@xe_vm@vm-error-capture-address-invalid-val

== Logs ==

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

#7 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for Add VM error capture tests

In reply to [email protected]
== Series Details ==

== Series Details ==

Series: Add VM error capture tests
URL : https://patchwork.freedesktop.org/series/118988/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13239_full -> IGTPW_9124_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Participating hosts (7 -> 7)
------------------------------

No changes in participating hosts

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-glk: NOTRUN -> [FAIL][1] ([i915#2842])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-glk2/igt@gem_exec_fair@[email protected]

* igt@gem_lmem_swapping@heavy-verify-random-ccs:
- shard-glk: NOTRUN -> [SKIP][2] ([fdo#109271] / [i915#4613])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-glk2/igt@[email protected]

* igt@gem_mmap_gtt@fault-concurrent-y:
- shard-snb: [PASS][3] -> [ABORT][4] ([i915#5161])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-snb5/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-snb6/igt@[email protected]

* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#3886]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-glk7/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-c-missing-ccs-buffer-4_tiled_mtl_rc_ccs:
- shard-snb: NOTRUN -> [SKIP][6] ([fdo#109271]) +29 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-snb1/igt@kms_ccs@pipe-c-missing-ccs-buffer-4_tiled_mtl_rc_ccs.html

* igt@kms_cursor_crc@cursor-random-32x10:
- shard-glk: NOTRUN -> [SKIP][7] ([fdo#109271] / [i915#4579]) +6 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-glk1/igt@[email protected]

* igt@kms_cursor_edge_walk@128x128-left-edge@pipe-a-hdmi-a-1:
- shard-glk: [PASS][8] -> [DMESG-FAIL][9] ([i915#118])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-glk2/igt@kms_cursor_edge_walk@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-glk8/igt@kms_cursor_edge_walk@[email protected]

* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-hdmi-a2:
- shard-glk: [PASS][10] -> [FAIL][11] ([i915#79])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-glk7/igt@kms_flip@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-glk8/igt@kms_flip@[email protected]

* igt@kms_plane_scaling@plane-downscale-with-pixel-format-factor-0-5@pipe-b-hdmi-a-1:
- shard-snb: NOTRUN -> [SKIP][12] ([fdo#109271] / [i915#4579]) +11 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-snb1/igt@kms_plane_scaling@plane-downscale-with-pixel-format-factor-0-5@pipe-b-hdmi-a-1.html

* igt@kms_plane_scaling@plane-upscale-with-rotation-factor-0-25@pipe-a-hdmi-a-1:
- shard-glk: NOTRUN -> [SKIP][13] ([fdo#109271]) +44 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-glk4/igt@kms_plane_scaling@[email protected]

* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-glk: NOTRUN -> [SKIP][14] ([fdo#109271] / [i915#658]) +1 similar issue
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-glk4/igt@[email protected]

* igt@kms_psr@psr2_basic:
- shard-apl: NOTRUN -> [SKIP][15] ([fdo#109271]) +22 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-apl6/igt@kms_psr@psr2_basic.html

* igt@kms_setmode@invalid-clone-single-crtc:
- shard-apl: NOTRUN -> [SKIP][16] ([fdo#109271] / [i915#4579]) +1 similar issue
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-apl6/igt@[email protected]

#### Possible fixes ####

* igt@drm_fdinfo@most-busy-idle-check-all@rcs0:
- {shard-rkl}: [FAIL][17] ([i915#7742]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-rkl-1/igt@drm_fdinfo@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-rkl-7/igt@drm_fdinfo@[email protected]

* igt@gem_exec_fair@basic-deadline:
- {shard-rkl}: [FAIL][19] ([i915#2846]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-rkl-2/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-rkl-1/igt@[email protected]

* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-apl: [FAIL][21] ([i915#2842]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-apl7/igt@gem_exec_fair@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-apl2/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@vcs0:
- shard-glk: [FAIL][23] ([i915#2842]) -> [PASS][24] +2 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-glk6/igt@gem_exec_fair@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-glk4/igt@gem_exec_fair@[email protected]

* igt@gem_lmem_swapping@heavy-random@lmem0:
- {shard-dg1}: [DMESG-WARN][25] ([i915#4391] / [i915#4423]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-dg1-18/igt@gem_lmem_swapping@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-dg1-17/igt@gem_lmem_swapping@[email protected]

* igt@gem_lmem_swapping@smem-oom@lmem0:
- {shard-dg1}: [TIMEOUT][27] ([i915#5493]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-dg1-19/igt@gem_lmem_swapping@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-dg1-19/igt@gem_lmem_swapping@[email protected]

* igt@gem_vm_create@invalid-destroy:
- {shard-dg1}: [DMESG-WARN][29] ([i915#4423]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-dg1-18/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-dg1-12/igt@[email protected]

* igt@i915_module_load@reload:
- shard-snb: [ABORT][31] ([i915#4528]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-snb4/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-snb5/igt@[email protected]

* igt@i915_pm_rpm@modeset-lpsp-stress-no-wait:
- {shard-dg1}: [SKIP][33] ([i915#1397]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-dg1-16/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-dg1-19/igt@[email protected]

* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic:
- shard-glk: [FAIL][35] ([i915#72]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-glk9/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-glk5/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-glk: [FAIL][37] ([i915#2346]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-glk1/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-glk9/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html

* igt@kms_cursor_legacy@single-move@pipe-a:
- shard-snb: [INCOMPLETE][39] ([i915#7941]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-snb1/igt@kms_cursor_legacy@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-snb1/igt@kms_cursor_legacy@[email protected]

* igt@kms_flip@flip-vs-suspend@a-dp1:
- shard-apl: [ABORT][41] ([i915#180]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-apl3/igt@kms_flip@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-apl2/igt@kms_flip@[email protected]

* igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-1:
- {shard-tglu}: [FAIL][43] ([i915#8292]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-tglu-3/igt@kms_plane_scaling@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-tglu-2/igt@kms_plane_scaling@[email protected]

#### Warnings ####

* igt@i915_pm_dc@dc9-dpms:
- shard-apl: [SKIP][45] ([fdo#109271]) -> [FAIL][46] ([i915#4275])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13239/shard-apl2/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/shard-apl3/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#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109300]: https://bugs.freedesktop.org/show_bug.cgi?id=109300
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
[i915#3023]: https://gitlab.freedesktop.org/drm/intel/issues/3023
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4275]: https://gitlab.freedesktop.org/drm/intel/issues/4275
[i915#4281]: https://gitlab.freedesktop.org/drm/intel/issues/4281
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391
[i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423
[i915#4528]: https://gitlab.freedesktop.org/drm/intel/issues/4528
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4816]: https://gitlab.freedesktop.org/drm/intel/issues/4816
[i915#4818]: https://gitlab.freedesktop.org/drm/intel/issues/4818
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885
[i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
[i915#5161]: https://gitlab.freedesktop.org/drm/intel/issues/5161
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5493]: https://gitlab.freedesktop.org/drm/intel/issues/5493
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#72]: https://gitlab.freedesktop.org/drm/intel/issues/72
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#7941]: https://gitlab.freedesktop.org/drm/intel/issues/7941
[i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
[i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011
[i915#8213]: https://gitlab.freedesktop.org/drm/intel/issues/8213
[i915#8247]: https://gitlab.freedesktop.org/drm/intel/issues/8247
[i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292
[i915#8347]: https://gitlab.freedesktop.org/drm/intel/issues/8347
[i915#8381]: https://gitlab.freedesktop.org/drm/intel/issues/8381
[i915#8398]: https://gitlab.freedesktop.org/drm/intel/issues/8398
[i915#8411]: https://gitlab.freedesktop.org/drm/intel/issues/8411
[i915#8414]: https://gitlab.freedesktop.org/drm/intel/issues/8414
[i915#8555]: https://gitlab.freedesktop.org/drm/intel/issues/8555

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

* CI: CI-20190529 -> None
* IGT: IGT_7320 -> IGTPW_9124
* Piglit: piglit_4509 -> None

CI-20190529: 20190529
CI_DRM_13239: 9fd1b1228aa74faf1b3d3cd4ace8e2c80896c15c @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_9124: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9124/index.html
IGT_7320: 1c96b08a4cde6f2d49824a8cc3303bd860617b52 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

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

#8 lore raw
In reply to [email protected]
Quoted 6 lines · On Wed, Jun 07, 2023 at 01:33:50PM +0530, [email protected] wrote:

From: Janga Rahul Kumar <[email protected]>

Add tests to check VM error capture.

This uAPI is changing soon, please don't more tests for it.

Matt

Quoted 10 lines

Janga Rahul Kumar (2):
tests/xe_vm.c: Add VM bind error capture test tests/xe_vm.c: Add Negative test to VM error capture

 tests/xe/xe_vm.c | 81 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 81 insertions(+)
Signature · 1 line
2.25.1