[igt-dev] ✗ GitLab.Pipeline: warning for igt/gem_mmap_offset: Adding subtest oob_read

Patchwork patchwork at emeril.freedesktop.org
Wed Mar 9 05:02:12 UTC 2022


== Series Details ==

Series: igt/gem_mmap_offset: Adding subtest oob_read
URL   : https://patchwork.freedesktop.org/series/101187/
State : warning

== Summary ==

Pipeline status: FAILED.

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

build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/19555335):
  /usr/bin/aarch64-linux-gnu-gcc -Itests/59830eb@@gem_mmap_offset at exe -Itests -I../tests -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/drm -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-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 -fcommon -pthread  -MD -MQ 'tests/59830eb@@gem_mmap_offset at exe/i915_gem_mmap_offset.c.o' -MF 'tests/59830eb@@gem_mmap_offset at exe/i915_gem_mmap_offset.c.o.d' -o 'tests/59830eb@@gem_mmap_offset at exe/i915_gem_mmap_offset.c.o' -c ../tests/i915/gem_mmap_offset.c
  ../tests/i915/gem_mmap_offset.c: In function ‘test_oob_read’:
  ../tests/i915/gem_mmap_offset.c:312:10: error: implicit declaration of function ‘open’; did you mean ‘popen’? [-Werror=implicit-function-declaration]
    memfd = open("/proc/self/mem", O_RDWR, 0);
            ^~~~
            popen
  ../tests/i915/gem_mmap_offset.c:312:10: warning: nested extern declaration of ‘open’ [-Wnested-externs]
  ../tests/i915/gem_mmap_offset.c:312:33: error: ‘O_RDWR’ undeclared (first use in this function); did you mean ‘DRM_RDWR’?
    memfd = open("/proc/self/mem", O_RDWR, 0);
                                   ^~~~~~
                                   DRM_RDWR
  ../tests/i915/gem_mmap_offset.c:312:33: note: each undeclared identifier is reported only once for each function it appears in
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1646801984:step_script
  section_start:1646801984:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1646801985: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/19555334):
  /usr/bin/arm-linux-gnueabihf-gcc -Itests/59830eb@@gem_mmap_offset at exe -Itests -I../tests -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/drm -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-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 -fcommon -pthread  -MD -MQ 'tests/59830eb@@gem_mmap_offset at exe/i915_gem_mmap_offset.c.o' -MF 'tests/59830eb@@gem_mmap_offset at exe/i915_gem_mmap_offset.c.o.d' -o 'tests/59830eb@@gem_mmap_offset at exe/i915_gem_mmap_offset.c.o' -c ../tests/i915/gem_mmap_offset.c
  ../tests/i915/gem_mmap_offset.c: In function ‘test_oob_read’:
  ../tests/i915/gem_mmap_offset.c:312:10: error: implicit declaration of function ‘open’; did you mean ‘popen’? [-Werror=implicit-function-declaration]
    memfd = open("/proc/self/mem", O_RDWR, 0);
            ^~~~
            popen
  ../tests/i915/gem_mmap_offset.c:312:10: warning: nested extern declaration of ‘open’ [-Wnested-externs]
  ../tests/i915/gem_mmap_offset.c:312:33: error: ‘O_RDWR’ undeclared (first use in this function); did you mean ‘DRM_RDWR’?
    memfd = open("/proc/self/mem", O_RDWR, 0);
                                   ^~~~~~
                                   DRM_RDWR
  ../tests/i915/gem_mmap_offset.c:312:33: note: each undeclared identifier is reported only once for each function it appears in
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1646801985:step_script
  section_start:1646801985:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1646801986: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/19555336):
  /usr/bin/mips-linux-gnu-gcc -Itests/59830eb@@gem_mmap_offset at exe -Itests -I../tests -I../include/drm-uapi -I../include/linux-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I../lib/stubs/drm -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-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 -fcommon -pthread  -MD -MQ 'tests/59830eb@@gem_mmap_offset at exe/i915_gem_mmap_offset.c.o' -MF 'tests/59830eb@@gem_mmap_offset at exe/i915_gem_mmap_offset.c.o.d' -o 'tests/59830eb@@gem_mmap_offset at exe/i915_gem_mmap_offset.c.o' -c ../tests/i915/gem_mmap_offset.c
  ../tests/i915/gem_mmap_offset.c: In function ‘test_oob_read’:
  ../tests/i915/gem_mmap_offset.c:312:10: error: implicit declaration of function ‘open’; did you mean ‘popen’? [-Werror=implicit-function-declaration]
    memfd = open("/proc/self/mem", O_RDWR, 0);
            ^~~~
            popen
  ../tests/i915/gem_mmap_offset.c:312:10: warning: nested extern declaration of ‘open’ [-Wnested-externs]
  ../tests/i915/gem_mmap_offset.c:312:33: error: ‘O_RDWR’ undeclared (first use in this function); did you mean ‘DRM_RDWR’?
    memfd = open("/proc/self/mem", O_RDWR, 0);
                                   ^~~~~~
                                   DRM_RDWR
  ../tests/i915/gem_mmap_offset.c:312:33: note: each undeclared identifier is reported only once for each function it appears in
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1646801992:step_script
  section_start:1646801992:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1646801993:cleanup_file_variables
  ERROR: Job failed: exit code 1

== Logs ==

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


More information about the igt-dev mailing list