Skip to contentSkip to conversation

tests/kms_plane_cursor: Handle invalid pipe in big joiner

PATCH Superseded Nidhi Gupta 3 participants 6 messages Aug 9, 2023 – Aug 16, 2023

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 tests/kms_plane_cursor: Handle invalid pipe in big joiner

If any pipe is invalid in big joiner currently test throws as skip for all the pipes as it is within the dynamic subtest block.
Fixed in IGT by not executing the subtest if valid combo of pipe and output not found for big joiner and go on to check for the next pipe.

v2: Fix commit subject and message (Bhanu)
Fix nitpicks (Bhanu)

v3: Have pipe/output valid combo before checking
for big joiner for the pipe. (Bhanu)

v4: Move igt_display_reset (Bhanu)

---
 tests/kms_plane_cursor.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
tests/kms_plane_cursor.c +6 -5
index a7acb18e1..f7917ae57 100644
@@ -77,17 +77,12 @@ static void test_init(data_t *data, enum pipe pipe_id, igt_output_t *output)
 	data->pipe = &data->display.pipes[data->pipe_id];
 	data->output = output;
 
-	igt_display_reset(display);
-
 	data->mode = igt_output_get_mode(data->output);
 
 	data->primary = igt_pipe_get_plane_type(data->pipe, DRM_PLANE_TYPE_PRIMARY);
 	data->overlay = igt_pipe_get_plane_type(data->pipe, DRM_PLANE_TYPE_OVERLAY);
 	data->cursor = igt_pipe_get_plane_type(data->pipe, DRM_PLANE_TYPE_CURSOR);
 
-	igt_output_set_pipe(data->output, data->pipe_id);
-	igt_require(i915_pipe_output_combo_valid(display));
-
 	igt_info("Using (pipe %s + %s) to run the subtest.\n",
 		 kmstest_pipe_name(data->pipe_id), igt_output_name(data->output));
 
@@ -310,6 +305,12 @@ igt_main
 							     DRM_PLANE_TYPE_OVERLAY))
 					continue;
 
+				igt_display_reset(display);
+
+				igt_output_set_pipe(output, pipe);
+				if (!i915_pipe_output_combo_valid(&data.display))
+					continue;
+
 				test_init(&data, pipe, output);
 
 				for (j = 0; j < ARRAY_SIZE(cursor_sizes); j++) {
Signature · 1 line
2.25.1
#1 lore raw

[igt-dev] ✗ Fi.CI.BUILD: failure for tests/kms_plane_cursor: Handle invalid pipe in big joiner (rev3)

== Series Details ==

== Series Details ==

Series: tests/kms_plane_cursor: Handle invalid pipe in big joiner (rev3)
URL : https://patchwork.freedesktop.org/series/119890/
State : failure

== Summary ==

IGT patchset build failed on latest successful build f12c2533941c9dfce43f455a02b7986605692b29 tests/amdgpu: Add test for MALL static screen cache scanout

Tail of build.log:
[134/1622] Compiling C object 'lib/76b5a35@@igt-i915_gem_context_c@sta/i915_gem_context.c.o'. [135/1622] Compiling C object 'tests/59830eb@@kms_atomic_interruptible@exe/kms_atomic_interruptible.c.o'. [136/1622] Compiling C object 'tests/59830eb@@kms_async_flips@exe/kms_async_flips.c.o'. [137/1622] Compiling C object 'lib/76b5a35@@igt-igt_color_encoding_c@sta/igt_color_encoding.c.o'. [138/1622] Compiling C object 'tests/59830eb@@kms_plane_lowres@exe/kms_plane_lowres.c.o'. [139/1622] Compiling C object 'lib/76b5a35@@igt-i915_gem_submission_c@sta/i915_gem_submission.c.o'. [140/1622] Compiling C object 'lib/76b5a35@@igt-i915_i915_crc_c@sta/i915_i915_crc.c.o'. [141/1622] Compiling C object 'tests/59830eb@@kms_plane_multiple@exe/kms_plane_multiple.c.o'. [142/1622] Compiling C object 'tests/59830eb@@kms_pipe_crc_basic@exe/kms_pipe_crc_basic.c.o'. [143/1622] Compiling C object 'lib/76b5a35@@igt-drmtest_c@sta/drmtest.c.o'.
[144/1622] Compiling C object 'lib/76b5a35@@igt-igt_drm_fdinfo_c@sta/igt_drm_fdinfo.c.o'. [145/1622] Compiling C object 'tests/59830eb@@kms_hdr@exe/kms_hdr.c.o'.
[146/1622] Compiling C object 'tests/59830eb@@kms_prop_blob@exe/kms_prop_blob.c.o'. [147/1622] Compiling C object 'lib/76b5a35@@igt-i915_gem_mman_c@sta/i915_gem_mman.c.o'. [148/1622] Compiling C object 'tests/59830eb@@kms_color@exe/kms_color.c.o'.
[149/1622] Compiling C object 'tests/59830eb@@kms_prime@exe/kms_prime.c.o'.
[150/1622] Compiling C object 'tests/59830eb@@gem_watchdog@exe/i915_gem_watchdog.c.o'. [151/1622] Compiling C object 'tests/59830eb@@kms_content_protection@exe/kms_content_protection.c.o'. [152/1622] Compiling C object 'lib/76b5a35@@igt-igt_gt_c@sta/igt_gt.c.o'.
[153/1622] Compiling C object 'tests/59830eb@@kms_getfb@exe/kms_getfb.c.o'.
[154/1622] Compiling C object 'tests/59830eb@@core_hotunplug@exe/core_hotunplug.c.o'. [155/1622] Compiling C object 'lib/76b5a35@@igt-i915_gem_engine_topology_c@sta/i915_gem_engine_topology.c.o'. [156/1622] Compiling C object 'tests/59830eb@@kms_plane_alpha_blend@exe/kms_plane_alpha_blend.c.o'. [157/1622] Compiling C object 'lib/76b5a35@@igt-igt_device_c@sta/igt_device.c.o'. [158/1622] Compiling C object 'lib/76b5a35@@igt-igt_collection_c@sta/igt_collection.c.o'. [159/1622] Generating i915-perf-registers-acmgt2 with a custom command.
[160/1622] Compiling C object 'lib/76b5a35@@igt-igt_debugfs_c@sta/igt_debugfs.c.o'. [161/1622] Generating i915-perf-metrics-acmgt2 with a custom command.
[162/1622] Compiling C object 'tests/59830eb@@gem_create@exe/i915_gem_create.c.o'. [163/1622] Compiling C object 'lib/76b5a35@@igt_device_scan@sta/igt_device_scan.c.o'. [164/1622] Compiling C object 'tests/59830eb@@kms_cursor_crc@exe/kms_cursor_crc.c.o'. [165/1622] Compiling C object 'lib/76b5a35@@igt-i915_intel_memory_region_c@sta/i915_intel_memory_region.c.o'. [166/1622] Compiling C object 'tests/59830eb@@gem_ctx_persistence@exe/i915_gem_ctx_persistence.c.o'. [167/1622] Compiling C object 'lib/76b5a35@@igt-igt_halffloat_c@sta/igt_halffloat.c.o'. [168/1622] Compiling C object 'tests/59830eb@@kms_properties@exe/kms_properties.c.o'. [169/1622] Compiling C object 'tests/59830eb@@kms_addfb_basic@exe/kms_addfb_basic.c.o'. [170/1622] Compiling C object 'tests/59830eb@@kms_plane@exe/kms_plane.c.o'.
[171/1622] Compiling C object 'tests/59830eb@@kms_atomic_transition@exe/kms_atomic_transition.c.o'. [172/1622] Compiling C object 'tests/59830eb@@kms_atomic@exe/kms_atomic.c.o'.
[173/1622] Compiling C object 'tests/59830eb@@kms_lease@exe/kms_lease.c.o'.
[174/1622] Compiling C object 'lib/76b5a35@@igt-igt_device_scan_c@sta/igt_device_scan.c.o'. [175/1622] Compiling C object 'lib/76b5a35@@igt-igt_aux_c@sta/igt_aux.c.o'.
[176/1622] Compiling C object 'tests/59830eb@@kms_plane_scaling@exe/kms_plane_scaling.c.o'. [177/1622] Compiling C object 'tests/59830eb@@kms_flip@exe/kms_flip.c.o'.
[178/1622] Generating i915-perf-registers-acmgt3 with a custom command.
[179/1622] Generating i915-perf-metrics-acmgt3 with a custom command.
[180/1622] Compiling C object 'tests/59830eb@@kms_cursor_legacy@exe/kms_cursor_legacy.c.o'. [181/1622] Compiling C object 'lib/76b5a35@@igt-i915_intel_decode_c@sta/i915_intel_decode.c.o'. [182/1622] Generating i915-perf-equations with a custom command.
ninja: build stopped: subcommand failed.

#2 lore raw

[igt-dev] ✗ GitLab.Pipeline: warning for tests/kms_plane_cursor: Handle invalid pipe in big joiner (rev3)

In reply to Nidhi Gupta
== Series Details ==

== Series Details ==

Series: tests/kms_plane_cursor: Handle invalid pipe in big joiner (rev3)
URL : https://patchwork.freedesktop.org/series/119890/
State : warning

== Summary ==

Pipeline status: FAILED.

see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/956223 for the overview.

build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/46969274):
[11/1044] Generating kms_plane.testlist with a meson_exe.py custom command.
[12/1044] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
cc -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/x86_64-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -I/usr/include -fdiagnostics-color=always -pipe -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:74:17: warning: unused variable ‘display’ [-Wunused-variable]

    igt_display_t *display = &data->display;
                   ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main261’:
  ../tests/kms_plane_cursor.c:308:23: error: ‘display’ undeclared (first use in this function)
       igt_display_reset(display);
                         ^~~~~~~

