[igt-dev] ✗ GitLab.Pipeline: warning for IGT bits for small-bar (rev7)

Patchwork patchwork at emeril.freedesktop.org
Mon Jul 24 13:33:13 UTC 2023


== Series Details ==

Series: IGT bits for small-bar (rev7)
URL   : https://patchwork.freedesktop.org/series/115786/
State : warning

== Summary ==

Pipeline status: FAILED.

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

build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/46031988):
  ../lib/xe/xe_query.c:467:24: error: ‘XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM’ undeclared (first use in this function); did you mean ‘XE_GEM_CREATE_FLAG_DEFER_BACKING’?
     return vram ? vram | XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM : system_memory;
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          XE_GEM_CREATE_FLAG_DEFER_BACKING
  ../lib/xe/xe_query.c: In function ‘visible_vram_memory’:
  ../lib/xe/xe_query.c:431:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  ../lib/xe/xe_query.c: In function ‘visible_vram_if_possible’:
  ../lib/xe/xe_query.c:470:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1690205351:step_script
  section_start:1690205351:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1690205351: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/46031991):
  ../lib/xe/xe_query.c:467:24: error: ‘XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM’ undeclared (first use in this function); did you mean ‘XE_GEM_CREATE_FLAG_DEFER_BACKING’?
     return vram ? vram | XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM : system_memory;
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          XE_GEM_CREATE_FLAG_DEFER_BACKING
  ../lib/xe/xe_query.c: In function ‘visible_vram_memory’:
  ../lib/xe/xe_query.c:431:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  ../lib/xe/xe_query.c: In function ‘visible_vram_if_possible’:
  ../lib/xe/xe_query.c:470:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1690205350:step_script
  section_start:1690205350:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1690205351: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/46031990):
  ../lib/xe/xe_query.c:467:24: error: ‘XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM’ undeclared (first use in this function); did you mean ‘XE_GEM_CREATE_FLAG_DEFER_BACKING’?
     return vram ? vram | XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM : system_memory;
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          XE_GEM_CREATE_FLAG_DEFER_BACKING
  ../lib/xe/xe_query.c: In function ‘visible_vram_memory’:
  ../lib/xe/xe_query.c:431:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  ../lib/xe/xe_query.c: In function ‘visible_vram_if_possible’:
  ../lib/xe/xe_query.c:470:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1690205351:step_script
  section_start:1690205351:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1690205353: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/46031992):
  ../lib/xe/xe_query.c:467:24: error: ‘XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM’ undeclared (first use in this function); did you mean ‘XE_GEM_CREATE_FLAG_DEFER_BACKING’?
     return vram ? vram | XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM : system_memory;
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          XE_GEM_CREATE_FLAG_DEFER_BACKING
  ../lib/xe/xe_query.c: In function ‘visible_vram_memory’:
  ../lib/xe/xe_query.c:431:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  ../lib/xe/xe_query.c: In function ‘visible_vram_if_possible’:
  ../lib/xe/xe_query.c:470:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1690205350:step_script
  section_start:1690205350:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1690205352:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-debian-minimal has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/46031989):
  ../lib/xe/xe_query.c:467:24: error: ‘XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM’ undeclared (first use in this function); did you mean ‘XE_GEM_CREATE_FLAG_DEFER_BACKING’?
     return vram ? vram | XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM : system_memory;
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          XE_GEM_CREATE_FLAG_DEFER_BACKING
  ../lib/xe/xe_query.c: In function ‘visible_vram_memory’:
  ../lib/xe/xe_query.c:431:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  ../lib/xe/xe_query.c: In function ‘visible_vram_if_possible’:
  ../lib/xe/xe_query.c:470:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1690205350:step_script
  section_start:1690205350:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1690205350:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/46031983):
  ../lib/xe/xe_query.c: In function ‘visible_vram_if_possible’:
  ../lib/xe/xe_query.c:467:24: error: ‘XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM’ undeclared (first use in this function)
    467 |   return vram ? vram | XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM : system_memory;
        |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ../lib/xe/xe_query.c: In function ‘visible_vram_memory’:
  ../lib/xe/xe_query.c:431:1: error: control reaches end of non-void function [-Werror=return-type]
    431 | }
        | ^
  ../lib/xe/xe_query.c: In function ‘visible_vram_if_possible’:
  ../lib/xe/xe_query.c:470:1: error: control reaches end of non-void function [-Werror=return-type]
    470 | }
        | ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1690205352:step_script
  section_start:1690205352:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1690205354: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/46031987):
  [6/1398] Compiling C object 'lib/76b5a35@@igt-xe_xe_query_c at sta/xe_xe_query.c.o'.
  FAILED: lib/76b5a35@@igt-xe_xe_query_c at sta/xe_xe_query.c.o 
  clang -Ilib/76b5a35@@igt-xe_xe_query_c at sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/linux-uapi -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 -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="xe/xe_query"' -MD -MQ 'lib/76b5a35@@igt-xe_xe_query_c at sta/xe_xe_query.c.o' -MF 'lib/76b5a35@@igt-xe_xe_query_c at sta/xe_xe_query.c.o.d' -o 'lib/76b5a35@@igt-xe_xe_query_c at sta/xe_xe_query.c.o' -c ../lib/xe/xe_query.c
  ../lib/xe/xe_query.c:149:41: error: no member named 'cpu_visible_size' in 'struct drm_xe_query_mem_region'
                  return mem_usage->regions[region_idx].cpu_visible_size;
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  ../lib/xe/xe_query.c:428:32: error: use of undeclared identifier 'XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM'
                  return vram_memory(fd, gt) | XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM;
                                               ^
  ../lib/xe/xe_query.c:467:24: error: use of undeclared identifier 'XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM'
                  return vram ? vram | XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM : system_memory;
                                       ^
  3 errors generated.
  ninja: build stopped: subcommand failed.
  section_end:1690205356:step_script
  section_start:1690205356:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1690205357: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/46031986):
  ../lib/xe/xe_query.c: In function ‘visible_vram_if_possible’:
  ../lib/xe/xe_query.c:467:24: error: ‘XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM’ undeclared (first use in this function)
    467 |   return vram ? vram | XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM : system_memory;
        |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ../lib/xe/xe_query.c: In function ‘visible_vram_memory’:
  ../lib/xe/xe_query.c:431:1: error: control reaches end of non-void function [-Werror=return-type]
    431 | }
        | ^
  ../lib/xe/xe_query.c: In function ‘visible_vram_if_possible’:
  ../lib/xe/xe_query.c:470:1: error: control reaches end of non-void function [-Werror=return-type]
    470 | }
        | ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1690205350:step_script
  section_start:1690205350:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1690205350: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/46031984):
  ../lib/xe/xe_query.c: In function ‘visible_vram_if_possible’:
  ../lib/xe/xe_query.c:467:24: error: ‘XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM’ undeclared (first use in this function)
    467 |   return vram ? vram | XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM : system_memory;
        |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ../lib/xe/xe_query.c: In function ‘visible_vram_memory’:
  ../lib/xe/xe_query.c:431:1: error: control reaches end of non-void function [-Werror=return-type]
    431 | }
        | ^
  ../lib/xe/xe_query.c: In function ‘visible_vram_if_possible’:
  ../lib/xe/xe_query.c:470:1: error: control reaches end of non-void function [-Werror=return-type]
    470 | }
        | ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1690205350:step_script
  section_start:1690205350:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1690205351: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/46031985):
  ../lib/xe/xe_query.c: In function ‘visible_vram_if_possible’:
  ../lib/xe/xe_query.c:467:24: error: ‘XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM’ undeclared (first use in this function)
    467 |   return vram ? vram | XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM : system_memory;
        |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ../lib/xe/xe_query.c: In function ‘visible_vram_memory’:
  ../lib/xe/xe_query.c:431:1: error: control reaches end of non-void function [-Werror=return-type]
    431 | }
        | ^
  ../lib/xe/xe_query.c: In function ‘visible_vram_if_possible’:
  ../lib/xe/xe_query.c:470:1: error: control reaches end of non-void function [-Werror=return-type]
    470 | }
        | ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1690205353:step_script
  section_start:1690205353:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1690205355:cleanup_file_variables
  ERROR: Job failed: exit code 1

== Logs ==

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


More information about the igt-dev mailing list