[igt-dev] ✗ GitLab.Pipeline: warning for tests/amdgpu: add amdgpu test suite

Patchwork patchwork at emeril.freedesktop.org
Thu Nov 2 12:08:03 UTC 2023


== Series Details ==

Series: tests/amdgpu: add amdgpu test suite
URL   : https://patchwork.freedesktop.org/series/125892/
State : warning

== Summary ==

Pipeline status: FAILED.

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

build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/51092504):
  [5/975] Generating core_hotunplug.testlist with a meson_exe.py custom command.
  [6/975] Generating nouveau_crc.testlist with a meson_exe.py custom command.
  [7/975] Generating amd_basic.testlist with a meson_exe.py custom command.
  [8/975] Compiling C object 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o'.
  FAILED: tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o 
  cc -Itests/59830eb@@amd_pstate 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/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-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@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -MF 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o.d' -o 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -c ../tests/amdgpu/amd_pstate.c
  ../tests/amdgpu/amd_pstate.c: In function ‘amdgpu_stable_pstate_test’:
  ../tests/amdgpu/amd_pstate.c:22:6: error: implicit declaration of function ‘amdgpu_cs_ctx_stable_pstate’; did you mean ‘amdgpu_cs_ctx_create’? [-Werror=implicit-function-declaration]
    r = amdgpu_cs_ctx_stable_pstate(context_handle,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
        amdgpu_cs_ctx_create
  ../tests/amdgpu/amd_pstate.c:22:6: warning: nested extern declaration of ‘amdgpu_cs_ctx_stable_pstate’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698926773:step_script
  section_start:1698926773:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698926774: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/51092507):
  [2/720] Linking target lib/libi915_perf.so.1.5.
  [3/720] Generating symbol file 'lib/76b5a35@@i915_perf at sha/libi915_perf.so.1.5.symbols'.
  [4/720] Linking target tests/core_hotunplug.
  [5/720] Compiling C object 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o'.
  FAILED: tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o 
  /usr/bin/aarch64-linux-gnu-gcc -Itests/59830eb@@amd_pstate 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/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 -pthread  -MD -MQ 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -MF 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o.d' -o 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -c ../tests/amdgpu/amd_pstate.c
  ../tests/amdgpu/amd_pstate.c: In function ‘amdgpu_stable_pstate_test’:
  ../tests/amdgpu/amd_pstate.c:22:6: error: implicit declaration of function ‘amdgpu_cs_ctx_stable_pstate’; did you mean ‘amdgpu_cs_ctx_create’? [-Werror=implicit-function-declaration]
    r = amdgpu_cs_ctx_stable_pstate(context_handle,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
        amdgpu_cs_ctx_create
  ../tests/amdgpu/amd_pstate.c:22:6: warning: nested extern declaration of ‘amdgpu_cs_ctx_stable_pstate’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698926803:step_script
  section_start:1698926803:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698926803: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/51092506):
  [3/719] Generating symbol file 'lib/76b5a35@@i915_perf at sha/libi915_perf.so.1.5.symbols'.
  [4/719] Linking target tests/core_hotunplug.
  [5/719] Linking target tests/prime_nv_pcopy.
  [6/719] Compiling C object 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o'.
  FAILED: tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o 
  /usr/bin/arm-linux-gnueabihf-gcc -Itests/59830eb@@amd_pstate 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/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 -pthread  -MD -MQ 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -MF 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o.d' -o 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -c ../tests/amdgpu/amd_pstate.c
  ../tests/amdgpu/amd_pstate.c: In function ‘amdgpu_stable_pstate_test’:
  ../tests/amdgpu/amd_pstate.c:22:6: error: implicit declaration of function ‘amdgpu_cs_ctx_stable_pstate’; did you mean ‘amdgpu_cs_ctx_create’? [-Werror=implicit-function-declaration]
    r = amdgpu_cs_ctx_stable_pstate(context_handle,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
        amdgpu_cs_ctx_create
  ../tests/amdgpu/amd_pstate.c:22:6: warning: nested extern declaration of ‘amdgpu_cs_ctx_stable_pstate’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698926801:step_script
  section_start:1698926801:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698926802: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/51092508):
  [3/722] Generating symbol file 'lib/76b5a35@@i915_perf at sha/libi915_perf.so.1.5.symbols'.
  [4/722] Linking target tests/core_hotunplug.
  [5/722] Linking target tests/nouveau_crc.
  [6/722] Compiling C object 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o'.
  FAILED: tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o 
  /usr/bin/mips-linux-gnu-gcc -Itests/59830eb@@amd_pstate 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/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 -pthread  -MD -MQ 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -MF 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o.d' -o 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -c ../tests/amdgpu/amd_pstate.c
  ../tests/amdgpu/amd_pstate.c: In function ‘amdgpu_stable_pstate_test’:
  ../tests/amdgpu/amd_pstate.c:22:6: error: implicit declaration of function ‘amdgpu_cs_ctx_stable_pstate’; did you mean ‘amdgpu_cs_ctx_create’? [-Werror=implicit-function-declaration]
    r = amdgpu_cs_ctx_stable_pstate(context_handle,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
        amdgpu_cs_ctx_create
  ../tests/amdgpu/amd_pstate.c:22:6: warning: nested extern declaration of ‘amdgpu_cs_ctx_stable_pstate’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698926813:step_script
  section_start:1698926813:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698926814:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/51092499):
  [4/983] Linking target tests/core_hotunplug.
  [5/983] Generating core_hotunplug.testlist with a meson_exe.py custom command.
  [6/983] Generating amd_basic.testlist with a meson_exe.py custom command.
  [7/983] Compiling C object 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o'.
  FAILED: tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o 
  cc -Itests/59830eb@@amd_pstate 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 -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 -pthread -MD -MQ 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -MF 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o.d' -o 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -c ../tests/amdgpu/amd_pstate.c
  ../tests/amdgpu/amd_pstate.c: In function ‘amdgpu_stable_pstate_test’:
  ../tests/amdgpu/amd_pstate.c:22:6: error: implicit declaration of function ‘amdgpu_cs_ctx_stable_pstate’; did you mean ‘amdgpu_cs_ctx_create’? [-Werror=implicit-function-declaration]
     22 |  r = amdgpu_cs_ctx_stable_pstate(context_handle,
        |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
        |      amdgpu_cs_ctx_create
  ../tests/amdgpu/amd_pstate.c:22:6: warning: nested extern declaration of ‘amdgpu_cs_ctx_stable_pstate’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698926755:step_script
  section_start:1698926755:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698926756: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/51092503):
          igt_assert_eq(new_pstate, AMDGPU_CTX_STABLE_PSTATE_NONE);
                        ^~~~~~~~~~
  ../lib/igt_core.h:827:49: note: expanded from macro 'igt_assert_eq'
  #define igt_assert_eq(n1, n2) igt_assert_cmpint(n1, ==, !=, n2)
                                                  ^~
  ../lib/igt_core.h:737:15: note: expanded from macro 'igt_assert_cmpint'
                  int __n1 = (n1), __n2 = (n2); \
                              ^~
  ../tests/amdgpu/amd_pstate.c:17:37: note: initialize the variable 'new_pstate' to silence this warning
          uint32_t current_pstate, new_pstate;
                                             ^
                                              = 0
  1 warning and 1 error generated.
  ninja: build stopped: subcommand failed.
  section_end:1698926791:step_script
  section_start:1698926791:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698926791: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/51092502):
  [6/879] Generating vgem_basic.testlist with a meson_exe.py custom command.
  [7/879] Generating vgem_slow.testlist with a meson_exe.py custom command.
  [8/879] Generating amd_module_load.testlist with a meson_exe.py custom command.
  [9/879] Compiling C object 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o'.
  FAILED: tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o 
  cc -Itests/59830eb@@amd_pstate 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/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 -pthread -MD -MQ 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -MF 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o.d' -o 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -c ../tests/amdgpu/amd_pstate.c
  ../tests/amdgpu/amd_pstate.c: In function ‘amdgpu_stable_pstate_test’:
  ../tests/amdgpu/amd_pstate.c:22:6: error: implicit declaration of function ‘amdgpu_cs_ctx_stable_pstate’; did you mean ‘amdgpu_cs_ctx_create’? [-Werror=implicit-function-declaration]
     22 |  r = amdgpu_cs_ctx_stable_pstate(context_handle,
        |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
        |      amdgpu_cs_ctx_create
  ../tests/amdgpu/amd_pstate.c:22:6: warning: nested extern declaration of ‘amdgpu_cs_ctx_stable_pstate’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698926763:step_script
  section_start:1698926763:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698926763: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/51092500):
  [5/985] Generating core_hotunplug.testlist with a meson_exe.py custom command.
  [6/985] Generating prime_nv_pcopy.testlist with a meson_exe.py custom command.
  [7/985] Generating amd_module_load.testlist with a meson_exe.py custom command.
  [8/985] Compiling C object 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o'.
  FAILED: tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o 
  cc -Itests/59830eb@@amd_pstate 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../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 -pthread -MD -MQ 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -MF 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o.d' -o 'tests/59830eb@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -c ../tests/amdgpu/amd_pstate.c
  ../tests/amdgpu/amd_pstate.c: In function ‘amdgpu_stable_pstate_test’:
  ../tests/amdgpu/amd_pstate.c:22:6: error: implicit declaration of function ‘amdgpu_cs_ctx_stable_pstate’; did you mean ‘amdgpu_cs_ctx_create’? [-Werror=implicit-function-declaration]
     22 |  r = amdgpu_cs_ctx_stable_pstate(context_handle,
        |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
        |      amdgpu_cs_ctx_create
  ../tests/amdgpu/amd_pstate.c:22:6: warning: nested extern declaration of ‘amdgpu_cs_ctx_stable_pstate’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698926764:step_script
  section_start:1698926764:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698926765: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/51092501):
  [5/987] Generating core_hotunplug.testlist with a meson_exe.py custom command.
  [6/987] Generating prime_nv_pcopy.testlist with a meson_exe.py custom command.
  [7/987] Generating nouveau_crc.testlist with a meson_exe.py custom command.
  [8/987] Compiling C object 'tests/tests@@amd_pstate at exe/amdgpu_amd_pstate.c.o'.
  FAILED: tests/tests@@amd_pstate at exe/amdgpu_amd_pstate.c.o 
  cc -Itests/tests@@amd_pstate 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 -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 -pthread  -MD -MQ 'tests/tests@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -MF 'tests/tests@@amd_pstate at exe/amdgpu_amd_pstate.c.o.d' -o 'tests/tests@@amd_pstate at exe/amdgpu_amd_pstate.c.o' -c ../tests/amdgpu/amd_pstate.c
  ../tests/amdgpu/amd_pstate.c: In function ‘amdgpu_stable_pstate_test’:
  ../tests/amdgpu/amd_pstate.c:22:6: error: implicit declaration of function ‘amdgpu_cs_ctx_stable_pstate’; did you mean ‘amdgpu_cs_ctx_create’? [-Werror=implicit-function-declaration]
     22 |  r = amdgpu_cs_ctx_stable_pstate(context_handle,
        |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
        |      amdgpu_cs_ctx_create
  ../tests/amdgpu/amd_pstate.c:22:6: warning: nested extern declaration of ‘amdgpu_cs_ctx_stable_pstate’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698926767:step_script
  section_start:1698926767:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698926768:cleanup_file_variables
  ERROR: Job failed: exit code 1

== Logs ==

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


More information about the igt-dev mailing list