../tests/kms_plane_cursor.c:308:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1691557965:step_script
section_start:1691557965:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1691557965:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/46969277):
[7/981] Generating kms_plane.testlist with a meson_exe.py custom command.
[8/981] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
/usr/bin/aarch64-linux-gnu-gcc -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/aarch64-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:74:17: warning: unused variable ‘display’ [-Wunused-variable]

    igt_display_t *display = &data->display;
                   ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main261’:
  ../tests/kms_plane_cursor.c:308:23: error: ‘display’ undeclared (first use in this function)
       igt_display_reset(display);
                         ^~~~~~~

../tests/kms_plane_cursor.c:308:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1691557944:step_script
section_start:1691557944:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1691557944:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-debian-meson-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/46969276):
[9/989] Generating kms_plane.testlist with a meson_exe.py custom command.
[10/989] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
/usr/bin/arm-linux-gnueabihf-gcc -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/arm-linux-gnueabihf -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:74:17: warning: unused variable ‘display’ [-Wunused-variable]

    igt_display_t *display = &data->display;
                   ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main261’:
  ../tests/kms_plane_cursor.c:308:23: error: ‘display’ undeclared (first use in this function)
       igt_display_reset(display);
                         ^~~~~~~

../tests/kms_plane_cursor.c:308:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1691557964:step_script
section_start:1691557964:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1691557965:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-debian-meson-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/46969278):
[7/990] Generating kms_lease.testlist with a meson_exe.py custom command.
[8/990] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
/usr/bin/mips-linux-gnu-gcc -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/mips-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/mips-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:74:17: warning: unused variable ‘display’ [-Wunused-variable]

    igt_display_t *display = &data->display;
                   ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main261’:
  ../tests/kms_plane_cursor.c:308:23: error: ‘display’ undeclared (first use in this function)
       igt_display_reset(display);
                         ^~~~~~~

