* [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump()
@ 2019-09-20 1:07 Lucas De Marchi
2019-09-20 1:37 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
` (5 more replies)
0 siblings, 6 replies; 12+ messages in thread
From: Lucas De Marchi @ 2019-09-20 1:07 UTC (permalink / raw)
To: igt-dev
/dev/kmsg is record-oriented rather than line-oriented. A short read in
which the record doesn't fit will return -EINVAL and getline() will stop
working. This is in general not a problem since the (default) stdio
buffer is bigger than the maximum record size (4096). However let's
abide by the kernel ABI rather than relying on the libc buffer size.
While reimplementing, fix the following issues that made me look to the
implementation in the first place:
1) we were skipping 1 char in the message, producing messages like the
one below (see the missing i in intel_pch_type):
(i915_selftest:3861) igt_kmod-WARNING: ntel_pch_type [i915]] Found Tiger Lake LP PCH
2) we were printing the key=val pair of kmsg as if it was part of the
messsages, and even mangling the result looking for a ':':
(i915_selftest:3861) igt_kmod-WARNING: 000:00:02.0
The ABI for /dev/kmsg stands:
Accessing the buffer:
Every read() from the opened device node receives one record
of the kernel's printk buffer.
[ ... ]
Future extensions might add more comma separated values before
the terminating ';'. Unknown fields and values should be
gracefully ignored.
The human readable text string starts directly after the ';'
and is terminated by a '\n'. Untrusted values derived from
hardware or other facilities are printed, therefore
all non-printable characters and '\' itself in the log message
are escaped by "\x00" C-style hex encoding.
A line starting with ' ', is a continuation line, adding
key/value pairs to the log message, which provide the machine
readable context of the message, for reliable processing in
userspace.
Now the line in (1) print as:
(i915_selftest:5070) igt_kmod-WARNING: [drm:intel_pch_type [i915]] Found Tiger Lake LP PCH
This also fixes a double close on fclose() already closes the file
descriptor.
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
lib/igt_kmod.c | 43 ++++++++++++++++++++++++++-----------------
1 file changed, 26 insertions(+), 17 deletions(-)
diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c
index 91662eb3..01faca39 100644
--- a/lib/igt_kmod.c
+++ b/lib/igt_kmod.c
@@ -374,25 +374,34 @@ igt_i915_driver_unload(void)
static void kmsg_dump(int fd)
{
- FILE *file;
-
- file = NULL;
- if (fd != -1)
- file = fdopen(fd, "r");
- if (file) {
- size_t len = 0;
- char *line = NULL;
-
- while (getline(&line, &len, file) != -1) {
- char *start = strchr(line, ':');
- if (start)
- igt_warn("%s", start + 2);
- }
+ char record[4096 + 1];
- free(line);
- fclose(file);
- } else {
+ if (fd == -1) {
igt_warn("Unable to retrieve kernel log (from /dev/kmsg)\n");
+ return;
+ }
+
+ record[sizeof(record) - 1] = '\0';
+
+ for (;;) {
+ const char *start, *end;
+ ssize_t r;
+
+ r = read(fd, record, sizeof(record) - 1);
+ if (r < 0) {
+ if (errno == EINTR)
+ continue;
+ if (errno != EAGAIN)
+ igt_warn("kmsg truncated due to unknown error: %m\n");
+ break;
+ }
+
+ start = strchr(record, ';');
+ if (start) {
+ start++;
+ end = strchrnul(start, '\n');
+ igt_warn("%.*s\n", (int)(end - start), start);
+ }
}
}
--
2.23.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for lib/kmod: reimplement kmsg_dump()
2019-09-20 1:07 [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump() Lucas De Marchi
@ 2019-09-20 1:37 ` Patchwork
2019-09-20 10:25 ` [igt-dev] [PATCH i-g-t] " Petri Latvala
` (4 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2019-09-20 1:37 UTC (permalink / raw)
To: Lucas De Marchi; +Cc: igt-dev
== Series Details ==
Series: lib/kmod: reimplement kmsg_dump()
URL : https://patchwork.freedesktop.org/series/66961/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6925 -> IGTPW_3481
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/66961/revisions/1/mbox/
Known issues
------------
Here are the changes found in IGTPW_3481 that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@gem_cpu_reloc@basic:
- fi-bxt-dsi: [INCOMPLETE][1] ([fdo#103927]) -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/fi-bxt-dsi/igt@gem_cpu_reloc@basic.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/fi-bxt-dsi/igt@gem_cpu_reloc@basic.html
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-icl-u2: [FAIL][3] ([fdo#109483]) -> [PASS][4] +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/fi-icl-u2/igt@kms_chamelium@hdmi-hpd-fast.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/fi-icl-u2/igt@kms_chamelium@hdmi-hpd-fast.html
* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u2: [FAIL][5] ([fdo#103167]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/fi-icl-u2/igt@kms_frontbuffer_tracking@basic.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/fi-icl-u2/igt@kms_frontbuffer_tracking@basic.html
* igt@prime_vgem@basic-busy-default:
- fi-icl-u3: [DMESG-WARN][7] ([fdo#107724]) -> [PASS][8] +3 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/fi-icl-u3/igt@prime_vgem@basic-busy-default.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/fi-icl-u3/igt@prime_vgem@basic-busy-default.html
#### Warnings ####
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][9] ([fdo#111407]) -> [FAIL][10] ([fdo#111096])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#106107]: https://bugs.freedesktop.org/show_bug.cgi?id=106107
[fdo#106350]: https://bugs.freedesktop.org/show_bug.cgi?id=106350
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#109483]: https://bugs.freedesktop.org/show_bug.cgi?id=109483
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[fdo#111407]: https://bugs.freedesktop.org/show_bug.cgi?id=111407
[fdo#111562]: https://bugs.freedesktop.org/show_bug.cgi?id=111562
[fdo#111597]: https://bugs.freedesktop.org/show_bug.cgi?id=111597
Participating hosts (53 -> 47)
------------------------------
Additional (1): fi-pnv-d510
Missing (7): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5193 -> IGTPW_3481
CI-20190529: 20190529
CI_DRM_6925: ccd2c9cb3fd35f9654cdf6743bdecfb489fba70a @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3481: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/
IGT_5193: 924e5c59dbb82938e743efd6b0812eeb5760b70d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump()
2019-09-20 1:07 [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump() Lucas De Marchi
2019-09-20 1:37 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2019-09-20 10:25 ` Petri Latvala
2019-09-20 15:35 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork
` (3 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Petri Latvala @ 2019-09-20 10:25 UTC (permalink / raw)
To: Lucas De Marchi; +Cc: igt-dev
On Thu, Sep 19, 2019 at 06:07:23PM -0700, Lucas De Marchi wrote:
> /dev/kmsg is record-oriented rather than line-oriented. A short read in
> which the record doesn't fit will return -EINVAL and getline() will stop
> working. This is in general not a problem since the (default) stdio
> buffer is bigger than the maximum record size (4096). However let's
> abide by the kernel ABI rather than relying on the libc buffer size.
>
> While reimplementing, fix the following issues that made me look to the
> implementation in the first place:
>
> 1) we were skipping 1 char in the message, producing messages like the
> one below (see the missing i in intel_pch_type):
> (i915_selftest:3861) igt_kmod-WARNING: ntel_pch_type [i915]] Found Tiger Lake LP PCH
>
> 2) we were printing the key=val pair of kmsg as if it was part of the
> messsages, and even mangling the result looking for a ':':
> (i915_selftest:3861) igt_kmod-WARNING: 000:00:02.0
>
> The ABI for /dev/kmsg stands:
> Accessing the buffer:
> Every read() from the opened device node receives one record
> of the kernel's printk buffer.
>
> [ ... ]
>
> Future extensions might add more comma separated values before
> the terminating ';'. Unknown fields and values should be
> gracefully ignored.
>
> The human readable text string starts directly after the ';'
> and is terminated by a '\n'. Untrusted values derived from
> hardware or other facilities are printed, therefore
> all non-printable characters and '\' itself in the log message
> are escaped by "\x00" C-style hex encoding.
>
> A line starting with ' ', is a continuation line, adding
> key/value pairs to the log message, which provide the machine
> readable context of the message, for reliable processing in
> userspace.
>
> Now the line in (1) print as:
> (i915_selftest:5070) igt_kmod-WARNING: [drm:intel_pch_type [i915]] Found Tiger Lake LP PCH
>
> This also fixes a double close on fclose() already closes the file
> descriptor.
>
> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
> ---
> lib/igt_kmod.c | 43 ++++++++++++++++++++++++++-----------------
> 1 file changed, 26 insertions(+), 17 deletions(-)
>
> diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c
> index 91662eb3..01faca39 100644
> --- a/lib/igt_kmod.c
> +++ b/lib/igt_kmod.c
> @@ -374,25 +374,34 @@ igt_i915_driver_unload(void)
>
> static void kmsg_dump(int fd)
> {
> - FILE *file;
> -
> - file = NULL;
> - if (fd != -1)
> - file = fdopen(fd, "r");
> - if (file) {
> - size_t len = 0;
> - char *line = NULL;
> -
> - while (getline(&line, &len, file) != -1) {
> - char *start = strchr(line, ':');
> - if (start)
> - igt_warn("%s", start + 2);
> - }
> + char record[4096 + 1];
>
> - free(line);
> - fclose(file);
> - } else {
> + if (fd == -1) {
> igt_warn("Unable to retrieve kernel log (from /dev/kmsg)\n");
> + return;
> + }
> +
> + record[sizeof(record) - 1] = '\0';
> +
> + for (;;) {
> + const char *start, *end;
> + ssize_t r;
> +
> + r = read(fd, record, sizeof(record) - 1);
> + if (r < 0) {
> + if (errno == EINTR)
> + continue;
> + if (errno != EAGAIN)
> + igt_warn("kmsg truncated due to unknown error: %m\n");
> + break;
> + }
> +
> + start = strchr(record, ';');
> + if (start) {
> + start++;
> + end = strchrnul(start, '\n');
> + igt_warn("%.*s\n", (int)(end - start), start);
> + }
> }
> }
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Can I interest you in refactoring this and parse_dmesg_line() in
runner/resultgen.c together? :P
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 12+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for lib/kmod: reimplement kmsg_dump()
2019-09-20 1:07 [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump() Lucas De Marchi
2019-09-20 1:37 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-09-20 10:25 ` [igt-dev] [PATCH i-g-t] " Petri Latvala
@ 2019-09-20 15:35 ` Patchwork
2019-09-27 20:09 ` [igt-dev] [PATCH i-g-t] " Chris Wilson
` (2 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2019-09-20 15:35 UTC (permalink / raw)
To: Lucas De Marchi; +Cc: igt-dev
== Series Details ==
Series: lib/kmod: reimplement kmsg_dump()
URL : https://patchwork.freedesktop.org/series/66961/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6925_full -> IGTPW_3481_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/66961/revisions/1/mbox/
Known issues
------------
Here are the changes found in IGTPW_3481_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-iclb: [PASS][1] -> [SKIP][2] ([fdo#110841])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb5/igt@gem_ctx_shared@exec-single-timeline-bsd.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb1/igt@gem_ctx_shared@exec-single-timeline-bsd.html
* igt@gem_exec_balancer@smoke:
- shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#110854])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb4/igt@gem_exec_balancer@smoke.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb8/igt@gem_exec_balancer@smoke.html
* igt@gem_exec_schedule@deep-bsd:
- shard-iclb: [PASS][5] -> [SKIP][6] ([fdo#111325]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb7/igt@gem_exec_schedule@deep-bsd.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb2/igt@gem_exec_schedule@deep-bsd.html
* igt@gem_exec_schedule@reorder-wide-bsd1:
- shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#109276]) +16 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb4/igt@gem_exec_schedule@reorder-wide-bsd1.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb8/igt@gem_exec_schedule@reorder-wide-bsd1.html
* igt@i915_suspend@debugfs-reader:
- shard-apl: [PASS][9] -> [DMESG-WARN][10] ([fdo#108566]) +7 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-apl7/igt@i915_suspend@debugfs-reader.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-apl8/igt@i915_suspend@debugfs-reader.html
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-kbl: [PASS][11] -> [FAIL][12] ([fdo#103232])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-kbl6/igt@kms_cursor_crc@pipe-a-cursor-suspend.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-kbl7/igt@kms_cursor_crc@pipe-a-cursor-suspend.html
- shard-apl: [PASS][13] -> [FAIL][14] ([fdo#103232])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-apl6/igt@kms_cursor_crc@pipe-a-cursor-suspend.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-apl4/igt@kms_cursor_crc@pipe-a-cursor-suspend.html
* igt@kms_cursor_edge_walk@pipe-c-128x128-left-edge:
- shard-iclb: [PASS][15] -> [INCOMPLETE][16] ([fdo#107713])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb7/igt@kms_cursor_edge_walk@pipe-c-128x128-left-edge.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb7/igt@kms_cursor_edge_walk@pipe-c-128x128-left-edge.html
* igt@kms_flip@modeset-vs-vblank-race:
- shard-glk: [PASS][17] -> [FAIL][18] ([fdo#111609])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-glk6/igt@kms_flip@modeset-vs-vblank-race.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-glk8/igt@kms_flip@modeset-vs-vblank-race.html
* igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-pwrite:
- shard-iclb: [PASS][19] -> [FAIL][20] ([fdo#103167]) +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-pwrite.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb8/igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-pwrite.html
* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-iclb: [PASS][21] -> [FAIL][22] ([fdo#103166])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb7/igt@kms_plane_lowres@pipe-a-tiling-x.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb7/igt@kms_plane_lowres@pipe-a-tiling-x.html
* igt@kms_psr@psr2_basic:
- shard-iclb: [PASS][23] -> [SKIP][24] ([fdo#109441]) +2 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb2/igt@kms_psr@psr2_basic.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb3/igt@kms_psr@psr2_basic.html
#### Possible fixes ####
* igt@gem_ctx_switch@legacy-bsd2-heavy-queue:
- shard-iclb: [SKIP][25] ([fdo#109276]) -> [PASS][26] +10 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb8/igt@gem_ctx_switch@legacy-bsd2-heavy-queue.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb4/igt@gem_ctx_switch@legacy-bsd2-heavy-queue.html
* igt@gem_exec_schedule@pi-ringfull-bsd:
- shard-iclb: [SKIP][27] ([fdo#111325]) -> [PASS][28] +7 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb1/igt@gem_exec_schedule@pi-ringfull-bsd.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb5/igt@gem_exec_schedule@pi-ringfull-bsd.html
* igt@gem_partial_pwrite_pread@writes-after-reads-uncached:
- shard-apl: [INCOMPLETE][29] ([fdo#103927]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-apl4/igt@gem_partial_pwrite_pread@writes-after-reads-uncached.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-apl4/igt@gem_partial_pwrite_pread@writes-after-reads-uncached.html
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [DMESG-WARN][31] ([fdo#108566]) -> [PASS][32] +2 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-apl8/igt@i915_suspend@fence-restore-tiled2untiled.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-apl6/igt@i915_suspend@fence-restore-tiled2untiled.html
* igt@kms_busy@extended-modeset-hang-oldfb-render-a:
- shard-kbl: [DMESG-WARN][33] ([fdo#111758]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-kbl2/igt@kms_busy@extended-modeset-hang-oldfb-render-a.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-kbl3/igt@kms_busy@extended-modeset-hang-oldfb-render-a.html
* igt@kms_cursor_crc@pipe-a-cursor-64x21-random:
- shard-iclb: [INCOMPLETE][35] ([fdo#107713]) -> [PASS][36] +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb7/igt@kms_cursor_crc@pipe-a-cursor-64x21-random.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb2/igt@kms_cursor_crc@pipe-a-cursor-64x21-random.html
* igt@kms_cursor_crc@pipe-c-cursor-256x256-random:
- shard-kbl: [FAIL][37] ([fdo#103232]) -> [PASS][38] +2 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-kbl1/igt@kms_cursor_crc@pipe-c-cursor-256x256-random.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-kbl1/igt@kms_cursor_crc@pipe-c-cursor-256x256-random.html
* igt@kms_cursor_crc@pipe-c-cursor-64x21-random:
- shard-apl: [FAIL][39] ([fdo#103232]) -> [PASS][40] +2 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-apl1/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-apl1/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html
* igt@kms_flip@flip-vs-suspend:
- shard-hsw: [INCOMPLETE][41] ([fdo#103540]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-hsw5/igt@kms_flip@flip-vs-suspend.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-hsw6/igt@kms_flip@flip-vs-suspend.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-pwrite:
- shard-iclb: [FAIL][43] ([fdo#103167]) -> [PASS][44] +2 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-pwrite.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-pwrite.html
* igt@kms_psr@no_drrs:
- shard-iclb: [FAIL][45] ([fdo#108341]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb1/igt@kms_psr@no_drrs.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb3/igt@kms_psr@no_drrs.html
* igt@kms_psr@psr2_dpms:
- shard-iclb: [SKIP][47] ([fdo#109441]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb5/igt@kms_psr@psr2_dpms.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb2/igt@kms_psr@psr2_dpms.html
* igt@kms_vblank@pipe-c-ts-continuation-modeset:
- shard-kbl: [DMESG-WARN][49] ([fdo#103313]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-kbl2/igt@kms_vblank@pipe-c-ts-continuation-modeset.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-kbl6/igt@kms_vblank@pipe-c-ts-continuation-modeset.html
#### Warnings ####
* igt@gem_mocs_settings@mocs-isolation-bsd2:
- shard-iclb: [SKIP][51] ([fdo#109276]) -> [FAIL][52] ([fdo#111330])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6925/shard-iclb3/igt@gem_mocs_settings@mocs-isolation-bsd2.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/shard-iclb1/igt@gem_mocs_settings@mocs-isolation-bsd2.html
[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#103313]: https://bugs.freedesktop.org/show_bug.cgi?id=103313
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108341]: https://bugs.freedesktop.org/show_bug.cgi?id=108341
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841
[fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
[fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325
[fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
[fdo#111609]: https://bugs.freedesktop.org/show_bug.cgi?id=111609
[fdo#111758]: https://bugs.freedesktop.org/show_bug.cgi?id=111758
Participating hosts (10 -> 6)
------------------------------
Missing (4): pig-skl-6260u shard-skl pig-hsw-4770r pig-glk-j5005
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5193 -> IGTPW_3481
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_6925: ccd2c9cb3fd35f9654cdf6743bdecfb489fba70a @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3481: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3481/
IGT_5193: 924e5c59dbb82938e743efd6b0812eeb5760b70d @ 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_3481/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump()
2019-09-20 1:07 [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump() Lucas De Marchi
` (2 preceding siblings ...)
2019-09-20 15:35 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork
@ 2019-09-27 20:09 ` Chris Wilson
2019-09-27 20:24 ` Lucas De Marchi
2019-09-27 23:34 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/kmod: reimplement kmsg_dump() (rev2) Patchwork
2019-09-28 16:48 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
5 siblings, 1 reply; 12+ messages in thread
From: Chris Wilson @ 2019-09-27 20:09 UTC (permalink / raw)
To: Lucas De Marchi, igt-dev
Quoting Lucas De Marchi (2019-09-20 02:07:23)
> /dev/kmsg is record-oriented rather than line-oriented. A short read in
> which the record doesn't fit will return -EINVAL and getline() will stop
> working. This is in general not a problem since the (default) stdio
> buffer is bigger than the maximum record size (4096). However let's
> abide by the kernel ABI rather than relying on the libc buffer size.
>
> While reimplementing, fix the following issues that made me look to the
> implementation in the first place:
>
> 1) we were skipping 1 char in the message, producing messages like the
> one below (see the missing i in intel_pch_type):
> (i915_selftest:3861) igt_kmod-WARNING: ntel_pch_type [i915]] Found Tiger Lake LP PCH
>
> 2) we were printing the key=val pair of kmsg as if it was part of the
> messsages, and even mangling the result looking for a ':':
> (i915_selftest:3861) igt_kmod-WARNING: 000:00:02.0
>
> The ABI for /dev/kmsg stands:
> Accessing the buffer:
> Every read() from the opened device node receives one record
> of the kernel's printk buffer.
>
> [ ... ]
>
> Future extensions might add more comma separated values before
> the terminating ';'. Unknown fields and values should be
> gracefully ignored.
>
> The human readable text string starts directly after the ';'
> and is terminated by a '\n'. Untrusted values derived from
> hardware or other facilities are printed, therefore
> all non-printable characters and '\' itself in the log message
> are escaped by "\x00" C-style hex encoding.
>
> A line starting with ' ', is a continuation line, adding
> key/value pairs to the log message, which provide the machine
> readable context of the message, for reliable processing in
> userspace.
>
> Now the line in (1) print as:
> (i915_selftest:5070) igt_kmod-WARNING: [drm:intel_pch_type [i915]] Found Tiger Lake LP PCH
>
> This also fixes a double close on fclose() already closes the file
> descriptor.
>
> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Too bad it doesn't actually work and bails on the first read with EPIPE.
-Chris
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump()
2019-09-27 20:09 ` [igt-dev] [PATCH i-g-t] " Chris Wilson
@ 2019-09-27 20:24 ` Lucas De Marchi
2019-09-27 20:32 ` Lucas De Marchi
0 siblings, 1 reply; 12+ messages in thread
From: Lucas De Marchi @ 2019-09-27 20:24 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
On Fri, Sep 27, 2019 at 09:09:50PM +0100, Chris Wilson wrote:
>Quoting Lucas De Marchi (2019-09-20 02:07:23)
>> Now the line in (1) print as:
>> (i915_selftest:5070) igt_kmod-WARNING: [drm:intel_pch_type [i915]] Found Tiger Lake LP PCH
...
>>
>> This also fixes a double close on fclose() already closes the file
>> descriptor.
>>
>> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
>
>Too bad it doesn't actually work and bails on the first read with EPIPE.
humn... I copy-pasted the line above.
Checking printk.c it will happen if we explode the ringbuffer with log messages
before actually reading them. You may want to increase the buffer size
to get them all, but it may make sense to continue on EPIPE since the
behavior is to reset to the first available message?
Lucas De Marchi
>-Chris
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump()
2019-09-27 20:24 ` Lucas De Marchi
@ 2019-09-27 20:32 ` Lucas De Marchi
2019-09-27 20:54 ` Chris Wilson
0 siblings, 1 reply; 12+ messages in thread
From: Lucas De Marchi @ 2019-09-27 20:32 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
On Fri, Sep 27, 2019 at 01:24:20PM -0700, Lucas De Marchi wrote:
>On Fri, Sep 27, 2019 at 09:09:50PM +0100, Chris Wilson wrote:
>>Quoting Lucas De Marchi (2019-09-20 02:07:23)
>>>Now the line in (1) print as:
>>> (i915_selftest:5070) igt_kmod-WARNING: [drm:intel_pch_type [i915]] Found Tiger Lake LP PCH
>
>...
>
>>>
>>>This also fixes a double close on fclose() already closes the file
>>>descriptor.
>>>
>>>Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
>>
>>Too bad it doesn't actually work and bails on the first read with EPIPE.
>
>humn... I copy-pasted the line above.
>
>Checking printk.c it will happen if we explode the ringbuffer with log messages
>before actually reading them. You may want to increase the buffer size
>to get them all, but it may make sense to continue on EPIPE since the
>behavior is to reset to the first available message?
btw AFAICS the previous impl would equally bail out due to getline()
returning -1. Or did I miss anything? (also the default buffer size used
by glibc is the same as the one I'm using here)
Lucas De Marchi
>
>Lucas De Marchi
>
>>-Chris
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump()
2019-09-27 20:32 ` Lucas De Marchi
@ 2019-09-27 20:54 ` Chris Wilson
2019-09-27 22:20 ` Lucas De Marchi
0 siblings, 1 reply; 12+ messages in thread
From: Chris Wilson @ 2019-09-27 20:54 UTC (permalink / raw)
To: Lucas De Marchi; +Cc: igt-dev
Quoting Lucas De Marchi (2019-09-27 21:32:03)
> On Fri, Sep 27, 2019 at 01:24:20PM -0700, Lucas De Marchi wrote:
> >On Fri, Sep 27, 2019 at 09:09:50PM +0100, Chris Wilson wrote:
> >>Quoting Lucas De Marchi (2019-09-20 02:07:23)
> >>>Now the line in (1) print as:
> >>> (i915_selftest:5070) igt_kmod-WARNING: [drm:intel_pch_type [i915]] Found Tiger Lake LP PCH
> >
> >...
> >
> >>>
> >>>This also fixes a double close on fclose() already closes the file
> >>>descriptor.
> >>>
> >>>Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
> >>
> >>Too bad it doesn't actually work and bails on the first read with EPIPE.
> >
> >humn... I copy-pasted the line above.
> >
> >Checking printk.c it will happen if we explode the ringbuffer with log messages
> >before actually reading them. You may want to increase the buffer size
> >to get them all, but it may make sense to continue on EPIPE since the
> >behavior is to reset to the first available message?
>
> btw AFAICS the previous impl would equally bail out due to getline()
> returning -1. Or did I miss anything? (also the default buffer size used
> by glibc is the same as the one I'm using here)
It's bailing in CI (we've had no output since) and that's the first time
I've seen it fail to provide any of the kmsg. Maybe fdopen() is
stripping off the O_NONBLOCK?
-Chris
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump()
2019-09-27 20:54 ` Chris Wilson
@ 2019-09-27 22:20 ` Lucas De Marchi
2019-09-27 22:23 ` Chris Wilson
0 siblings, 1 reply; 12+ messages in thread
From: Lucas De Marchi @ 2019-09-27 22:20 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
On Fri, Sep 27, 2019 at 09:54:00PM +0100, Chris Wilson wrote:
>Quoting Lucas De Marchi (2019-09-27 21:32:03)
>> On Fri, Sep 27, 2019 at 01:24:20PM -0700, Lucas De Marchi wrote:
>> >On Fri, Sep 27, 2019 at 09:09:50PM +0100, Chris Wilson wrote:
>> >>Quoting Lucas De Marchi (2019-09-20 02:07:23)
>> >>>Now the line in (1) print as:
>> >>> (i915_selftest:5070) igt_kmod-WARNING: [drm:intel_pch_type [i915]] Found Tiger Lake LP PCH
>> >
>> >...
>> >
>> >>>
>> >>>This also fixes a double close on fclose() already closes the file
>> >>>descriptor.
>> >>>
>> >>>Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
>> >>
>> >>Too bad it doesn't actually work and bails on the first read with EPIPE.
>> >
>> >humn... I copy-pasted the line above.
>> >
>> >Checking printk.c it will happen if we explode the ringbuffer with log messages
>> >before actually reading them. You may want to increase the buffer size
>> >to get them all, but it may make sense to continue on EPIPE since the
>> >behavior is to reset to the first available message?
>>
>> btw AFAICS the previous impl would equally bail out due to getline()
>> returning -1. Or did I miss anything? (also the default buffer size used
>> by glibc is the same as the one I'm using here)
>
>It's bailing in CI (we've had no output since) and that's the first time
>I've seen it fail to provide any of the kmsg. Maybe fdopen() is
>stripping off the O_NONBLOCK?
O_NONBLOCK shouldn't make a difference. Let me send the patch below
to see if we paper it over.
I just tested this by reverting e5de91e68c5c ("Revert "drm/i915/tgl: Implement Wa_1406941453"")
and running `./build/tests/i915_selftest --run-subtest live_workarounds` on TGL and I do
get the kmsg (but I have the same behavior without this patch, do).
I see a failure in CI:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6971/fi-icl-dsi/igt@i915_selftest@live_hangcheck.html
My theory about a huge log seems correct.
---8<---
diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c
index 01faca39..c3da4667 100644
--- a/lib/igt_kmod.c
+++ b/lib/igt_kmod.c
@@ -391,8 +391,15 @@ static void kmsg_dump(int fd)
if (r < 0) {
if (errno == EINTR)
continue;
+
+ if (errno == EPIPE) {
+ igt_warn("kmsg truncated: too many messages. You may want to increase log_buf_len in kmcdline\n");
+ continue;
+ }
+
if (errno != EAGAIN)
- igt_warn("kmsg truncated due to unknown error: %m\n");
+ igt_warn("kmsg truncated: unknown error (%m)\n");
+
break;
}
---8<---
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump()
2019-09-27 22:20 ` Lucas De Marchi
@ 2019-09-27 22:23 ` Chris Wilson
0 siblings, 0 replies; 12+ messages in thread
From: Chris Wilson @ 2019-09-27 22:23 UTC (permalink / raw)
To: Lucas De Marchi; +Cc: igt-dev
Quoting Lucas De Marchi (2019-09-27 23:20:38)
> On Fri, Sep 27, 2019 at 09:54:00PM +0100, Chris Wilson wrote:
> >Quoting Lucas De Marchi (2019-09-27 21:32:03)
> >> On Fri, Sep 27, 2019 at 01:24:20PM -0700, Lucas De Marchi wrote:
> >> >On Fri, Sep 27, 2019 at 09:09:50PM +0100, Chris Wilson wrote:
> >> >>Quoting Lucas De Marchi (2019-09-20 02:07:23)
> >> >>>Now the line in (1) print as:
> >> >>> (i915_selftest:5070) igt_kmod-WARNING: [drm:intel_pch_type [i915]] Found Tiger Lake LP PCH
> >> >
> >> >...
> >> >
> >> >>>
> >> >>>This also fixes a double close on fclose() already closes the file
> >> >>>descriptor.
> >> >>>
> >> >>>Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
> >> >>
> >> >>Too bad it doesn't actually work and bails on the first read with EPIPE.
> >> >
> >> >humn... I copy-pasted the line above.
> >> >
> >> >Checking printk.c it will happen if we explode the ringbuffer with log messages
> >> >before actually reading them. You may want to increase the buffer size
> >> >to get them all, but it may make sense to continue on EPIPE since the
> >> >behavior is to reset to the first available message?
> >>
> >> btw AFAICS the previous impl would equally bail out due to getline()
> >> returning -1. Or did I miss anything? (also the default buffer size used
> >> by glibc is the same as the one I'm using here)
> >
> >It's bailing in CI (we've had no output since) and that's the first time
> >I've seen it fail to provide any of the kmsg. Maybe fdopen() is
> >stripping off the O_NONBLOCK?
>
> O_NONBLOCK shouldn't make a difference. Let me send the patch below
> to see if we paper it over.
>
> I just tested this by reverting e5de91e68c5c ("Revert "drm/i915/tgl: Implement Wa_1406941453"")
> and running `./build/tests/i915_selftest --run-subtest live_workarounds` on TGL and I do
> get the kmsg (but I have the same behavior without this patch, do).
>
> I see a failure in CI:
> https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6971/fi-icl-dsi/igt@i915_selftest@live_hangcheck.html
>
> My theory about a huge log seems correct.
But no bigger than they have been.
-Chris
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 12+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for lib/kmod: reimplement kmsg_dump() (rev2)
2019-09-20 1:07 [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump() Lucas De Marchi
` (3 preceding siblings ...)
2019-09-27 20:09 ` [igt-dev] [PATCH i-g-t] " Chris Wilson
@ 2019-09-27 23:34 ` Patchwork
2019-09-28 16:48 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
5 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2019-09-27 23:34 UTC (permalink / raw)
To: Lucas De Marchi; +Cc: igt-dev
== Series Details ==
Series: lib/kmod: reimplement kmsg_dump() (rev2)
URL : https://patchwork.freedesktop.org/series/66961/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6973 -> IGTPW_3508
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/66961/revisions/2/mbox/
Known issues
------------
Here are the changes found in IGTPW_3508 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_busy@basic-flip-a:
- fi-cml-u2: [PASS][1] -> [DMESG-WARN][2] ([fdo#105763])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/fi-cml-u2/igt@kms_busy@basic-flip-a.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/fi-cml-u2/igt@kms_busy@basic-flip-a.html
* igt@kms_chamelium@dp-crc-fast:
- fi-kbl-7500u: [PASS][3] -> [FAIL][4] ([fdo#109483] / [fdo#109635 ])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/fi-kbl-7500u/igt@kms_chamelium@dp-crc-fast.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/fi-kbl-7500u/igt@kms_chamelium@dp-crc-fast.html
* igt@prime_vgem@basic-wait-default:
- fi-icl-u3: [PASS][5] -> [DMESG-WARN][6] ([fdo#107724]) +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/fi-icl-u3/igt@prime_vgem@basic-wait-default.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/fi-icl-u3/igt@prime_vgem@basic-wait-default.html
#### Possible fixes ####
* igt@gem_mmap@basic-small-bo:
- fi-icl-u3: [DMESG-WARN][7] ([fdo#107724]) -> [PASS][8] +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/fi-icl-u3/igt@gem_mmap@basic-small-bo.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/fi-icl-u3/igt@gem_mmap@basic-small-bo.html
* igt@i915_selftest@live_gem_contexts:
- fi-bxt-dsi: [INCOMPLETE][9] ([fdo#103927]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/fi-bxt-dsi/igt@i915_selftest@live_gem_contexts.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/fi-bxt-dsi/igt@i915_selftest@live_gem_contexts.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#105763]: https://bugs.freedesktop.org/show_bug.cgi?id=105763
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#109483]: https://bugs.freedesktop.org/show_bug.cgi?id=109483
[fdo#109635 ]: https://bugs.freedesktop.org/show_bug.cgi?id=109635
[fdo#111600]: https://bugs.freedesktop.org/show_bug.cgi?id=111600
[fdo#111736]: https://bugs.freedesktop.org/show_bug.cgi?id=111736
Participating hosts (53 -> 46)
------------------------------
Missing (7): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5206 -> IGTPW_3508
CI-20190529: 20190529
CI_DRM_6973: 7462c58bba0fb6e85bd380591c3fd86e298c0f95 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3508: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/index.html
IGT_5206: 5a6c68568def840cd720f18fc66f529a89f84675 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 12+ messages in thread
* [igt-dev] ✗ Fi.CI.IGT: failure for lib/kmod: reimplement kmsg_dump() (rev2)
2019-09-20 1:07 [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump() Lucas De Marchi
` (4 preceding siblings ...)
2019-09-27 23:34 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/kmod: reimplement kmsg_dump() (rev2) Patchwork
@ 2019-09-28 16:48 ` Patchwork
5 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2019-09-28 16:48 UTC (permalink / raw)
To: Lucas De Marchi; +Cc: igt-dev
== Series Details ==
Series: lib/kmod: reimplement kmsg_dump() (rev2)
URL : https://patchwork.freedesktop.org/series/66961/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_6973_full -> IGTPW_3508_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_3508_full absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_3508_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/66961/revisions/2/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_3508_full:
### IGT changes ###
#### Possible regressions ####
* igt@gem_busy@extended-bcs0:
- shard-snb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-snb6/igt@gem_busy@extended-bcs0.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-snb4/igt@gem_busy@extended-bcs0.html
Known issues
------------
Here are the changes found in IGTPW_3508_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_isolation@bcs0-s3:
- shard-apl: [PASS][3] -> [DMESG-WARN][4] ([fdo#108566]) +5 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-apl5/igt@gem_ctx_isolation@bcs0-s3.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-apl5/igt@gem_ctx_isolation@bcs0-s3.html
* igt@gem_eio@in-flight-contexts-10ms:
- shard-snb: [PASS][5] -> [TIMEOUT][6] ([fdo#111518 ])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-snb6/igt@gem_eio@in-flight-contexts-10ms.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-snb4/igt@gem_eio@in-flight-contexts-10ms.html
* igt@gem_exec_schedule@reorder-wide-bsd:
- shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#111325]) +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb6/igt@gem_exec_schedule@reorder-wide-bsd.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb2/igt@gem_exec_schedule@reorder-wide-bsd.html
* igt@kms_cursor_crc@pipe-c-cursor-64x21-sliding:
- shard-kbl: [PASS][9] -> [FAIL][10] ([fdo#103232])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-kbl1/igt@kms_cursor_crc@pipe-c-cursor-64x21-sliding.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-kbl4/igt@kms_cursor_crc@pipe-c-cursor-64x21-sliding.html
* igt@kms_cursor_crc@pipe-c-cursor-64x64-sliding:
- shard-apl: [PASS][11] -> [FAIL][12] ([fdo#103232])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-apl1/igt@kms_cursor_crc@pipe-c-cursor-64x64-sliding.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-apl8/igt@kms_cursor_crc@pipe-c-cursor-64x64-sliding.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render:
- shard-iclb: [PASS][13] -> [FAIL][14] ([fdo#103167]) +6 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb4/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render.html
* igt@kms_plane_lowres@pipe-a-tiling-y:
- shard-iclb: [PASS][15] -> [FAIL][16] ([fdo#103166])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb1/igt@kms_plane_lowres@pipe-a-tiling-y.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb7/igt@kms_plane_lowres@pipe-a-tiling-y.html
* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [PASS][17] -> [SKIP][18] ([fdo#109441]) +2 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb2/igt@kms_psr@psr2_cursor_render.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb8/igt@kms_psr@psr2_cursor_render.html
* igt@kms_setmode@basic:
- shard-apl: [PASS][19] -> [FAIL][20] ([fdo#99912])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-apl1/igt@kms_setmode@basic.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-apl8/igt@kms_setmode@basic.html
* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-kbl: [PASS][21] -> [INCOMPLETE][22] ([fdo#103665])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-kbl2/igt@kms_vblank@pipe-c-ts-continuation-suspend.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-kbl6/igt@kms_vblank@pipe-c-ts-continuation-suspend.html
* igt@prime_busy@hang-bsd2:
- shard-iclb: [PASS][23] -> [SKIP][24] ([fdo#109276]) +18 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb2/igt@prime_busy@hang-bsd2.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb5/igt@prime_busy@hang-bsd2.html
#### Possible fixes ####
* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-iclb: [SKIP][25] ([fdo#110841]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb4/igt@gem_ctx_shared@exec-single-timeline-bsd.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb7/igt@gem_ctx_shared@exec-single-timeline-bsd.html
* igt@gem_exec_schedule@in-order-bsd:
- shard-iclb: [SKIP][27] ([fdo#111325]) -> [PASS][28] +7 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb1/igt@gem_exec_schedule@in-order-bsd.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb7/igt@gem_exec_schedule@in-order-bsd.html
* igt@i915_pm_rpm@system-suspend-execbuf:
- shard-iclb: [DMESG-WARN][29] -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb1/igt@i915_pm_rpm@system-suspend-execbuf.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb7/igt@i915_pm_rpm@system-suspend-execbuf.html
* igt@i915_suspend@sysfs-reader:
- shard-apl: [DMESG-WARN][31] ([fdo#108566]) -> [PASS][32] +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-apl4/igt@i915_suspend@sysfs-reader.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-apl8/igt@i915_suspend@sysfs-reader.html
* igt@kms_cursor_legacy@all-pipes-torture-move:
- shard-kbl: [DMESG-WARN][33] ([fdo#107122]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-kbl3/igt@kms_cursor_legacy@all-pipes-torture-move.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-kbl6/igt@kms_cursor_legacy@all-pipes-torture-move.html
* igt@kms_frontbuffer_tracking@fbc-rgb565-draw-pwrite:
- shard-iclb: [FAIL][35] ([fdo#103167]) -> [PASS][36] +3 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-pwrite.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb7/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-pwrite.html
* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-iclb: [FAIL][37] ([fdo#103166]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb6/igt@kms_plane_lowres@pipe-a-tiling-x.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb5/igt@kms_plane_lowres@pipe-a-tiling-x.html
* igt@kms_psr2_su@page_flip:
- shard-iclb: [SKIP][39] ([fdo#109642] / [fdo#111068]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb5/igt@kms_psr2_su@page_flip.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb2/igt@kms_psr2_su@page_flip.html
* igt@kms_psr@psr2_primary_page_flip:
- shard-iclb: [SKIP][41] ([fdo#109441]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb3/igt@kms_psr@psr2_primary_page_flip.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html
* igt@kms_setmode@basic:
- shard-hsw: [FAIL][43] ([fdo#99912]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-hsw1/igt@kms_setmode@basic.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-hsw4/igt@kms_setmode@basic.html
* igt@kms_vblank@pipe-c-query-idle-hang:
- shard-apl: [INCOMPLETE][45] ([fdo#103927]) -> [PASS][46] +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-apl8/igt@kms_vblank@pipe-c-query-idle-hang.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-apl6/igt@kms_vblank@pipe-c-query-idle-hang.html
* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-iclb: [DMESG-WARN][47] ([fdo#111764]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb1/igt@kms_vblank@pipe-c-ts-continuation-suspend.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb3/igt@kms_vblank@pipe-c-ts-continuation-suspend.html
* igt@prime_vgem@fence-wait-bsd2:
- shard-iclb: [SKIP][49] ([fdo#109276]) -> [PASS][50] +12 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb8/igt@prime_vgem@fence-wait-bsd2.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb2/igt@prime_vgem@fence-wait-bsd2.html
#### Warnings ####
* igt@gem_mocs_settings@mocs-settings-bsd2:
- shard-iclb: [FAIL][51] ([fdo#111330]) -> [SKIP][52] ([fdo#109276])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6973/shard-iclb2/igt@gem_mocs_settings@mocs-settings-bsd2.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/shard-iclb8/igt@gem_mocs_settings@mocs-settings-bsd2.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[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#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411
[fdo#107122]: https://bugs.freedesktop.org/show_bug.cgi?id=107122
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325
[fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
[fdo#111518 ]: https://bugs.freedesktop.org/show_bug.cgi?id=111518
[fdo#111764]: https://bugs.freedesktop.org/show_bug.cgi?id=111764
[fdo#111781]: https://bugs.freedesktop.org/show_bug.cgi?id=111781
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
Participating hosts (16 -> 6)
------------------------------
ERROR: It appears as if the changes made in IGTPW_3508_full prevented too many machines from booting.
Missing (10): shard-skl pig-hsw-4770r shard-tglb1 shard-tglb2 shard-tglb3 shard-tglb4 shard-tglb5 shard-tglb6 pig-glk-j5005 pig-skl-6260u
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5206 -> IGTPW_3508
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_6973: 7462c58bba0fb6e85bd380591c3fd86e298c0f95 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3508: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3508/index.html
IGT_5206: 5a6c68568def840cd720f18fc66f529a89f84675 @ 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_3508/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2019-09-28 16:48 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-20 1:07 [igt-dev] [PATCH i-g-t] lib/kmod: reimplement kmsg_dump() Lucas De Marchi
2019-09-20 1:37 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-09-20 10:25 ` [igt-dev] [PATCH i-g-t] " Petri Latvala
2019-09-20 15:35 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork
2019-09-27 20:09 ` [igt-dev] [PATCH i-g-t] " Chris Wilson
2019-09-27 20:24 ` Lucas De Marchi
2019-09-27 20:32 ` Lucas De Marchi
2019-09-27 20:54 ` Chris Wilson
2019-09-27 22:20 ` Lucas De Marchi
2019-09-27 22:23 ` Chris Wilson
2019-09-27 23:34 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/kmod: reimplement kmsg_dump() (rev2) Patchwork
2019-09-28 16:48 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox