✗ GitLab.Pipeline: warning for tests/xe: Add system_allocator test (rev3)

Patchwork patchwork at emeril.freedesktop.org
Wed Oct 16 03:36:34 UTC 2024


== Series Details ==

Series: tests/xe: Add system_allocator test (rev3)
URL   : https://patchwork.freedesktop.org/series/137545/
State : warning

== Summary ==

Pipeline status: FAILED.

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

build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/65130862):
  [1/1131] Generating version.h with a custom command.
  [2/526] Linking target tests/xe_exec_reset.
  [3/526] Generating xe_exec_queue_property.testlist with a meson_exe.py custom command.
  [4/526] Generating xe_exec_reset.testlist with a meson_exe.py custom command.
  [5/526] Compiling C object 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o'.
  FAILED: tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o 
  cc -Itests/59830eb@@xe_exec_system_allocator at exe -Itests -I../tests -I../include -I../include/drm-uapi -I../include/drm-uapi-experimental -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-conversion -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 -D_LARGEFILE64_SOURCE=1 -pthread  -MD -MQ 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o' -MF 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o.d' -o 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o' -c ../tests/intel/xe_exec_system_allocator.c
  ../tests/intel/xe_exec_system_allocator.c: In function ‘test_exec’:
  ../tests/intel/xe_exec_system_allocator.c:1146:21: error: ‘MREMAP_DONTUNMAP’ undeclared (first use in this function); did you mean ‘DONTUNMAP’?
        remap_flags |= MREMAP_DONTUNMAP;
                       ^~~~~~~~~~~~~~~~
                       DONTUNMAP
  ../tests/intel/xe_exec_system_allocator.c:1146:21: note: each undeclared identifier is reported only once for each function it appears in
  ninja: build stopped: subcommand failed.
  section_end:1729049704:step_script
  section_start:1729049704:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1729049705: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/65130865):
  ninja: Entering directory `build'
  [1/753] Generating version.h with a custom command.
  [2/431] Linking target tests/xe_exec_reset.
  [3/431] Linking target tests/xe_exec_sip.
  [4/431] Compiling C object 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o'.
  FAILED: tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o 
  /usr/bin/aarch64-linux-gnu-gcc -Itests/59830eb@@xe_exec_system_allocator at exe -Itests -I../tests -I../include -I../include/drm-uapi -I../include/drm-uapi-experimental -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-conversion -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 -D_LARGEFILE64_SOURCE=1 -pthread  -MD -MQ 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o' -MF 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o.d' -o 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o' -c ../tests/intel/xe_exec_system_allocator.c
  ../tests/intel/xe_exec_system_allocator.c: In function ‘test_exec’:
  ../tests/intel/xe_exec_system_allocator.c:1146:21: error: ‘MREMAP_DONTUNMAP’ undeclared (first use in this function); did you mean ‘DONTUNMAP’?
        remap_flags |= MREMAP_DONTUNMAP;
                       ^~~~~~~~~~~~~~~~
                       DONTUNMAP
  ../tests/intel/xe_exec_system_allocator.c:1146:21: note: each undeclared identifier is reported only once for each function it appears in
  ninja: build stopped: subcommand failed.
  section_end:1729049676:step_script
  section_start:1729049676:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1729049677: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/65130864):
  /usr/bin/arm-linux-gnueabihf-gcc -Ilib/76b5a35@@igt-xe_xe_ioctl_c at sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/drm-uapi-experimental -I../include/linux-uapi -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-conversion -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 -D_LARGEFILE64_SOURCE=1 -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="xe/xe_ioctl"'  -MD -MQ 'lib/76b5a35@@igt-xe_xe_ioctl_c at sta/xe_xe_ioctl.c.o' -MF 'lib/76b5a35@@igt-xe_xe_ioctl_c at sta/xe_xe_ioctl.c.o.d' -o 'lib/76b5a35@@igt-xe_xe_ioctl_c at sta/xe_xe_ioctl.c.o' -c ../lib/xe/xe_ioctl.c
  ../lib/xe/xe_ioctl.c:439:7: error: conflicting types for ‘xe_bo_map_fixed’
   void *xe_bo_map_fixed(int fd, uint32_t bo, size_t size, uint64_t addr)
         ^~~~~~~~~~~~~~~
  In file included from ../lib/xe/xe_ioctl.c:46:
  ../lib/xe/xe_ioctl.h:89:7: note: previous declaration of ‘xe_bo_map_fixed’ was here
   void *xe_bo_map_fixed(int fd, uint32_t bo, size_t size, long unsigned int addr);
         ^~~~~~~~~~~~~~~
  ../lib/xe/xe_ioctl.c: In function ‘xe_bo_map_fixed’:
  ../lib/xe/xe_ioctl.c:445:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    map = mmap((void *)addr, size, PROT_WRITE, MAP_SHARED | MAP_FIXED, fd, mmo);
               ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1729049656:step_script
  section_start:1729049656:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1729049657: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/65130866):
  /usr/bin/mips-linux-gnu-gcc -Ilib/76b5a35@@igt-xe_xe_ioctl_c at sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/drm-uapi-experimental -I../include/linux-uapi -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-conversion -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 -D_LARGEFILE64_SOURCE=1 -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="xe/xe_ioctl"'  -MD -MQ 'lib/76b5a35@@igt-xe_xe_ioctl_c at sta/xe_xe_ioctl.c.o' -MF 'lib/76b5a35@@igt-xe_xe_ioctl_c at sta/xe_xe_ioctl.c.o.d' -o 'lib/76b5a35@@igt-xe_xe_ioctl_c at sta/xe_xe_ioctl.c.o' -c ../lib/xe/xe_ioctl.c
  ../lib/xe/xe_ioctl.c:439:7: error: conflicting types for ‘xe_bo_map_fixed’
   void *xe_bo_map_fixed(int fd, uint32_t bo, size_t size, uint64_t addr)
         ^~~~~~~~~~~~~~~
  In file included from ../lib/xe/xe_ioctl.c:46:
  ../lib/xe/xe_ioctl.h:89:7: note: previous declaration of ‘xe_bo_map_fixed’ was here
   void *xe_bo_map_fixed(int fd, uint32_t bo, size_t size, long unsigned int addr);
         ^~~~~~~~~~~~~~~
  ../lib/xe/xe_ioctl.c: In function ‘xe_bo_map_fixed’:
  ../lib/xe/xe_ioctl.c:445:13: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
    map = mmap((void *)addr, size, PROT_WRITE, MAP_SHARED | MAP_FIXED, fd, mmo);
               ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1729049653:step_script
  section_start:1729049653:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1729049654:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/65130857):
  ninja: build stopped: subcommand failed.
  ninja: Entering directory `build'
  [1/1134] Generating version.h with a custom command.
  [2/528] Linking target tests/xe_exec_reset.
  [3/528] Generating xe_exec_reset.testlist with a meson_exe.py custom command.
  [4/528] Compiling C object 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o'.
  FAILED: tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o 
  cc -Itests/59830eb@@xe_exec_system_allocator at exe -Itests -I../tests -I../include -I../include/drm-uapi -I../include/drm-uapi-experimental -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-conversion -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 -D_LARGEFILE64_SOURCE=1 -pthread -MD -MQ 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o' -MF 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o.d' -o 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o' -c ../tests/intel/xe_exec_system_allocator.c
  ../tests/intel/xe_exec_system_allocator.c: In function ‘test_exec’:
  ../tests/intel/xe_exec_system_allocator.c:1146:21: error: ‘MREMAP_DONTUNMAP’ undeclared (first use in this function)
   1146 |      remap_flags |= MREMAP_DONTUNMAP;
        |                     ^~~~~~~~~~~~~~~~
  ../tests/intel/xe_exec_system_allocator.c:1146:21: note: each undeclared identifier is reported only once for each function it appears in
  ninja: build stopped: subcommand failed.
  section_end:1729049666:step_script
  section_start:1729049666:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1729049666: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/65130861):
  [2/526] Generating xe_exec_queue_property.testlist with a meson_exe.py custom command.
  [3/526] Linking target tests/xe_exec_reset.
  [4/526] Generating xe_exec_reset.testlist with a meson_exe.py custom command.
  [5/526] Compiling C object 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o'.
  FAILED: tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o 
  clang -Itests/59830eb@@xe_exec_system_allocator at exe -Itests -I../tests -I../include -I../include/drm-uapi -I../include/drm-uapi-experimental -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-conversion -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 -D_LARGEFILE64_SOURCE=1 -pthread -MD -MQ 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o' -MF 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o.d' -o 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o' -c ../tests/intel/xe_exec_system_allocator.c
  ../tests/intel/xe_exec_system_allocator.c:1146:21: error: use of undeclared identifier 'MREMAP_DONTUNMAP'
                                          remap_flags |= MREMAP_DONTUNMAP;
                                                         ^
  ../tests/intel/xe_exec_system_allocator.c:1427:11: warning: implicit conversion from 'double' to 'unsigned int' changes value from 0.01 to 0 [-Wliteral-conversion]
                                  sleep(.01);
                                  ~~~~~ ^~~
  1 warning and 1 error generated.
  ninja: build stopped: subcommand failed.
  section_end:1729049683:step_script
  section_start:1729049683:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1729049684: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/65130860):
  ninja: build stopped: subcommand failed.
  ninja: Entering directory `build'
  [1/1004] Generating version.h with a custom command.
  [2/405] Linking target tests/xe_exec_reset.
  [3/405] Generating xe_exec_reset.testlist with a meson_exe.py custom command.
  [4/405] Compiling C object 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o'.
  FAILED: tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o 
  cc -Itests/59830eb@@xe_exec_system_allocator at exe -Itests -I../tests -I../include -I../include/drm-uapi -I../include/drm-uapi-experimental -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-conversion -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 -D_LARGEFILE64_SOURCE=1 -pthread -MD -MQ 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o' -MF 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o.d' -o 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o' -c ../tests/intel/xe_exec_system_allocator.c
  ../tests/intel/xe_exec_system_allocator.c: In function ‘test_exec’:
  ../tests/intel/xe_exec_system_allocator.c:1146:21: error: ‘MREMAP_DONTUNMAP’ undeclared (first use in this function)
   1146 |      remap_flags |= MREMAP_DONTUNMAP;
        |                     ^~~~~~~~~~~~~~~~
  ../tests/intel/xe_exec_system_allocator.c:1146:21: note: each undeclared identifier is reported only once for each function it appears in
  ninja: build stopped: subcommand failed.
  section_end:1729049703:step_script
  section_start:1729049703:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1729049703: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/65130858):
  ninja: Entering directory `build'
  [1/1135] Generating version.h with a custom command.
  [2/530] Linking target tests/xe_exec_reset.
  [3/530] Generating xe_exec_queue_property.testlist with a meson_exe.py custom command.
  [4/530] Generating xe_exec_reset.testlist with a meson_exe.py custom command.
  [5/530] Compiling C object 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o'.
  FAILED: tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o 
  cc -Itests/59830eb@@xe_exec_system_allocator at exe -Itests -I../tests -I../include -I../include/drm-uapi -I../include/drm-uapi-experimental -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-conversion -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 -D_LARGEFILE64_SOURCE=1 -pthread -MD -MQ 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o' -MF 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o.d' -o 'tests/59830eb@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o' -c ../tests/intel/xe_exec_system_allocator.c
  ../tests/intel/xe_exec_system_allocator.c: In function ‘test_exec’:
  ../tests/intel/xe_exec_system_allocator.c:1146:21: error: ‘MREMAP_DONTUNMAP’ undeclared (first use in this function)
   1146 |      remap_flags |= MREMAP_DONTUNMAP;
        |                     ^~~~~~~~~~~~~~~~
  ../tests/intel/xe_exec_system_allocator.c:1146:21: note: each undeclared identifier is reported only once for each function it appears in
  ninja: build stopped: subcommand failed.
  section_end:1729049666:step_script
  section_start:1729049666:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1729049667: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/65130859):
  ninja: build stopped: subcommand failed.
  ninja: Entering directory `build'
  [1/1134] Generating version.h with a custom command.
  [2/528] Linking target tests/xe_exec_reset.
  [3/528] Generating xe_exec_reset.testlist with a meson_exe.py custom command.
  [4/528] Compiling C object 'tests/tests@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o'.
  FAILED: tests/tests@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o 
  cc -Itests/tests@@xe_exec_system_allocator at exe -Itests -I../tests -I../include -I../include/drm-uapi -I../include/drm-uapi-experimental -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-conversion -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 -D_LARGEFILE64_SOURCE=1 -pthread  -MD -MQ 'tests/tests@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o' -MF 'tests/tests@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o.d' -o 'tests/tests@@xe_exec_system_allocator at exe/intel_xe_exec_system_allocator.c.o' -c ../tests/intel/xe_exec_system_allocator.c
  ../tests/intel/xe_exec_system_allocator.c: In function ‘test_exec’:
  ../tests/intel/xe_exec_system_allocator.c:1146:21: error: ‘MREMAP_DONTUNMAP’ undeclared (first use in this function)
   1146 |      remap_flags |= MREMAP_DONTUNMAP;
        |                     ^~~~~~~~~~~~~~~~
  ../tests/intel/xe_exec_system_allocator.c:1146:21: note: each undeclared identifier is reported only once for each function it appears in
  ninja: build stopped: subcommand failed.
  section_end:1729049685:step_script
  section_start:1729049685:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1729049685:cleanup_file_variables
  ERROR: Job failed: exit code 1

== Logs ==

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


More information about the igt-dev mailing list