✗ GitLab.Pipeline: warning for tests/device_reset: Skip if no drm devices are preset

Patchwork patchwork at emeril.freedesktop.org
Mon Mar 11 22:24:06 UTC 2024


== 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 at 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 at exe/device_reset.c.o'.
  FAILED: tests/59830eb@@device_reset at exe/device_reset.c.o 
  clang -Itests/59830eb@@device_reset at 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 at exe/device_reset.c.o' -MF 'tests/59830eb@@device_reset at exe/device_reset.c.o.d' -o 'tests/59830eb@@device_reset at 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


More information about the igt-dev mailing list