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

Patchwork patchwork at emeril.freedesktop.org
Tue Mar 12 10:08:13 UTC 2024


== 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 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: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


More information about the igt-dev mailing list