runner/resultgen: Split json generation and file writing
PATCH 1/2 runner/resultgen: Split json generation and file writing
This allows testing to skip the file writing.
--- runner/resultgen.c | 36 +++++++++++++++++++++++------------- runner/resultgen.h | 2 ++ 2 files changed, 25 insertions(+), 13 deletions(-)
runner/resultgen.c +23 -13
@@ -988,14 +988,13 @@ static void create_result_root_nodes(struct json_object *root,json_object_object_add (root,"runtimes" , results->runtimes); } -bool generate_results (int dirfd) +struct json_object *generate_results_json (int dirfd) {struct settings settings;struct job_list job_list;struct json_object *obj, *elapsed;struct results results; -int resultsfd, testdirfd, fd; -const char *json_string; +int testdirfd, fd;size_t i;init_settings (&settings);
@@ -1003,18 +1002,12 @@ bool generate_results(int dirfd)if (!read_settings (&settings, dirfd)) {fprintf (stderr,"resultgen: Cannot parse settings\n" ); -return false; +return NULL ; }if (!read_job_list (&job_list, dirfd)) {fprintf (stderr,"resultgen: Cannot parse job list\n" ); -return false; - } - -/* TODO: settings.overwrite */ -if ((resultsfd =openat (dirfd,"results.json" ,O_WRONLY |O_CREAT |O_TRUNC ,0666 )) <0 ) { -fprintf (stderr,"resultgen: Cannot create results file\n" ); -return false; +return NULL ; } obj =json_object_new_object ();
@@ -1079,12 +1072,29 @@ bool generate_results(int dirfd)if (!parse_test_directory (testdirfd, &job_list.entries[i], &settings, &results)) {close (testdirfd); -close (resultsfd); -return false; +return NULL ; }close (testdirfd); } +return obj; +} + +bool generate_results (int dirfd) +{ +struct json_object *obj =generate_results_json (dirfd); +const char *json_string; +int resultsfd; + +if (obj ==NULL ) +return false; + +/* TODO: settings.overwrite */ +if ((resultsfd =openat (dirfd,"results.json" ,O_WRONLY |O_CREAT |O_TRUNC ,0666 )) <0 ) { +fprintf (stderr,"resultgen: Cannot create results file\n" ); +return false; + } + json_string =json_object_to_json_string_ext (obj,JSON_C_TO_STRING_PRETTY );write (resultsfd, json_string,strlen (json_string));close (resultsfd);
runner/resultgen.h +2 -0
@@ -6,4 +6,6 @@bool generate_results (int dirfd);bool generate_results_path (char *resultspath); +struct json_object *generate_results_json (int dirfd); +#endif
Signature · 6 lines
2.18.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
PATCH 2/2 runner: Unit tests for json generation
Test the results.json generation with a top-down approach: With a directory of test run intermediary logs, check that the resulting json would match a reference json file.
--- runner/.gitignore | 1 + runner/Makefile.am | 14 +- runner/json_tests_data/README.txt | 10 + .../json_tests_data/dmesg-results/0/dmesg.txt | 6 + .../json_tests_data/dmesg-results/0/err.txt | 2 + .../dmesg-results/0/journal.txt | 2 + .../json_tests_data/dmesg-results/0/out.txt | 3 + .../json_tests_data/dmesg-results/1/dmesg.txt | 6 + .../json_tests_data/dmesg-results/1/err.txt | 2 + .../dmesg-results/1/journal.txt | 2 + .../json_tests_data/dmesg-results/1/out.txt | 3 + .../json_tests_data/dmesg-results/2/dmesg.txt | 5 + .../json_tests_data/dmesg-results/2/err.txt | 0 .../dmesg-results/2/journal.txt | 1 + .../json_tests_data/dmesg-results/2/out.txt | 2 + .../json_tests_data/dmesg-results/3/dmesg.txt | 5 + .../json_tests_data/dmesg-results/3/err.txt | 1 + .../dmesg-results/3/journal.txt | 2 + .../json_tests_data/dmesg-results/3/out.txt | 6 + .../json_tests_data/dmesg-results/4/dmesg.txt | 5 + .../json_tests_data/dmesg-results/4/err.txt | 1 + .../dmesg-results/4/journal.txt | 2 + .../json_tests_data/dmesg-results/4/out.txt | 6 + .../json_tests_data/dmesg-results/README.txt | 3 + .../json_tests_data/dmesg-results/endtime.txt | 1 + .../json_tests_data/dmesg-results/joblist.txt | 5 + .../dmesg-results/metadata.txt | 12 ++ .../dmesg-results/reference.json | 161 +++++++++++++++++ .../dmesg-results/starttime.txt | 1 + .../json_tests_data/dmesg-results/uname.txt | 1 + .../0/dmesg.txt | 2 + .../incomplete-before-any-subtests/0/err.txt | 0 .../0/journal.txt | 0 .../incomplete-before-any-subtests/0/out.txt | 1 + .../incomplete-before-any-subtests/README.txt | 4 + .../endtime.txt | 1 + .../joblist.txt | 5 + .../metadata.txt | 12 ++ .../reference.json | 60 ++++++ .../starttime.txt | 1 + .../incomplete-before-any-subtests/uname.txt | 1 + runner/json_tests_data/normal-run/0/dmesg.txt | 5 + runner/json_tests_data/normal-run/0/err.txt | 2 + .../json_tests_data/normal-run/0/journal.txt | 2 + runner/json_tests_data/normal-run/0/out.txt | 3 + runner/json_tests_data/normal-run/1/dmesg.txt | 5 + runner/json_tests_data/normal-run/1/err.txt | 2 + .../json_tests_data/normal-run/1/journal.txt | 2 + runner/json_tests_data/normal-run/1/out.txt | 3 + runner/json_tests_data/normal-run/2/dmesg.txt | 4 + runner/json_tests_data/normal-run/2/err.txt | 0 .../json_tests_data/normal-run/2/journal.txt | 1 + runner/json_tests_data/normal-run/2/out.txt | 2 + runner/json_tests_data/normal-run/3/dmesg.txt | 4 + runner/json_tests_data/normal-run/3/err.txt | 1 + .../json_tests_data/normal-run/3/journal.txt | 2 + runner/json_tests_data/normal-run/3/out.txt | 6 + runner/json_tests_data/normal-run/4/dmesg.txt | 4 + runner/json_tests_data/normal-run/4/err.txt | 1 + .../json_tests_data/normal-run/4/journal.txt | 2 + runner/json_tests_data/normal-run/4/out.txt | 6 + runner/json_tests_data/normal-run/README.txt | 1 + runner/json_tests_data/normal-run/endtime.txt | 1 + runner/json_tests_data/normal-run/joblist.txt | 5 + .../json_tests_data/normal-run/metadata.txt | 12 ++ .../json_tests_data/normal-run/reference.json | 158 ++++++++++++++++ .../json_tests_data/normal-run/starttime.txt | 1 + runner/json_tests_data/normal-run/uname.txt | 1 + .../piglit-style-dmesg/0/dmesg.txt | 6 + .../piglit-style-dmesg/0/err.txt | 3 + .../piglit-style-dmesg/0/journal.txt | 2 + .../piglit-style-dmesg/0/out.txt | 3 + .../piglit-style-dmesg/1/dmesg.txt | 5 + .../piglit-style-dmesg/1/err.txt | 2 + .../piglit-style-dmesg/1/journal.txt | 2 + .../piglit-style-dmesg/1/out.txt | 3 + .../piglit-style-dmesg/2/dmesg.txt | 4 + .../piglit-style-dmesg/2/err.txt | 0 .../piglit-style-dmesg/2/journal.txt | 1 + .../piglit-style-dmesg/2/out.txt | 2 + .../piglit-style-dmesg/3/dmesg.txt | 4 + .../piglit-style-dmesg/3/err.txt | 1 + .../piglit-style-dmesg/3/journal.txt | 2 + .../piglit-style-dmesg/3/out.txt | 6 + .../piglit-style-dmesg/4/dmesg.txt | 4 + .../piglit-style-dmesg/4/err.txt | 1 + .../piglit-style-dmesg/4/journal.txt | 2 + .../piglit-style-dmesg/4/out.txt | 6 + .../piglit-style-dmesg/README.txt | 2 + .../piglit-style-dmesg/endtime.txt | 1 + .../piglit-style-dmesg/joblist.txt | 5 + .../piglit-style-dmesg/metadata.txt | 12 ++ .../piglit-style-dmesg/reference.json | 158 ++++++++++++++++ .../piglit-style-dmesg/starttime.txt | 1 + .../piglit-style-dmesg/uname.txt | 1 + .../warnings-with-dmesg-warns/0/dmesg.txt | 6 + .../warnings-with-dmesg-warns/0/err.txt | 3 + .../warnings-with-dmesg-warns/0/journal.txt | 2 + .../warnings-with-dmesg-warns/0/out.txt | 3 + .../warnings-with-dmesg-warns/1/dmesg.txt | 5 + .../warnings-with-dmesg-warns/1/err.txt | 2 + .../warnings-with-dmesg-warns/1/journal.txt | 2 + .../warnings-with-dmesg-warns/1/out.txt | 3 + .../warnings-with-dmesg-warns/2/dmesg.txt | 4 + .../warnings-with-dmesg-warns/2/err.txt | 0 .../warnings-with-dmesg-warns/2/journal.txt | 1 + .../warnings-with-dmesg-warns/2/out.txt | 2 + .../warnings-with-dmesg-warns/3/dmesg.txt | 4 + .../warnings-with-dmesg-warns/3/err.txt | 1 + .../warnings-with-dmesg-warns/3/journal.txt | 2 + .../warnings-with-dmesg-warns/3/out.txt | 6 + .../warnings-with-dmesg-warns/4/dmesg.txt | 4 + .../warnings-with-dmesg-warns/4/err.txt | 1 + .../warnings-with-dmesg-warns/4/journal.txt | 2 + .../warnings-with-dmesg-warns/4/out.txt | 6 + .../warnings-with-dmesg-warns/README.txt | 3 + .../warnings-with-dmesg-warns/endtime.txt | 1 + .../warnings-with-dmesg-warns/joblist.txt | 5 + .../warnings-with-dmesg-warns/metadata.txt | 12 ++ .../warnings-with-dmesg-warns/reference.json | 159 ++++++++++++++++ .../warnings-with-dmesg-warns/starttime.txt | 1 + .../warnings-with-dmesg-warns/uname.txt | 1 + runner/json_tests_data/warnings/0/dmesg.txt | 5 + runner/json_tests_data/warnings/0/err.txt | 3 + runner/json_tests_data/warnings/0/journal.txt | 2 + runner/json_tests_data/warnings/0/out.txt | 3 + runner/json_tests_data/warnings/1/dmesg.txt | 5 + runner/json_tests_data/warnings/1/err.txt | 2 + runner/json_tests_data/warnings/1/journal.txt | 2 + runner/json_tests_data/warnings/1/out.txt | 3 + runner/json_tests_data/warnings/2/dmesg.txt | 4 + runner/json_tests_data/warnings/2/err.txt | 0 runner/json_tests_data/warnings/2/journal.txt | 1 + runner/json_tests_data/warnings/2/out.txt | 2 + runner/json_tests_data/warnings/3/dmesg.txt | 4 + runner/json_tests_data/warnings/3/err.txt | 1 + runner/json_tests_data/warnings/3/journal.txt | 2 + runner/json_tests_data/warnings/3/out.txt | 6 + runner/json_tests_data/warnings/4/dmesg.txt | 4 + runner/json_tests_data/warnings/4/err.txt | 1 + runner/json_tests_data/warnings/4/journal.txt | 2 + runner/json_tests_data/warnings/4/out.txt | 6 + runner/json_tests_data/warnings/README.txt | 2 + runner/json_tests_data/warnings/endtime.txt | 1 + runner/json_tests_data/warnings/joblist.txt | 5 + runner/json_tests_data/warnings/metadata.txt | 12 ++ .../json_tests_data/warnings/reference.json | 158 ++++++++++++++++ runner/json_tests_data/warnings/starttime.txt | 1 + runner/json_tests_data/warnings/uname.txt | 1 + runner/meson.build | 8 + runner/runner_json_tests.c | 171 ++++++++++++++++++ 151 files changed, 1489 insertions(+), 2 deletions(-) create mode 100644 runner/json_tests_data/README.txt create mode 100644 runner/json_tests_data/dmesg-results/0/dmesg.txt create mode 100644 runner/json_tests_data/dmesg-results/0/err.txt create mode 100644 runner/json_tests_data/dmesg-results/0/journal.txt create mode 100644 runner/json_tests_data/dmesg-results/0/out.txt create mode 100644 runner/json_tests_data/dmesg-results/1/dmesg.txt create mode 100644 runner/json_tests_data/dmesg-results/1/err.txt create mode 100644 runner/json_tests_data/dmesg-results/1/journal.txt create mode 100644 runner/json_tests_data/dmesg-results/1/out.txt create mode 100644 runner/json_tests_data/dmesg-results/2/dmesg.txt create mode 100644 runner/json_tests_data/dmesg-results/2/err.txt create mode 100644 runner/json_tests_data/dmesg-results/2/journal.txt create mode 100644 runner/json_tests_data/dmesg-results/2/out.txt create mode 100644 runner/json_tests_data/dmesg-results/3/dmesg.txt create mode 100644 runner/json_tests_data/dmesg-results/3/err.txt create mode 100644 runner/json_tests_data/dmesg-results/3/journal.txt create mode 100644 runner/json_tests_data/dmesg-results/3/out.txt create mode 100644 runner/json_tests_data/dmesg-results/4/dmesg.txt create mode 100644 runner/json_tests_data/dmesg-results/4/err.txt create mode 100644 runner/json_tests_data/dmesg-results/4/journal.txt create mode 100644 runner/json_tests_data/dmesg-results/4/out.txt create mode 100644 runner/json_tests_data/dmesg-results/README.txt create mode 100644 runner/json_tests_data/dmesg-results/endtime.txt create mode 100644 runner/json_tests_data/dmesg-results/joblist.txt create mode 100644 runner/json_tests_data/dmesg-results/metadata.txt create mode 100644 runner/json_tests_data/dmesg-results/reference.json create mode 100644 runner/json_tests_data/dmesg-results/starttime.txt create mode 100644 runner/json_tests_data/dmesg-results/uname.txt create mode 100644 runner/json_tests_data/incomplete-before-any-subtests/0/dmesg.txt create mode 100644 runner/json_tests_data/incomplete-before-any-subtests/0/err.txt create mode 100644 runner/json_tests_data/incomplete-before-any-subtests/0/journal.txt create mode 100644 runner/json_tests_data/incomplete-before-any-subtests/0/out.txt create mode 100644 runner/json_tests_data/incomplete-before-any-subtests/README.txt create mode 100644 runner/json_tests_data/incomplete-before-any-subtests/endtime.txt create mode 100644 runner/json_tests_data/incomplete-before-any-subtests/joblist.txt create mode 100644 runner/json_tests_data/incomplete-before-any-subtests/metadata.txt create mode 100644 runner/json_tests_data/incomplete-before-any-subtests/reference.json create mode 100644 runner/json_tests_data/incomplete-before-any-subtests/starttime.txt create mode 100644 runner/json_tests_data/incomplete-before-any-subtests/uname.txt create mode 100644 runner/json_tests_data/normal-run/0/dmesg.txt create mode 100644 runner/json_tests_data/normal-run/0/err.txt create mode 100644 runner/json_tests_data/normal-run/0/journal.txt create mode 100644 runner/json_tests_data/normal-run/0/out.txt create mode 100644 runner/json_tests_data/normal-run/1/dmesg.txt create mode 100644 runner/json_tests_data/normal-run/1/err.txt create mode 100644 runner/json_tests_data/normal-run/1/journal.txt create mode 100644 runner/json_tests_data/normal-run/1/out.txt create mode 100644 runner/json_tests_data/normal-run/2/dmesg.txt create mode 100644 runner/json_tests_data/normal-run/2/err.txt create mode 100644 runner/json_tests_data/normal-run/2/journal.txt create mode 100644 runner/json_tests_data/normal-run/2/out.txt create mode 100644 runner/json_tests_data/normal-run/3/dmesg.txt create mode 100644 runner/json_tests_data/normal-run/3/err.txt create mode 100644 runner/json_tests_data/normal-run/3/journal.txt create mode 100644 runner/json_tests_data/normal-run/3/out.txt create mode 100644 runner/json_tests_data/normal-run/4/dmesg.txt create mode 100644 runner/json_tests_data/normal-run/4/err.txt create mode 100644 runner/json_tests_data/normal-run/4/journal.txt create mode 100644 runner/json_tests_data/normal-run/4/out.txt create mode 100644 runner/json_tests_data/normal-run/README.txt create mode 100644 runner/json_tests_data/normal-run/endtime.txt create mode 100644 runner/json_tests_data/normal-run/joblist.txt create mode 100644 runner/json_tests_data/normal-run/metadata.txt create mode 100644 runner/json_tests_data/normal-run/reference.json create mode 100644 runner/json_tests_data/normal-run/starttime.txt create mode 100644 runner/json_tests_data/normal-run/uname.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/0/dmesg.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/0/err.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/0/journal.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/0/out.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/1/dmesg.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/1/err.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/1/journal.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/1/out.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/2/dmesg.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/2/err.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/2/journal.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/2/out.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/3/dmesg.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/3/err.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/3/journal.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/3/out.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/4/dmesg.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/4/err.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/4/journal.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/4/out.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/README.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/endtime.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/joblist.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/metadata.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/reference.json create mode 100644 runner/json_tests_data/piglit-style-dmesg/starttime.txt create mode 100644 runner/json_tests_data/piglit-style-dmesg/uname.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/0/dmesg.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/0/err.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/0/journal.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/0/out.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/1/dmesg.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/1/err.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/1/journal.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/1/out.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/2/dmesg.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/2/err.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/2/journal.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/2/out.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/3/dmesg.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/3/err.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/3/journal.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/3/out.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/4/dmesg.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/4/err.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/4/journal.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/4/out.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/README.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/endtime.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/joblist.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/metadata.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/reference.json create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/starttime.txt create mode 100644 runner/json_tests_data/warnings-with-dmesg-warns/uname.txt create mode 100644 runner/json_tests_data/warnings/0/dmesg.txt create mode 100644 runner/json_tests_data/warnings/0/err.txt create mode 100644 runner/json_tests_data/warnings/0/journal.txt create mode 100644 runner/json_tests_data/warnings/0/out.txt create mode 100644 runner/json_tests_data/warnings/1/dmesg.txt create mode 100644 runner/json_tests_data/warnings/1/err.txt create mode 100644 runner/json_tests_data/warnings/1/journal.txt create mode 100644 runner/json_tests_data/warnings/1/out.txt create mode 100644 runner/json_tests_data/warnings/2/dmesg.txt create mode 100644 runner/json_tests_data/warnings/2/err.txt create mode 100644 runner/json_tests_data/warnings/2/journal.txt create mode 100644 runner/json_tests_data/warnings/2/out.txt create mode 100644 runner/json_tests_data/warnings/3/dmesg.txt create mode 100644 runner/json_tests_data/warnings/3/err.txt create mode 100644 runner/json_tests_data/warnings/3/journal.txt create mode 100644 runner/json_tests_data/warnings/3/out.txt create mode 100644 runner/json_tests_data/warnings/4/dmesg.txt create mode 100644 runner/json_tests_data/warnings/4/err.txt create mode 100644 runner/json_tests_data/warnings/4/journal.txt create mode 100644 runner/json_tests_data/warnings/4/out.txt create mode 100644 runner/json_tests_data/warnings/README.txt create mode 100644 runner/json_tests_data/warnings/endtime.txt create mode 100644 runner/json_tests_data/warnings/joblist.txt create mode 100644 runner/json_tests_data/warnings/metadata.txt create mode 100644 runner/json_tests_data/warnings/reference.json create mode 100644 runner/json_tests_data/warnings/starttime.txt create mode 100644 runner/json_tests_data/warnings/uname.txt create mode 100644 runner/runner_json_tests.c
runner/.gitignore +1 -0
@@ -2,3 +2,4 @@ igt_runner igt_resume igt_results runner_test +runner_json_test
runner/Makefile.am +12 -2
@@ -30,8 +30,9 @@ AM_CFLAGS = $(JSONC_CFLAGS) \ -I$(srcdir)/../lib \ -D_GNU_SOURCE -TESTS = runner_test -check_PROGRAMS = runner_test +TESTS = runner_test runner_json_test +check_PROGRAMS = runner_test runner_json_test + runner_test_SOURCES = runner_tests.c runner_test_CFLAGS = -DTESTDATA_DIRECTORY=\"$(abs_builddir)/testdata\" \ -I$(top_srcdir)/include/drm-uapi \
@@ -40,4 +41,13 @@ runner_test_CFLAGS = -DTESTDATA_DIRECTORY=\"$(abs_builddir)/testdata\" \ -I$(srcdir)/../lib \ -D_GNU_SOURCE +runner_json_test_SOURCES = runner_json_tests.c +runner_json_test_CFLAGS = -DJSON_TESTS_DIRECTORY=\"$(abs_builddir)/json_tests_data\" \ + $(JSONC_CFLAGS) \ + -I$(top_srcdir)/include/drm-uapi \ + $(DRM_CFLAGS) $(CAIRO_CFLAGS) $(LIBUDEV_CFLAGS) \ + -I$(srcdir)/.. \ + -I$(srcdir)/../lib \ + -D_GNU_SOURCE + endif
runner/json_tests_data/README.txt new file +10 -0
@@ -0,0 +1,10 @@ +This directory is for testing igt_runner's results.json creation. Each +subdirectory is a run-result directory, referred to from +runner_json_tests.c, with test run intermediary files without any +results.json. A semi-automatically crafted reference.json file in each +respective directory is compared with igt_runner's generated json and +needs to match semantically; indentation and such doesn't matter, data +has to be equal. + +Each directory also contains a README file explaining what the +particular directory aims to test.
runner/json_tests_data/dmesg-results/0/dmesg.txt new file +6 -0
@@ -0,0 +1,6 @@ +6,951,3216186095083,-;Console: switching to colour dummy device 80x25 +14,952,3216186095097,-;[IGT] successtest: executing +14,953,3216186101115,-;[IGT] successtest: starting subtest first-subtest +3,954,3216186101159,-;Warning from kernel +14,955,3216186101160,-;[IGT] successtest: exiting, ret=0 +6,956,3216186101299,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/dmesg-results/0/err.txt new file +2 -0
@@ -0,0 +1,2 @@ +Starting subtest: first-subtest +Subtest first-subtest: SUCCESS (0.000s)
runner/json_tests_data/dmesg-results/0/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +first-subtest +exit:0 (0.014s)
runner/json_tests_data/dmesg-results/0/out.txt new file +3 -0
@@ -0,0 +1,3 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Starting subtest: first-subtest +Subtest first-subtest: SUCCESS (0.000s)
runner/json_tests_data/dmesg-results/1/dmesg.txt new file +6 -0
@@ -0,0 +1,6 @@ +6,956,3216186111837,-;Console: switching to colour dummy device 80x25 +14,957,3216186111851,-;[IGT] successtest: executing +14,958,3216186114762,-;[IGT] successtest: starting subtest second-subtest +3,954,3216186101159,-;Warning from kernel +14,959,3216186114814,-;[IGT] successtest: exiting, ret=0 +6,960,3216186114933,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/dmesg-results/1/err.txt new file +2 -0
@@ -0,0 +1,2 @@ +Starting subtest: second-subtest +Subtest second-subtest: FAIL (0.000s)
runner/json_tests_data/dmesg-results/1/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +second-subtest +exit:0 (0.013s)
runner/json_tests_data/dmesg-results/1/out.txt new file +3 -0
@@ -0,0 +1,3 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Starting subtest: second-subtest +Subtest second-subtest: FAIL (0.000s)
runner/json_tests_data/dmesg-results/2/dmesg.txt new file +5 -0
@@ -0,0 +1,5 @@ +6,961,3216186123400,-;Console: switching to colour dummy device 80x25 +14,962,3216186123414,-;[IGT] no-subtests: executing +3,954,3216186101159,-;Warning from kernel +14,963,3216186125204,-;[IGT] no-subtests: exiting, ret=0 +6,964,3216186125374,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/dmesg-results/2/err.txt new file +0 -0
runner/json_tests_data/dmesg-results/2/journal.txt new file +1 -0
@@ -0,0 +1 @@ +exit:0 (0.010s)
runner/json_tests_data/dmesg-results/2/out.txt new file +2 -0
@@ -0,0 +1,2 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +SUCCESS (0.000s)
runner/json_tests_data/dmesg-results/3/dmesg.txt new file +5 -0
@@ -0,0 +1,5 @@ +6,965,3216186135188,-;Console: switching to colour dummy device 80x25 +14,966,3216186135212,-;[IGT] skippers: executing +3,954,3216186101159,-;Warning from kernel +14,967,3216186137075,-;[IGT] skippers: exiting, ret=77 +6,968,3216186137206,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/dmesg-results/3/err.txt new file +1 -0
@@ -0,0 +1 @@ +Subtest skip-one: SKIP
runner/json_tests_data/dmesg-results/3/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +skip-one +exit:77 (0.011s)
runner/json_tests_data/dmesg-results/3/out.txt new file +6 -0
@@ -0,0 +1,6 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Test requirement not met in function __real_main3, file ../runner/testdata/skippers.c:6: +Test requirement: false +Skipping from fixture +Last errno: 2, No such file or directory +Subtest skip-one: SKIP
runner/json_tests_data/dmesg-results/4/dmesg.txt new file +5 -0
@@ -0,0 +1,5 @@ +6,969,3216186145899,-;Console: switching to colour dummy device 80x25 +14,970,3216186145912,-;[IGT] skippers: executing +3,954,3216186101159,-;Warning from kernel +14,971,3216186147754,-;[IGT] skippers: exiting, ret=77 +6,972,3216186147894,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/dmesg-results/4/err.txt new file +1 -0
@@ -0,0 +1 @@ +Subtest skip-two: SKIP
runner/json_tests_data/dmesg-results/4/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +skip-two +exit:77 (0.010s)
runner/json_tests_data/dmesg-results/4/out.txt new file +6 -0
@@ -0,0 +1,6 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Test requirement not met in function __real_main3, file ../runner/testdata/skippers.c:6: +Test requirement: false +Skipping from fixture +Last errno: 2, No such file or directory +Subtest skip-two: SKIP
runner/json_tests_data/dmesg-results/README.txt new file +3 -0
@@ -0,0 +1,3 @@ +Certain types of kernel log messages cause the result to change from +'pass' to 'dmesg-warn', and from 'fail' to 'dmesg-fail'. 'skip' should +stay 'skip'.
runner/json_tests_data/dmesg-results/endtime.txt new file +1 -0
@@ -0,0 +1 @@ +1539953735.172373
runner/json_tests_data/dmesg-results/joblist.txt new file +5 -0
@@ -0,0 +1,5 @@ +successtest first-subtest +successtest second-subtest +no-subtests +skippers skip-one +skippers skip-two
runner/json_tests_data/dmesg-results/metadata.txt new file +12 -0
@@ -0,0 +1,12 @@ +abort_on_error : 0 +name : normal-run +dry_run : 0 +sync : 0 +log_level : 0 +overwrite : 0 +multiple_mode : 0 +inactivity_timeout : 0 +use_watchdog : 0 +piglit_style_dmesg : 0 +test_root : /path/does/not/exist +results_path : /path/does/not/exist
runner/json_tests_data/dmesg-results/reference.json new file +161 -0
161 lines not on this page · raw message
runner/json_tests_data/dmesg-results/starttime.txt new file +1 -0
@@ -0,0 +1 @@ +1539953735.111039
runner/json_tests_data/dmesg-results/uname.txt new file +1 -0
@@ -0,0 +1 @@ +Linux hostname 4.18.0-1-amd64 #1 SMP Debian 4.18.6-1 (2018-09-06) x86_64
runner/json_tests_data/incomplete-before-any-subtests/0/dmesg.txt new file +2 -0
@@ -0,0 +1,2 @@ +6,951,3216186095083,-;Console: switching to colour dummy device 80x25 +14,952,3216186095097,-;[IGT] successtest: executing
runner/json_tests_data/incomplete-before-any-subtests/0/err.txt new file +0 -0
runner/json_tests_data/incomplete-before-any-subtests/0/journal.txt new file +0 -0
runner/json_tests_data/incomplete-before-any-subtests/0/out.txt new file +1 -0
@@ -0,0 +1 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64)
runner/json_tests_data/incomplete-before-any-subtests/README.txt new file +4 -0
@@ -0,0 +1,4 @@ +When a test hangs before it even enters a subtest, we don't have a +journal entry for that subtest. This test checks that the result still +gets attributed to a subtest, since we know from the job_list that a +subtest should be executed.
runner/json_tests_data/incomplete-before-any-subtests/endtime.txt new file +1 -0
@@ -0,0 +1 @@ +1539953735.172373
runner/json_tests_data/incomplete-before-any-subtests/joblist.txt new file +5 -0
@@ -0,0 +1,5 @@ +successtest first-subtest +successtest second-subtest +no-subtests +skippers skip-one +skippers skip-two
runner/json_tests_data/incomplete-before-any-subtests/metadata.txt new file +12 -0
@@ -0,0 +1,12 @@ +abort_on_error : 0 +name : normal-run +dry_run : 0 +sync : 0 +log_level : 0 +overwrite : 0 +multiple_mode : 0 +inactivity_timeout : 0 +use_watchdog : 0 +piglit_style_dmesg : 0 +test_root : /path/does/not/exist +results_path : /path/does/not/exist
runner/json_tests_data/incomplete-before-any-subtests/reference.json new file +60 -0
60 lines not on this page · raw message
runner/json_tests_data/incomplete-before-any-subtests/starttime.txt new file +1 -0
@@ -0,0 +1 @@ +1539953735.111039
runner/json_tests_data/incomplete-before-any-subtests/uname.txt new file +1 -0
@@ -0,0 +1 @@ +Linux hostname 4.18.0-1-amd64 #1 SMP Debian 4.18.6-1 (2018-09-06) x86_64
runner/json_tests_data/normal-run/0/dmesg.txt new file +5 -0
@@ -0,0 +1,5 @@ +6,951,3216186095083,-;Console: switching to colour dummy device 80x25 +14,952,3216186095097,-;[IGT] successtest: executing +14,953,3216186101115,-;[IGT] successtest: starting subtest first-subtest +14,954,3216186101160,-;[IGT] successtest: exiting, ret=0 +6,955,3216186101299,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/normal-run/0/err.txt new file +2 -0
@@ -0,0 +1,2 @@ +Starting subtest: first-subtest +Subtest first-subtest: SUCCESS (0.000s)
runner/json_tests_data/normal-run/0/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +first-subtest +exit:0 (0.014s)
runner/json_tests_data/normal-run/0/out.txt new file +3 -0
@@ -0,0 +1,3 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Starting subtest: first-subtest +Subtest first-subtest: SUCCESS (0.000s)
runner/json_tests_data/normal-run/1/dmesg.txt new file +5 -0
@@ -0,0 +1,5 @@ +6,956,3216186111837,-;Console: switching to colour dummy device 80x25 +14,957,3216186111851,-;[IGT] successtest: executing +14,958,3216186114762,-;[IGT] successtest: starting subtest second-subtest +14,959,3216186114814,-;[IGT] successtest: exiting, ret=0 +6,960,3216186114933,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/normal-run/1/err.txt new file +2 -0
@@ -0,0 +1,2 @@ +Starting subtest: second-subtest +Subtest second-subtest: FAIL (0.000s)
runner/json_tests_data/normal-run/1/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +second-subtest +exit:0 (0.013s)
runner/json_tests_data/normal-run/1/out.txt new file +3 -0
@@ -0,0 +1,3 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Starting subtest: second-subtest +Subtest second-subtest: FAIL (0.000s)
runner/json_tests_data/normal-run/2/dmesg.txt new file +4 -0
@@ -0,0 +1,4 @@ +6,961,3216186123400,-;Console: switching to colour dummy device 80x25 +14,962,3216186123414,-;[IGT] no-subtests: executing +14,963,3216186125204,-;[IGT] no-subtests: exiting, ret=0 +6,964,3216186125374,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/normal-run/2/err.txt new file +0 -0
runner/json_tests_data/normal-run/2/journal.txt new file +1 -0
@@ -0,0 +1 @@ +exit:0 (0.010s)
runner/json_tests_data/normal-run/2/out.txt new file +2 -0
@@ -0,0 +1,2 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +SUCCESS (0.000s)
runner/json_tests_data/normal-run/3/dmesg.txt new file +4 -0
@@ -0,0 +1,4 @@ +6,965,3216186135188,-;Console: switching to colour dummy device 80x25 +14,966,3216186135212,-;[IGT] skippers: executing +14,967,3216186137075,-;[IGT] skippers: exiting, ret=77 +6,968,3216186137206,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/normal-run/3/err.txt new file +1 -0
@@ -0,0 +1 @@ +Subtest skip-one: SKIP
runner/json_tests_data/normal-run/3/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +skip-one +exit:77 (0.011s)
runner/json_tests_data/normal-run/3/out.txt new file +6 -0
@@ -0,0 +1,6 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Test requirement not met in function __real_main3, file ../runner/testdata/skippers.c:6: +Test requirement: false +Skipping from fixture +Last errno: 2, No such file or directory +Subtest skip-one: SKIP
runner/json_tests_data/normal-run/4/dmesg.txt new file +4 -0
@@ -0,0 +1,4 @@ +6,969,3216186145899,-;Console: switching to colour dummy device 80x25 +14,970,3216186145912,-;[IGT] skippers: executing +14,971,3216186147754,-;[IGT] skippers: exiting, ret=77 +6,972,3216186147894,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/normal-run/4/err.txt new file +1 -0
@@ -0,0 +1 @@ +Subtest skip-two: SKIP
runner/json_tests_data/normal-run/4/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +skip-two +exit:77 (0.010s)
runner/json_tests_data/normal-run/4/out.txt new file +6 -0
@@ -0,0 +1,6 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Test requirement not met in function __real_main3, file ../runner/testdata/skippers.c:6: +Test requirement: false +Skipping from fixture +Last errno: 2, No such file or directory +Subtest skip-two: SKIP
runner/json_tests_data/normal-run/README.txt new file +1 -0
@@ -0,0 +1 @@ +A normal test run with pass, fail and skip results.
runner/json_tests_data/normal-run/endtime.txt new file +1 -0
@@ -0,0 +1 @@ +1539953735.172373
runner/json_tests_data/normal-run/joblist.txt new file +5 -0
@@ -0,0 +1,5 @@ +successtest first-subtest +successtest second-subtest +no-subtests +skippers skip-one +skippers skip-two
runner/json_tests_data/normal-run/metadata.txt new file +12 -0
@@ -0,0 +1,12 @@ +abort_on_error : 0 +name : normal-run +dry_run : 0 +sync : 0 +log_level : 0 +overwrite : 0 +multiple_mode : 0 +inactivity_timeout : 0 +use_watchdog : 0 +piglit_style_dmesg : 0 +test_root : /path/does/not/exist +results_path : /path/does/not/exist
runner/json_tests_data/normal-run/reference.json new file +158 -0
158 lines not on this page · raw message
runner/json_tests_data/normal-run/starttime.txt new file +1 -0
@@ -0,0 +1 @@ +1539953735.111039
runner/json_tests_data/normal-run/uname.txt new file +1 -0
@@ -0,0 +1 @@ +Linux hostname 4.18.0-1-amd64 #1 SMP Debian 4.18.6-1 (2018-09-06) x86_64
runner/json_tests_data/piglit-style-dmesg/0/dmesg.txt new file +6 -0
@@ -0,0 +1,6 @@ +6,951,3216186095083,-;Console: switching to colour dummy device 80x25 +14,952,3216186095097,-;[IGT] successtest: executing +14,953,3216186101115,-;[IGT] successtest: starting subtest first-subtest +3,954,3216186101159,-;Warning from kernel +14,955,3216186101160,-;[IGT] successtest: exiting, ret=0 +6,956,3216186101299,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/piglit-style-dmesg/0/err.txt new file +3 -0
@@ -0,0 +1,3 @@ +Starting subtest: first-subtest +This is a warning line +Subtest first-subtest: SUCCESS (0.000s)
runner/json_tests_data/piglit-style-dmesg/0/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +first-subtest +exit:0 (0.014s)
runner/json_tests_data/piglit-style-dmesg/0/out.txt new file +3 -0
@@ -0,0 +1,3 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Starting subtest: first-subtest +Subtest first-subtest: SUCCESS (0.000s)
runner/json_tests_data/piglit-style-dmesg/1/dmesg.txt new file +5 -0
@@ -0,0 +1,5 @@ +6,956,3216186111837,-;Console: switching to colour dummy device 80x25 +14,957,3216186111851,-;[IGT] successtest: executing +14,958,3216186114762,-;[IGT] successtest: starting subtest second-subtest +14,959,3216186114814,-;[IGT] successtest: exiting, ret=0 +6,960,3216186114933,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/piglit-style-dmesg/1/err.txt new file +2 -0
@@ -0,0 +1,2 @@ +Starting subtest: second-subtest +Subtest second-subtest: SUCCESS (0.000s)
runner/json_tests_data/piglit-style-dmesg/1/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +second-subtest +exit:0 (0.013s)
runner/json_tests_data/piglit-style-dmesg/1/out.txt new file +3 -0
@@ -0,0 +1,3 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Starting subtest: second-subtest +Subtest second-subtest: SUCCESS (0.000s)
runner/json_tests_data/piglit-style-dmesg/2/dmesg.txt new file +4 -0
@@ -0,0 +1,4 @@ +6,961,3216186123400,-;Console: switching to colour dummy device 80x25 +14,962,3216186123414,-;[IGT] no-subtests: executing +14,963,3216186125204,-;[IGT] no-subtests: exiting, ret=0 +6,964,3216186125374,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/piglit-style-dmesg/2/err.txt new file +0 -0
runner/json_tests_data/piglit-style-dmesg/2/journal.txt new file +1 -0
@@ -0,0 +1 @@ +exit:0 (0.010s)
runner/json_tests_data/piglit-style-dmesg/2/out.txt new file +2 -0
@@ -0,0 +1,2 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +SUCCESS (0.000s)
runner/json_tests_data/piglit-style-dmesg/3/dmesg.txt new file +4 -0
@@ -0,0 +1,4 @@ +6,965,3216186135188,-;Console: switching to colour dummy device 80x25 +14,966,3216186135212,-;[IGT] skippers: executing +14,967,3216186137075,-;[IGT] skippers: exiting, ret=77 +6,968,3216186137206,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/piglit-style-dmesg/3/err.txt new file +1 -0
@@ -0,0 +1 @@ +Subtest skip-one: SKIP
runner/json_tests_data/piglit-style-dmesg/3/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +skip-one +exit:77 (0.011s)
runner/json_tests_data/piglit-style-dmesg/3/out.txt new file +6 -0
@@ -0,0 +1,6 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Test requirement not met in function __real_main3, file ../runner/testdata/skippers.c:6: +Test requirement: false +Skipping from fixture +Last errno: 2, No such file or directory +Subtest skip-one: SKIP
runner/json_tests_data/piglit-style-dmesg/4/dmesg.txt new file +4 -0
@@ -0,0 +1,4 @@ +6,969,3216186145899,-;Console: switching to colour dummy device 80x25 +14,970,3216186145912,-;[IGT] skippers: executing +14,971,3216186147754,-;[IGT] skippers: exiting, ret=77 +6,972,3216186147894,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/piglit-style-dmesg/4/err.txt new file +1 -0
@@ -0,0 +1 @@ +Subtest skip-two: SKIP
runner/json_tests_data/piglit-style-dmesg/4/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +skip-two +exit:77 (0.010s)
runner/json_tests_data/piglit-style-dmesg/4/out.txt new file +6 -0
@@ -0,0 +1,6 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Test requirement not met in function __real_main3, file ../runner/testdata/skippers.c:6: +Test requirement: false +Skipping from fixture +Last errno: 2, No such file or directory +Subtest skip-two: SKIP
runner/json_tests_data/piglit-style-dmesg/README.txt new file +2 -0
@@ -0,0 +1,2 @@ +When --piglit-style-dmesg is used, only a particular pattern of kernel +log messages trigger a result change to dmesg-warn/dmesg-fail.
runner/json_tests_data/piglit-style-dmesg/endtime.txt new file +1 -0
@@ -0,0 +1 @@ +1539953735.172373
runner/json_tests_data/piglit-style-dmesg/joblist.txt new file +5 -0
@@ -0,0 +1,5 @@ +successtest first-subtest +successtest second-subtest +no-subtests +skippers skip-one +skippers skip-two
runner/json_tests_data/piglit-style-dmesg/metadata.txt new file +12 -0
@@ -0,0 +1,12 @@ +abort_on_error : 0 +name : normal-run +dry_run : 0 +sync : 0 +log_level : 0 +overwrite : 0 +multiple_mode : 0 +inactivity_timeout : 0 +use_watchdog : 0 +piglit_style_dmesg : 1 +test_root : /path/does/not/exist +results_path : /path/does/not/exist
runner/json_tests_data/piglit-style-dmesg/reference.json new file +158 -0
158 lines not on this page · raw message
runner/json_tests_data/piglit-style-dmesg/starttime.txt new file +1 -0
@@ -0,0 +1 @@ +1539953735.111039
runner/json_tests_data/piglit-style-dmesg/uname.txt new file +1 -0
@@ -0,0 +1 @@ +Linux hostname 4.18.0-1-amd64 #1 SMP Debian 4.18.6-1 (2018-09-06) x86_64
runner/json_tests_data/warnings-with-dmesg-warns/0/dmesg.txt new file +6 -0
@@ -0,0 +1,6 @@ +6,951,3216186095083,-;Console: switching to colour dummy device 80x25 +14,952,3216186095097,-;[IGT] successtest: executing +14,953,3216186101115,-;[IGT] successtest: starting subtest first-subtest +3,954,3216186101159,-;Warning from kernel +14,955,3216186101160,-;[IGT] successtest: exiting, ret=0 +6,956,3216186101299,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/warnings-with-dmesg-warns/0/err.txt new file +3 -0
@@ -0,0 +1,3 @@ +Starting subtest: first-subtest +This is a warning line +Subtest first-subtest: SUCCESS (0.000s)
runner/json_tests_data/warnings-with-dmesg-warns/0/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +first-subtest +exit:0 (0.014s)
runner/json_tests_data/warnings-with-dmesg-warns/0/out.txt new file +3 -0
@@ -0,0 +1,3 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Starting subtest: first-subtest +Subtest first-subtest: SUCCESS (0.000s)
runner/json_tests_data/warnings-with-dmesg-warns/1/dmesg.txt new file +5 -0
@@ -0,0 +1,5 @@ +6,956,3216186111837,-;Console: switching to colour dummy device 80x25 +14,957,3216186111851,-;[IGT] successtest: executing +14,958,3216186114762,-;[IGT] successtest: starting subtest second-subtest +14,959,3216186114814,-;[IGT] successtest: exiting, ret=0 +6,960,3216186114933,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/warnings-with-dmesg-warns/1/err.txt new file +2 -0
@@ -0,0 +1,2 @@ +Starting subtest: second-subtest +Subtest second-subtest: SUCCESS (0.000s)
runner/json_tests_data/warnings-with-dmesg-warns/1/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +second-subtest +exit:0 (0.013s)
runner/json_tests_data/warnings-with-dmesg-warns/1/out.txt new file +3 -0
@@ -0,0 +1,3 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Starting subtest: second-subtest +Subtest second-subtest: SUCCESS (0.000s)
runner/json_tests_data/warnings-with-dmesg-warns/2/dmesg.txt new file +4 -0
@@ -0,0 +1,4 @@ +6,961,3216186123400,-;Console: switching to colour dummy device 80x25 +14,962,3216186123414,-;[IGT] no-subtests: executing +14,963,3216186125204,-;[IGT] no-subtests: exiting, ret=0 +6,964,3216186125374,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/warnings-with-dmesg-warns/2/err.txt new file +0 -0
runner/json_tests_data/warnings-with-dmesg-warns/2/journal.txt new file +1 -0
@@ -0,0 +1 @@ +exit:0 (0.010s)
runner/json_tests_data/warnings-with-dmesg-warns/2/out.txt new file +2 -0
@@ -0,0 +1,2 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +SUCCESS (0.000s)
runner/json_tests_data/warnings-with-dmesg-warns/3/dmesg.txt new file +4 -0
@@ -0,0 +1,4 @@ +6,965,3216186135188,-;Console: switching to colour dummy device 80x25 +14,966,3216186135212,-;[IGT] skippers: executing +14,967,3216186137075,-;[IGT] skippers: exiting, ret=77 +6,968,3216186137206,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/warnings-with-dmesg-warns/3/err.txt new file +1 -0
@@ -0,0 +1 @@ +Subtest skip-one: SKIP
runner/json_tests_data/warnings-with-dmesg-warns/3/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +skip-one +exit:77 (0.011s)
runner/json_tests_data/warnings-with-dmesg-warns/3/out.txt new file +6 -0
@@ -0,0 +1,6 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Test requirement not met in function __real_main3, file ../runner/testdata/skippers.c:6: +Test requirement: false +Skipping from fixture +Last errno: 2, No such file or directory +Subtest skip-one: SKIP
runner/json_tests_data/warnings-with-dmesg-warns/4/dmesg.txt new file +4 -0
@@ -0,0 +1,4 @@ +6,969,3216186145899,-;Console: switching to colour dummy device 80x25 +14,970,3216186145912,-;[IGT] skippers: executing +14,971,3216186147754,-;[IGT] skippers: exiting, ret=77 +6,972,3216186147894,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/warnings-with-dmesg-warns/4/err.txt new file +1 -0
@@ -0,0 +1 @@ +Subtest skip-two: SKIP
runner/json_tests_data/warnings-with-dmesg-warns/4/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +skip-two +exit:77 (0.010s)
runner/json_tests_data/warnings-with-dmesg-warns/4/out.txt new file +6 -0
@@ -0,0 +1,6 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Test requirement not met in function __real_main3, file ../runner/testdata/skippers.c:6: +Test requirement: false +Skipping from fixture +Last errno: 2, No such file or directory +Subtest skip-two: SKIP
runner/json_tests_data/warnings-with-dmesg-warns/README.txt new file +3 -0
@@ -0,0 +1,3 @@ +A test that has output in stderr should result in 'warn' instead of +'pass'. But if there is a message in the kernel logs that would make +the result 'dmesg-warn' instead, that takes priority over 'warn'.
runner/json_tests_data/warnings-with-dmesg-warns/endtime.txt new file +1 -0
@@ -0,0 +1 @@ +1539953735.172373
runner/json_tests_data/warnings-with-dmesg-warns/joblist.txt new file +5 -0
@@ -0,0 +1,5 @@ +successtest first-subtest +successtest second-subtest +no-subtests +skippers skip-one +skippers skip-two
runner/json_tests_data/warnings-with-dmesg-warns/metadata.txt new file +12 -0
@@ -0,0 +1,12 @@ +abort_on_error : 0 +name : normal-run +dry_run : 0 +sync : 0 +log_level : 0 +overwrite : 0 +multiple_mode : 0 +inactivity_timeout : 0 +use_watchdog : 0 +piglit_style_dmesg : 0 +test_root : /path/does/not/exist +results_path : /path/does/not/exist
runner/json_tests_data/warnings-with-dmesg-warns/reference.json new file +159 -0
159 lines not on this page · raw message
runner/json_tests_data/warnings-with-dmesg-warns/starttime.txt new file +1 -0
@@ -0,0 +1 @@ +1539953735.111039
runner/json_tests_data/warnings-with-dmesg-warns/uname.txt new file +1 -0
@@ -0,0 +1 @@ +Linux hostname 4.18.0-1-amd64 #1 SMP Debian 4.18.6-1 (2018-09-06) x86_64
runner/json_tests_data/warnings/0/dmesg.txt new file +5 -0
@@ -0,0 +1,5 @@ +6,951,3216186095083,-;Console: switching to colour dummy device 80x25 +14,952,3216186095097,-;[IGT] successtest: executing +14,953,3216186101115,-;[IGT] successtest: starting subtest first-subtest +14,954,3216186101160,-;[IGT] successtest: exiting, ret=0 +6,955,3216186101299,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/warnings/0/err.txt new file +3 -0
@@ -0,0 +1,3 @@ +Starting subtest: first-subtest +This is a warning line +Subtest first-subtest: SUCCESS (0.000s)
runner/json_tests_data/warnings/0/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +first-subtest +exit:0 (0.014s)
runner/json_tests_data/warnings/0/out.txt new file +3 -0
@@ -0,0 +1,3 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Starting subtest: first-subtest +Subtest first-subtest: SUCCESS (0.000s)
runner/json_tests_data/warnings/1/dmesg.txt new file +5 -0
@@ -0,0 +1,5 @@ +6,956,3216186111837,-;Console: switching to colour dummy device 80x25 +14,957,3216186111851,-;[IGT] successtest: executing +14,958,3216186114762,-;[IGT] successtest: starting subtest second-subtest +14,959,3216186114814,-;[IGT] successtest: exiting, ret=0 +6,960,3216186114933,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/warnings/1/err.txt new file +2 -0
@@ -0,0 +1,2 @@ +Starting subtest: second-subtest +Subtest second-subtest: SUCCESS (0.000s)
runner/json_tests_data/warnings/1/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +second-subtest +exit:0 (0.013s)
runner/json_tests_data/warnings/1/out.txt new file +3 -0
@@ -0,0 +1,3 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Starting subtest: second-subtest +Subtest second-subtest: SUCCESS (0.000s)
runner/json_tests_data/warnings/2/dmesg.txt new file +4 -0
@@ -0,0 +1,4 @@ +6,961,3216186123400,-;Console: switching to colour dummy device 80x25 +14,962,3216186123414,-;[IGT] no-subtests: executing +14,963,3216186125204,-;[IGT] no-subtests: exiting, ret=0 +6,964,3216186125374,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/warnings/2/err.txt new file +0 -0
runner/json_tests_data/warnings/2/journal.txt new file +1 -0
@@ -0,0 +1 @@ +exit:0 (0.010s)
runner/json_tests_data/warnings/2/out.txt new file +2 -0
@@ -0,0 +1,2 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +SUCCESS (0.000s)
runner/json_tests_data/warnings/3/dmesg.txt new file +4 -0
@@ -0,0 +1,4 @@ +6,965,3216186135188,-;Console: switching to colour dummy device 80x25 +14,966,3216186135212,-;[IGT] skippers: executing +14,967,3216186137075,-;[IGT] skippers: exiting, ret=77 +6,968,3216186137206,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/warnings/3/err.txt new file +1 -0
@@ -0,0 +1 @@ +Subtest skip-one: SKIP
runner/json_tests_data/warnings/3/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +skip-one +exit:77 (0.011s)
runner/json_tests_data/warnings/3/out.txt new file +6 -0
@@ -0,0 +1,6 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Test requirement not met in function __real_main3, file ../runner/testdata/skippers.c:6: +Test requirement: false +Skipping from fixture +Last errno: 2, No such file or directory +Subtest skip-one: SKIP
runner/json_tests_data/warnings/4/dmesg.txt new file +4 -0
@@ -0,0 +1,4 @@ +6,969,3216186145899,-;Console: switching to colour dummy device 80x25 +14,970,3216186145912,-;[IGT] skippers: executing +14,971,3216186147754,-;[IGT] skippers: exiting, ret=77 +6,972,3216186147894,-;Console: switching to colour frame buffer device 240x75
runner/json_tests_data/warnings/4/err.txt new file +1 -0
@@ -0,0 +1 @@ +Subtest skip-two: SKIP
runner/json_tests_data/warnings/4/journal.txt new file +2 -0
@@ -0,0 +1,2 @@ +skip-two +exit:77 (0.010s)
runner/json_tests_data/warnings/4/out.txt new file +6 -0
@@ -0,0 +1,6 @@ +IGT-Version: 1.23-g0c763bfd (x86_64) (Linux: 4.18.0-1-amd64 x86_64) +Test requirement not met in function __real_main3, file ../runner/testdata/skippers.c:6: +Test requirement: false +Skipping from fixture +Last errno: 2, No such file or directory +Subtest skip-two: SKIP
runner/json_tests_data/warnings/README.txt new file +2 -0
@@ -0,0 +1,2 @@ +Any output in stderr should result in the result being 'warn' instead +of 'pass'.
runner/json_tests_data/warnings/endtime.txt new file +1 -0
@@ -0,0 +1 @@ +1539953735.172373
runner/json_tests_data/warnings/joblist.txt new file +5 -0
@@ -0,0 +1,5 @@ +successtest first-subtest +successtest second-subtest +no-subtests +skippers skip-one +skippers skip-two
runner/json_tests_data/warnings/metadata.txt new file +12 -0
@@ -0,0 +1,12 @@ +abort_on_error : 0 +name : normal-run +dry_run : 0 +sync : 0 +log_level : 0 +overwrite : 0 +multiple_mode : 0 +inactivity_timeout : 0 +use_watchdog : 0 +piglit_style_dmesg : 0 +test_root : /path/does/not/exist +results_path : /path/does/not/exist
runner/json_tests_data/warnings/reference.json new file +158 -0
158 lines not on this page · raw message
runner/json_tests_data/warnings/starttime.txt new file +1 -0
@@ -0,0 +1 @@ +1539953735.111039
runner/json_tests_data/warnings/uname.txt new file +1 -0
@@ -0,0 +1 @@ +Linux hostname 4.18.0-1-amd64 #1 SMP Debian 4.18.6-1 (2018-09-06) x86_64
runner/meson.build +8 -0
@@ -10,6 +10,7 @@ runner_sources = [ 'runner.c' ] resume_sources = [ 'resume.c' ] results_sources = [ 'results.c' ] runner_test_sources = [ 'runner_tests.c' ] +runner_json_test_sources = [ 'runner_json_tests.c' ] if _build_runner and jsonc.found() subdir('testdata')
@@ -46,6 +47,13 @@ if _build_runner and jsonc.found() dependencies : igt_deps) test('runner', runner_test) + runner_json_test = executable('runner_json_test', runner_json_test_sources, + c_args : '-DJSON_TESTS_DIRECTORY="@0@"'.format(join_paths(meson.current_source_dir(), 'json_tests_data')), + link_with : runnerlib, + install : false, + dependencies : [igt_deps, jsonc]) + test('runner_json', runner_json_test) + build_info += 'Build test runner: Yes' else build_info += 'Build test runner: No'
runner/runner_json_tests.c new file +171 -0
171 lines not on this page · raw message
Signature · 6 lines
2.18.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.BAT: failure for series starting with [i-g-t,1/2] runner/resultgen: Split json generation and file writing
In reply to Petri Latvala== Series Details ==
== Series Details ==
Series: series starting with [i-g-t,1/2] runner/resultgen: Split json generation and file writing
URL : https://patchwork.freedesktop.org/series/51375/
State : failure
== Summary ==
= CI Bug Log - changes from CI_DRM_5020 -> IGTPW_1980 =
== Summary - FAILURE ==
Serious unknown changes coming with IGTPW_1980 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_1980, 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/51375/revisions/1/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in IGTPW_1980:
=== IGT changes ===
==== Possible regressions ====
igt@drv_selftest@live_contexts:
fi-icl-u: NOTRUN -> INCOMPLETE
igt@pm_rpm@module-reload:
fi-apl-guc: PASS -> FAIL
==== Warnings ====
igt@pm_rpm@module-reload:
fi-hsw-4770r: PASS -> SKIP== Known issues ==
Here are the changes found in IGTPW_1980 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@drv_module_reload@basic-reload-inject:
fi-hsw-4770r: PASS -> DMESG-WARN (fdo#107924, fdo#107425)
igt@gem_exec_suspend@basic-s3:
fi-kbl-soraka: NOTRUN -> INCOMPLETE (fdo#107774, fdo#107859, fdo#107556)
igt@kms_frontbuffer_tracking@basic:
fi-byt-clapper: PASS -> FAIL (fdo#103167)
==== Possible fixes ====
igt@kms_frontbuffer_tracking@basic:
fi-hsw-peppy: DMESG-WARN (fdo#102614) -> PASS
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
fi-byt-clapper: FAIL (fdo#103191, fdo#107362) -> PASS +1
fi-blb-e6850: INCOMPLETE (fdo#107718) -> PASS
igt@prime_vgem@basic-fence-flip:
fi-cfl-8700k: FAIL (fdo#104008) -> PASS fdo#102614 https://bugs.freedesktop.org/show_bug.cgi?id=102614
fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#104008 https://bugs.freedesktop.org/show_bug.cgi?id=104008
fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
fdo#107425 https://bugs.freedesktop.org/show_bug.cgi?id=107425
fdo#107556 https://bugs.freedesktop.org/show_bug.cgi?id=107556
fdo#107718 https://bugs.freedesktop.org/show_bug.cgi?id=107718
fdo#107774 https://bugs.freedesktop.org/show_bug.cgi?id=107774
fdo#107859 https://bugs.freedesktop.org/show_bug.cgi?id=107859
fdo#107924 https://bugs.freedesktop.org/show_bug.cgi?id=107924
== Participating hosts (47 -> 45) ==
Additional (3): fi-kbl-soraka fi-icl-u fi-cfl-8109u
Missing (5): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600
== Build changes ==
* IGT: IGT_4686 -> IGTPW_1980
CI_DRM_5020: 95151c25e0433a2fe771b8bc272f3f8fb54a7e27 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1980: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1980/
IGT_4686: 741bf7064c467df725c14cc0b3b8b50436f9ee09 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1980/issues.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.BAT: failure for series starting with [i-g-t,1/2] runner/resultgen: Split json generation and file writing
In reply to Petri Latvala== Series Details ==
== Series Details ==
Series: series starting with [i-g-t,1/2] runner/resultgen: Split json generation and file writing
URL : https://patchwork.freedesktop.org/series/51375/
State : failure
== Summary ==
= CI Bug Log - changes from CI_DRM_5020 -> IGTPW_1981 =
== Summary - FAILURE ==
Serious unknown changes coming with IGTPW_1981 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_1981, 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/51375/revisions/1/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in IGTPW_1981:
=== IGT changes ===
==== Possible regressions ====
igt@pm_rpm@module-reload:
fi-apl-guc: PASS -> DMESG-WARN +5
==== Warnings ====
igt@pm_rpm@basic-pci-d3-state:
fi-apl-guc: PASS -> SKIP +2== Known issues ==
Here are the changes found in IGTPW_1981 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@gem_exec_suspend@basic-s3:
fi-kbl-soraka: NOTRUN -> INCOMPLETE (fdo#107556, fdo#107774, fdo#107859)
igt@kms_frontbuffer_tracking@basic:
fi-byt-clapper: PASS -> FAIL (fdo#103167)
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
fi-byt-clapper: PASS -> FAIL (fdo#103191, fdo#107362) +1
==== Possible fixes ====
igt@kms_frontbuffer_tracking@basic:
fi-hsw-peppy: DMESG-WARN (fdo#102614) -> PASS
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
fi-byt-clapper: FAIL (fdo#103191, fdo#107362) -> PASS +1
fi-blb-e6850: INCOMPLETE (fdo#107718) -> PASS
igt@prime_vgem@basic-fence-flip:
fi-cfl-8700k: FAIL (fdo#104008) -> PASS fdo#102614 https://bugs.freedesktop.org/show_bug.cgi?id=102614
fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#104008 https://bugs.freedesktop.org/show_bug.cgi?id=104008
fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
fdo#107556 https://bugs.freedesktop.org/show_bug.cgi?id=107556
fdo#107718 https://bugs.freedesktop.org/show_bug.cgi?id=107718
fdo#107774 https://bugs.freedesktop.org/show_bug.cgi?id=107774
fdo#107859 https://bugs.freedesktop.org/show_bug.cgi?id=107859
== Participating hosts (47 -> 45) ==
Additional (3): fi-kbl-soraka fi-icl-u fi-cfl-8109u
Missing (5): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600
== Build changes ==
* IGT: IGT_4686 -> IGTPW_1981
CI_DRM_5020: 95151c25e0433a2fe771b8bc272f3f8fb54a7e27 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1981: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1981/
IGT_4686: 741bf7064c467df725c14cc0b3b8b50436f9ee09 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1981/issues.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] runner/resultgen: Split json generation and file writing
In reply to Petri Latvala== Series Details ==
== Series Details ==
Series: series starting with [i-g-t,1/2] runner/resultgen: Split json generation and file writing
URL : https://patchwork.freedesktop.org/series/51375/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_5020 -> IGTPW_1983 =
== Summary - SUCCESS ==
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/51375/revisions/1/mbox/
== Known issues ==
Here are the changes found in IGTPW_1983 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@drv_module_reload@basic-reload:
fi-blb-e6850: NOTRUN -> INCOMPLETE (fdo#107718)
igt@gem_exec_suspend@basic-s3:
fi-kbl-soraka: NOTRUN -> INCOMPLETE (fdo#107774, fdo#107556, fdo#107859)
igt@kms_frontbuffer_tracking@basic:
fi-byt-clapper: PASS -> FAIL (fdo#103167)
==== Possible fixes ====
igt@kms_flip@basic-flip-vs-dpms:
fi-skl-6700hq: DMESG-WARN (fdo#105998) -> PASS
igt@kms_frontbuffer_tracking@basic:
fi-hsw-peppy: DMESG-WARN (fdo#102614) -> PASS
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
fi-byt-clapper: FAIL (fdo#107362, fdo#103191) -> PASS +1
fi-blb-e6850: INCOMPLETE (fdo#107718) -> PASS
igt@prime_vgem@basic-fence-flip:
fi-cfl-8700k: FAIL (fdo#104008) -> PASS fdo#102614 https://bugs.freedesktop.org/show_bug.cgi?id=102614
fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#104008 https://bugs.freedesktop.org/show_bug.cgi?id=104008
fdo#105998 https://bugs.freedesktop.org/show_bug.cgi?id=105998
fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
fdo#107556 https://bugs.freedesktop.org/show_bug.cgi?id=107556
fdo#107718 https://bugs.freedesktop.org/show_bug.cgi?id=107718
fdo#107774 https://bugs.freedesktop.org/show_bug.cgi?id=107774
fdo#107859 https://bugs.freedesktop.org/show_bug.cgi?id=107859
== Participating hosts (47 -> 44) ==
Additional (3): fi-kbl-soraka fi-icl-u fi-cfl-8109u
Missing (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-cfl-guc fi-ctg-p8600
== Build changes ==
* IGT: IGT_4686 -> IGTPW_1983
CI_DRM_5020: 95151c25e0433a2fe771b8bc272f3f8fb54a7e27 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1983: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1983/
IGT_4686: 741bf7064c467df725c14cc0b3b8b50436f9ee09 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1983/issues.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/2] runner/resultgen: Split json generation and file writing
In reply to Petri Latvala== Series Details ==
== Series Details ==
Series: series starting with [i-g-t,1/2] runner/resultgen: Split json generation and file writing
URL : https://patchwork.freedesktop.org/series/51375/
State : success
== Summary ==
= CI Bug Log - changes from IGT_4686_full -> IGTPW_1983_full =
== Summary - WARNING ==
Minor unknown changes coming with IGTPW_1983_full need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_1983_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/51375/revisions/1/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in IGTPW_1983_full:
=== IGT changes ===
==== Warnings ====
igt@gem_userptr_blits@create-destroy-unsync:
shard-snb: PASS -> SKIP +1
igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt:
shard-snb: SKIP -> PASS
igt@perf_pmu@rc6:
shard-kbl: SKIP -> PASS== Known issues ==
Here are the changes found in IGTPW_1983_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@drv_suspend@shrink:
shard-kbl: PASS -> INCOMPLETE (fdo#103665, fdo#106886)
igt@gem_exec_await@wide-contexts:
shard-apl: PASS -> FAIL (fdo#106680)
igt@gem_exec_reloc@basic-gtt-wc-active:
shard-glk: PASS -> DMESG-WARN (fdo#105763, fdo#106538)
igt@gem_fence_thrash@bo-write-verify-threaded-y:
shard-apl: PASS -> INCOMPLETE (fdo#103927)
igt@gem_mmap_wc@invalid-flags:
shard-snb: PASS -> DMESG-WARN (fdo#107469) +1
igt@kms_available_modes_crc@available_mode_test_crc:
shard-snb: NOTRUN -> FAIL (fdo#106641)
igt@kms_busy@extended-modeset-hang-newfb-render-b:
shard-hsw: PASS -> DMESG-WARN (fdo#107956)
igt@kms_busy@extended-modeset-hang-newfb-with-reset-render-a:
shard-snb: NOTRUN -> DMESG-WARN (fdo#107956) +1
igt@kms_busy@extended-pageflip-hang-newfb-render-b:
shard-apl: NOTRUN -> DMESG-WARN (fdo#107956) +1
shard-glk: NOTRUN -> DMESG-WARN (fdo#107956) +1
igt@kms_busy@extended-pageflip-modeset-hang-oldfb-render-a:
shard-kbl: NOTRUN -> DMESG-WARN (fdo#107956)
shard-hsw: NOTRUN -> DMESG-WARN (fdo#107956)
igt@kms_cursor_crc@cursor-128x42-onscreen:
shard-glk: PASS -> FAIL (fdo#103232) +6
igt@kms_cursor_crc@cursor-256x85-onscreen:
shard-apl: PASS -> FAIL (fdo#103232)
igt@kms_cursor_crc@cursor-64x64-random:
shard-kbl: PASS -> FAIL (fdo#103232) +1
igt@kms_fbcon_fbt@fbc:
shard-snb: NOTRUN -> DMESG-WARN (fdo#107469)
igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite:
shard-apl: PASS -> FAIL (fdo#103167) +1
shard-kbl: PASS -> FAIL (fdo#103167)
igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render:
shard-snb: PASS -> DMESG-FAIL (fdo#107988)
igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-mmap-cpu:
shard-glk: PASS -> FAIL (fdo#103167) +7
igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-render:
shard-glk: NOTRUN -> FAIL (fdo#103167) +2
igt@kms_frontbuffer_tracking@fbcpsr-badstride:
shard-snb: SKIP -> INCOMPLETE (fdo#105411)
igt@kms_plane@pixel-format-pipe-c-planes:
shard-apl: NOTRUN -> FAIL (fdo#103166)
shard-glk: NOTRUN -> FAIL (fdo#103166)
shard-kbl: NOTRUN -> FAIL (fdo#103166)
igt@kms_plane_alpha_blend@pipe-a-constant-alpha-max:
shard-glk: PASS -> FAIL (fdo#108145) +1
igt@kms_plane_alpha_blend@pipe-b-alpha-basic:
shard-apl: NOTRUN -> FAIL (fdo#108145) +1
igt@kms_plane_alpha_blend@pipe-b-alpha-transparant-fb:
shard-kbl: NOTRUN -> FAIL (fdo#108145) +1
shard-glk: NOTRUN -> FAIL (fdo#108145) +1
igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
shard-kbl: NOTRUN -> FAIL (fdo#108146)
shard-apl: NOTRUN -> FAIL (fdo#108146)
shard-glk: NOTRUN -> FAIL (fdo#108146)
igt@kms_plane_multiple@atomic-pipe-a-tiling-x:
shard-apl: PASS -> FAIL (fdo#103166) +1
igt@kms_plane_multiple@atomic-pipe-a-tiling-y:
shard-glk: PASS -> FAIL (fdo#103166) +1
shard-kbl: PASS -> FAIL (fdo#103166)
igt@kms_rotation_crc@primary-rotation-180:
shard-snb: PASS -> FAIL (fdo#103925)
igt@syncobj_wait@wait-for-submit-delayed-submit:
shard-snb: NOTRUN -> INCOMPLETE (fdo#105411) +2
==== Possible fixes ====
igt@kms_busy@extended-pageflip-modeset-hang-oldfb-render-c:
shard-hsw: DMESG-WARN (fdo#107956) -> PASS
igt@kms_color@pipe-a-degamma:
shard-apl: FAIL (fdo#108145, fdo#104782) -> PASS
igt@kms_color@pipe-c-degamma:
shard-apl: FAIL (fdo#104782) -> PASS
igt@kms_cursor_crc@cursor-128x128-sliding:
shard-apl: FAIL (fdo#103232) -> PASS +1
igt@kms_cursor_crc@cursor-128x128-suspend:
shard-glk: FAIL (fdo#103232) -> PASS
igt@kms_draw_crc@draw-method-xrgb8888-mmap-cpu-ytiled:
shard-glk: FAIL (fdo#107791) -> PASS
igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt:
shard-apl: FAIL (fdo#103167) -> PASS +1
igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-onoff:
shard-glk: FAIL (fdo#103167) -> PASS +1
shard-kbl: FAIL (fdo#103167) -> PASS
igt@kms_plane_multiple@atomic-pipe-c-tiling-y:
shard-glk: FAIL (fdo#103166) -> PASS +1
igt@kms_setmode@basic:
shard-apl: FAIL (fdo#99912) -> PASS
igt@kms_universal_plane@universal-plane-pipe-c-functional:
shard-apl: FAIL (fdo#103166) -> PASS
igt@kms_vblank@pipe-b-accuracy-idle:
shard-glk: DMESG-WARN (fdo#105763, fdo#106538) -> PASS +3 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#103925 https://bugs.freedesktop.org/show_bug.cgi?id=103925
fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927
fdo#104782 https://bugs.freedesktop.org/show_bug.cgi?id=104782
fdo#105411 https://bugs.freedesktop.org/show_bug.cgi?id=105411
fdo#105763 https://bugs.freedesktop.org/show_bug.cgi?id=105763
fdo#106538 https://bugs.freedesktop.org/show_bug.cgi?id=106538
fdo#106641 https://bugs.freedesktop.org/show_bug.cgi?id=106641
fdo#106680 https://bugs.freedesktop.org/show_bug.cgi?id=106680
fdo#106886 https://bugs.freedesktop.org/show_bug.cgi?id=106886
fdo#107469 https://bugs.freedesktop.org/show_bug.cgi?id=107469
fdo#107791 https://bugs.freedesktop.org/show_bug.cgi?id=107791
fdo#107956 https://bugs.freedesktop.org/show_bug.cgi?id=107956
fdo#107988 https://bugs.freedesktop.org/show_bug.cgi?id=107988
fdo#108145 https://bugs.freedesktop.org/show_bug.cgi?id=108145
fdo#108146 https://bugs.freedesktop.org/show_bug.cgi?id=108146
fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912
== Participating hosts (6 -> 5) ==
Missing (1): shard-skl
== Build changes ==
* IGT: IGT_4686 -> IGTPW_1983
* Linux: CI_DRM_5019 -> CI_DRM_5020
CI_DRM_5019: 8d7ffd2298c607c3e1a16f94d51450d7940fd6a7 @ git://anongit.freedesktop.org/gfx-ci/linux
CI_DRM_5020: 95151c25e0433a2fe771b8bc272f3f8fb54a7e27 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1983: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1983/
IGT_4686: 741bf7064c467df725c14cc0b3b8b50436f9ee09 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1983/shards.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 4 lines · Petri Latvala
This allows testing to skip the file writing.
Signed-off-by Petri Latvala <[email protected]>Cc Arkadiusz Hiler <[email protected]>
The series is
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev