Skip to contentSkip to conversation

tests/kms_sysfs_edid_timing: rework thresholds

PATCH In review Luca Coelho 3 participants 12 messages Jun 15, 2022 – Jul 15, 2022

lore
Share & tools
lore
#0 lore raw

v2 cover tests/kms_sysfs_edid_timing: rework thresholds

From: Luca Coelho <[email protected]>

Hi,

There were a few issues with the kms_sysfs_edid_timing test:

* The per connector threshold was too short;
* A warning was issued when the test should actually fail;
* The test description was cryptic;
* Total probing mean was proposed but not implemented.

Address all these issues by reworking the way we test the time it takes to probe single connectors, mean of single connectors and add a check for a mean of all connectors.

In v2:

* Fixed typo, s/reprode/reprobe/ (Mika);
* Increased the threshold times (Petri).

Please review.

--
Cheers,
Luca.

Luca Coelho (4):
tests/kms_sysfs_edid_timing: increase max time thresholds tests/kms_sysfs_edid_timing: fail if probing a single connector takes
too long
tests/kms_sysfs_edid_timing: clarify test description and thresholds tests/kms_sysfs_edid_timing: add total mean assertion threshold

 tests/kms_sysfs_edid_timing.c | 48 +++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 19 deletions(-)
Signature · 1 line
2.36.1
#1 lore raw

PATCH v2 1/4 tests/kms_sysfs_edid_timing: increase max time thresholds

From: Luca Coelho <[email protected]>

Currently, some connectors take longer than 10ms to reprobe, so we're getting warnings that they take too long. The times chosen for this test seems to have been arbitrary, and it turns out that now they're too short.

Increase both the per connector threshold and the total time threshold to avoid unwarranted warnings.

---
 tests/kms_sysfs_edid_timing.c | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
tests/kms_sysfs_edid_timing.c +6 -7
index 12013881b200..028a5323c0b2 100644
@@ -26,8 +26,8 @@
 #include <fcntl.h>
 #include <sys/stat.h>
 
-#define THRESHOLD_PER_CONNECTOR	10
-#define THRESHOLD_TOTAL		50
+#define THRESHOLD_PER_CONNECTOR	50
+#define THRESHOLD_TOTAL		150
 #define CHECK_TIMES		15
 
 IGT_TEST_DESCRIPTION("This check the time we take to read the content of all "
@@ -82,15 +82,14 @@ igt_simple_main
 			  mean.mean, mean.mean / 1e3, mean.mean / 1e6);
 
 		if (mean.max > (THRESHOLD_PER_CONNECTOR * 1e6)) {
-			igt_warn("%s: probe time exceed 10ms, "
-				 "max=%.2fms, avg=%.2fms\n", de->d_name,
+			igt_warn("%s: probe time exceed %dms, max=%.2fms, avg=%.2fms\n",
+				 de->d_name, THRESHOLD_PER_CONNECTOR,
 				 mean.max / 1e6, mean.mean / 1e6);
 		}
 		igt_assert_f(mean.mean < (THRESHOLD_TOTAL * 1e6),
-			     "%s: average probe time exceeded 50ms, "
-			     "max=%.2fms, avg=%.2fms\n", de->d_name,
+			     "%s: average probe time exceeded %dms, max=%.2fms, avg=%.2fms\n",
+			     de->d_name, THRESHOLD_TOTAL,
 			     mean.max / 1e6, mean.mean / 1e6);
-
 	}
 	closedir(dirp);
 
Signature · 1 line
2.36.1
Reviewed-by on v2 1/4
#2 lore raw

Re: [igt-dev] [PATCH i-g-t v2 1/4] tests/kms_sysfs_edid_timing: increase max time thresholds

Quoted 9 lines

-----Original Message-----
From: Luca Coelho <[email protected]>
Sent: Wednesday, June 15, 2022 3:26 PM
To: [email protected]
Cc: Latvala, Petri <[email protected]>; Kahola, Mika <[email protected]>; [email protected]
Subject: [PATCH i-g-t v2 1/4] tests/kms_sysfs_edid_timing: increase max time thresholds

