tests/device_reset: Skip if no drm devices are preset
PATCH 1/1 tests/device_reset: Skip if no drm devices are preset
Skip the test if no drm devices are preset.
--- tests/device_reset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/device_reset.c +1 -1
@@ -198,7 +198,7 @@ static void init_device_fds(struct device_fds *dev)* a device file descriptor open for exit handler use. */ dev->fds.dev =__drm_open_driver (DRIVER_ANY ); -igt_assert_fd (dev->fds.dev); +igt_require (drm_fd !=-1 );if (is_i915_device (dev->fds.dev))igt_require_gem (dev->fds.dev);
Signature · 1 line
2.42.0
Patchwork
CI✗ Fi.CI.BUILD: failure for tests/device_reset: Skip if no drm devices are preset
== Series Details ==
== Series Details ==
Series: tests/device_reset: Skip if no drm devices are preset
URL : https://patchwork.freedesktop.org/series/130992/
State : failure
== Summary ==
IGT patchset build failed on latest successful build 5fb3239299b5be2c110aafa483c9e197c53f8bb8 lib/igt_kmod: drop devcoredump before a PCI module unload
Tail of build.log:
[126/1670] Generating i915-perf-metrics-acmgt1 with a custom command.
[127/1670] Compiling C object 'tests/59830eb@@kms_multipipe_modeset@exe/kms_multipipe_modeset.c.o'. [128/1670] Compiling C object 'tests/59830eb@@kms_display_modes@exe/kms_display_modes.c.o'. [129/1670] Compiling C object 'tests/59830eb@@dmabuf_sync_file@exe/dmabuf_sync_file.c.o'. [130/1670] Compiling C object 'lib/76b5a35@@igt-i915_intel_fbc_c@sta/i915_intel_fbc.c.o'. [131/1670] Compiling C object 'tests/59830eb@@kms_atomic_interruptible@exe/kms_atomic_interruptible.c.o'. [132/1670] Compiling C object 'tests/59830eb@@fbdev@exe/fbdev.c.o'.
[133/1670] Compiling C object 'lib/76b5a35@@igt-i915_i915_crc_c@sta/i915_i915_crc.c.o'. [134/1670] Compiling C object 'tests/59830eb@@kms_force_connector_basic@exe/kms_force_connector_basic.c.o'. [135/1670] Compiling C object 'tests/59830eb@@kms_panel_fitting@exe/kms_panel_fitting.c.o'. [136/1670] Compiling C object 'tests/59830eb@@kms_cursor_edge_walk@exe/kms_cursor_edge_walk.c.o'. [137/1670] Compiling C object 'tests/59830eb@@gem_vm_create@exe/intel_gem_vm_create.c.o'. [138/1670] Compiling C object 'tests/59830eb@@gem_ctx_engines@exe/intel_gem_ctx_engines.c.o'. [139/1670] Compiling C object 'tests/59830eb@@kms_async_flips@exe/kms_async_flips.c.o'. [140/1670] Compiling C object 'lib/76b5a35@@igt-igt_color_encoding_c@sta/igt_color_encoding.c.o'. [141/1670] Compiling C object 'lib/76b5a35@@igt-drmtest_c@sta/drmtest.c.o'.
[142/1670] Compiling C object 'lib/76b5a35@@igt-i915_gem_mman_c@sta/i915_gem_mman.c.o'. [143/1670] Compiling C object 'lib/76b5a35@@igt-igt_device_c@sta/igt_device.c.o'. [144/1670] Compiling C object 'lib/76b5a35@@igt-i915_gem_engine_topology_c@sta/i915_gem_engine_topology.c.o'. [145/1670] Compiling C object 'tests/59830eb@@gem_ccs@exe/intel_gem_ccs.c.o'.
[146/1670] Compiling C object 'tests/59830eb@@core_hotunplug@exe/core_hotunplug.c.o'. [147/1670] Compiling C object 'tests/59830eb@@kms_color@exe/kms_color.c.o'.
[148/1670] Compiling C object 'tests/59830eb@@kms_hdr@exe/kms_hdr.c.o'.
[149/1670] Compiling C object 'lib/76b5a35@@igt-igt_collection_c@sta/igt_collection.c.o'. [150/1670] Compiling C object 'tests/59830eb@@kms_pipe_crc_basic@exe/kms_pipe_crc_basic.c.o'. [151/1670] Compiling C object 'lib/76b5a35@@igt-i915_intel_memory_region_c@sta/i915_intel_memory_region.c.o'. [152/1670] Compiling C object 'lib/76b5a35@@igt_device_scan@sta/igt_device_scan.c.o'. [153/1670] Compiling C object 'lib/76b5a35@@igt-igt_drm_fdinfo_c@sta/igt_drm_fdinfo.c.o'. [154/1670] Compiling C object 'tests/59830eb@@kms_content_protection@exe/kms_content_protection.c.o'. [155/1670] Compiling C object 'lib/76b5a35@@igt-igt_debugfs_c@sta/igt_debugfs.c.o'. [156/1670] Compiling C object 'tests/59830eb@@kms_getfb@exe/kms_getfb.c.o'.
[157/1670] Compiling C object 'lib/76b5a35@@igt-igt_gt_c@sta/igt_gt.c.o'.
[158/1670] Compiling C object 'tests/59830eb@@kms_cursor_crc@exe/kms_cursor_crc.c.o'. [159/1670] Generating i915-perf-registers-acmgt2 with a custom command.
[160/1670] Generating i915-perf-metrics-acmgt2 with a custom command.
[161/1670] Compiling C object 'lib/76b5a35@@igt-igt_halffloat_c@sta/igt_halffloat.c.o'. [162/1670] Compiling C object 'tests/59830eb@@kms_atomic_transition@exe/kms_atomic_transition.c.o'. [163/1670] Compiling C object 'tests/59830eb@@kms_addfb_basic@exe/kms_addfb_basic.c.o'. [164/1670] Compiling C object 'tests/59830eb@@kms_lease@exe/kms_lease.c.o'.
[165/1670] Compiling C object 'lib/76b5a35@@igt-igt_device_scan_c@sta/igt_device_scan.c.o'. [166/1670] Compiling C object 'lib/76b5a35@@igt-igt_aux_c@sta/igt_aux.c.o'.
[167/1670] Compiling C object 'tests/59830eb@@kms_atomic@exe/kms_atomic.c.o'.
[168/1670] Compiling C object 'tests/59830eb@@kms_flip@exe/kms_flip.c.o'.
[169/1670] Generating i915-perf-registers-acmgt3 with a custom command.
[170/1670] Generating i915-perf-metrics-acmgt3 with a custom command.
[171/1670] Compiling C object 'tests/59830eb@@kms_cursor_legacy@exe/kms_cursor_legacy.c.o'. [172/1670] Compiling C object 'lib/76b5a35@@igt-i915_intel_decode_c@sta/i915_intel_decode.c.o'. [173/1670] Compiling C object 'tests/59830eb@@gem_userptr_blits@exe/intel_gem_userptr_blits.c.o'. [174/1670] Generating i915-perf-equations with a custom command.
ninja: build stopped: subcommand failed.
Patchwork
CI✗ GitLab.Pipeline: warning for tests/device_reset: Skip if no drm devices are preset
In reply to Nirmoy Das== Series Details ==
== Series Details ==
Series: tests/device_reset: Skip if no drm devices are preset
URL : https://patchwork.freedesktop.org/series/130992/
State : warning
== Summary ==
Pipeline status: FAILED.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1125299 for the overview.
build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/56156374):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function); did you mean ‘dremf’?
igt_require(drm_fd != -1);
^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
if (!(expr)) igt_skip_check(#expr , NULL); \
^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
igt_require(drm_fd != -1);
^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
if (!(expr)) igt_skip_check(#expr , NULL); \
^~~~ ninja: build stopped: subcommand failed. section_end:1710195533:step_script section_start:1710195533:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710195533: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/56156377):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function); did you mean ‘dremf’?
igt_require(drm_fd != -1);
^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
if (!(expr)) igt_skip_check(#expr , NULL); \
^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
igt_require(drm_fd != -1);
^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
if (!(expr)) igt_skip_check(#expr , NULL); \
^~~~ ninja: build stopped: subcommand failed. section_end:1710195575:step_script section_start:1710195575:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710195575: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/56156376):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function); did you mean ‘dremf’?
igt_require(drm_fd != -1);
^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
if (!(expr)) igt_skip_check(#expr , NULL); \
^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
igt_require(drm_fd != -1);
^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
if (!(expr)) igt_skip_check(#expr , NULL); \
^~~~ ninja: build stopped: subcommand failed. section_end:1710195540:step_script section_start:1710195540:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710195541: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/56156378):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function); did you mean ‘dremf’?
igt_require(drm_fd != -1);
^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
if (!(expr)) igt_skip_check(#expr , NULL); \
^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
igt_require(drm_fd != -1);
^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
if (!(expr)) igt_skip_check(#expr , NULL); \
^~~~ ninja: build stopped: subcommand failed. section_end:1710195590:step_script section_start:1710195590:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710195592:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/56156369):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function)
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~ ninja: build stopped: subcommand failed. section_end:1710195576:step_script section_start:1710195576:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710195576: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/56156373):
ninja: Entering directory `build'
[1/1361] Generating version.h with a custom command.
[2/1308] Linking target lib/libi915_perf.so.1.5.
[3/1308] Generating symbol file 'lib/76b5a35@@i915_perf@sha/libi915_perf.so.1.5.symbols'.
[4/1308] Linking target tests/core_hotunplug.
[5/1308] Generating core_hotunplug.testlist with a meson_exe.py custom command.
[6/1308] Compiling C object 'tests/59830eb@@device_reset@exe/device_reset.c.o'.
FAILED: tests/59830eb@@device_reset@exe/device_reset.c.o
clang -Itests/59830eb@@device_reset@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@@device_reset@exe/device_reset.c.o' -MF 'tests/59830eb@@device_reset@exe/device_reset.c.o.d' -o 'tests/59830eb@@device_reset@exe/device_reset.c.o' -c ../tests/device_reset.c ../tests/device_reset.c:201:14: error: use of undeclared identifier 'drm_fd'
igt_require(drm_fd != -1);
^ 1 error generated.
ninja: build stopped: subcommand failed. section_end:1710195558:step_script section_start:1710195558:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710195558: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/56156372):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function)
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~ ninja: build stopped: subcommand failed. section_end:1710195526:step_script section_start:1710195526:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710195526: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/56156370):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function)
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~ ninja: build stopped: subcommand failed. section_end:1710195527:step_script section_start:1710195527:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710195528: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/56156371):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function)
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~ ninja: build stopped: subcommand failed. section_end:1710195570:step_script section_start:1710195570:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710195571:cleanup_file_variables
ERROR: Job failed: exit code 1
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1125299
Patchwork
CI✗ Fi.CI.BUILD: failure for tests/device_reset: Skip if no drm devices are preset (rev2)
In reply to Nirmoy Das== Series Details ==
== Series Details ==
Series: tests/device_reset: Skip if no drm devices are preset (rev2)
URL : https://patchwork.freedesktop.org/series/130992/
State : failure
== Summary ==
IGT patchset build failed on latest successful build a44ebfe43edc96acab22a19b6a8850eef9202eea tests/xe_ccs: Separate inc dimension start width
Tail of build.log:
[121/1670] Compiling C object 'lib/76b5a35@@igt-i915_gem_c@sta/i915_gem.c.o'.
[122/1670] Compiling C object 'tests/59830eb@@gem_ctx_engines@exe/intel_gem_ctx_engines.c.o'. [123/1670] Compiling C object 'tests/59830eb@@kms_display_modes@exe/kms_display_modes.c.o'. [124/1670] Compiling C object 'tests/59830eb@@dmabuf_sync_file@exe/dmabuf_sync_file.c.o'. [125/1670] Compiling C object 'tests/59830eb@@kms_atomic_interruptible@exe/kms_atomic_interruptible.c.o'. [126/1670] Generating i915-perf-metrics-acmgt1 with a custom command.
[127/1670] Compiling C object 'lib/76b5a35@@igt-dmabuf_sync_file_c@sta/dmabuf_sync_file.c.o'. [128/1670] Compiling C object 'tests/59830eb@@fbdev@exe/fbdev.c.o'.
[129/1670] Compiling C object 'tests/59830eb@@kms_cursor_edge_walk@exe/kms_cursor_edge_walk.c.o'. [130/1670] Compiling C object 'tests/59830eb@@kms_force_connector_basic@exe/kms_force_connector_basic.c.o'. [131/1670] Compiling C object 'tests/59830eb@@kms_plane_cursor@exe/kms_plane_cursor.c.o'. [132/1670] Compiling C object 'lib/76b5a35@@igt-i915_intel_drrs_c@sta/i915_intel_drrs.c.o'. [133/1670] Compiling C object 'tests/59830eb@@kms_plane_lowres@exe/kms_plane_lowres.c.o'. [134/1670] Compiling C object 'tests/59830eb@@kms_rmfb@exe/kms_rmfb.c.o'.
[135/1670] Compiling C object 'tests/59830eb@@gem_vm_create@exe/intel_gem_vm_create.c.o'. [136/1670] Compiling C object 'lib/76b5a35@@igt-i915_gem_context_c@sta/i915_gem_context.c.o'. [137/1670] Compiling C object 'lib/76b5a35@@igt-drmtest_c@sta/drmtest.c.o'.
[138/1670] Compiling C object 'tests/59830eb@@kms_async_flips@exe/kms_async_flips.c.o'. [139/1670] Compiling C object 'tests/59830eb@@kms_pipe_crc_basic@exe/kms_pipe_crc_basic.c.o'. [140/1670] Compiling C object 'lib/76b5a35@@igt-i915_gem_mman_c@sta/i915_gem_mman.c.o'. [141/1670] Compiling C object 'tests/59830eb@@kms_content_protection@exe/kms_content_protection.c.o'. [142/1670] Generating i915-perf-registers-acmgt2 with a custom command.
[143/1670] Compiling C object 'tests/59830eb@@gem_ccs@exe/intel_gem_ccs.c.o'.
[144/1670] Compiling C object 'tests/59830eb@@kms_prop_blob@exe/kms_prop_blob.c.o'. [145/1670] Compiling C object 'tests/59830eb@@core_hotunplug@exe/core_hotunplug.c.o'. [146/1670] Compiling C object 'tests/59830eb@@kms_plane_multiple@exe/kms_plane_multiple.c.o'. [147/1670] Compiling C object 'lib/76b5a35@@igt-i915_gem_engine_topology_c@sta/i915_gem_engine_topology.c.o'. [148/1670] Compiling C object 'tests/59830eb@@kms_hdr@exe/kms_hdr.c.o'.
[149/1670] Compiling C object 'tests/59830eb@@kms_prime@exe/kms_prime.c.o'.
[150/1670] Compiling C object 'tests/59830eb@@kms_color@exe/kms_color.c.o'.
[151/1670] Compiling C object 'tests/59830eb@@kms_plane_alpha_blend@exe/kms_plane_alpha_blend.c.o'. [152/1670] Compiling C object 'tests/59830eb@@kms_getfb@exe/kms_getfb.c.o'.
[153/1670] Compiling C object 'lib/76b5a35@@igt_device_scan@sta/igt_device_scan.c.o'. [154/1670] Compiling C object 'tests/59830eb@@kms_cursor_crc@exe/kms_cursor_crc.c.o'. [155/1670] Compiling C object 'tests/59830eb@@kms_addfb_basic@exe/kms_addfb_basic.c.o'. [156/1670] Compiling C object 'tests/59830eb@@kms_plane@exe/kms_plane.c.o'.
[157/1670] Generating i915-perf-metrics-acmgt2 with a custom command.
[158/1670] Compiling C object 'tests/59830eb@@kms_atomic_transition@exe/kms_atomic_transition.c.o'. [159/1670] Compiling C object 'tests/59830eb@@kms_lease@exe/kms_lease.c.o'.
[160/1670] Compiling C object 'tests/59830eb@@kms_rotation_crc@exe/kms_rotation_crc.c.o'. [161/1670] Compiling C object 'tests/59830eb@@kms_plane_scaling@exe/kms_plane_scaling.c.o'. [162/1670] Compiling C object 'tests/59830eb@@kms_flip@exe/kms_flip.c.o'.
[163/1670] Generating i915-perf-registers-acmgt3 with a custom command.
[164/1670] Compiling C object 'tests/59830eb@@kms_atomic@exe/kms_atomic.c.o'.
[165/1670] Compiling C object 'tests/59830eb@@kms_cursor_legacy@exe/kms_cursor_legacy.c.o'. [166/1670] Generating i915-perf-metrics-acmgt3 with a custom command.
[167/1670] Compiling C object 'tests/59830eb@@gem_userptr_blits@exe/intel_gem_userptr_blits.c.o'. [168/1670] Compiling C object 'lib/76b5a35@@igt-i915_intel_decode_c@sta/i915_intel_decode.c.o'. [169/1670] Generating i915-perf-equations with a custom command.
ninja: build stopped: subcommand failed.
Patchwork
CI✗ GitLab.Pipeline: warning for tests/device_reset: Skip if no drm devices are preset (rev2)
In reply to Nirmoy Das== Series Details ==
== Series Details ==
Series: tests/device_reset: Skip if no drm devices are preset (rev2)
URL : https://patchwork.freedesktop.org/series/130992/
State : warning
== Summary ==
Pipeline status: FAILED.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1125656 for the overview.
build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/56172992):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function); did you mean ‘dremf’?
igt_require(drm_fd != -1);
^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
if (!(expr)) igt_skip_check(#expr , NULL); \
^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
igt_require(drm_fd != -1);
^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
if (!(expr)) igt_skip_check(#expr , NULL); \
^~~~ ninja: build stopped: subcommand failed. section_end:1710237826:step_script section_start:1710237826:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710237827: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/56172995):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function); did you mean ‘dremf’?
igt_require(drm_fd != -1);
^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
if (!(expr)) igt_skip_check(#expr , NULL); \
^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
igt_require(drm_fd != -1);
^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
if (!(expr)) igt_skip_check(#expr , NULL); \
^~~~ ninja: build stopped: subcommand failed. section_end:1710237887:step_script section_start:1710237887:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710237888: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/56172996):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function); did you mean ‘dremf’?
igt_require(drm_fd != -1);
^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
if (!(expr)) igt_skip_check(#expr , NULL); \
^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
igt_require(drm_fd != -1);
^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
if (!(expr)) igt_skip_check(#expr , NULL); \
^~~~ ninja: build stopped: subcommand failed. section_end:1710237864:step_script section_start:1710237864:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710237865:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/56172987):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function)
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~ ninja: build stopped: subcommand failed. section_end:1710237811:step_script section_start:1710237811:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710237812: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/56172991):
ninja: Entering directory `build'
[1/1361] Generating version.h with a custom command.
[2/1308] Linking target lib/libi915_perf.so.1.5.
[3/1308] Generating symbol file 'lib/76b5a35@@i915_perf@sha/libi915_perf.so.1.5.symbols'.
[4/1308] Linking target tests/core_hotunplug.
[5/1308] Generating core_hotunplug.testlist with a meson_exe.py custom command.
[6/1308] Compiling C object 'tests/59830eb@@device_reset@exe/device_reset.c.o'.
FAILED: tests/59830eb@@device_reset@exe/device_reset.c.o
clang -Itests/59830eb@@device_reset@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@@device_reset@exe/device_reset.c.o' -MF 'tests/59830eb@@device_reset@exe/device_reset.c.o.d' -o 'tests/59830eb@@device_reset@exe/device_reset.c.o' -c ../tests/device_reset.c ../tests/device_reset.c:201:14: error: use of undeclared identifier 'drm_fd'
igt_require(drm_fd != -1);
^ 1 error generated.
ninja: build stopped: subcommand failed. section_end:1710237831:step_script section_start:1710237831:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710237832: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/56172990):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function)
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~ ninja: build stopped: subcommand failed. section_end:1710237816:step_script section_start:1710237816:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710237817: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/56172988):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function)
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~ ninja: build stopped: subcommand failed. section_end:1710237816:step_script section_start:1710237816:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710237817: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/56172989):
../tests/device_reset.c: In function ‘init_device_fds’:
../tests/device_reset.c:201:14: error: ‘drm_fd’ undeclared (first use in this function)
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~
../tests/device_reset.c:201:14: note: each undeclared identifier is reported only once for each function it appears in
201 | igt_require(drm_fd != -1);
| ^~~~~~
../lib/igt_core.h:1006:8: note: in definition of macro ‘igt_require’
1006 | if (!(expr)) igt_skip_check(#expr , NULL); \
| ^~~~ ninja: build stopped: subcommand failed. section_end:1710237848:step_script section_start:1710237848:cleanup_file_variables Cleaning up project directory and file based variables section_end:1710237849:cleanup_file_variables
ERROR: Job failed: exit code 1
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1125656