../tests/kms_plane_cursor.c:308:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1691557975:step_script
section_start:1691557975:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1691557976:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/46969269):
[9/1046] Generating kms_plane_alpha_blend.testlist with a meson_exe.py custom command.
[10/1046] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
cc -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -fdiagnostics-color=always -pipe -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-address-of-packed-member -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:74:17: warning: unused variable ‘display’ [-Wunused-variable]

     74 |  igt_display_t *display = &data->display;
        |                 ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main261’:
  ../tests/kms_plane_cursor.c:308:23: error: ‘display’ undeclared (first use in this function)
    308 |     igt_display_reset(display);
        |                       ^~~~~~~

../tests/kms_plane_cursor.c:308:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1691557960:step_script
section_start:1691557960:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1691557960:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/46969273):
[4/1045] Linking target tests/core_hotunplug.
[5/1045] Generating core_hotunplug.testlist with a meson_exe.py custom command.
[6/1045] Generating kms_plane.testlist with a meson_exe.py custom command.
[7/1045] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
clang -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -Xclang -fcolor-diagnostics -pipe -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 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c:74:17: warning: unused variable 'display' [-Wunused-variable]

          igt_display_t *display = &data->display;
                         ^
  ../tests/kms_plane_cursor.c:308:23: error: use of undeclared identifier 'display'
                                  igt_display_reset(display);
                                                    ^

1 warning and 1 error generated.
ninja: build stopped: subcommand failed. section_end:1691557961:step_script section_start:1691557961:cleanup_file_variables Cleaning up project directory and file based variables section_end:1691557962:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora-no-libdrm-nouveau has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/46969272):
[9/925] Generating kms_plane.testlist with a meson_exe.py custom command.
[10/925] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
cc -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/valgrind -fdiagnostics-color=always -pipe -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-address-of-packed-member -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:74:17: warning: unused variable ‘display’ [-Wunused-variable]

     74 |  igt_display_t *display = &data->display;
        |                 ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main261’:
  ../tests/kms_plane_cursor.c:308:23: error: ‘display’ undeclared (first use in this function)
    308 |     igt_display_reset(display);
        |                       ^~~~~~~

../tests/kms_plane_cursor.c:308:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1691557960:step_script
section_start:1691557960:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1691557960:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora-no-libunwind has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/46969270):
[8/1043] Generating kms_plane.testlist with a meson_exe.py custom command.
[9/1043] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
cc -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/libunwind -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -fdiagnostics-color=always -pipe -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-address-of-packed-member -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:74:17: warning: unused variable ‘display’ [-Wunused-variable]

     74 |  igt_display_t *display = &data->display;
        |                 ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main261’:
  ../tests/kms_plane_cursor.c:308:23: error: ‘display’ undeclared (first use in this function)
    308 |     igt_display_reset(display);
        |                       ^~~~~~~

../tests/kms_plane_cursor.c:308:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1691557961:step_script
section_start:1691557961:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1691557961:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora-oldest-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/46969271):
[6/1043] Generating kms_plane.testlist with a meson_exe.py custom command.
[7/1043] Compiling C object 'tests/tests@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/tests@@kms_plane_cursor@exe/kms_plane_cursor.c.o
cc -Itests/tests@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -fdiagnostics-color=always -pipe -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-address-of-packed-member -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 -pthread -MD -MQ 'tests/tests@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/tests@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/tests@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:74:17: warning: unused variable ‘display’ [-Wunused-variable]

     74 |  igt_display_t *display = &data->display;
        |                 ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main261’:
  ../tests/kms_plane_cursor.c:308:23: error: ‘display’ undeclared (first use in this function)
    308 |     igt_display_reset(display);
        |                       ^~~~~~~

../tests/kms_plane_cursor.c:308:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1691557967:step_script
section_start:1691557967:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1691557968:cleanup_file_variables
ERROR: Job failed: exit code 1

== Logs ==

For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/956223

Reviewed-by on v4 1/1
#3 lore raw
In reply to Nidhi Gupta
Quoted 10 lines · Nidhi Gupta

If any pipe is invalid in big joiner currently test throws as skip for all the pipes as it is within the dynamic subtest block.
Fixed in IGT by not executing the subtest if valid combo of pipe and output not found for big joiner and go on to check for the next pipe.

v2: Fix commit subject and message (Bhanu)
Fix nitpicks (Bhanu)

Quoted 6 lines

v3: Have pipe/output valid combo before checking
for big joiner for the pipe. (Bhanu)

v4: Move igt_display_reset (Bhanu)

Quoted 39 lines
---
  tests/kms_plane_cursor.c | 11 ++++++-----
  1 file changed, 6 insertions(+), 5 deletions(-)
tests/kms_plane_cursor.c +6 -5
index a7acb18e1..f7917ae57 100644
@@ -77,17 +77,12 @@ static void test_init(data_t *data, enum pipe pipe_id, igt_output_t *output)
  	data->pipe = &data->display.pipes[data->pipe_id];
  	data->output = output;
 
-	igt_display_reset(display);
-
  	data->mode = igt_output_get_mode(data->output);
 
  	data->primary = igt_pipe_get_plane_type(data->pipe, DRM_PLANE_TYPE_PRIMARY);
  	data->overlay = igt_pipe_get_plane_type(data->pipe, DRM_PLANE_TYPE_OVERLAY);
  	data->cursor = igt_pipe_get_plane_type(data->pipe, DRM_PLANE_TYPE_CURSOR);
 
-	igt_output_set_pipe(data->output, data->pipe_id);
-	igt_require(i915_pipe_output_combo_valid(display));
-
  	igt_info("Using (pipe %s + %s) to run the subtest.\n",
  		 kmstest_pipe_name(data->pipe_id), igt_output_name(data->output));
 
@@ -310,6 +305,12 @@ igt_main
  							     DRM_PLANE_TYPE_OVERLAY))
  					continue;
 
+				igt_display_reset(display);
+
+				igt_output_set_pipe(output, pipe);
+				if (!i915_pipe_output_combo_valid(&data.display))
+					continue;
+
  				test_init(&data, pipe, output);
 
  				for (j = 0; j < ARRAY_SIZE(cursor_sizes); j++) {
#4 lore raw

[igt-dev] ✗ Fi.CI.BUILD: failure for tests/kms_plane_cursor: Handle invalid pipe in big joiner (rev4)

In reply to Nidhi Gupta
== Series Details ==

== Series Details ==

Series: tests/kms_plane_cursor: Handle invalid pipe in big joiner (rev4)
URL : https://patchwork.freedesktop.org/series/119890/
State : failure

== Summary ==

IGT patchset build failed on latest successful build 152bb04fd1297075b5d0b1c4487dac8e9a70d070 tests/amdgpu: fix cs nop test when no GFX IP

Tail of build.log:
[333/1622] Compiling C object 'lib/76b5a35@@igt-rendercopy_gen7_c@sta/rendercopy_gen7.c.o'. [334/1622] Compiling C object 'lib/76b5a35@@igt-gpu_cmds_c@sta/gpu_cmds.c.o'. [335/1622] Compiling C object 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o'. [336/1622] Compiling C object 'tests/59830eb@@kms_scaling_modes@exe/kms_scaling_modes.c.o'. [337/1622] Compiling C object 'tests/59830eb@@kms_panel_fitting@exe/kms_panel_fitting.c.o'. [338/1622] Compiling C object 'lib/76b5a35@@igt-igt_pm_c@sta/igt_pm.c.o'. [339/1622] Compiling C object 'lib/76b5a35@@igt-intel_bufops_c@sta/intel_bufops.c.o'. [340/1622] Compiling C object 'tests/59830eb@@panfrost_prime@exe/panfrost_prime.c.o'. [341/1622] Compiling C object 'tests/59830eb@@kms_tv_load_detect@exe/kms_tv_load_detect.c.o'. [342/1622] Compiling C object 'tests/59830eb@@kms_sysfs_edid_timing@exe/kms_sysfs_edid_timing.c.o'. [343/1622] Compiling C object 'tests/59830eb@@kms_rmfb@exe/kms_rmfb.c.o'. [344/1622] Compiling C object 'lib/76b5a35@@igt-igt_vmwgfx_c@sta/igt_vmwgfx.c.o'. [345/1622] Compiling C object 'tests/59830eb@@kms_plane_lowres@exe/kms_plane_lowres.c.o'. [346/1622] Compiling C object 'tests/59830eb@@kms_prop_blob@exe/kms_prop_blob.c.o'. [347/1622] Compiling C object 'tests/59830eb@@kms_plane_multiple@exe/kms_plane_multiple.c.o'. [348/1622] Compiling C object 'tests/59830eb@@kms_flip@exe/kms_flip.c.o'. [349/1622] Compiling C object 'tests/59830eb@@meta_test@exe/meta_test.c.o'. [350/1622] Compiling C object 'tests/59830eb@@panfrost_gem_new@exe/panfrost_gem_new.c.o'. [351/1622] Compiling C object 'lib/76b5a35@@igt-igt_amd_c@sta/igt_amd.c.o'. [352/1622] Compiling C object 'tests/59830eb@@panfrost_get_param@exe/panfrost_get_param.c.o'. [353/1622] Compiling C object 'tests/59830eb@@kms_prime@exe/kms_prime.c.o'. [354/1622] Compiling C object 'tests/59830eb@@kms_pipe_crc_basic@exe/kms_pipe_crc_basic.c.o'. [355/1622] Compiling C object 'tests/59830eb@@kms_vrr@exe/kms_vrr.c.o'.
[356/1622] Compiling C object 'tests/59830eb@@kms_plane_alpha_blend@exe/kms_plane_alpha_blend.c.o'. [357/1622] Compiling C object 'tests/59830eb@@prime_busy@exe/prime_busy.c.o'. [358/1622] Compiling C object 'tests/59830eb@@prime_udl@exe/prime_udl.c.o'. [359/1622] Compiling C object 'tests/59830eb@@kms_sequence@exe/kms_sequence.c.o'. [360/1622] Compiling C object 'tests/59830eb@@kms_tiled_display@exe/kms_tiled_display.c.o'. [361/1622] Compiling C object 'tests/59830eb@@panfrost_submit@exe/panfrost_submit.c.o'. [362/1622] Compiling C object 'tests/59830eb@@kms_plane@exe/kms_plane.c.o'. [363/1622] Compiling C object 'tests/59830eb@@kms_vblank@exe/kms_vblank.c.o'. [364/1622] Compiling C object 'tests/59830eb@@kms_writeback@exe/kms_writeback.c.o'. [365/1622] Generating i915-perf-registers-acmgt3 with a custom command.
[366/1622] Compiling C object 'tests/59830eb@@kms_properties@exe/kms_properties.c.o'. [367/1622] Compiling C object 'tests/59830eb@@kms_setmode@exe/kms_setmode.c.o'. [368/1622] Compiling C object 'tests/59830eb@@kms_universal_plane@exe/kms_universal_plane.c.o'. [369/1622] Compiling C object 'tests/59830eb@@kms_rotation_crc@exe/kms_rotation_crc.c.o'. [370/1622] Compiling C object 'tests/59830eb@@kms_cursor_legacy@exe/kms_cursor_legacy.c.o'. [371/1622] Compiling C object 'lib/76b5a35@@igt-igt_core_c@sta/igt_core.c.o'. [372/1622] Compiling C object 'lib/76b5a35@@igt-rendercopy_gen8_c@sta/rendercopy_gen8.c.o'. [373/1622] Generating i915-perf-metrics-acmgt3 with a custom command.
[374/1622] Compiling C object 'lib/76b5a35@@igt-intel_batchbuffer_c@sta/intel_batchbuffer.c.o'. [375/1622] Compiling C object 'tests/59830eb@@kms_plane_scaling@exe/kms_plane_scaling.c.o'. [376/1622] Compiling C object 'lib/76b5a35@@igt-igt_chamelium_c@sta/igt_chamelium.c.o'. [377/1622] Compiling C object 'lib/76b5a35@@igt-rendercopy_gen9_c@sta/rendercopy_gen9.c.o'. [378/1622] Compiling C object 'lib/76b5a35@@igt-i915_intel_decode_c@sta/i915_intel_decode.c.o'. [379/1622] Compiling C object 'lib/76b5a35@@igt-igt_fb_c@sta/igt_fb.c.o'. [380/1622] Compiling C object 'lib/76b5a35@@igt-igt_kms_c@sta/igt_kms.c.o'. [381/1622] Generating i915-perf-equations with a custom command.
ninja: build stopped: subcommand failed.

#5 lore raw

[igt-dev] ✗ GitLab.Pipeline: warning for tests/kms_plane_cursor: Handle invalid pipe in big joiner (rev4)

In reply to Nidhi Gupta
== Series Details ==

== Series Details ==

Series: tests/kms_plane_cursor: Handle invalid pipe in big joiner (rev4)
URL : https://patchwork.freedesktop.org/series/119890/
State : warning

== Summary ==

Pipeline status: FAILED.

see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/963089 for the overview.

build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47531593):
[8/1040] Generating kms_plane.testlist with a meson_exe.py custom command.
[9/1040] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
cc -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/x86_64-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -I/usr/include -fdiagnostics-color=always -pipe -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:105:17: warning: unused variable ‘display’ [-Wunused-variable]

    igt_display_t *display = &data->display;
                   ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main292’:
  ../tests/kms_plane_cursor.c:339:23: error: ‘display’ undeclared (first use in this function)
       igt_display_reset(display);
                         ^~~~~~~

../tests/kms_plane_cursor.c:339:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1692210348:step_script
section_start:1692210348:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1692210349:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47531596):
[7/980] Generating kms_plane.testlist with a meson_exe.py custom command.
[8/980] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
/usr/bin/aarch64-linux-gnu-gcc -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/aarch64-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:105:17: warning: unused variable ‘display’ [-Wunused-variable]

    igt_display_t *display = &data->display;
                   ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main292’:
  ../tests/kms_plane_cursor.c:339:23: error: ‘display’ undeclared (first use in this function)
       igt_display_reset(display);
                         ^~~~~~~

../tests/kms_plane_cursor.c:339:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1692210352:step_script
section_start:1692210352:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1692210352:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-debian-meson-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47531595):
[7/986] Generating kms_plane.testlist with a meson_exe.py custom command.
[8/986] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
/usr/bin/arm-linux-gnueabihf-gcc -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/arm-linux-gnueabihf -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:105:17: warning: unused variable ‘display’ [-Wunused-variable]

    igt_display_t *display = &data->display;
                   ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main292’:
  ../tests/kms_plane_cursor.c:339:23: error: ‘display’ undeclared (first use in this function)
       igt_display_reset(display);
                         ^~~~~~~

../tests/kms_plane_cursor.c:339:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1692210354:step_script
section_start:1692210354:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1692210354:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-debian-meson-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47531597):
[7/989] Generating kms_lease.testlist with a meson_exe.py custom command.
[8/989] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
/usr/bin/mips-linux-gnu-gcc -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/mips-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/mips-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -fdiagnostics-color=always -pipe -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:105:17: warning: unused variable ‘display’ [-Wunused-variable]

    igt_display_t *display = &data->display;
                   ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main292’:
  ../tests/kms_plane_cursor.c:339:23: error: ‘display’ undeclared (first use in this function)
       igt_display_reset(display);
                         ^~~~~~~

../tests/kms_plane_cursor.c:339:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1692210380:step_script
section_start:1692210380:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1692210381:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47531588):
[8/1044] Generating kms_plane_alpha_blend.testlist with a meson_exe.py custom command.
[9/1044] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
cc -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -fdiagnostics-color=always -pipe -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-address-of-packed-member -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:105:17: warning: unused variable ‘display’ [-Wunused-variable]

    105 |  igt_display_t *display = &data->display;
        |                 ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main292’:
  ../tests/kms_plane_cursor.c:339:23: error: ‘display’ undeclared (first use in this function)
    339 |     igt_display_reset(display);
        |                       ^~~~~~~