Quoted 9 lines

From: Luca Coelho <[email protected]>

Currently, some connectors take longer than 10ms to reprobe, so we're getting warnings that they take too long. The times chosen for this test seems to have been arbitrary, and it turns out that now they're too short.

Increase both the per connector threshold and the total time threshold to avoid unwarranted warnings.

I'm not sure, what exactly these times should be. Seems that these are more or less based on experiments

Quoted 45 lines
---
 tests/kms_sysfs_edid_timing.c | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
tests/kms_sysfs_edid_timing.c +2 -2
index 12013881b200..028a5323c0b2 100644
@@ -26,8 +26,8 @@
 #include <fcntl.h>
 #include <sys/stat.h>
 
-#define THRESHOLD_PER_CONNECTOR	10
-#define THRESHOLD_TOTAL		50
+#define THRESHOLD_PER_CONNECTOR	50
+#define THRESHOLD_TOTAL		150
 #define CHECK_TIMES		15
 
 IGT_TEST_DESCRIPTION("This check the time we take to read the content of all

"

tests/kms_sysfs_edid_timing.c +4 -5
@@ -82,15 +82,14 @@ igt_simple_main
 			  mean.mean, mean.mean / 1e3, mean.mean / 1e6);
 
 		if (mean.max > (THRESHOLD_PER_CONNECTOR * 1e6)) {
-			igt_warn("%s: probe time exceed 10ms, "
-				 "max=%.2fms, avg=%.2fms\n", de->d_name,
+			igt_warn("%s: probe time exceed %dms, max=%.2fms,
 avg=%.2fms\n",
+				 de->d_name, THRESHOLD_PER_CONNECTOR,
 				 mean.max / 1e6, mean.mean / 1e6);
 		}
 		igt_assert_f(mean.mean < (THRESHOLD_TOTAL * 1e6),
-			     "%s: average probe time exceeded 50ms, "
-			     "max=%.2fms, avg=%.2fms\n", de->d_name,
+			     "%s: average probe time exceeded %dms,
 max=%.2fms, avg=%.2fms\n",
+			     de->d_name, THRESHOLD_TOTAL,
 			     mean.max / 1e6, mean.mean / 1e6);
-
 	}

closedir(dirp);

--
2.36.1

#3 lore raw

PATCH v2 2/4 tests/kms_sysfs_edid_timing: fail if probing a single connector takes too long

In reply to Luca Coelho

From: Luca Coelho <[email protected]>

There's no point in just warning if probing a single connector takes too long. If a test finds any issues, it should just fail.

Convert the warning into an assertion.

---
 tests/kms_sysfs_edid_timing.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
tests/kms_sysfs_edid_timing.c +5 -5
index 028a5323c0b2..ea0e169e6ed9 100644
@@ -81,11 +81,11 @@ igt_simple_main
 			  mean.max, mean.max / 1e3, mean.max / 1e6,
 			  mean.mean, mean.mean / 1e3, mean.mean / 1e6);
 
-		if (mean.max > (THRESHOLD_PER_CONNECTOR * 1e6)) {
-			igt_warn("%s: probe time exceed %dms, max=%.2fms, avg=%.2fms\n",
-				 de->d_name, THRESHOLD_PER_CONNECTOR,
-				 mean.max / 1e6, mean.mean / 1e6);
-		}
+		igt_assert_f(mean.max < THRESHOLD_PER_CONNECTOR * 1e6,
+			     "%s: probe time exceed %dms, max=%.2fms, avg=%.2fms\n",
+			     de->d_name, THRESHOLD_PER_CONNECTOR,
+			     mean.max / 1e6, mean.mean / 1e6);
+
 		igt_assert_f(mean.mean < (THRESHOLD_TOTAL * 1e6),
 			     "%s: average probe time exceeded %dms, max=%.2fms, avg=%.2fms\n",
 			     de->d_name, THRESHOLD_TOTAL,
Signature · 1 line
2.36.1
Reviewed-by on v2 2/4
#4 lore raw

Re: [igt-dev] [PATCH i-g-t v2 2/4] tests/kms_sysfs_edid_timing: fail if probing a single connector takes too long

Quoted 9 lines

-----Original Message-----
From: Luca Coelho <[email protected]>
Sent: Wednesday, June 15, 2022 3:26 PM
To: [email protected]
Cc: Latvala, Petri <[email protected]>; Kahola, Mika <[email protected]>; [email protected]
Subject: [PATCH i-g-t v2 2/4] tests/kms_sysfs_edid_timing: fail if probing a single connector takes too long

Quoted 7 lines

From: Luca Coelho <[email protected]>

There's no point in just warning if probing a single connector takes too long. If a test finds any issues, it should just fail.

Convert the warning into an assertion.

Quoted 31 lines
---
 tests/kms_sysfs_edid_timing.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
tests/kms_sysfs_edid_timing.c +5 -5
index 028a5323c0b2..ea0e169e6ed9 100644
@@ -81,11 +81,11 @@ igt_simple_main
 			  mean.max, mean.max / 1e3, mean.max / 1e6,
 			  mean.mean, mean.mean / 1e3, mean.mean / 1e6);
 
-		if (mean.max > (THRESHOLD_PER_CONNECTOR * 1e6)) {
-			igt_warn("%s: probe time exceed %dms, max=%.2fms,
 avg=%.2fms\n",
-				 de->d_name, THRESHOLD_PER_CONNECTOR,
-				 mean.max / 1e6, mean.mean / 1e6);
-		}
+		igt_assert_f(mean.max < THRESHOLD_PER_CONNECTOR * 1e6,
+			     "%s: probe time exceed %dms, max=%.2fms,
 avg=%.2fms\n",
+			     de->d_name, THRESHOLD_PER_CONNECTOR,
+			     mean.max / 1e6, mean.mean / 1e6);
+
 		igt_assert_f(mean.mean < (THRESHOLD_TOTAL * 1e6),

"%s: average probe time exceeded %dms,
max=%.2fms, avg=%.2fms\n",
de->d_name, THRESHOLD_TOTAL,
--
2.36.1

#5 lore raw

PATCH v2 3/4 tests/kms_sysfs_edid_timing: clarify test description and thresholds

In reply to Luca Coelho

From: Luca Coelho <[email protected]>

The description of this test was cryptic, mentioning a very old patch and so on. Clarify what the test actually does.

While at it, improve the assertion messages and clarify the threshold macro names.

Additionally, change the mean time threshold per connector to something shorter than the threshold per probe, since the former cannot happen without the latter already causing an assertion failure.

---
 tests/kms_sysfs_edid_timing.c | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)
tests/kms_sysfs_edid_timing.c +11 -13
index ea0e169e6ed9..4a14965fc21d 100644
@@ -26,16 +26,14 @@
 #include <fcntl.h>
 #include <sys/stat.h>
 
-#define THRESHOLD_PER_CONNECTOR	50
-#define THRESHOLD_TOTAL		150
-#define CHECK_TIMES		15
-
-IGT_TEST_DESCRIPTION("This check the time we take to read the content of all "
-		     "the possible connectors. Without the edid -ENXIO patch "
-		     "(http://permalink.gmane.org/gmane.comp.video.dri.devel/62083), "
-		     "we sometimes take a *really* long time. "
-		     "So let's just check for some reasonable timing here");
+#define THRESHOLD_PER_CONNECTOR		150
+#define THRESHOLD_PER_CONNECTOR_MEAN	140
+#define CHECK_TIMES			15
 
+IGT_TEST_DESCRIPTION("This test checks the time it takes to reprobe each "
+		     "connector and fails if either the time it takes for "
+		     "one reprobe is too long or if the mean time it takes "
+		     "to reprobe one connector is too long.");
 
 igt_simple_main
 {
@@ -82,13 +80,13 @@ igt_simple_main
 			  mean.mean, mean.mean / 1e3, mean.mean / 1e6);
 
 		igt_assert_f(mean.max < THRESHOLD_PER_CONNECTOR * 1e6,
-			     "%s: probe time exceed %dms, max=%.2fms, avg=%.2fms\n",
+			     "%s: single probe time exceeded %dms, max=%.2fms, avg=%.2fms\n",
 			     de->d_name, THRESHOLD_PER_CONNECTOR,
 			     mean.max / 1e6, mean.mean / 1e6);
 
-		igt_assert_f(mean.mean < (THRESHOLD_TOTAL * 1e6),
-			     "%s: average probe time exceeded %dms, max=%.2fms, avg=%.2fms\n",
-			     de->d_name, THRESHOLD_TOTAL,
+		igt_assert_f(mean.mean < (THRESHOLD_PER_CONNECTOR_MEAN * 1e6),
+			     "%s: mean probe time exceeded %dms, max=%.2fms, avg=%.2fms\n",
+			     de->d_name, THRESHOLD_PER_CONNECTOR_MEAN,
 			     mean.max / 1e6, mean.mean / 1e6);
 	}
 	closedir(dirp);
Signature · 1 line
2.36.1
Reviewed-by on v2 3/4
#6 lore raw

Re: [igt-dev] [PATCH i-g-t v2 3/4] tests/kms_sysfs_edid_timing: clarify test description and thresholds

Quoted 14 lines

-----Original Message-----
From: Luca Coelho <[email protected]>
Sent: Wednesday, June 15, 2022 3:26 PM
To: [email protected]
Cc: Latvala, Petri <[email protected]>; Kahola, Mika <[email protected]>; [email protected]
Subject: [PATCH i-g-t v2 3/4] tests/kms_sysfs_edid_timing: clarify test description and thresholds

From: Luca Coelho <[email protected]>

The description of this test was cryptic, mentioning a very old patch and so on. Clarify what the test actually does.

Quoted 7 lines

While at it, improve the assertion messages and clarify the threshold macro names.

Additionally, change the mean time threshold per connector to something shorter than the threshold per probe, since the former cannot happen without the latter already causing an assertion failure.

Quoted 62 lines
---
 tests/kms_sysfs_edid_timing.c | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)
tests/kms_sysfs_edid_timing.c +0 -5
index ea0e169e6ed9..4a14965fc21d 100644
@@ -26,16 +26,14 @@
 #include <fcntl.h>
 #include <sys/stat.h>
 
-#define THRESHOLD_PER_CONNECTOR	50
-#define THRESHOLD_TOTAL		150
-#define CHECK_TIMES		15
-
-IGT_TEST_DESCRIPTION("This check the time we take to read the content of all

"

tests/kms_sysfs_edid_timing.c +0 -2
-		     "the possible connectors. Without the edid -ENXIO patch "
-

"(http://permalink.gmane.org/gmane.comp.video.dri.devel/62083), "

tests/kms_sysfs_edid_timing.c +10 -6
-		     "we sometimes take a *really* long time. "
-		     "So let's just check for some reasonable timing here");
+#define THRESHOLD_PER_CONNECTOR		150
+#define THRESHOLD_PER_CONNECTOR_MEAN	140
+#define CHECK_TIMES			15
 
+IGT_TEST_DESCRIPTION("This test checks the time it takes to reprobe each "
+		     "connector and fails if either the time it takes for "
+		     "one reprobe is too long or if the mean time it takes "
+		     "to reprobe one connector is too long.");
 
 igt_simple_main
 {
@@ -82,13 +80,13 @@ igt_simple_main
 			  mean.mean, mean.mean / 1e3, mean.mean / 1e6);
 
 		igt_assert_f(mean.max < THRESHOLD_PER_CONNECTOR * 1e6,
-			     "%s: probe time exceed %dms, max=%.2fms,
 avg=%.2fms\n",
+			     "%s: single probe time exceeded %dms,
 max=%.2fms,
+avg=%.2fms\n",
 			     de->d_name, THRESHOLD_PER_CONNECTOR,
 			     mean.max / 1e6, mean.mean / 1e6);
 
