Skip to contentSkip to conversation

kms_pipe_crc_basic: Skip when hitting -EIO

PATCH In review Maarten Lankhorst 3 participants 5 messages Aug 2, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kms_pipe_crc_basic: Skip when hitting -EIO

-EIO is returned when the crtc is not active, in which case we skip the test because the parsing of the parameter in crtc-0/crc/control is not done.

---
 tests/kms_pipe_crc_basic.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
tests/kms_pipe_crc_basic.c +3 -1
index 920eb6e06d37..852f1697274c 100644
@@ -49,8 +49,10 @@ static struct {
 static void test_bad_source(data_t *data)
 {
 	errno = 0;
-	if (igt_sysfs_set(data->debugfs, "crtc-0/crc/control", "foo"))
+	if (igt_sysfs_set(data->debugfs, "crtc-0/crc/control", "foo")) {
 		igt_assert(openat(data->debugfs, "crtc-0/crc/data", O_WRONLY) == -1);
+		igt_skip_on(errno == EIO);
+	}
 
 	igt_assert_eq(errno, EINVAL);
 }
Signature · 6 lines
2.18.0

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

[igt-dev] ✓ Fi.CI.BAT: success for kms_pipe_crc_basic: Skip when hitting -EIO

== Series Details ==

== Series Details ==

Series: kms_pipe_crc_basic: Skip when hitting -EIO
URL : https://patchwork.freedesktop.org/series/47618/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4606 -> IGTPW_1678 =

== Summary - WARNING ==

Minor unknown changes coming with IGTPW_1678 need to be verified manually.

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

External URL: https://patchwork.freedesktop.org/api/1.0/series/47618/revisions/1/mbox/

== Possible new issues ==

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

=== IGT changes ===

    ==== Warnings ====

    igt@kms_pipe_crc_basic@bad-source:
      fi-kbl-x1275:       PASS -> SKIP
      fi-kbl-guc:         PASS -> SKIP
      fi-bsw-n3050:       PASS -> SKIP

== Known issues ==

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

=== IGT changes ===

    ==== Issues hit ====

    igt@debugfs_test@read_all_entries:
      {fi-icl-u}:         NOTRUN -> DMESG-WARN (fdo#107396)

    igt@kms_frontbuffer_tracking@basic:
      fi-hsw-peppy:       PASS -> DMESG-FAIL (fdo#106103, fdo#102614)

    igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
      {fi-byt-clapper}:   PASS -> FAIL (fdo#107362, fdo#103191) +1

    igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
      {fi-icl-u}:         NOTRUN -> DMESG-WARN (fdo#107382) +4

    {igt@kms_psr@primary_mmap_gtt}:
      fi-cnl-psr:         PASS -> DMESG-WARN (fdo#107372)

    {igt@kms_psr@primary_page_flip}:
      {fi-icl-u}:         NOTRUN -> FAIL (fdo#107383) +3

    
    ==== Possible fixes ====

    igt@kms_chamelium@dp-edid-read:
      fi-kbl-7500u:       FAIL (fdo#103841) -> PASS

    igt@kms_flip@basic-flip-vs-wf_vblank:
      fi-bsw-n3050:       FAIL (fdo#100368) -> PASS

    igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b-frame-sequence:
      {fi-byt-clapper}:   FAIL (fdo#107362, fdo#103191) -> PASS

    
    ==== Warnings ====

    {igt@kms_psr@primary_page_flip}:
      fi-cnl-psr:         DMESG-WARN (fdo#107372) -> DMESG-FAIL (fdo#107372)

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

fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#102614 https://bugs.freedesktop.org/show_bug.cgi?id=102614
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#103841 https://bugs.freedesktop.org/show_bug.cgi?id=103841
fdo#106103 https://bugs.freedesktop.org/show_bug.cgi?id=106103
fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
fdo#107372 https://bugs.freedesktop.org/show_bug.cgi?id=107372
fdo#107382 https://bugs.freedesktop.org/show_bug.cgi?id=107382
fdo#107383 https://bugs.freedesktop.org/show_bug.cgi?id=107383
fdo#107396 https://bugs.freedesktop.org/show_bug.cgi?id=107396

== Participating hosts (51 -> 47) ==

Additional (1): fi-icl-u
Missing (5): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-hsw-4200u

== Build changes ==

* IGT: IGT_4584 -> IGTPW_1678

CI_DRM_4606: 603c0696f3c56d3f1e47c283de897448473c9041 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1678: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1678/
IGT_4584: 33f47ff4d64bd3996995dc5493deee26294e3aa3 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

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

Reviewed-by
#2 lore raw

Re: [igt-dev] ✓ Fi.CI.BAT: success for kms_pipe_crc_basic: Skip when hitting -EIO

Quoting Patchwork (2018-08-02 15:12:25)

Quoted 25 lines

== Series Details ==

Series: kms_pipe_crc_basic: Skip when hitting -EIO
URL : https://patchwork.freedesktop.org/series/47618/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4606 -> IGTPW_1678 =

== Summary - WARNING ==

Minor unknown changes coming with IGTPW_1678 need to be verified manually.

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

External URL: https://patchwork.freedesktop.org/api/1.0/series/47618/revisions/1/mbox/

== Possible new issues ==

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

Quoted 8 lines

=== IGT changes ===

    ==== Warnings ====

    igt@kms_pipe_crc_basic@bad-source:
      fi-kbl-x1275:       PASS -> SKIP
      fi-kbl-guc:         PASS -> SKIP
      fi-bsw-n3050:       PASS -> SKIP

Ok, that's a little bit confusing as they are the ones that currently fail due to errno being EIO.

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

#3 lore raw

Re: [igt-dev] ✓ Fi.CI.BAT: success for kms_pipe_crc_basic: Skip when hitting -EIO

Op 02-08-18 om 16:22 schreef Chris Wilson:

Quoted 34 lines

Quoting Patchwork (2018-08-02 15:12:25)

Quoted 25 lines

== Series Details ==

Series: kms_pipe_crc_basic: Skip when hitting -EIO
URL : https://patchwork.freedesktop.org/series/47618/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_4606 -> IGTPW_1678 =

== Summary - WARNING ==

Minor unknown changes coming with IGTPW_1678 need to be verified manually.

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

External URL: https://patchwork.freedesktop.org/api/1.0/series/47618/revisions/1/mbox/

== Possible new issues ==

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

Quoted 8 lines

=== IGT changes ===

    ==== Warnings ====

    igt@kms_pipe_crc_basic@bad-source:
      fi-kbl-x1275:       PASS -> SKIP
      fi-kbl-guc:         PASS -> SKIP
      fi-bsw-n3050:       PASS -> SKIP
Quoted 5 lines

Ok, that's a little bit confusing as they are the ones that currently fail due to errno being EIO.

-Chris

Thanks, pushed.

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

#4 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for kms_pipe_crc_basic: Skip when hitting -EIO

In reply to Maarten Lankhorst
== Series Details ==

== Series Details ==

Series: kms_pipe_crc_basic: Skip when hitting -EIO
URL : https://patchwork.freedesktop.org/series/47618/
State : success

== Summary ==

= CI Bug Log - changes from IGT_4584_full -> IGTPW_1678_full =

== Summary - WARNING ==

Minor unknown changes coming with IGTPW_1678_full need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_1678_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://patchwork.freedesktop.org/api/1.0/series/47618/revisions/1/mbox/

== Possible new issues ==

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

=== IGT changes ===

    ==== Warnings ====

    igt@perf_pmu@rc6:
      shard-kbl:          PASS -> SKIP

    igt@prime_busy@before-blt:
      shard-snb:          SKIP -> PASS

== Known issues ==

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

=== IGT changes ===

    ==== Issues hit ====

    igt@kms_plane_multiple@atomic-pipe-a-tiling-x:
      shard-snb:          NOTRUN -> FAIL (fdo#103166)

    igt@kms_universal_plane@cursor-fb-leak-pipe-a:
      shard-apl:          PASS -> FAIL (fdo#107241)

    igt@pm_rpm@debugfs-read:
      shard-kbl:          PASS -> FAIL (fdo#106539) +2
      shard-hsw:          PASS -> FAIL (fdo#106539) +2

    igt@pm_rpm@dpms-non-lpsp:
      shard-glk:          PASS -> FAIL (fdo#106539) +2

    igt@pm_rpm@sysfs-read:
      shard-apl:          PASS -> FAIL (fdo#106539) +2

    
    ==== Possible fixes ====

    igt@drv_suspend@shrink:
      shard-snb:          FAIL (fdo#106886) -> PASS

    igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-mmap-wc:
      shard-snb:          DMESG-WARN -> PASS

    igt@kms_setmode@basic:
      shard-kbl:          FAIL (fdo#99912) -> PASS

    igt@perf_pmu@busy-vcs0:
      shard-snb:          INCOMPLETE (fdo#105411) -> PASS

fdo#103166 https://bugs.freedesktop.org/show_bug.cgi?id=103166
fdo#105411 https://bugs.freedesktop.org/show_bug.cgi?id=105411
fdo#106539 https://bugs.freedesktop.org/show_bug.cgi?id=106539
fdo#106886 https://bugs.freedesktop.org/show_bug.cgi?id=106886
fdo#107241 https://bugs.freedesktop.org/show_bug.cgi?id=107241
fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912

== Participating hosts (5 -> 5) ==

No changes in participating hosts

== Build changes ==

* IGT: IGT_4584 -> IGTPW_1678
* Linux: CI_DRM_4605 -> CI_DRM_4606

CI_DRM_4605: 50098198da758bdd54245d511f4f97236c296c72 @ git://anongit.freedesktop.org/gfx-ci/linux
CI_DRM_4606: 603c0696f3c56d3f1e47c283de897448473c9041 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1678: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1678/
IGT_4584: 33f47ff4d64bd3996995dc5493deee26294e3aa3 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

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