* [igt-dev] [PATCH i-g-t] tests: Add kernel selftests for dmabuf
@ 2019-08-17 10:25 Chris Wilson
2019-08-17 10:32 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2019-08-17 10:41 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork
0 siblings, 2 replies; 4+ messages in thread
From: Chris Wilson @ 2019-08-17 10:25 UTC (permalink / raw)
To: igt-dev; +Cc: Tomi Sarvela
Just a plain igt_kmod() wrapper for dmabuf_seltests.ko
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Tomi Sarvela <tomi.p.sarvela@intel.com>
---
tests/Makefile.sources | 1 +
tests/dmabuf.c | 32 ++++++++++++++++++++++++++++++++
tests/meson.build | 1 +
3 files changed, 34 insertions(+)
create mode 100644 tests/dmabuf.c
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index 250dbd33f..6e035a891 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -20,6 +20,7 @@ TESTS_progs = \
core_getversion \
core_setmaster_vs_auth \
debugfs_test \
+ dmabuf \
drm_import_export \
drm_mm \
drm_read \
diff --git a/tests/dmabuf.c b/tests/dmabuf.c
new file mode 100644
index 000000000..a72cf3be1
--- /dev/null
+++ b/tests/dmabuf.c
@@ -0,0 +1,32 @@
+/*
+ * Copyright © 2019 Intel Corporation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ */
+
+#include "igt.h"
+#include "igt_kmod.h"
+
+IGT_TEST_DESCRIPTION("Kernel selftests for the dmabuf API");
+
+igt_main
+{
+ igt_kselftests("dmabuf_selftests", NULL, NULL, NULL);
+}
diff --git a/tests/meson.build b/tests/meson.build
index 34a74025a..dc17b4cfa 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -5,6 +5,7 @@ test_progs = [
'core_getversion',
'core_setmaster_vs_auth',
'debugfs_test',
+ 'dmabuf',
'drm_import_export',
'drm_mm',
'drm_read',
--
2.23.0.rc1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 4+ messages in thread* [igt-dev] ✗ Fi.CI.BAT: failure for tests: Add kernel selftests for dmabuf
2019-08-17 10:25 [igt-dev] [PATCH i-g-t] tests: Add kernel selftests for dmabuf Chris Wilson
@ 2019-08-17 10:32 ` Patchwork
2019-08-20 9:19 ` Petri Latvala
2019-08-17 10:41 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork
1 sibling, 1 reply; 4+ messages in thread
From: Patchwork @ 2019-08-17 10:32 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: tests: Add kernel selftests for dmabuf
URL : https://patchwork.freedesktop.org/series/65344/
State : failure
== Summary ==
IGT patchset build failed on latest successful build
b9abe0bf6c478c4f6cac56bff286d6926ad8c0ab tests/kms_chamelium: add an aspect ratio test
259/283 testcase check: gem_eio OK 0.13 s
260/283 testcase check: gem_exec_balancer OK 0.18 s
261/283 testcase check: gem_mocs_settings OK 0.10 s
262/283 testcase check: perf_pmu OK 0.09 s
263/283 testcase check: testdisplay OK 0.12 s
264/283 testcase check: sw_sync OK 0.10 s
265/283 testcase check: amdgpu/amd_abm OK 0.13 s
266/283 testcase check: amdgpu/amd_basic OK 0.10 s
267/283 testcase check: amdgpu/amd_bypass OK 0.11 s
268/283 testcase check: amdgpu/amd_color OK 0.10 s
269/283 testcase check: amdgpu/amd_cs_nop OK 0.11 s
270/283 testcase check: amdgpu/amd_prime OK 0.10 s
271/283 runner OK 1.43 s
272/283 runner_json OK 0.10 s
273/283 assembler: test/mov OK 0.09 s
274/283 assembler: test/frc OK 0.07 s
275/283 assembler: test/regtype OK 0.07 s
276/283 assembler: test/rndd OK 0.08 s
277/283 assembler: test/rndu OK 0.07 s
278/283 assembler: test/rnde OK 0.09 s
279/283 assembler: test/rnde-intsrc OK 0.05 s
280/283 assembler: test/rndz OK 0.05 s
281/283 assembler: test/lzd OK 0.02 s
282/283 assembler: test/not OK 0.06 s
283/283 assembler: test/immediate OK 0.05 s
OK: 282
FAIL: 1
SKIP: 0
TIMEOUT: 0
The output from the failed tests:
27/283 testcase check: dmabuf FAIL 0.25 s (exit status 1)
--- command ---
/home/cidrm/igt-gpu-tools/tests/igt_command_line.sh dmabuf
--- stdout ---
tests/dmabuf:
Checking invalid option handling...
Checking valid option handling...
Checking subtest enumeration...
FAIL: tests/dmabuf
-------
Full log written to /home/cidrm/igt-gpu-tools/build/meson-logs/testlog.txt
FAILED: meson-test
/usr/bin/python3 -u /usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [igt-dev] ✗ Fi.CI.BAT: failure for tests: Add kernel selftests for dmabuf
2019-08-17 10:32 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
@ 2019-08-20 9:19 ` Petri Latvala
0 siblings, 0 replies; 4+ messages in thread
From: Petri Latvala @ 2019-08-20 9:19 UTC (permalink / raw)
To: igt-dev
On Sat, Aug 17, 2019 at 10:32:06AM +0000, Patchwork wrote:
> == Series Details ==
>
> Series: tests: Add kernel selftests for dmabuf
> URL : https://patchwork.freedesktop.org/series/65344/
> State : failure
>
> == Summary ==
>
> IGT patchset build failed on latest successful build
> b9abe0bf6c478c4f6cac56bff286d6926ad8c0ab tests/kms_chamelium: add an aspect ratio test
>
> 259/283 testcase check: gem_eio OK 0.13 s
> 260/283 testcase check: gem_exec_balancer OK 0.18 s
> 261/283 testcase check: gem_mocs_settings OK 0.10 s
> 262/283 testcase check: perf_pmu OK 0.09 s
> 263/283 testcase check: testdisplay OK 0.12 s
> 264/283 testcase check: sw_sync OK 0.10 s
> 265/283 testcase check: amdgpu/amd_abm OK 0.13 s
> 266/283 testcase check: amdgpu/amd_basic OK 0.10 s
> 267/283 testcase check: amdgpu/amd_bypass OK 0.11 s
> 268/283 testcase check: amdgpu/amd_color OK 0.10 s
> 269/283 testcase check: amdgpu/amd_cs_nop OK 0.11 s
> 270/283 testcase check: amdgpu/amd_prime OK 0.10 s
> 271/283 runner OK 1.43 s
> 272/283 runner_json OK 0.10 s
> 273/283 assembler: test/mov OK 0.09 s
> 274/283 assembler: test/frc OK 0.07 s
> 275/283 assembler: test/regtype OK 0.07 s
> 276/283 assembler: test/rndd OK 0.08 s
> 277/283 assembler: test/rndu OK 0.07 s
> 278/283 assembler: test/rnde OK 0.09 s
> 279/283 assembler: test/rnde-intsrc OK 0.05 s
> 280/283 assembler: test/rndz OK 0.05 s
> 281/283 assembler: test/lzd OK 0.02 s
> 282/283 assembler: test/not OK 0.06 s
> 283/283 assembler: test/immediate OK 0.05 s
>
> OK: 282
> FAIL: 1
> SKIP: 0
> TIMEOUT: 0
>
>
> The output from the failed tests:
>
> 27/283 testcase check: dmabuf FAIL 0.25 s (exit status 1)
>
> --- command ---
> /home/cidrm/igt-gpu-tools/tests/igt_command_line.sh dmabuf
> --- stdout ---
> tests/dmabuf:
> Checking invalid option handling...
> Checking valid option handling...
> Checking subtest enumeration...
> FAIL: tests/dmabuf
> -------
>
> Full log written to /home/cidrm/igt-gpu-tools/build/meson-logs/testlog.txt
> FAILED: meson-test
> /usr/bin/python3 -u /usr/bin/meson test --no-rebuild --print-errorlogs
> ninja: build stopped: subcommand failed.
>
obReprimand: CI results pre-merge clearly showed CI fails to build
this and yet this was merged. Not cool.
--
Petri Latvala
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 4+ messages in thread
* [igt-dev] ✗ GitLab.Pipeline: warning for tests: Add kernel selftests for dmabuf
2019-08-17 10:25 [igt-dev] [PATCH i-g-t] tests: Add kernel selftests for dmabuf Chris Wilson
2019-08-17 10:32 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
@ 2019-08-17 10:41 ` Patchwork
1 sibling, 0 replies; 4+ messages in thread
From: Patchwork @ 2019-08-17 10:41 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: tests: Add kernel selftests for dmabuf
URL : https://patchwork.freedesktop.org/series/65344/
State : warning
== Summary ==
Pipeline status: FAILED.
See https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/56971 for more details.
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/56971
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-08-20 9:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-17 10:25 [igt-dev] [PATCH i-g-t] tests: Add kernel selftests for dmabuf Chris Wilson
2019-08-17 10:32 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2019-08-20 9:19 ` Petri Latvala
2019-08-17 10:41 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox