[igt-dev] ✗ Fi.CI.BUILD: failure for tests/kms_writeback: Test Cleanup
Patchwork
patchwork at emeril.freedesktop.org
Thu Aug 25 21:36:13 UTC 2022
== Series Details ==
Series: tests/kms_writeback: Test Cleanup
URL : https://patchwork.freedesktop.org/series/107764/
State : failure
== Summary ==
IGT patchset build failed on latest successful build
1298b5f0e1b3e010657ffba41d2e775fab028e08 igt: Allow overriding the commit hash in the version string
[334/663] Linking target tests/kms_plane_alpha_blend
[335/663] Linking target tests/kms_plane_lowres
[336/663] Linking target tests/kms_plane_multiple
[337/663] Linking target tests/kms_plane_scaling
[338/663] Linking target tests/kms_prop_blob
[339/663] Linking target tests/kms_prime
[340/663] Linking target tests/kms_rotation_crc
[341/663] Linking target tests/kms_properties
[342/663] Linking target tests/kms_rmfb
[343/663] Linking target tests/kms_scaling_modes
[344/663] Linking target tests/kms_selftest
[345/663] Linking target tests/kms_sequence
[346/663] Compiling C object tests/kms_writeback.p/kms_writeback.c.o
FAILED: tests/kms_writeback.p/kms_writeback.c.o
ccache cc -Itests/kms_writeback.p -Itests -I../tests -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I.. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/x86_64-linux-gnu -I/usr/include/alsa -I/usr/include -I/home/cidrm/kernel_headers/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -fcommon -pthread -MD -MQ tests/kms_writeback.p/kms_writeback.c.o -MF tests/kms_writeback.p/kms_writeback.c.o.d -o tests/kms_writeback.p/kms_writeback.c.o -c ../tests/kms_writeback.c
../tests/kms_writeback.c: In function ‘detach_crtc’:
../tests/kms_writeback.c:172:19: warning: passing argument 1 of ‘igt_display_fini’ from incompatible pointer type [-Wincompatible-pointer-types]
igt_display_fini(&display);
^~~~~~~~
In file included from ../lib/igt.h:38,
from ../tests/kms_writeback.c:31:
../lib/igt_kms.h:454:38: note: expected ‘igt_display_t *’ {aka ‘struct igt_display *’} but argument is of type ‘igt_display_t **’ {aka ‘struct igt_display **’}
void igt_display_fini(igt_display_t *display);
~~~~~~~~~~~~~~~^~~~~~~
../tests/kms_writeback.c: In function ‘writeback_fb_id’:
../tests/kms_writeback.c:280:2: error: expected ‘,’ or ‘;’ before ‘for’
for (i = 0; i < ARRAY_SIZE(fb_id_tests); i++) {
^~~
../tests/kms_writeback.c:280:14: error: ‘i’ undeclared (first use in this function)
for (i = 0; i < ARRAY_SIZE(fb_id_tests); i++) {
^
../tests/kms_writeback.c:280:14: note: each undeclared identifier is reported only once for each function it appears in
../tests/kms_writeback.c:280:46: error: expected ‘;’ before ‘)’ token
for (i = 0; i < ARRAY_SIZE(fb_id_tests); i++) {
^
;
../tests/kms_writeback.c:280:46: error: expected statement before ‘)’ token
In file included from ../lib/drmtest.h:39,
from ../lib/igt.h:27,
from ../tests/kms_writeback.c:31:
../lib/igt_core.h:350:16: warning: left-hand operand of comma expression has no effect [-Wunused-value]
format), \
^
../lib/igt_core.h:372:2: note: in expansion of macro ‘__igt_dynamic_f’
__igt_dynamic_f(igt_unique(__tmpchar), f)
^~~~~~~~~~~~~~~
../tests/kms_writeback.c:281:3: note: in expansion of macro ‘igt_dynamic_f’
igt_dynamic_f("%s\n", fb_id_tests[i].name) {
^~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
More information about the igt-dev
mailing list