* [igt-dev] [CI 1/6] tests/sw_sync: use igt_fork_helper
@ 2018-03-02 10:55 Petri Latvala
2018-03-02 10:55 ` [igt-dev] [CI 2/6] lib/core: make logging pthread vs. fork safe Petri Latvala
` (7 more replies)
0 siblings, 8 replies; 10+ messages in thread
From: Petri Latvala @ 2018-03-02 10:55 UTC (permalink / raw)
To: igt-dev; +Cc: Robert Foss, Daniel Vetter
From: Daniel Vetter <daniel.vetter@ffwll.ch>
I'll need to wrap a bit of magic around all the fork() calls in our
tests. Simplest way to get there is to roll out the existing helpers,
which even saves a bit of boilerplate code.
Cc: Robert Foss <robert.foss@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
tests/sw_sync.c | 54 ++++++++++++++++++------------------------------------
1 file changed, 18 insertions(+), 36 deletions(-)
diff --git a/tests/sw_sync.c b/tests/sw_sync.c
index 20dfbbb9..24974a2f 100644
--- a/tests/sw_sync.c
+++ b/tests/sw_sync.c
@@ -175,6 +175,7 @@ static void test_sync_busy_fork_unixsocket(void)
int timeline;
int skip = 0;
int sv[2];
+ struct igt_helper_process proc;
timeline = sw_sync_timeline_create();
@@ -185,9 +186,7 @@ static void test_sync_busy_fork_unixsocket(void)
goto out;
}
- switch (fork()) {
- case 0:
- {
+ igt_fork_helper(&proc) {
/* Child process */
int socket = sv[1];
int socket_timeline;
@@ -213,17 +212,8 @@ static void test_sync_busy_fork_unixsocket(void)
/* Advance timeline from 0 -> 1 */
sw_sync_timeline_inc(socket_timeline, 1);
-
- _Exit(0);
- break;
- }
- case -1:
- {
- /* Failed fork */
- skip = 1;
- break;
}
- default:
+
{
/* Parent process */
int socket = sv[0];
@@ -252,15 +242,14 @@ static void test_sync_busy_fork_unixsocket(void)
if (sendmsg(socket, &msg, 0) < 0) {
skip = 1;
- goto out;
+ } else {
+ igt_assert_f(sync_fence_wait(fence, 2*1000) == 0,
+ "Fence not signaled (timeline value 1 fence seqno 1)\n");
}
-
- igt_assert_f(sync_fence_wait(fence, 2*1000) == 0,
- "Fence not signaled (timeline value 1 fence seqno 1)\n");
- break;
- }
}
+ igt_stop_helper(&proc);
+
out:
close(fence);
close(timeline);
@@ -272,32 +261,25 @@ static void test_sync_busy_fork(void)
int fence;
int timeline;
int skip = 0;
+ struct igt_helper_process proc;
timeline = sw_sync_timeline_create();
fence = sw_sync_timeline_create_fence(timeline, 1);
- switch (fork()) {
- case 0:
- /* Child process */
+ igt_fork_helper(&proc) {
usleep(1*1000*1000);
/* Advance timeline from 0 -> 1 */
sw_sync_timeline_inc(timeline, 1);
- _Exit(0);
- break;
- case -1:
- /* Failed fork */
- skip = 1;
- break;
- default:
- /* Parent process */
- igt_assert_f(sync_fence_wait(fence, 0) == -ETIME,
- "Fence signaled (it should not have been signalled yet)\n");
-
- igt_assert_f(sync_fence_wait(fence, 2*1000) == 0,
- "Fence not signaled (timeline value 1 fence seqno 1)\n");
- break;
}
+ igt_assert_f(sync_fence_wait(fence, 0) == -ETIME,
+ "Fence signaled (it should not have been signalled yet)\n");
+
+ igt_assert_f(sync_fence_wait(fence, 2*1000) == 0,
+ "Fence not signaled (timeline value 1 fence seqno 1)\n");
+
+ igt_stop_helper(&proc);
+
close(fence);
close(timeline);
igt_require(!skip);
--
2.14.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [igt-dev] [CI 2/6] lib/core: make logging pthread vs. fork safe
2018-03-02 10:55 [igt-dev] [CI 1/6] tests/sw_sync: use igt_fork_helper Petri Latvala
@ 2018-03-02 10:55 ` Petri Latvala
2018-03-02 10:55 ` [igt-dev] [CI 3/6] lib/core: Don't hide non-debug message when filtering for a debug log domain Petri Latvala
` (6 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Petri Latvala @ 2018-03-02 10:55 UTC (permalink / raw)
To: igt-dev; +Cc: Daniel Vetter
From: Daniel Vetter <daniel.vetter@ffwll.ch>
fork() is a pretty thing in a multithreaded program, it's essentially
as bad as handling signals: When we fork the memory snapshot we can
interrupts all other threads at any place, including while they're
holding mutexes and other fun stuff.
libc itself has some internal fork handlers to clear caches and make
sure locks stay in a safe place (we've had plenty of fun with e.g. the
pid/tid caches when a signal happens too fast).
I want to put dmesg capture into igt, into a separate thread (so that
dmesg capture nicely interleaves what the test is doing, +/- races),
and stuff all the dmesg output into the igt logger. Which means we
need to make sure that the log_buffer_mutex is in a predictable state.
Since we have 2 calls to fork() extract a little helper for this.
v2: Stop using fflush(NULL) - somehow this manages to hit a bug in
libc when using a FILE in a separate thread (for capturing dmesg).
Instead explicitly flush stderr and stdout only.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
lib/igt_core.c | 25 +++++++++++++++++--------
1 file changed, 17 insertions(+), 8 deletions(-)
diff --git a/lib/igt_core.c b/lib/igt_core.c
index c292343d..1ca37c1c 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -1510,6 +1510,21 @@ static void fork_helper_exit_handler(int sig)
assert(helper_process_count == 0);
}
+static pid_t __igt_fork_wrapper(void)
+{
+ pid_t ret;
+
+ /* ensure any buffers are flushed before fork */
+ fflush(stdout);
+ fflush(stderr);
+
+ pthread_mutex_lock(&log_buffer_mutex);
+ ret = fork();
+ pthread_mutex_unlock(&log_buffer_mutex);
+
+ return ret;
+}
+
bool __igt_fork_helper(struct igt_helper_process *proc)
{
pid_t pid;
@@ -1532,10 +1547,7 @@ bool __igt_fork_helper(struct igt_helper_process *proc)
tmp_count = exit_handler_count;
exit_handler_count = 0;
- /* ensure any buffers are flushed before fork */
- fflush(NULL);
-
- switch (pid = fork()) {
+ switch (pid = __igt_fork_wrapper()) {
case -1:
exit_handler_count = tmp_count;
igt_assert(0);
@@ -1634,10 +1646,7 @@ bool __igt_fork(void)
igt_assert(test_children);
}
- /* ensure any buffers are flushed before fork */
- fflush(NULL);
-
- switch (test_children[num_test_children++] = fork()) {
+ switch (test_children[num_test_children++] = __igt_fork_wrapper()) {
case -1:
igt_assert(0);
case 0:
--
2.14.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [igt-dev] [CI 3/6] lib/core: Don't hide non-debug message when filtering for a debug log domain
2018-03-02 10:55 [igt-dev] [CI 1/6] tests/sw_sync: use igt_fork_helper Petri Latvala
2018-03-02 10:55 ` [igt-dev] [CI 2/6] lib/core: make logging pthread vs. fork safe Petri Latvala
@ 2018-03-02 10:55 ` Petri Latvala
2018-03-02 10:55 ` [igt-dev] [CI 4/6] igt/core: Initial simple interleaved kmsg filtering Petri Latvala
` (5 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Petri Latvala @ 2018-03-02 10:55 UTC (permalink / raw)
To: igt-dev
From: Daniel Vetter <daniel.vetter@ffwll.ch>
I think this is the more sensible semantics, since this allows you to
still follow what's going on with the test at a high level, while
filtering for a specific (or multiple specific) debug log domains.
For non-debug messages log-domains technically exist, but we're not
making much use of them really.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
lib/igt_core.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/igt_core.c b/lib/igt_core.c
index 1ca37c1c..15c02590 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -291,7 +291,7 @@ enum {
static int igt_exitcode = IGT_EXIT_SUCCESS;
static const char *command_str;
-static char* igt_log_domain_filter;
+static char* igt_debug_log_domain_filter;
static struct {
char *entries[256];
uint8_t start, end;
@@ -748,7 +748,7 @@ static int common_init(int *argc, char **argv,
case OPT_DEBUG:
igt_log_level = IGT_LOG_DEBUG;
if (optarg && strlen(optarg) > 0)
- igt_log_domain_filter = strdup(optarg);
+ igt_debug_log_domain_filter = strdup(optarg);
break;
case OPT_LIST_SUBTESTS:
if (!run_single_subtest)
@@ -2096,12 +2096,12 @@ void igt_vlog(const char *domain, enum igt_log_level level, const char *format,
goto out;
/* check domain filter */
- if (igt_log_domain_filter) {
+ if (level == IGT_LOG_DEBUG && igt_debug_log_domain_filter) {
/* if null domain and filter is not "application", return */
- if (!domain && strcmp(igt_log_domain_filter, "application"))
+ if (!domain && strcmp(igt_debug_log_domain_filter, "application"))
goto out;
/* else if domain and filter do not match, return */
- else if (domain && strcmp(igt_log_domain_filter, domain))
+ else if (domain && strcmp(igt_debug_log_domain_filter, domain))
goto out;
}
--
2.14.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [igt-dev] [CI 4/6] igt/core: Initial simple interleaved kmsg filtering
2018-03-02 10:55 [igt-dev] [CI 1/6] tests/sw_sync: use igt_fork_helper Petri Latvala
2018-03-02 10:55 ` [igt-dev] [CI 2/6] lib/core: make logging pthread vs. fork safe Petri Latvala
2018-03-02 10:55 ` [igt-dev] [CI 3/6] lib/core: Don't hide non-debug message when filtering for a debug log domain Petri Latvala
@ 2018-03-02 10:55 ` Petri Latvala
2018-03-05 11:01 ` [igt-dev] [CI v6 " Petri Latvala
2018-03-02 10:55 ` [igt-dev] [CI 5/6] lib/core: report subtests that hit an igt_warning as WARNING Petri Latvala
` (4 subsequent siblings)
7 siblings, 1 reply; 10+ messages in thread
From: Petri Latvala @ 2018-03-02 10:55 UTC (permalink / raw)
To: igt-dev
From: Daniel Vetter <daniel.vetter@ffwll.ch>
Needs to be beefed up so that dmesg warning (and worse) are re-emmitted
as IGT_LOG_WARN. But only if they match one of our filters (which we
should probably allow to be extended, e.g. depending upon which driver
has been openened). This also requires that we at least parse the
basic of kmsg lines (adjusting the timestamp to match our own would be
real cool).
v2:
- Seek to the end of the kmsg buffer before starting the capturing.
- Increase linebuffer to avoid dmesg drowning out all the tests
messages.
v3: Unlazy slightly and implement semi-correct kmsg parsing.
v4 (Petri): Handle continuation lines instead of crashing on them
v5 (Petri): Handle EPIPE, handle fragment continuations, point to
format docs
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
---
lib/igt_core.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 86 insertions(+), 1 deletion(-)
diff --git a/lib/igt_core.c b/lib/igt_core.c
index 15c02590..d756f9c1 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -293,7 +293,7 @@ static const char *command_str;
static char* igt_debug_log_domain_filter;
static struct {
- char *entries[256];
+ char *entries[2000];
uint8_t start, end;
} log_buffer;
static pthread_mutex_t log_buffer_mutex = PTHREAD_MUTEX_INITIALIZER;
@@ -572,6 +572,89 @@ static void oom_adjust_for_doom(void)
}
+static void *kmsg_capture(void *arg)
+{
+ /*
+ * See Documentation/ABI/testing/dev-kmsg in the kernel
+ * sources for documentation on the message format.
+ */
+
+ int kmsg_capture_fd = (uintptr_t) arg;
+ FILE *kmsg_file = fdopen(kmsg_capture_fd, "r");
+ char *line = NULL;
+ size_t line_len = 0;
+ ssize_t read;
+
+ while ((read = getline(&line, &line_len, kmsg_file))) {
+ int s;
+ unsigned flags;
+ unsigned long long seq, ts_usec;
+ char continuation;
+ enum igt_log_level level;
+
+ if (read < 0) {
+ if (errno == EPIPE)
+ /* We can get EPIPE on buffer overflow */
+ continue;
+ else
+ break;
+ }
+
+ s = sscanf(line, "%u,%llu,%llu,%c;", &flags,
+ &seq, &ts_usec, &continuation);
+
+ if (s == 4) {
+ if ((flags & 0x7) <= 4)
+ level = IGT_LOG_WARN;
+ else
+ level = IGT_LOG_DEBUG;
+
+ if (continuation == 'c')
+ /*
+ * KERN_CONT fragment, log level in
+ * this log record is the default log
+ * level instead of the one the
+ * fragment continues.
+ */
+ level = IGT_LOG_DEBUG;
+
+ igt_log("dmesg", level, "[%llu.%06llu], %s",
+ ts_usec / 1000000,
+ ts_usec % 1000000,
+ index(line, ';') + 1);
+ } else if (line[0] == ' ') {
+ /* Machine readable key/value pairs, ignore */
+ } else {
+ igt_warn("Cannot parse kmsg line: %s\n", line);
+ }
+ }
+
+ igt_warn("ran out of dmesg, this shouldn't happen\n");
+
+ free(line);
+ fclose(kmsg_file);
+ return NULL;
+}
+
+static void start_kmsg_recording(void)
+{
+ static pthread_t kmsg_capture_thread;
+ int kmsg_capture_fd;
+
+ kmsg_capture_fd = open("/dev/kmsg",
+ O_RDONLY | O_CLOEXEC);
+
+ if (kmsg_capture_fd < 0) {
+ igt_info("no dmesg capturing\n");
+ return;
+ }
+
+ lseek(kmsg_capture_fd, 0, SEEK_END);
+
+ pthread_create(&kmsg_capture_thread, NULL,
+ kmsg_capture, (void *)(uintptr_t) kmsg_capture_fd);
+}
+
#ifdef HAVE_GLIB
static void common_init_config(void)
{
@@ -805,6 +888,8 @@ out:
igt_kmsg(KMSG_INFO "%s: executing\n", command_str);
print_version();
+ start_kmsg_recording();
+
sync();
oom_adjust_for_doom();
ftrace_dump_on_oops(true);
--
2.14.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [igt-dev] [CI 5/6] lib/core: report subtests that hit an igt_warning as WARNING
2018-03-02 10:55 [igt-dev] [CI 1/6] tests/sw_sync: use igt_fork_helper Petri Latvala
` (2 preceding siblings ...)
2018-03-02 10:55 ` [igt-dev] [CI 4/6] igt/core: Initial simple interleaved kmsg filtering Petri Latvala
@ 2018-03-02 10:55 ` Petri Latvala
2018-03-02 10:55 ` [igt-dev] [CI 6/6] lib/core: Use whitelist with kmsg filter Petri Latvala
` (3 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Petri Latvala @ 2018-03-02 10:55 UTC (permalink / raw)
To: igt-dev
From: Daniel Vetter <daniel.vetter@ffwll.ch>
This is another piece of prep work to push the detection of dmesg
warnings into igt itself, so that we can correctly report dmesg
issue on a per-subtest basis even when running the entire binary.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
lib/igt_core.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/lib/igt_core.c b/lib/igt_core.c
index d756f9c1..0b3bf49e 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -1059,6 +1059,7 @@ void __igt_subtest_group_restore(int save)
static bool skipped_one = false;
static bool succeeded_one = false;
static bool failed_one = false;
+static bool warned = false;
static void exit_subtest(const char *) __attribute__((noreturn));
static void exit_subtest(const char *result)
@@ -1075,6 +1076,7 @@ static void exit_subtest(const char *result)
igt_terminate_spin_batches();
in_subtest = NULL;
+ warned = false;
siglongjmp(igt_subtest_jmpbuf, 1);
}
@@ -1164,7 +1166,7 @@ void igt_success(void)
{
succeeded_one = true;
if (in_subtest)
- exit_subtest("SUCCESS");
+ exit_subtest(warned ? "WARNING" : "SUCCESS");
}
/**
@@ -2158,6 +2160,9 @@ void igt_vlog(const char *domain, enum igt_log_level level, const char *format,
if (list_subtests && level <= IGT_LOG_WARN)
return;
+ if (level >= IGT_LOG_WARN)
+ warned = true;
+
if (vasprintf(&line, format, args) == -1)
return;
--
2.14.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [igt-dev] [CI 6/6] lib/core: Use whitelist with kmsg filter
2018-03-02 10:55 [igt-dev] [CI 1/6] tests/sw_sync: use igt_fork_helper Petri Latvala
` (3 preceding siblings ...)
2018-03-02 10:55 ` [igt-dev] [CI 5/6] lib/core: report subtests that hit an igt_warning as WARNING Petri Latvala
@ 2018-03-02 10:55 ` Petri Latvala
2018-03-02 19:21 ` [igt-dev] ✗ Fi.CI.BAT: warning for series starting with [CI,1/6] tests/sw_sync: use igt_fork_helper Patchwork
` (2 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Petri Latvala @ 2018-03-02 10:55 UTC (permalink / raw)
To: igt-dev
dmesg messages of level >=warn don't result in an IGT_LOG_WARN if they
match a whitelist regexp now.
The whitelist is not configureable without rebuilding, and it's not
even possible to use a different whitelist for different drivers;
launching the kmsg monitor happens way before opening the driver (if
any).
v2: Use static and a less yelling variable name for the whitelist,
compare to REG_NOMATCH directly, construct the regexp in a nicer
looking way (Chris). Be more verbose when monitoring stops.
v3: More patterns, document them.
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
---
lib/igt_core.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 46 insertions(+), 2 deletions(-)
diff --git a/lib/igt_core.c b/lib/igt_core.c
index 0b3bf49e..6bcf004a 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -55,6 +55,7 @@
#include <limits.h>
#include <locale.h>
#include <uwildmat/uwildmat.h>
+#include <regex.h>
#ifdef HAVE_GLIB
#include <glib.h>
#endif
@@ -572,6 +573,37 @@ static void oom_adjust_for_doom(void)
}
+/*
+ * This regexp controls the kmsg monitor handling. All kernel log
+ * records that have log level of warning or higher get inserted into
+ * IGT log buffer with an IGT_LOG_WARN unless they match this
+ * regexp. Otherwise they get inserted at IGT_LOG_DEBUG.
+ */
+
+#define _ "|"
+static const char igt_dmesg_whitelist[] =
+ "ACPI: button: The lid device is not compliant to SW_LID" _
+ "ACPI: .*: Unable to dock!" _
+ "IRQ [0-9]+: no longer affine to CPU[0-9]+" _
+ "IRQ fixup: irq [0-9]+ move in progress, old vector [0-9]+" _
+ /* i915 tests set module options, expected message */
+ "Setting dangerous option [a-z_]+ - tainting kernel" _
+ /* Raw printk() call, uses default log level (warn) */
+ "Suspending console\\(s\\) \\(use no_console_suspend to debug\\)" _
+ "atkbd serio[0-9]+: Failed to (deactivate|enable) keyboard on isa[0-9]+/serio[0-9]+" _
+ "cache: parent cpu[0-9]+ should not be sleeping" _
+ "hpet[0-9]+: lost [0-9]+ rtc interrupts" _
+ /* i915 selftests terminate normally with ENODEV from the
+ * module load after the testing finishes, which produces this
+ * message.
+ */
+ "i915: probe of [0-9:.]+ failed with error -25" _
+ /* swiotbl warns even when asked not to */
+ "mock: DMA: Out of SW-IOMMU space for [0-9]+ bytes" _
+ "usb usb[0-9]+: root hub lost power or was reset"
+ ;
+#undef _
+
static void *kmsg_capture(void *arg)
{
/*
@@ -584,6 +616,13 @@ static void *kmsg_capture(void *arg)
char *line = NULL;
size_t line_len = 0;
ssize_t read;
+ regex_t re;
+
+ if (regcomp(&re, igt_dmesg_whitelist, REG_EXTENDED | REG_NOSUB) != 0) {
+ igt_warn("Cannot compile dmesg whitelist regexp\n");
+ fclose(kmsg_file);
+ return NULL;
+ }
while ((read = getline(&line, &line_len, kmsg_file))) {
int s;
@@ -604,7 +643,8 @@ static void *kmsg_capture(void *arg)
&seq, &ts_usec, &continuation);
if (s == 4) {
- if ((flags & 0x7) <= 4)
+ if ((flags & 0x7) <= 4 &&
+ regexec(&re, line, (size_t)0, NULL, 0) == REG_NOMATCH)
level = IGT_LOG_WARN;
else
level = IGT_LOG_DEBUG;
@@ -629,7 +669,11 @@ static void *kmsg_capture(void *arg)
}
}
- igt_warn("ran out of dmesg, this shouldn't happen\n");
+ igt_warn("Ran out of dmesg, this shouldn't happen. Reason: ");
+ if (errno)
+ igt_warn("%s\n", strerror(errno));
+ else
+ igt_warn("EOF\n");
free(line);
fclose(kmsg_file);
--
2.14.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [igt-dev] ✗ Fi.CI.BAT: warning for series starting with [CI,1/6] tests/sw_sync: use igt_fork_helper
2018-03-02 10:55 [igt-dev] [CI 1/6] tests/sw_sync: use igt_fork_helper Petri Latvala
` (4 preceding siblings ...)
2018-03-02 10:55 ` [igt-dev] [CI 6/6] lib/core: Use whitelist with kmsg filter Petri Latvala
@ 2018-03-02 19:21 ` Patchwork
2018-03-05 14:13 ` [igt-dev] ✗ Fi.CI.BAT: warning for series starting with [CI,1/6] tests/sw_sync: use igt_fork_helper (rev2) Patchwork
2018-03-05 18:18 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
7 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2018-03-02 19:21 UTC (permalink / raw)
To: Petri Latvala; +Cc: igt-dev
== Series Details ==
Series: series starting with [CI,1/6] tests/sw_sync: use igt_fork_helper
URL : https://patchwork.freedesktop.org/series/39263/
State : warning
== Summary ==
IGT patchset tested on top of latest successful build
bddfb8dd3c1767f13d2af578d5c3d897fddf0dcd igt/gem_ctx_switch: Exercise all engines at once
with latest DRM-Tip kernel build CI_DRM_3867
4f4e4dd52a30 drm-tip: 2018y-03m-02d-16h-28m-21s UTC integration manifest
No testlist changes.
---- Possible new issues:
Test debugfs_test:
Subgroup read_all_entries:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Test drv_module_reload:
Subgroup basic-no-display:
pass -> WARN (fi-bdw-5557u)
pass -> WARN (fi-cnl-y3)
pass -> WARN (fi-glk-1)
pass -> WARN (fi-hsw-4770)
pass -> WARN (fi-ilk-650)
pass -> WARN (fi-skl-6700hq)
pass -> WARN (fi-skl-guc)
Subgroup basic-reload:
pass -> WARN (fi-cnl-y3)
pass -> WARN (fi-glk-1)
pass -> WARN (fi-ilk-650)
pass -> WARN (fi-skl-6700hq)
pass -> WARN (fi-skl-guc)
Subgroup basic-reload-inject:
pass -> WARN (fi-bdw-5557u)
pass -> WARN (fi-cnl-y3)
pass -> WARN (fi-glk-1)
pass -> WARN (fi-hsw-4770)
pass -> WARN (fi-ilk-650)
pass -> WARN (fi-skl-6700hq)
pass -> WARN (fi-skl-guc)
Test gem_exec_fence:
Subgroup await-hang-default:
pass -> WARN (fi-bsw-n3050)
pass -> WARN (fi-byt-j1900)
pass -> WARN (fi-byt-n2820)
pass -> WARN (fi-pnv-d510)
Subgroup basic-await-default:
pass -> WARN (fi-bdw-gvtdvm)
pass -> WARN (fi-bsw-n3050)
pass -> WARN (fi-bxt-dsi)
pass -> WARN (fi-bxt-j4205)
pass -> WARN (fi-byt-j1900)
pass -> WARN (fi-byt-n2820)
pass -> WARN (fi-pnv-d510)
Subgroup basic-busy-default:
pass -> WARN (fi-bsw-n3050)
pass -> WARN (fi-byt-j1900)
pass -> WARN (fi-byt-n2820)
pass -> WARN (fi-cfl-u)
pass -> WARN (fi-cnl-y3)
pass -> WARN (fi-ilk-650)
pass -> WARN (fi-pnv-d510)
Subgroup basic-wait-default:
pass -> WARN (fi-bdw-gvtdvm)
pass -> WARN (fi-bsw-n3050)
pass -> WARN (fi-byt-j1900)
pass -> WARN (fi-ilk-650)
pass -> WARN (fi-pnv-d510)
Subgroup nb-await-default:
pass -> WARN (fi-bsw-n3050)
pass -> WARN (fi-bxt-dsi)
pass -> WARN (fi-byt-j1900)
pass -> WARN (fi-byt-n2820)
pass -> WARN (fi-pnv-d510)
Test gem_exec_nop:
Subgroup basic-parallel:
pass -> WARN (fi-kbl-7567u)
Test gem_exec_suspend:
Subgroup basic-s3:
pass -> WARN (fi-bdw-gvtdvm)
pass -> WARN (fi-bxt-dsi)
pass -> WARN (fi-ivb-3520m)
pass -> WARN (fi-kbl-7560u)
pass -> WARN (fi-kbl-7567u)
pass -> WARN (fi-skl-guc)
Subgroup basic-s4-devices:
pass -> WARN (fi-skl-6770hq)
pass -> WARN (fi-skl-guc)
Test gem_ringfill:
Subgroup basic-default:
pass -> WARN (fi-bsw-n3050)
pass -> WARN (fi-byt-j1900)
pass -> WARN (fi-byt-n2820)
pass -> WARN (fi-pnv-d510)
pass -> WARN (fi-skl-gvtdvm)
Subgroup basic-default-fd:
pass -> WARN (fi-bsw-n3050)
pass -> WARN (fi-bxt-j4205)
pass -> WARN (fi-byt-j1900)
pass -> WARN (fi-byt-n2820)
pass -> WARN (fi-pnv-d510)
Subgroup basic-default-forked:
pass -> WARN (fi-bdw-gvtdvm)
pass -> WARN (fi-bsw-n3050)
pass -> WARN (fi-byt-j1900)
pass -> WARN (fi-byt-n2820)
pass -> WARN (fi-elk-e7500)
pass -> WARN (fi-glk-1)
pass -> WARN (fi-ilk-650)
pass -> WARN (fi-pnv-d510)
Subgroup basic-default-hang:
pass -> WARN (fi-bsw-n3050)
pass -> WARN (fi-byt-j1900)
pass -> WARN (fi-byt-n2820)
pass -> WARN (fi-ilk-650)
pass -> WARN (fi-skl-6600u)
Subgroup basic-default-interruptible:
pass -> WARN (fi-bsw-n3050)
pass -> WARN (fi-byt-j1900)
pass -> WARN (fi-pnv-d510)
pass -> WARN (fi-skl-gvtdvm)
Test kms_busy:
Subgroup basic-flip-a:
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-b:
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-c:
pass -> WARN (fi-skl-guc)
Test kms_cursor_legacy:
Subgroup basic-busy-flip-before-cursor-atomic:
pass -> WARN (fi-skl-guc)
Subgroup basic-busy-flip-before-cursor-legacy:
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-after-cursor-atomic:
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-after-cursor-legacy:
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-after-cursor-varying-size:
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-before-cursor-atomic:
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-before-cursor-legacy:
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-before-cursor-varying-size:
pass -> WARN (fi-skl-guc)
Test kms_flip:
Subgroup basic-flip-vs-dpms:
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-vs-modeset:
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-vs-wf_vblank:
pass -> WARN (fi-skl-guc)
Subgroup basic-plain-flip:
pass -> WARN (fi-skl-guc)
Test kms_pipe_crc_basic:
Subgroup bad-nb-words-1:
pass -> WARN (fi-skl-guc)
Subgroup bad-nb-words-3:
pass -> WARN (fi-skl-guc)
Subgroup bad-pipe:
pass -> WARN (fi-skl-guc)
Subgroup bad-source:
pass -> WARN (fi-skl-guc)
Subgroup hang-read-crc-pipe-a:
pass -> WARN (fi-skl-guc)
Subgroup nonblocking-crc-pipe-a:
pass -> WARN (fi-skl-guc)
Subgroup nonblocking-crc-pipe-a-frame-sequence:
pass -> WARN (fi-skl-guc)
Subgroup nonblocking-crc-pipe-b:
pass -> WARN (fi-skl-guc)
Subgroup nonblocking-crc-pipe-c-frame-sequence:
pass -> WARN (fi-skl-guc)
Subgroup read-crc-pipe-c-frame-sequence:
pass -> WARN (fi-skl-guc)
Subgroup suspend-read-crc-pipe-a:
pass -> WARN (fi-bdw-gvtdvm)
pass -> WARN (fi-bxt-dsi)
pass -> WARN (fi-bxt-j4205)
pass -> WARN (fi-cfl-s2)
pass -> WARN (fi-cfl-u)
pass -> WARN (fi-glk-1)
pass -> WARN (fi-kbl-7560u)
pass -> WARN (fi-skl-6260u)
pass -> WARN (fi-skl-6600u)
pass -> WARN (fi-skl-6770hq)
pass -> WARN (fi-skl-gvtdvm)
Subgroup suspend-read-crc-pipe-b:
pass -> WARN (fi-bdw-gvtdvm)
pass -> WARN (fi-bxt-dsi)
pass -> WARN (fi-bxt-j4205)
pass -> WARN (fi-cfl-u)
pass -> WARN (fi-kbl-7560u)
Subgroup suspend-read-crc-pipe-c:
pass -> WARN (fi-bdw-gvtdvm)
pass -> WARN (fi-bxt-j4205)
pass -> WARN (fi-cfl-s2)
pass -> WARN (fi-cfl-u)
pass -> WARN (fi-kbl-7500u)
pass -> WARN (fi-kbl-7560u)
Test pm_rpm:
Subgroup basic-pci-d3-state:
pass -> WARN (fi-skl-guc)
Subgroup basic-rte:
pass -> WARN (fi-skl-guc)
---- Known issues:
Test debugfs_test:
Subgroup read_all_entries:
pass -> INCOMPLETE (fi-snb-2520m) fdo#103713
Test gem_exec_suspend:
Subgroup basic-s3:
pass -> WARN (fi-bxt-j4205) fdo#105009
pass -> WARN (fi-skl-6260u) fdo#104108 +12
Subgroup basic-s4-devices:
pass -> WARN (fi-cfl-s2) fdo#105071
Test gem_ringfill:
Subgroup basic-default-hang:
dmesg-warn -> DMESG-FAIL (fi-blb-e6850) fdo#101600 +1
Test kms_chamelium:
Subgroup common-hpd-after-suspend:
dmesg-warn -> DMESG-FAIL (fi-kbl-7500u) fdo#102505
Test kms_pipe_crc_basic:
Subgroup hang-read-crc-pipe-b:
pass -> WARN (fi-skl-guc) fdo#103191 +11
Subgroup suspend-read-crc-pipe-a:
pass -> WARN (fi-ivb-3520m) k.org#198519 +2
pass -> WARN (fi-skl-6700hq) fdo#101144
Subgroup suspend-read-crc-pipe-b:
pass -> WARN (fi-cnl-y3) fdo#104951
Subgroup suspend-read-crc-pipe-c:
pass -> WARN (fi-bxt-dsi) fdo#103927
fdo#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713
fdo#105009 https://bugs.freedesktop.org/show_bug.cgi?id=105009
fdo#104108 https://bugs.freedesktop.org/show_bug.cgi?id=104108
fdo#105071 https://bugs.freedesktop.org/show_bug.cgi?id=105071
fdo#101600 https://bugs.freedesktop.org/show_bug.cgi?id=101600
fdo#102505 https://bugs.freedesktop.org/show_bug.cgi?id=102505
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
k.org#198519 https://bugzilla.kernel.org/show_bug.cgi?id=198519
fdo#101144 https://bugs.freedesktop.org/show_bug.cgi?id=101144
fdo#104951 https://bugs.freedesktop.org/show_bug.cgi?id=104951
fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927
fi-bdw-5557u total:288 pass:265 dwarn:0 dfail:0 fail:0 skip:21 time:417s
fi-bdw-gvtdvm total:288 pass:257 dwarn:0 dfail:0 fail:0 skip:24 time:426s
fi-blb-e6850 total:288 pass:223 dwarn:0 dfail:1 fail:0 skip:64 time:373s
fi-bsw-n3050 total:288 pass:232 dwarn:0 dfail:0 fail:0 skip:46 time:494s
fi-bwr-2160 total:288 pass:183 dwarn:0 dfail:0 fail:0 skip:105 time:281s
fi-bxt-dsi total:288 pass:252 dwarn:0 dfail:0 fail:0 skip:30 time:479s
fi-bxt-j4205 total:288 pass:253 dwarn:0 dfail:0 fail:0 skip:29 time:487s
fi-byt-j1900 total:288 pass:243 dwarn:0 dfail:0 fail:0 skip:35 time:470s
fi-byt-n2820 total:288 pass:241 dwarn:0 dfail:0 fail:0 skip:39 time:457s
fi-cfl-8700k total:288 pass:260 dwarn:0 dfail:0 fail:0 skip:28 time:392s
fi-cfl-s2 total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:26 time:564s
fi-cfl-u total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:26 time:492s
fi-cnl-y3 total:288 pass:257 dwarn:0 dfail:0 fail:0 skip:26 time:577s
fi-elk-e7500 total:288 pass:228 dwarn:0 dfail:0 fail:0 skip:59 time:416s
fi-gdg-551 total:288 pass:179 dwarn:0 dfail:0 fail:1 skip:108 time:290s
fi-glk-1 total:288 pass:255 dwarn:0 dfail:0 fail:0 skip:28 time:510s
fi-hsw-4770 total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:27 time:390s
fi-ilk-650 total:288 pass:221 dwarn:0 dfail:0 fail:0 skip:60 time:418s
fi-ivb-3520m total:288 pass:255 dwarn:0 dfail:0 fail:0 skip:29 time:457s
fi-ivb-3770 total:288 pass:255 dwarn:0 dfail:0 fail:0 skip:33 time:418s
fi-kbl-7500u total:288 pass:262 dwarn:0 dfail:1 fail:0 skip:24 time:449s
fi-kbl-7560u total:288 pass:265 dwarn:0 dfail:0 fail:0 skip:19 time:495s
fi-kbl-7567u total:288 pass:266 dwarn:0 dfail:0 fail:0 skip:20 time:451s
fi-kbl-r total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:496s
fi-pnv-d510 total:288 pass:213 dwarn:0 dfail:1 fail:0 skip:65 time:587s
fi-skl-6260u total:288 pass:264 dwarn:0 dfail:0 fail:0 skip:20 time:421s
fi-skl-6600u total:288 pass:256 dwarn:0 dfail:0 fail:0 skip:27 time:498s
fi-skl-6700hq total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:26 time:522s
fi-skl-6700k2 total:108 pass:95 dwarn:0 dfail:0 fail:0 skip:11
fi-skl-6770hq total:288 pass:263 dwarn:0 dfail:0 fail:0 skip:20 time:478s
fi-skl-guc total:288 pass:215 dwarn:0 dfail:0 fail:0 skip:28 time:411s
fi-skl-gvtdvm total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:23 time:432s
fi-snb-2520m total:3 pass:2 dwarn:0 dfail:0 fail:0 skip:0
fi-snb-2600 total:288 pass:248 dwarn:0 dfail:0 fail:0 skip:40 time:402s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1045/issues.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 10+ messages in thread
* [igt-dev] [CI v6 4/6] igt/core: Initial simple interleaved kmsg filtering
2018-03-02 10:55 ` [igt-dev] [CI 4/6] igt/core: Initial simple interleaved kmsg filtering Petri Latvala
@ 2018-03-05 11:01 ` Petri Latvala
0 siblings, 0 replies; 10+ messages in thread
From: Petri Latvala @ 2018-03-05 11:01 UTC (permalink / raw)
To: igt-dev
From: Daniel Vetter <daniel.vetter@ffwll.ch>
Needs to be beefed up so that dmesg warning (and worse) are re-emmitted
as IGT_LOG_WARN. But only if they match one of our filters (which we
should probably allow to be extended, e.g. depending upon which driver
has been openened). This also requires that we at least parse the
basic of kmsg lines (adjusting the timestamp to match our own would be
real cool).
v2:
- Seek to the end of the kmsg buffer before starting the capturing.
- Increase linebuffer to avoid dmesg drowning out all the tests
messages.
v3: Unlazy slightly and implement semi-correct kmsg parsing.
v4 (Petri): Handle continuation lines instead of crashing on them
v5 (Petri): Handle EPIPE, handle fragment continuations, point to
format docs
v6 (Petri): Also handle EINTR
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
---
lib/igt_core.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 86 insertions(+), 1 deletion(-)
diff --git a/lib/igt_core.c b/lib/igt_core.c
index 66efec28..18147377 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -294,7 +294,7 @@ static const char *command_str;
static char* igt_debug_log_domain_filter;
static struct {
- char *entries[256];
+ char *entries[2000];
uint8_t start, end;
} log_buffer;
static pthread_mutex_t log_buffer_mutex = PTHREAD_MUTEX_INITIALIZER;
@@ -573,6 +573,89 @@ static void oom_adjust_for_doom(void)
}
+static void *kmsg_capture(void *arg)
+{
+ /*
+ * See Documentation/ABI/testing/dev-kmsg in the kernel
+ * sources for documentation on the message format.
+ */
+
+ int kmsg_capture_fd = (uintptr_t) arg;
+ FILE *kmsg_file = fdopen(kmsg_capture_fd, "r");
+ char *line = NULL;
+ size_t line_len = 0;
+ ssize_t read;
+
+ while ((read = getline(&line, &line_len, kmsg_file))) {
+ int s;
+ unsigned flags;
+ unsigned long long seq, ts_usec;
+ char continuation;
+ enum igt_log_level level;
+
+ if (read < 0) {
+ if (errno == EPIPE || errno == EINTR)
+ /* We can get EPIPE on buffer overflow */
+ continue;
+ else
+ break;
+ }
+
+ s = sscanf(line, "%u,%llu,%llu,%c;", &flags,
+ &seq, &ts_usec, &continuation);
+
+ if (s == 4) {
+ if ((flags & 0x7) <= 4)
+ level = IGT_LOG_WARN;
+ else
+ level = IGT_LOG_DEBUG;
+
+ if (continuation == 'c')
+ /*
+ * KERN_CONT fragment, log level in
+ * this log record is the default log
+ * level instead of the one the
+ * fragment continues.
+ */
+ level = IGT_LOG_DEBUG;
+
+ igt_log("dmesg", level, "[%llu.%06llu], %s",
+ ts_usec / 1000000,
+ ts_usec % 1000000,
+ index(line, ';') + 1);
+ } else if (line[0] == ' ') {
+ /* Machine readable key/value pairs, ignore */
+ } else {
+ igt_warn("Cannot parse kmsg line: %s\n", line);
+ }
+ }
+
+ igt_warn("ran out of dmesg, this shouldn't happen\n");
+
+ free(line);
+ fclose(kmsg_file);
+ return NULL;
+}
+
+static void start_kmsg_recording(void)
+{
+ static pthread_t kmsg_capture_thread;
+ int kmsg_capture_fd;
+
+ kmsg_capture_fd = open("/dev/kmsg",
+ O_RDONLY | O_CLOEXEC);
+
+ if (kmsg_capture_fd < 0) {
+ igt_info("no dmesg capturing\n");
+ return;
+ }
+
+ lseek(kmsg_capture_fd, 0, SEEK_END);
+
+ pthread_create(&kmsg_capture_thread, NULL,
+ kmsg_capture, (void *)(uintptr_t) kmsg_capture_fd);
+}
+
#ifdef HAVE_GLIB
static void common_init_config(void)
{
@@ -806,6 +889,8 @@ out:
igt_kmsg(KMSG_INFO "%s: executing\n", command_str);
print_version();
+ start_kmsg_recording();
+
sync();
oom_adjust_for_doom();
ftrace_dump_on_oops(true);
--
2.14.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [igt-dev] ✗ Fi.CI.BAT: warning for series starting with [CI,1/6] tests/sw_sync: use igt_fork_helper (rev2)
2018-03-02 10:55 [igt-dev] [CI 1/6] tests/sw_sync: use igt_fork_helper Petri Latvala
` (5 preceding siblings ...)
2018-03-02 19:21 ` [igt-dev] ✗ Fi.CI.BAT: warning for series starting with [CI,1/6] tests/sw_sync: use igt_fork_helper Patchwork
@ 2018-03-05 14:13 ` Patchwork
2018-03-05 18:18 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
7 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2018-03-05 14:13 UTC (permalink / raw)
To: Petri Latvala; +Cc: igt-dev
== Series Details ==
Series: series starting with [CI,1/6] tests/sw_sync: use igt_fork_helper (rev2)
URL : https://patchwork.freedesktop.org/series/39263/
State : warning
== Summary ==
IGT patchset tested on top of latest successful build
23f7da18a92059610792299cfdb03d2c922a9948 lib/igt_pm: Restore runtime pm state on test exit
with latest DRM-Tip kernel build CI_DRM_3871
276a88800a08 drm-tip: 2018y-03m-05d-12h-15m-50s UTC integration manifest
No testlist changes.
---- Possible new issues:
Test debugfs_test:
Subgroup read_all_entries:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Test drv_module_reload:
Subgroup basic-no-display:
pass -> WARN (fi-bdw-5557u)
pass -> WARN (fi-cnl-y3)
pass -> WARN (fi-glk-1)
pass -> WARN (fi-hsw-4770)
pass -> WARN (fi-ilk-650)
pass -> WARN (fi-skl-6700hq)
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-reload:
pass -> WARN (fi-cnl-y3)
pass -> WARN (fi-glk-1)
pass -> WARN (fi-ilk-650)
pass -> WARN (fi-skl-6700hq)
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-reload-inject:
pass -> WARN (fi-bdw-5557u)
pass -> WARN (fi-cnl-y3)
pass -> WARN (fi-glk-1)
pass -> WARN (fi-hsw-4770)
pass -> WARN (fi-ilk-650)
pass -> WARN (fi-skl-6700hq)
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Test gem_close_race:
Subgroup basic-threads:
pass -> WARN (fi-cnl-y3)
Test gem_exec_suspend:
Subgroup basic-s3:
pass -> WARN (fi-bdw-gvtdvm)
pass -> WARN (fi-bxt-dsi)
pass -> WARN (fi-ivb-3520m)
pass -> WARN (fi-kbl-7560u)
pass -> WARN (fi-skl-guc)
Subgroup basic-s4-devices:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-6770hq)
pass -> WARN (fi-skl-guc)
Test gem_ringfill:
Subgroup basic-default-hang:
pass -> WARN (fi-cfl-8700k)
Test kms_busy:
Subgroup basic-flip-a:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-b:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-c:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Test kms_chamelium:
Subgroup common-hpd-after-suspend:
pass -> WARN (fi-skl-6700k2)
Subgroup hdmi-crc-fast:
pass -> WARN (fi-skl-6700k2)
Subgroup hdmi-edid-read:
pass -> WARN (fi-skl-6700k2)
Subgroup hdmi-hpd-fast:
pass -> WARN (fi-skl-6700k2)
Test kms_cursor_legacy:
Subgroup basic-busy-flip-before-cursor-atomic:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-busy-flip-before-cursor-legacy:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-after-cursor-atomic:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-after-cursor-legacy:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-after-cursor-varying-size:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-before-cursor-atomic:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-before-cursor-legacy:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-before-cursor-varying-size:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Test kms_flip:
Subgroup basic-flip-vs-dpms:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-vs-modeset:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-flip-vs-wf_vblank:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-plain-flip:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Test kms_pipe_crc_basic:
Subgroup bad-nb-words-1:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup bad-nb-words-3:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup bad-pipe:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup bad-source:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup hang-read-crc-pipe-a:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup nonblocking-crc-pipe-a:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup nonblocking-crc-pipe-a-frame-sequence:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup nonblocking-crc-pipe-b:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup nonblocking-crc-pipe-c-frame-sequence:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup read-crc-pipe-c-frame-sequence:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup suspend-read-crc-pipe-a:
pass -> WARN (fi-bdw-gvtdvm)
pass -> WARN (fi-bxt-dsi)
pass -> WARN (fi-bxt-j4205)
pass -> WARN (fi-glk-1)
pass -> WARN (fi-kbl-7560u)
pass -> WARN (fi-skl-6260u)
pass -> WARN (fi-skl-6600u)
pass -> WARN (fi-skl-6770hq)
pass -> WARN (fi-skl-gvtdvm)
Subgroup suspend-read-crc-pipe-b:
pass -> WARN (fi-bdw-gvtdvm)
pass -> WARN (fi-bxt-dsi)
pass -> WARN (fi-bxt-j4205)
pass -> WARN (fi-kbl-7560u)
Subgroup suspend-read-crc-pipe-c:
pass -> WARN (fi-bdw-gvtdvm)
pass -> WARN (fi-bxt-j4205)
pass -> WARN (fi-cfl-8700k)
pass -> WARN (fi-kbl-7560u)
Test pm_rpm:
Subgroup basic-pci-d3-state:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
Subgroup basic-rte:
pass -> WARN (fi-skl-6700k2)
pass -> WARN (fi-skl-guc)
---- Known issues:
Test gem_exec_suspend:
Subgroup basic-s3:
pass -> WARN (fi-bxt-j4205) fdo#105009
pass -> WARN (fi-skl-6260u) fdo#104108 +14
Subgroup basic-s4-devices:
pass -> WARN (fi-cfl-s2) fdo#105071
Test gem_mmap_gtt:
Subgroup basic-small-bo-tiledx:
fail -> PASS (fi-gdg-551) fdo#102575
Test gem_ringfill:
Subgroup basic-default-hang:
dmesg-warn -> DMESG-FAIL (fi-blb-e6850) fdo#101600
Test kms_chamelium:
Subgroup common-hpd-after-suspend:
dmesg-warn -> DMESG-FAIL (fi-kbl-7500u) fdo#102505
Test kms_pipe_crc_basic:
Subgroup hang-read-crc-pipe-b:
pass -> WARN (fi-skl-6700k2) fdo#103191 +21
Subgroup suspend-read-crc-pipe-a:
pass -> WARN (fi-ivb-3520m) k.org#198519 +2
pass -> WARN (fi-skl-6700hq) fdo#101144
Subgroup suspend-read-crc-pipe-b:
dmesg-warn -> PASS (fi-cnl-y3) fdo#104951
incomplete -> WARN (fi-snb-2520m) fdo#103713
Subgroup suspend-read-crc-pipe-c:
pass -> WARN (fi-bxt-dsi) fdo#103927
fdo#105009 https://bugs.freedesktop.org/show_bug.cgi?id=105009
fdo#104108 https://bugs.freedesktop.org/show_bug.cgi?id=104108
fdo#105071 https://bugs.freedesktop.org/show_bug.cgi?id=105071
fdo#102575 https://bugs.freedesktop.org/show_bug.cgi?id=102575
fdo#101600 https://bugs.freedesktop.org/show_bug.cgi?id=101600
fdo#102505 https://bugs.freedesktop.org/show_bug.cgi?id=102505
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
k.org#198519 https://bugzilla.kernel.org/show_bug.cgi?id=198519
fdo#101144 https://bugs.freedesktop.org/show_bug.cgi?id=101144
fdo#104951 https://bugs.freedesktop.org/show_bug.cgi?id=104951
fdo#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713
fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927
fi-bdw-5557u total:288 pass:265 dwarn:0 dfail:0 fail:0 skip:21 time:418s
fi-bdw-gvtdvm total:288 pass:260 dwarn:0 dfail:0 fail:0 skip:24 time:427s
fi-blb-e6850 total:288 pass:223 dwarn:0 dfail:1 fail:0 skip:64 time:375s
fi-bsw-n3050 total:288 pass:242 dwarn:0 dfail:0 fail:0 skip:46 time:494s
fi-bwr-2160 total:288 pass:183 dwarn:0 dfail:0 fail:0 skip:105 time:281s
fi-bxt-dsi total:288 pass:254 dwarn:0 dfail:0 fail:0 skip:30 time:485s
fi-bxt-j4205 total:288 pass:255 dwarn:0 dfail:0 fail:0 skip:29 time:492s
fi-byt-j1900 total:288 pass:253 dwarn:0 dfail:0 fail:0 skip:35 time:472s
fi-byt-n2820 total:288 pass:249 dwarn:0 dfail:0 fail:0 skip:39 time:458s
fi-cfl-8700k total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:28 time:391s
fi-cfl-s2 total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:26 time:561s
fi-cnl-y3 total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:26 time:582s
fi-elk-e7500 total:288 pass:229 dwarn:0 dfail:0 fail:0 skip:59 time:415s
fi-gdg-551 total:288 pass:180 dwarn:0 dfail:0 fail:0 skip:108 time:295s
fi-glk-1 total:288 pass:256 dwarn:0 dfail:0 fail:0 skip:28 time:509s
fi-hsw-4770 total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:27 time:388s
fi-ilk-650 total:288 pass:225 dwarn:0 dfail:0 fail:0 skip:60 time:415s
fi-ivb-3520m total:288 pass:255 dwarn:0 dfail:0 fail:0 skip:29 time:455s
fi-ivb-3770 total:288 pass:255 dwarn:0 dfail:0 fail:0 skip:33 time:412s
fi-kbl-7500u total:288 pass:263 dwarn:0 dfail:1 fail:0 skip:24 time:453s
fi-kbl-7560u total:288 pass:265 dwarn:0 dfail:0 fail:0 skip:19 time:494s
fi-kbl-7567u total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:455s
fi-kbl-r total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:494s
fi-pnv-d510 total:288 pass:222 dwarn:1 dfail:0 fail:0 skip:65 time:582s
fi-skl-6260u total:288 pass:264 dwarn:0 dfail:0 fail:0 skip:20 time:435s
fi-skl-6600u total:288 pass:257 dwarn:0 dfail:0 fail:0 skip:27 time:502s
fi-skl-6700hq total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:26 time:520s
fi-skl-6700k2 total:288 pass:215 dwarn:0 dfail:0 fail:0 skip:24 time:496s
fi-skl-6770hq total:288 pass:263 dwarn:0 dfail:0 fail:0 skip:20 time:487s
fi-skl-guc total:288 pass:215 dwarn:0 dfail:0 fail:0 skip:28 time:409s
fi-skl-gvtdvm total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:23 time:429s
fi-snb-2520m total:288 pass:247 dwarn:0 dfail:0 fail:0 skip:40 time:513s
fi-snb-2600 total:288 pass:248 dwarn:0 dfail:0 fail:0 skip:40 time:396s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1056/issues.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 10+ messages in thread
* [igt-dev] ✗ Fi.CI.IGT: failure for series starting with [CI,1/6] tests/sw_sync: use igt_fork_helper (rev2)
2018-03-02 10:55 [igt-dev] [CI 1/6] tests/sw_sync: use igt_fork_helper Petri Latvala
` (6 preceding siblings ...)
2018-03-05 14:13 ` [igt-dev] ✗ Fi.CI.BAT: warning for series starting with [CI,1/6] tests/sw_sync: use igt_fork_helper (rev2) Patchwork
@ 2018-03-05 18:18 ` Patchwork
7 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2018-03-05 18:18 UTC (permalink / raw)
To: Petri Latvala; +Cc: igt-dev
== Series Details ==
Series: series starting with [CI,1/6] tests/sw_sync: use igt_fork_helper (rev2)
URL : https://patchwork.freedesktop.org/series/39263/
State : failure
== Summary ==
---- Possible new issues:
Test drv_module_reload:
Subgroup basic-no-display:
pass -> WARN (shard-hsw)
Subgroup basic-reload-inject:
pass -> WARN (shard-hsw)
Test drv_selftest:
Subgroup mock_fence:
pass -> WARN (shard-apl)
pass -> WARN (shard-hsw)
pass -> WARN (shard-snb)
Test drv_suspend:
Subgroup fence-restore-tiled2untiled:
pass -> WARN (shard-apl)
Subgroup fence-restore-untiled:
pass -> WARN (shard-apl)
Subgroup forcewake:
skip -> PASS (shard-snb)
Test gem_caching:
Subgroup read-writes:
pass -> WARN (shard-apl)
Test gem_close_race:
Subgroup basic-threads:
pass -> WARN (shard-apl)
Test gem_exec_flush:
Subgroup basic-uc-rw-default:
pass -> WARN (shard-apl)
Test gem_exec_parallel:
Subgroup basic:
pass -> WARN (shard-apl)
Test gem_exec_params:
Subgroup invalid-bsd1-flag-on-vebox:
pass -> WARN (shard-apl)
Test gem_exec_schedule:
Subgroup smoketest-blt:
pass -> WARN (shard-apl)
Test gem_mmap:
Subgroup big-bo:
pass -> WARN (shard-apl)
Test gem_partial_pwrite_pread:
Subgroup write:
pass -> WARN (shard-apl)
Test gem_sync:
Subgroup basic-all:
pass -> WARN (shard-apl)
Test gem_workarounds:
Subgroup suspend-resume-fd:
pass -> WARN (shard-apl)
Test kms_busy:
Subgroup extended-modeset-hang-newfb-render-a:
pass -> WARN (shard-apl)
Subgroup extended-modeset-hang-newfb-render-b:
pass -> WARN (shard-apl)
Subgroup extended-pageflip-hang-newfb-render-a:
pass -> WARN (shard-apl)
Subgroup extended-pageflip-hang-newfb-render-b:
pass -> WARN (shard-apl)
Subgroup extended-pageflip-modeset-hang-oldfb-render-a:
pass -> WARN (shard-apl)
pass -> WARN (shard-hsw)
pass -> WARN (shard-snb)
Subgroup extended-pageflip-modeset-hang-oldfb-render-b:
pass -> WARN (shard-apl)
pass -> WARN (shard-snb)
Subgroup extended-pageflip-modeset-hang-oldfb-render-c:
pass -> WARN (shard-apl)
Test kms_chv_cursor_fail:
Subgroup pipe-c-64x64-right-edge:
pass -> WARN (shard-apl)
Test kms_cursor_crc:
Subgroup cursor-128x128-suspend:
pass -> WARN (shard-apl)
Subgroup cursor-64x64-onscreen:
pass -> WARN (shard-apl)
Subgroup cursor-64x64-suspend:
pass -> WARN (shard-apl)
Test kms_cursor_legacy:
Subgroup all-pipes-torture-bo:
pass -> WARN (shard-apl)
pass -> WARN (shard-snb)
Subgroup all-pipes-torture-move:
pass -> WARN (shard-snb)
Subgroup basic-flip-before-cursor-legacy:
pass -> WARN (shard-apl)
Subgroup cursora-vs-flipa-atomic-transitions:
pass -> WARN (shard-apl)
Subgroup pipe-a-torture-bo:
pass -> WARN (shard-apl)
pass -> WARN (shard-snb)
Subgroup pipe-a-torture-move:
pass -> WARN (shard-snb)
Subgroup pipe-b-torture-bo:
pass -> WARN (shard-apl)
pass -> WARN (shard-snb)
Subgroup pipe-b-torture-move:
pass -> WARN (shard-apl)
pass -> WARN (shard-snb)
Subgroup pipe-c-torture-move:
pass -> WARN (shard-apl)
Test kms_fbcon_fbt:
Subgroup fbc-suspend:
pass -> WARN (shard-apl)
Test kms_flip:
Subgroup 2x-nonexisting-fb:
pass -> WARN (shard-hsw)
Subgroup 2x-nonexisting-fb-interruptible:
pass -> WARN (shard-hsw)
Subgroup flip-vs-dpms-interruptible:
pass -> WARN (shard-apl)
Subgroup nonexisting-fb:
pass -> WARN (shard-apl)
pass -> WARN (shard-hsw)
pass -> WARN (shard-snb)
Subgroup nonexisting-fb-interruptible:
pass -> WARN (shard-apl)
pass -> WARN (shard-hsw)
pass -> WARN (shard-snb)
Test kms_frontbuffer_tracking:
Subgroup fbc-2p-primscrn-pri-indfb-draw-mmap-gtt:
pass -> SKIP (shard-hsw)
Test kms_plane:
Subgroup plane-position-covered-pipe-a-planes:
pass -> WARN (shard-apl)
Test kms_vblank:
Subgroup pipe-a-ts-continuation-dpms-suspend:
pass -> WARN (shard-apl)
Subgroup pipe-a-ts-continuation-suspend:
pass -> WARN (shard-apl)
Subgroup pipe-b-ts-continuation-dpms-suspend:
pass -> WARN (shard-apl)
Subgroup pipe-b-ts-continuation-modeset-hang:
pass -> WARN (shard-apl)
Subgroup pipe-b-ts-continuation-suspend:
pass -> WARN (shard-apl)
Subgroup pipe-b-wait-forked-hang:
pass -> WARN (shard-apl)
Test pm_rpm:
Subgroup i2c:
pass -> WARN (shard-apl)
Subgroup system-suspend-modeset:
pass -> WARN (shard-apl)
Test sw_sync:
Subgroup sync_busy_fork_unixsocket:
pass -> FAIL (shard-apl)
pass -> FAIL (shard-hsw)
pass -> FAIL (shard-snb)
---- Known issues:
Test drv_suspend:
Subgroup debugfs-reader:
pass -> WARN (shard-snb) fdo#102365
Subgroup forcewake:
pass -> WARN (shard-apl) k.org#196691 +3
Test kms_chv_cursor_fail:
Subgroup pipe-b-64x64-bottom-edge:
dmesg-warn -> PASS (shard-snb) fdo#105185
Test kms_flip:
Subgroup 2x-plain-flip-ts-check-interruptible:
pass -> FAIL (shard-hsw) fdo#100368 +1
Test kms_frontbuffer_tracking:
Subgroup fbc-farfromfence:
pass -> WARN (shard-apl) fdo#101623 +2
Test kms_pipe_crc_basic:
Subgroup suspend-read-crc-pipe-c:
pass -> WARN (shard-apl) fdo#103927
Test kms_plane:
Subgroup plane-panning-bottom-right-suspend-pipe-a-planes:
pass -> WARN (shard-apl) fdo#103166 +1
Subgroup plane-panning-bottom-right-suspend-pipe-b-planes:
pass -> WARN (shard-hsw) fdo#103540
Subgroup plane-panning-bottom-right-suspend-pipe-c-planes:
pass -> WARN (shard-apl) fdo#104164 +2
Test perf:
Subgroup blocking:
fail -> PASS (shard-hsw) fdo#102252
Test pm_lpsp:
Subgroup screens-disabled:
pass -> FAIL (shard-hsw) fdo#104941
Test pm_rpm:
Subgroup system-suspend-execbuf:
pass -> WARN (shard-apl) fdo#103375 +11
fdo#102365 https://bugs.freedesktop.org/show_bug.cgi?id=102365
k.org#196691 https://bugzilla.kernel.org/show_bug.cgi?id=196691
fdo#105185 https://bugs.freedesktop.org/show_bug.cgi?id=105185
fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#101623 https://bugs.freedesktop.org/show_bug.cgi?id=101623
fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927
fdo#103166 https://bugs.freedesktop.org/show_bug.cgi?id=103166
fdo#103540 https://bugs.freedesktop.org/show_bug.cgi?id=103540
fdo#104164 https://bugs.freedesktop.org/show_bug.cgi?id=104164
fdo#102252 https://bugs.freedesktop.org/show_bug.cgi?id=102252
fdo#104941 https://bugs.freedesktop.org/show_bug.cgi?id=104941
fdo#103375 https://bugs.freedesktop.org/show_bug.cgi?id=103375
shard-apl total:3404 pass:1718 dwarn:1 dfail:0 fail:9 skip:1604 time:11995s
shard-hsw total:3468 pass:1758 dwarn:1 dfail:0 fail:5 skip:1692 time:11829s
shard-snb total:3468 pass:1351 dwarn:1 dfail:0 fail:2 skip:2101 time:7127s
Blacklisted hosts:
shard-kbl total:3277 pass:1829 dwarn:1 dfail:1 fail:8 skip:1426 time:8261s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1056/shards.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2018-03-05 18:18 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-02 10:55 [igt-dev] [CI 1/6] tests/sw_sync: use igt_fork_helper Petri Latvala
2018-03-02 10:55 ` [igt-dev] [CI 2/6] lib/core: make logging pthread vs. fork safe Petri Latvala
2018-03-02 10:55 ` [igt-dev] [CI 3/6] lib/core: Don't hide non-debug message when filtering for a debug log domain Petri Latvala
2018-03-02 10:55 ` [igt-dev] [CI 4/6] igt/core: Initial simple interleaved kmsg filtering Petri Latvala
2018-03-05 11:01 ` [igt-dev] [CI v6 " Petri Latvala
2018-03-02 10:55 ` [igt-dev] [CI 5/6] lib/core: report subtests that hit an igt_warning as WARNING Petri Latvala
2018-03-02 10:55 ` [igt-dev] [CI 6/6] lib/core: Use whitelist with kmsg filter Petri Latvala
2018-03-02 19:21 ` [igt-dev] ✗ Fi.CI.BAT: warning for series starting with [CI,1/6] tests/sw_sync: use igt_fork_helper Patchwork
2018-03-05 14:13 ` [igt-dev] ✗ Fi.CI.BAT: warning for series starting with [CI,1/6] tests/sw_sync: use igt_fork_helper (rev2) Patchwork
2018-03-05 18:18 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.