* [igt-dev] [PATCH i-g-t] i915/hangman: Skip if disabled by the kernel
@ 2019-01-10 9:19 Chris Wilson
2019-01-10 9:43 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Chris Wilson @ 2019-01-10 9:19 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev
Some kernels may have to disable error capture for some hardware or by
it being configured out. Since it is conditionally available, asserting
it exists is not an actual requirement. For hardware where we are unable
to provide error state capture, skip.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/i915/hangman.c | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/tests/i915/hangman.c b/tests/i915/hangman.c
index 6ddae4912..4035f7384 100644
--- a/tests/i915/hangman.c
+++ b/tests/i915/hangman.c
@@ -42,13 +42,16 @@
static int device = -1;
static int sysfs = -1;
-static void test_sysfs_error_exists(void)
+static bool has_error_state(int dir)
{
- char *error;
+ int fd;
- error = igt_sysfs_get(sysfs, "error");
- igt_assert(error);
- free(error);
+ fd = openat(dir, "error", O_RDONLY);
+ if (fd < 0)
+ return false;
+
+ close(fd);
+ return true;
}
static void assert_entry(const char *s, bool expect)
@@ -256,12 +259,12 @@ igt_main
device = drm_open_driver(DRIVER_INTEL);
igt_require_gem(device);
+
sysfs = igt_sysfs_open(device, &idx);
igt_assert(sysfs != -1);
- }
- igt_subtest("error-state-sysfs-entry")
- test_sysfs_error_exists();
+ igt_require(has_error_state(sysfs));
+ }
igt_subtest("error-state-basic")
test_error_state_basic();
--
2.20.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 4+ messages in thread* [igt-dev] ✓ Fi.CI.BAT: success for i915/hangman: Skip if disabled by the kernel
2019-01-10 9:19 [igt-dev] [PATCH i-g-t] i915/hangman: Skip if disabled by the kernel Chris Wilson
@ 2019-01-10 9:43 ` Patchwork
2019-01-10 12:27 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-01-10 22:11 ` [igt-dev] [PATCH i-g-t] " Antonio Argenziano
2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2019-01-10 9:43 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: i915/hangman: Skip if disabled by the kernel
URL : https://patchwork.freedesktop.org/series/54982/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_5388 -> IGTPW_2211
====================================================
Summary
-------
**WARNING**
Minor unknown changes coming with IGTPW_2211 need to be verified
manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_2211, 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/54982/revisions/1/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_2211:
### IGT changes ###
#### Warnings ####
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-c:
- fi-kbl-7567u: PASS -> SKIP +33
Known issues
------------
Here are the changes found in IGTPW_2211 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s4-devices:
- fi-blb-e6850: PASS -> INCOMPLETE [fdo#107718]
* igt@pm_rpm@module-reload:
- fi-kbl-7567u: NOTRUN -> DMESG-WARN [fdo#108529]
#### Possible fixes ####
* igt@i915_module_load@reload-no-display:
- fi-kbl-7567u: DMESG-WARN [fdo#103558] / [fdo#105602] -> PASS
* igt@kms_pipe_crc_basic@read-crc-pipe-b-frame-sequence:
- fi-byt-clapper: FAIL [fdo#103191] / [fdo#107362] -> PASS
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#108529]: https://bugs.freedesktop.org/show_bug.cgi?id=108529
[fdo#108915]: https://bugs.freedesktop.org/show_bug.cgi?id=108915
[fdo#109241]: https://bugs.freedesktop.org/show_bug.cgi?id=109241
Participating hosts (45 -> 42)
------------------------------
Additional (2): fi-icl-y fi-cfl-8109u
Missing (5): fi-kbl-soraka fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-bdw-samus
Build changes
-------------
* IGT: IGT_4757 -> IGTPW_2211
CI_DRM_5388: 731b7c46eb131c27164b336756d2e551dd813aae @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_2211: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2211/
IGT_4757: 738f43a54d626f08e250c926a5aeec53458fbd3c @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Testlist changes ==
-igt@i915_hangman@error-state-sysfs-entry
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2211/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 4+ messages in thread* [igt-dev] ✓ Fi.CI.IGT: success for i915/hangman: Skip if disabled by the kernel
2019-01-10 9:19 [igt-dev] [PATCH i-g-t] i915/hangman: Skip if disabled by the kernel Chris Wilson
2019-01-10 9:43 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2019-01-10 12:27 ` Patchwork
2019-01-10 22:11 ` [igt-dev] [PATCH i-g-t] " Antonio Argenziano
2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2019-01-10 12:27 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: i915/hangman: Skip if disabled by the kernel
URL : https://patchwork.freedesktop.org/series/54982/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_5388_full -> IGTPW_2211_full
====================================================
Summary
-------
**WARNING**
Minor unknown changes coming with IGTPW_2211_full need to be verified
manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_2211_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/54982/revisions/1/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_2211_full:
### IGT changes ###
#### Warnings ####
* igt@pm_rpm@gem-mmap-gtt:
- shard-kbl: {SKIP} [fdo#105602] / [fdo#109271] -> PASS
Known issues
------------
Here are the changes found in IGTPW_2211_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_userptr_blits@readonly-unsync:
- shard-kbl: NOTRUN -> TIMEOUT [fdo#108887]
* igt@kms_busy@extended-pageflip-modeset-hang-oldfb-render-a:
- shard-kbl: NOTRUN -> DMESG-WARN [fdo#107956] +1
* igt@kms_ccs@pipe-a-crc-sprite-planes-basic:
- shard-apl: PASS -> FAIL [fdo#106510] / [fdo#108145]
* igt@kms_cursor_crc@cursor-256x256-random:
- shard-glk: PASS -> FAIL [fdo#103232]
- shard-apl: PASS -> FAIL [fdo#103232] +4
* igt@kms_cursor_crc@cursor-256x85-sliding:
- shard-kbl: PASS -> FAIL [fdo#103232]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-apl: PASS -> FAIL [fdo#103167]
* igt@kms_frontbuffer_tracking@fbc-1p-rte:
- shard-apl: PASS -> FAIL [fdo#103167] / [fdo#105682]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-mmap-cpu:
- shard-glk: PASS -> FAIL [fdo#103167] +3
* igt@kms_plane_alpha_blend@pipe-b-alpha-transparant-fb:
- shard-apl: NOTRUN -> FAIL [fdo#108145]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-max:
- shard-glk: PASS -> FAIL [fdo#108145]
- shard-kbl: PASS -> FAIL [fdo#108145]
- shard-apl: PASS -> FAIL [fdo#108145]
* igt@kms_plane_multiple@atomic-pipe-b-tiling-yf:
- shard-apl: PASS -> FAIL [fdo#103166] +1
* igt@kms_plane_multiple@atomic-pipe-c-tiling-x:
- shard-glk: PASS -> FAIL [fdo#103166]
* igt@kms_setmode@basic:
- shard-apl: NOTRUN -> FAIL [fdo#99912]
* igt@kms_vblank@pipe-b-ts-continuation-suspend:
- shard-snb: PASS -> DMESG-WARN [fdo#102365]
#### Possible fixes ####
* igt@gem_persistent_relocs@forked-interruptible-thrashing:
- shard-snb: INCOMPLETE [fdo#105411] -> PASS
* igt@kms_color@pipe-c-gamma:
- shard-kbl: DMESG-WARN [fdo#103558] -> PASS
* igt@kms_cursor_crc@cursor-64x21-onscreen:
- shard-glk: FAIL [fdo#103232] -> PASS +2
* igt@kms_cursor_crc@cursor-64x64-dpms:
- shard-apl: FAIL [fdo#103232] -> PASS
* igt@kms_flip@2x-flip-vs-expired-vblank:
- shard-glk: FAIL [fdo#105363] -> PASS
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-move:
- shard-kbl: FAIL [fdo#103167] -> PASS
- shard-apl: FAIL [fdo#103167] -> PASS
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-fullscreen:
- shard-glk: FAIL [fdo#103167] -> PASS +1
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- shard-kbl: DMESG-WARN [fdo#103558] / [fdo#105602] -> PASS +6
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-max:
- shard-glk: FAIL [fdo#108145] -> PASS +1
* igt@kms_plane_multiple@atomic-pipe-a-tiling-x:
- shard-apl: FAIL [fdo#103166] -> PASS
* igt@kms_plane_multiple@atomic-pipe-b-tiling-none:
- shard-glk: FAIL [fdo#103166] -> PASS +4
* igt@kms_plane_multiple@atomic-pipe-b-tiling-x:
- shard-kbl: FAIL [fdo#103166] -> PASS +1
* igt@kms_rotation_crc@multiplane-rotation-cropping-top:
- shard-glk: DMESG-FAIL [fdo#105763] / [fdo#106538] -> PASS
[fdo#102365]: https://bugs.freedesktop.org/show_bug.cgi?id=102365
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#105682]: https://bugs.freedesktop.org/show_bug.cgi?id=105682
[fdo#105763]: https://bugs.freedesktop.org/show_bug.cgi?id=105763
[fdo#106510]: https://bugs.freedesktop.org/show_bug.cgi?id=106510
[fdo#106538]: https://bugs.freedesktop.org/show_bug.cgi?id=106538
[fdo#107956]: https://bugs.freedesktop.org/show_bug.cgi?id=107956
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108887]: https://bugs.freedesktop.org/show_bug.cgi?id=108887
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
Participating hosts (7 -> 5)
------------------------------
Missing (2): shard-skl shard-iclb
Build changes
-------------
* IGT: IGT_4757 -> IGTPW_2211
* Piglit: piglit_4509 -> None
CI_DRM_5388: 731b7c46eb131c27164b336756d2e551dd813aae @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_2211: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2211/
IGT_4757: 738f43a54d626f08e250c926a5aeec53458fbd3c @ 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_2211/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [igt-dev] [PATCH i-g-t] i915/hangman: Skip if disabled by the kernel
2019-01-10 9:19 [igt-dev] [PATCH i-g-t] i915/hangman: Skip if disabled by the kernel Chris Wilson
2019-01-10 9:43 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-01-10 12:27 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2019-01-10 22:11 ` Antonio Argenziano
2 siblings, 0 replies; 4+ messages in thread
From: Antonio Argenziano @ 2019-01-10 22:11 UTC (permalink / raw)
To: Chris Wilson, intel-gfx; +Cc: igt-dev
On 10/01/19 01:19, Chris Wilson wrote:
> Some kernels may have to disable error capture for some hardware or by
> it being configured out. Since it is conditionally available, asserting
> it exists is not an actual requirement. For hardware where we are unable
> to provide error state capture, skip.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
LGTM.
Acked-by: Antonio Argenziano <antonio.argenziano@intel.com>
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-01-10 22:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-10 9:19 [igt-dev] [PATCH i-g-t] i915/hangman: Skip if disabled by the kernel Chris Wilson
2019-01-10 9:43 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-01-10 12:27 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-01-10 22:11 ` [igt-dev] [PATCH i-g-t] " Antonio Argenziano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox