[igt-dev] ✗ GitLab.Pipeline: warning for series starting with [1/3] tests/amdgpu/amd_mall: Add crc check

Patchwork patchwork at emeril.freedesktop.org
Thu Aug 24 17:45:44 UTC 2023


== Series Details ==

Series: series starting with [1/3] tests/amdgpu/amd_mall: Add crc check
URL   : https://patchwork.freedesktop.org/series/122852/
State : warning

== Summary ==

Pipeline status: FAILED.

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

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/47999493):
  [2/1397] Linking static target lib/libigt-igt_kms_c.a.
  [3/1397] Linking static target lib/libigt-igt_fb_c.a.
  [4/1397] Compiling C object 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o'.
  FAILED: lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o 
  cc -Ilib/76b5a35@@igt-igt_amd_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 -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-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="/opt/igt/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="igt_amd"' -MD -MQ 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o' -MF 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o.d' -o 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o' -c ../lib/igt_amd.c
  ../lib/igt_amd.c: In function ‘igt_amd_get_mall_status’:
  ../lib/igt_amd.c:1198:10: error: ‘return’ with a value, in function returning void [-Werror=return-type]
   1198 |   return false;
        |          ^~~~~
  ../lib/igt_amd.c:1189:6: note: declared here
   1189 | void igt_amd_get_mall_status(int drm_fd, u32 *supported, u32 *enabled)
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1692898951:step_script
  section_start:1692898951:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1692898951: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/47999497):
  ninja: Entering directory `build'
  [1/1425] Generating version.h with a custom command.
  [2/1421] Linking static target lib/libigt-igt_kms_c.a.
  [3/1421] Linking static target lib/libigt-igt_fb_c.a.
  [4/1421] Linking static target lib/libigt-igt_vmwgfx_c.a.
  [5/1421] Linking static target lib/libigt-igt_edid_c.a.
  [6/1421] Compiling C object 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o'.
  FAILED: lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o 
  clang -Ilib/76b5a35@@igt-igt_amd_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="igt_amd"' -MD -MQ 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o' -MF 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o.d' -o 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o' -c ../lib/igt_amd.c
  ../lib/igt_amd.c:1198:3: error: void function 'igt_amd_get_mall_status' should not return a value [-Wreturn-type]
                  return false;
                  ^      ~~~~~
  1 error generated.
  ninja: build stopped: subcommand failed.
  section_end:1692898960:step_script
  section_start:1692898960:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1692898960: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/47999496):
  [2/1245] Linking static target lib/libigt-igt_kms_c.a.
  [3/1245] Linking static target lib/libigt-igt_fb_c.a.
  [4/1245] Compiling C object 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o'.
  FAILED: lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o 
  cc -Ilib/76b5a35@@igt-igt_amd_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/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-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="igt_amd"' -MD -MQ 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o' -MF 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o.d' -o 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o' -c ../lib/igt_amd.c
  ../lib/igt_amd.c: In function ‘igt_amd_get_mall_status’:
  ../lib/igt_amd.c:1198:10: error: ‘return’ with a value, in function returning void [-Werror=return-type]
   1198 |   return false;
        |          ^~~~~
  ../lib/igt_amd.c:1189:6: note: declared here
   1189 | void igt_amd_get_mall_status(int drm_fd, u32 *supported, u32 *enabled)
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1692898951:step_script
  section_start:1692898951:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1692898952: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/47999494):
  [2/1395] Linking static target lib/libigt-igt_kms_c.a.
  [3/1395] Linking static target lib/libigt-igt_fb_c.a.
  [4/1395] Compiling C object 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o'.
  FAILED: lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o 
  cc -Ilib/76b5a35@@igt-igt_amd_c at sta -Ilib -I../lib -I../include -I../include/drm-uapi -I../include/linux-uapi -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-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="igt_amd"' -MD -MQ 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o' -MF 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o.d' -o 'lib/76b5a35@@igt-igt_amd_c at sta/igt_amd.c.o' -c ../lib/igt_amd.c
  ../lib/igt_amd.c: In function ‘igt_amd_get_mall_status’:
  ../lib/igt_amd.c:1198:10: error: ‘return’ with a value, in function returning void [-Werror=return-type]
   1198 |   return false;
        |          ^~~~~
  ../lib/igt_amd.c:1189:6: note: declared here
   1189 | void igt_amd_get_mall_status(int drm_fd, u32 *supported, u32 *enabled)
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1692898951:step_script
  section_start:1692898951:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1692898959: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/47999495):
  [2/1407] Linking static target lib/libigt-igt_kms_c.a.
  [3/1407] Linking static target lib/libigt-igt_fb_c.a.
  [4/1407] Compiling C object 'lib/lib@@igt-igt_amd_c at sta/igt_amd.c.o'.
  FAILED: lib/lib@@igt-igt_amd_c at sta/igt_amd.c.o 
  cc -Ilib/lib@@igt-igt_amd_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 -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-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="igt_amd"'  -MD -MQ 'lib/lib@@igt-igt_amd_c at sta/igt_amd.c.o' -MF 'lib/lib@@igt-igt_amd_c at sta/igt_amd.c.o.d' -o 'lib/lib@@igt-igt_amd_c at sta/igt_amd.c.o' -c ../lib/igt_amd.c
  ../lib/igt_amd.c: In function ‘igt_amd_get_mall_status’:
  ../lib/igt_amd.c:1198:10: error: ‘return’ with a value, in function returning void [-Werror=return-type]
   1198 |   return false;
        |          ^~~~~
  ../lib/igt_amd.c:1189:6: note: declared here
   1189 | void igt_amd_get_mall_status(int drm_fd, u32 *supported, u32 *enabled)
        |      ^~~~~~~~~~~~~~~~~~~~~~~
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1692898960:step_script
  section_start:1692898960:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1692898961:cleanup_file_variables
  ERROR: Job failed: exit code 1

== Logs ==

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


More information about the igt-dev mailing list