-		igt_assert_f(mean.mean < (THRESHOLD_TOTAL * 1e6),
-			     "%s: average probe time exceeded %dms,
 max=%.2fms, avg=%.2fms\n",
-			     de->d_name, THRESHOLD_TOTAL,
+		igt_assert_f(mean.mean <

(THRESHOLD_PER_CONNECTOR_MEAN * 1e6),

tests/kms_sysfs_edid_timing.c +1 -0
+			     "%s: mean probe time exceeded %dms,

max=%.2fms, avg=%.2fms\n",

tests/kms_sysfs_edid_timing.c +1 -0
+			     de->d_name,

THRESHOLD_PER_CONNECTOR_MEAN,

tests/kms_sysfs_edid_timing.c +0 -1
 			     mean.max / 1e6, mean.mean / 1e6);
 	}
 	closedir(dirp);
--

2.36.1

#7 lore raw

PATCH v2 4/4 tests/kms_sysfs_edid_timing: add total mean assertion threshold

In reply to Luca Coelho

From: Luca Coelho <[email protected]>

Add an assertion to make sure that the mean time it takes to probe all connectors doesn't exceed 100 ms. This is an arbitrary but reasonable amount of time, based on real life tests.

---
 tests/kms_sysfs_edid_timing.c | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)
tests/kms_sysfs_edid_timing.c +15 -2
index 4a14965fc21d..775211089f81 100644
@@ -28,21 +28,27 @@
 
 #define THRESHOLD_PER_CONNECTOR		150
 #define THRESHOLD_PER_CONNECTOR_MEAN	140
+#define THRESHOLD_ALL_CONNECTORS_MEAN	100
 #define CHECK_TIMES			15
 
 IGT_TEST_DESCRIPTION("This test checks the time it takes to reprobe each "
 		     "connector and fails if either the time it takes for "
 		     "one reprobe is too long or if the mean time it takes "
-		     "to reprobe one connector is too long.");
+		     "to reprobe one connector is too long.  Additionally, "
+		     "make sure that the mean time for all connectors is "
+		     "not too long.");
 
 igt_simple_main
 {
 	DIR *dirp;
 	struct dirent *de;
+	struct igt_mean all_mean;
 
 	dirp = opendir("/sys/class/drm");
 	igt_assert(dirp != NULL);
 
+	igt_mean_init(&all_mean);
+
 	while ((de = readdir(dirp))) {
 		struct igt_mean mean = {};
 		struct stat st;
@@ -88,7 +94,14 @@ igt_simple_main
 			     "%s: mean probe time exceeded %dms, max=%.2fms, avg=%.2fms\n",
 			     de->d_name, THRESHOLD_PER_CONNECTOR_MEAN,
 			     mean.max / 1e6, mean.mean / 1e6);
+
+		igt_mean_add(&all_mean, mean.mean);
 	}
-	closedir(dirp);
 
+	igt_assert_f(all_mean.mean < THRESHOLD_ALL_CONNECTORS_MEAN * 1e6,
+		     "Mean of all connector means exceeds %dms, max=%.2fms, mean=%.2fms\n",
+		     THRESHOLD_ALL_CONNECTORS_MEAN, all_mean.max / 1e6,
+		     all_mean.mean / 1e6);
+
+	closedir(dirp);
 }
Signature · 1 line
2.36.1
Reviewed-by on v2 4/4
#8 lore raw

Re: [igt-dev] [PATCH i-g-t v2 4/4] tests/kms_sysfs_edid_timing: add total mean assertion threshold

Quoted 9 lines

-----Original Message-----
From: Luca Coelho <[email protected]>
Sent: Wednesday, June 15, 2022 3:26 PM
To: [email protected]
Cc: Latvala, Petri <[email protected]>; Kahola, Mika <[email protected]>; [email protected]
Subject: [PATCH i-g-t v2 4/4] tests/kms_sysfs_edid_timing: add total mean assertion threshold

Quoted 6 lines

From: Luca Coelho <[email protected]>

Add an assertion to make sure that the mean time it takes to probe all connectors doesn't exceed 100 ms. This is an arbitrary but reasonable amount of time, based on real life tests.

