[igt-dev] ✗ GitLab.Pipeline: warning for Add nouveau-crc tests (rev2)

Patchwork
2020-04-17T20:10:37Z

== Series Details ==

Series: Add nouveau-crc tests (rev2)
URL : https://patchwork.freedesktop.org/series/74811/
State : warning

== Summary ==

Did not get list of undocumented tests for this run, something is wrong!

Other than that, pipeline status: FAILED.

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

build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/2327546):
/usr/bin/aarch64-linux-gnu-gcc -Itests/59830eb@@nouveau_crc@exe -Itests -I../tests -I../include/drm-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/aarch64-linux-gnu -I/usr/include/valgrind -I/usr/include/alsa -I/usr/include/libdrm/nouveau -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@@nouveau_crc@exe/nouveau_crc.c.o' -MF 'tests/59830eb@@nouveau_crc@exe/nouveau_crc.c.o.d' -o 'tests/59830eb@@nouveau_crc@exe/nouveau_crc.c.o' -c ../tests/nouveau_crc.c
../tests/nouveau_crc.c: In function ‘__real_main304’:
../tests/nouveau_crc.c:344:50: error: ‘O_DIRECTORY’ undeclared (first use in this function)
dir = igt_debugfs_pipe_dir(data.drm_fd, pipe, O_DIRECTORY);
^~~~~~~~~~~
../tests/nouveau_crc.c:344:50: note: each undeclared identifier is reported only once for each function it appears in
../tests/nouveau_crc.c:346:22: error: implicit declaration of function ‘openat’; did you mean ‘popen’? [-Werror=implicit-function-declaration]
data.nv_crc_dir = openat(dir, "nv_crc", O_DIRECTORY);
^~~~~~
popen
../tests/nouveau_crc.c:346:22: warning: nested extern declaration of ‘openat’ [-Wnested-externs]
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
section_end:1587153730:build_script
section_start:1587153730:after_script
section_end:1587153731:after_script
section_start:1587153731:upload_artifacts_on_failure
section_end:1587153733:upload_artifacts_on_failure
ERROR: Job failed: exit code 1

build:tests-debian-meson-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/2327545):
/usr/bin/arm-linux-gnueabihf-gcc -Itests/59830eb@@nouveau_crc@exe -Itests -I../tests -I../include/drm-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/arm-linux-gnueabihf -I/usr/include/valgrind -I/usr/include/alsa -I/usr/include/libdrm/nouveau -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@@nouveau_crc@exe/nouveau_crc.c.o' -MF 'tests/59830eb@@nouveau_crc@exe/nouveau_crc.c.o.d' -o 'tests/59830eb@@nouveau_crc@exe/nouveau_crc.c.o' -c ../tests/nouveau_crc.c
../tests/nouveau_crc.c: In function ‘__real_main304’:
../tests/nouveau_crc.c:344:50: error: ‘O_DIRECTORY’ undeclared (first use in this function)
dir = igt_debugfs_pipe_dir(data.drm_fd, pipe, O_DIRECTORY);
^~~~~~~~~~~
../tests/nouveau_crc.c:344:50: note: each undeclared identifier is reported only once for each function it appears in
../tests/nouveau_crc.c:346:22: error: implicit declaration of function ‘openat’; did you mean ‘popen’? [-Werror=implicit-function-declaration]
data.nv_crc_dir = openat(dir, "nv_crc", O_DIRECTORY);
^~~~~~
popen
../tests/nouveau_crc.c:346:22: warning: nested extern declaration of ‘openat’ [-Wnested-externs]
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
section_end:1587153707:build_script
section_start:1587153707:after_script
section_end:1587153708:after_script
section_start:1587153708:upload_artifacts_on_failure
section_end:1587153710:upload_artifacts_on_failure
ERROR: Job failed: exit code 1

build:tests-debian-meson-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/2327547):
../tests/nouveau_crc.c: In function ‘__real_main304’:
../tests/nouveau_crc.c:344:50: error: ‘O_DIRECTORY’ undeclared (first use in this function)
dir = igt_debugfs_pipe_dir(data.drm_fd, pipe, O_DIRECTORY);
^~~~~~~~~~~
../tests/nouveau_crc.c:344:50: note: each undeclared identifier is reported only once for each function it appears in
../tests/nouveau_crc.c:346:22: error: implicit declaration of function ‘openat’ [-Werror=implicit-function-declaration]
data.nv_crc_dir = openat(dir, "nv_crc", O_DIRECTORY);
^~~~~~
../tests/nouveau_crc.c:346:4: warning: nested extern declaration of ‘openat’ [-Wnested-externs]
data.nv_crc_dir = openat(dir, "nv_crc", O_DIRECTORY);
^~~~
cc1: some warnings being treated as errors
ninja: build stopped: subcommand failed.
section_end:1587153735:build_script
section_start:1587153735:after_script
section_end:1587153737:after_script
section_start:1587153737:upload_artifacts_on_failure
section_end:1587153738:upload_artifacts_on_failure
ERROR: Job failed: exit code 1

== Logs ==

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