../tests/kms_plane_cursor.c:339:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1692210352:step_script
section_start:1692210352:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1692210353:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47531592):
[4/1045] Linking target tests/core_hotunplug.
[5/1045] Generating core_hotunplug.testlist with a meson_exe.py custom command.
[6/1045] Generating kms_plane.testlist with a meson_exe.py custom command.
[7/1045] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
clang -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -Xclang -fcolor-diagnostics -pipe -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 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c:105:17: warning: unused variable 'display' [-Wunused-variable]

          igt_display_t *display = &data->display;
                         ^
  ../tests/kms_plane_cursor.c:339:23: error: use of undeclared identifier 'display'
                                  igt_display_reset(display);
                                                    ^

1 warning and 1 error generated.
ninja: build stopped: subcommand failed. section_end:1692210367:step_script section_start:1692210367:cleanup_file_variables Cleaning up project directory and file based variables section_end:1692210367:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora-no-libdrm-nouveau has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47531591):
[8/923] Generating kms_plane.testlist with a meson_exe.py custom command.
[9/923] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
cc -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/valgrind -fdiagnostics-color=always -pipe -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-address-of-packed-member -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:105:17: warning: unused variable ‘display’ [-Wunused-variable]

    105 |  igt_display_t *display = &data->display;
        |                 ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main292’:
  ../tests/kms_plane_cursor.c:339:23: error: ‘display’ undeclared (first use in this function)
    339 |     igt_display_reset(display);
        |                       ^~~~~~~

../tests/kms_plane_cursor.c:339:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1692210346:step_script
section_start:1692210346:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1692210346:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora-no-libunwind has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47531589):
[8/1043] Generating kms_plane.testlist with a meson_exe.py custom command.
[9/1043] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o
cc -Itests/59830eb@@kms_plane_cursor@exe -Itests -I../tests -I../include -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/libunwind -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -fdiagnostics-color=always -pipe -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-address-of-packed-member -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 -pthread -MD -MQ 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:105:17: warning: unused variable ‘display’ [-Wunused-variable]

    105 |  igt_display_t *display = &data->display;
        |                 ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main292’:
  ../tests/kms_plane_cursor.c:339:23: error: ‘display’ undeclared (first use in this function)
    339 |     igt_display_reset(display);
        |                       ^~~~~~~

../tests/kms_plane_cursor.c:339:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1692210354:step_script
section_start:1692210354:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1692210356:cleanup_file_variables
ERROR: Job failed: exit code 1

build:tests-fedora-oldest-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47531590):
[9/1047] Generating kms_plane.testlist with a meson_exe.py custom command.
[10/1047] Compiling C object 'tests/tests@@kms_plane_cursor@exe/kms_plane_cursor.c.o'.
FAILED: tests/tests@@kms_plane_cursor@exe/kms_plane_cursor.c.o
cc -Itests/tests@@kms_plane_cursor@exe -Itests -I../tests -I../include -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/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -fdiagnostics-color=always -pipe -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-address-of-packed-member -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 -pthread -MD -MQ 'tests/tests@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -MF 'tests/tests@@kms_plane_cursor@exe/kms_plane_cursor.c.o.d' -o 'tests/tests@@kms_plane_cursor@exe/kms_plane_cursor.c.o' -c ../tests/kms_plane_cursor.c ../tests/kms_plane_cursor.c: In function ‘test_init’:
../tests/kms_plane_cursor.c:105:17: warning: unused variable ‘display’ [-Wunused-variable]

    105 |  igt_display_t *display = &data->display;
        |                 ^~~~~~~
  ../tests/kms_plane_cursor.c: In function ‘__igt_unique____real_main292’:
  ../tests/kms_plane_cursor.c:339:23: error: ‘display’ undeclared (first use in this function)
    339 |     igt_display_reset(display);
        |                       ^~~~~~~

../tests/kms_plane_cursor.c:339:23: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
section_end:1692210348:step_script
section_start:1692210348:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1692210349:cleanup_file_variables
ERROR: Job failed: exit code 1

== Logs ==

For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/963089