Quoted 61 lines
---
 tests/kms_sysfs_edid_timing.c | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)
tests/kms_sysfs_edid_timing.c +10 -2
index 4a14965fc21d..775211089f81 100644
@@ -28,21 +28,27 @@
 
 #define THRESHOLD_PER_CONNECTOR		150
 #define THRESHOLD_PER_CONNECTOR_MEAN	140
+#define THRESHOLD_ALL_CONNECTORS_MEAN	100
 #define CHECK_TIMES			15
 
 IGT_TEST_DESCRIPTION("This test checks the time it takes to reprobe each "
 		     "connector and fails if either the time it takes for "
 		     "one reprobe is too long or if the mean time it takes "
-		     "to reprobe one connector is too long.");
+		     "to reprobe one connector is too long.  Additionally, "
+		     "make sure that the mean time for all connectors is "
+		     "not too long.");
 
 igt_simple_main
 {
 	DIR *dirp;
 	struct dirent *de;
+	struct igt_mean all_mean;
 
 	dirp = opendir("/sys/class/drm");
 	igt_assert(dirp != NULL);
 
+	igt_mean_init(&all_mean);
+
 	while ((de = readdir(dirp))) {
 		struct igt_mean mean = {};
 		struct stat st;
@@ -88,7 +94,14 @@ igt_simple_main
 			     "%s: mean probe time exceeded %dms,
 max=%.2fms, avg=%.2fms\n",
 			     de->d_name,
 THRESHOLD_PER_CONNECTOR_MEAN,
 			     mean.max / 1e6, mean.mean / 1e6);
+
+		igt_mean_add(&all_mean, mean.mean);
 	}
-	closedir(dirp);
 
+	igt_assert_f(all_mean.mean < THRESHOLD_ALL_CONNECTORS_MEAN *

1e6,

tests/kms_sysfs_edid_timing.c +1 -0
+		     "Mean of all connector means exceeds %dms, max=%.2fms,

mean=%.2fms\n",

tests/kms_sysfs_edid_timing.c +1 -0
+		     THRESHOLD_ALL_CONNECTORS_MEAN, all_mean.max /

1e6,

tests/kms_sysfs_edid_timing.c +3 -1
+		     all_mean.mean / 1e6);
+
+	closedir(dirp);
 }
--

2.36.1

#9 lore raw

[igt-dev] ✗ GitLab.Pipeline: warning for tests/kms_sysfs_edid_timing: rework thresholds (rev2)

In reply to Luca Coelho
== Series Details ==

== Series Details ==

Series: tests/kms_sysfs_edid_timing: rework thresholds (rev2)
URL : https://patchwork.freedesktop.org/series/104802/
State : warning

== Summary ==

Pipeline status: FAILED.

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

test:ninja-test-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/24090518):
Ok: 22
Expected Fail: 3
Fail: 290

  Unexpected Pass:       0
  Skipped:               0
  Timeout:               0

Full log written to /builds/gfx-ci/igt-ci-tags/build/meson-logs/testlog.txt section_end:1655297704:step_script
section_start:1655297704:upload_artifacts_on_failure
Uploading artifacts for failed job
Uploading artifacts...
build: found 1752 matching files and directories
Uploading artifacts as "archive" to coordinator... 201 Created id=24090518 responseStatus=201 Created token=s-njpHxU section_end:1655297712:upload_artifacts_on_failure
section_start:1655297712:cleanup_file_variables
Cleaning up project directory and file based variables section_end:1655297713:cleanup_file_variables
ERROR: Job failed: exit code 1

== Logs ==

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

#10 lore raw

[igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_sysfs_edid_timing: rework thresholds (rev2)

In reply to Luca Coelho
== Series Details ==

== Series Details ==

Series: tests/kms_sysfs_edid_timing: rework thresholds (rev2)
URL : https://patchwork.freedesktop.org/series/104802/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_11759 -> IGTPW_7319
====================================================

Summary
-------

**FAILURE**

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

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

Participating hosts (44 -> 43)
------------------------------

Additional (1): bat-dg2-8
Missing (2): fi-bdw-samus fi-tgl-u2

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

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

### IGT changes ###

#### Possible regressions ####

* igt@gem_mmap_gtt@basic:
- fi-kbl-soraka: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11759/fi-kbl-soraka/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7319/fi-kbl-soraka/igt@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@i915_selftest@live@hangcheck:
- bat-dg1-6: [PASS][3] -> [DMESG-FAIL][4] ([i915#4494] / [i915#4957])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11759/bat-dg1-6/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7319/bat-dg1-6/igt@i915_selftest@[email protected]

* igt@kms_flip@basic-flip-vs-modeset@b-edp1:
- bat-adlp-4: [PASS][5] -> [DMESG-WARN][6] ([i915#3576])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11759/bat-adlp-4/igt@kms_flip@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7319/bat-adlp-4/igt@kms_flip@[email protected]

#### Possible fixes ####

* igt@gem_exec_suspend@basic-s0@smem:
- {fi-ehl-2}: [DMESG-WARN][7] ([i915#5122]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11759/fi-ehl-2/igt@gem_exec_suspend@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7319/fi-ehl-2/igt@gem_exec_suspend@[email protected]

* igt@i915_pm_rpm@module-reload:
- bat-adlp-4: [DMESG-WARN][9] ([i915#3576]) -> [PASS][10] +2 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11759/bat-adlp-4/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7319/bat-adlp-4/igt@[email protected]

* igt@i915_selftest@live@gt_heartbeat:
- fi-cfl-guc: [DMESG-FAIL][11] ([i915#5334]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11759/fi-cfl-guc/igt@i915_selftest@live@gt_heartbeat.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7319/fi-cfl-guc/igt@i915_selftest@live@gt_heartbeat.html

* igt@i915_selftest@live@perf:
- {bat-dg2-9}: [DMESG-WARN][13] ([i915#5763]) -> [PASS][14] +2 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11759/bat-dg2-9/igt@i915_selftest@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7319/bat-dg2-9/igt@i915_selftest@[email protected]

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

[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1155]: https://gitlab.freedesktop.org/drm/intel/issues/1155
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3576]: https://gitlab.freedesktop.org/drm/intel/issues/3576
[i915#3595]: https://gitlab.freedesktop.org/drm/intel/issues/3595
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#4494]: https://gitlab.freedesktop.org/drm/intel/issues/4494
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873
[i915#4957]: https://gitlab.freedesktop.org/drm/intel/issues/4957
[i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
[i915#5174]: https://gitlab.freedesktop.org/drm/intel/issues/5174
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5763]: https://gitlab.freedesktop.org/drm/intel/issues/5763
[i915#5885]: https://gitlab.freedesktop.org/drm/intel/issues/5885
[i915#5886]: https://gitlab.freedesktop.org/drm/intel/issues/5886
[i915#5903]: https://gitlab.freedesktop.org/drm/intel/issues/5903
[i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227

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

* CI: CI-20190529 -> None
* IGT: IGT_6529 -> IGTPW_7319

CI-20190529: 20190529
CI_DRM_11759: fa66b647ce886c01bbe1e9f3017a141e90d87539 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_7319: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7319/index.html
IGT_6529: b96bf5a0307fc0bdbf6c8e86872817306e102883 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

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

#11 lore raw
In reply to Luca Coelho
Quoted 15 lines · Luca Coelho

From: Luca Coelho <[email protected]>

Hi,

There were a few issues with the kms_sysfs_edid_timing test:

* The per connector threshold was too short;
* A warning was issued when the test should actually fail;
* The test description was cryptic;
* Total probing mean was proposed but not implemented.

Address all these issues by reworking the way we test the time it takes to probe single connectors, mean of single connectors and add a check for a mean of all connectors.

Quoted 6 lines

In v2:

* Fixed typo, s/reprode/reprobe/ (Mika);
* Increased the threshold times (Petri).

Please review.

Hi,

Can this patchset be merged? Mika already reviewed them. Or is there still something pending that I missed?

I can rebase and resend them if needed.

--
Cheers,
Luca.