✗ GitLab.Pipeline: warning for Test coverage for GPU debug support

Patchwork patchwork at emeril.freedesktop.org
Mon Jul 29 19:21:37 UTC 2024


== Series Details ==

Series: Test coverage for GPU debug support
URL   : https://patchwork.freedesktop.org/series/136623/
State : warning

== Summary ==

Pipeline status: FAILED.

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

build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/61654173):
     int __n1 = (n1), __n2 = (n2); \
                 ^~
  ../lib/xe/xe_eudebug.c:2185:2: note: in expansion of macro ‘igt_assert_eq’
    igt_assert_eq(igt_ioctl(debugfd, DRM_XE_EUDEBUG_IOCTL_ACK_EVENT, &ack), 0);
    ^~~~~~~~~~~~~
  ../lib/xe/xe_eudebug.c:2177:34: warning: unused variable ‘ack’ [-Wunused-variable]
    struct drm_xe_eudebug_ack_event ack = { 0, };
                                    ^~~
  ../lib/xe/xe_eudebug.c: In function ‘xe_eudebug_client_metadata_create’:
  ../lib/xe/xe_eudebug.c:2150:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1722280796:step_script
  section_start:1722280796:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1722280797: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/61654176):
     int __n1 = (n1), __n2 = (n2); \
                 ^~
  ../lib/xe/xe_eudebug.c:2185:2: note: in expansion of macro ‘igt_assert_eq’
    igt_assert_eq(igt_ioctl(debugfd, DRM_XE_EUDEBUG_IOCTL_ACK_EVENT, &ack), 0);
    ^~~~~~~~~~~~~
  ../lib/xe/xe_eudebug.c:2177:34: warning: unused variable ‘ack’ [-Wunused-variable]
    struct drm_xe_eudebug_ack_event ack = { 0, };
                                    ^~~
  ../lib/xe/xe_eudebug.c: In function ‘xe_eudebug_client_metadata_create’:
  ../lib/xe/xe_eudebug.c:2150:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1722280801:step_script
  section_start:1722280801:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1722280802: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/61654175):
     int __n1 = (n1), __n2 = (n2); \
                 ^~
  ../lib/xe/xe_eudebug.c:2185:2: note: in expansion of macro ‘igt_assert_eq’
    igt_assert_eq(igt_ioctl(debugfd, DRM_XE_EUDEBUG_IOCTL_ACK_EVENT, &ack), 0);
    ^~~~~~~~~~~~~
  ../lib/xe/xe_eudebug.c:2177:34: warning: unused variable ‘ack’ [-Wunused-variable]
    struct drm_xe_eudebug_ack_event ack = { 0, };
                                    ^~~
  ../lib/xe/xe_eudebug.c: In function ‘xe_eudebug_client_metadata_create’:
  ../lib/xe/xe_eudebug.c:2150:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1722280803:step_script
  section_start:1722280803:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1722280803: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/61654177):
     int __n1 = (n1), __n2 = (n2); \
                 ^~
  ../lib/xe/xe_eudebug.c:2185:2: note: in expansion of macro ‘igt_assert_eq’
    igt_assert_eq(igt_ioctl(debugfd, DRM_XE_EUDEBUG_IOCTL_ACK_EVENT, &ack), 0);
    ^~~~~~~~~~~~~
  ../lib/xe/xe_eudebug.c:2177:34: warning: unused variable ‘ack’ [-Wunused-variable]
    struct drm_xe_eudebug_ack_event ack = { 0, };
                                    ^~~
  ../lib/xe/xe_eudebug.c: In function ‘xe_eudebug_client_metadata_create’:
  ../lib/xe/xe_eudebug.c:2150:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1722280804:step_script
  section_start:1722280804:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1722280805:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-debian-minimal has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/61654174):
     int __n1 = (n1), __n2 = (n2); \
                 ^~
  ../lib/xe/xe_eudebug.c:2185:2: note: in expansion of macro ‘igt_assert_eq’
    igt_assert_eq(igt_ioctl(debugfd, DRM_XE_EUDEBUG_IOCTL_ACK_EVENT, &ack), 0);
    ^~~~~~~~~~~~~
  ../lib/xe/xe_eudebug.c:2177:34: warning: unused variable ‘ack’ [-Wunused-variable]
    struct drm_xe_eudebug_ack_event ack = { 0, };
                                    ^~~
  ../lib/xe/xe_eudebug.c: In function ‘xe_eudebug_client_metadata_create’:
  ../lib/xe/xe_eudebug.c:2150:1: error: control reaches end of non-void function [-Werror=return-type]
   }
   ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1722280790:step_script
  section_start:1722280790:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1722280791:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/61654168):
    737 |   int __n1 = (n1), __n2 = (n2); \
        |               ^~
  ../lib/xe/xe_eudebug.c:2185:2: note: in expansion of macro ‘igt_assert_eq’
   2185 |  igt_assert_eq(igt_ioctl(debugfd, DRM_XE_EUDEBUG_IOCTL_ACK_EVENT, &ack), 0);
        |  ^~~~~~~~~~~~~
  ../lib/xe/xe_eudebug.c:2177:34: warning: unused variable ‘ack’ [-Wunused-variable]
   2177 |  struct drm_xe_eudebug_ack_event ack = { 0, };
        |                                  ^~~
  ../lib/xe/xe_eudebug.c: In function ‘xe_eudebug_client_metadata_create’:
  ../lib/xe/xe_eudebug.c:2150:1: error: control reaches end of non-void function [-Werror=return-type]
   2150 | }
        | ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1722280798:step_script
  section_start:1722280798:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1722280798: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/61654172):
          if (flags & DRM_XE_EUDEBUG_EVENT_STATE_CHANGE)
                      ^
  ../lib/xe/xe_eudebug.c:105:23: error: use of undeclared identifier 'DRM_XE_EUDEBUG_EVENT_NEED_ACK'
          igt_assert(!(flags & DRM_XE_EUDEBUG_EVENT_NEED_ACK));
                               ^
  ../lib/xe/xe_eudebug.c:112:11: error: incomplete definition of type 'struct drm_xe_eudebug_event'
          switch (e->type) {
                  ~^
  ../lib/xe/xe_eudebug.h:117:8: note: forward declaration of 'struct drm_xe_eudebug_event'
  struct drm_xe_eudebug_event *
         ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  3 warnings and 20 errors generated.
  ninja: build stopped: subcommand failed.
  section_end:1722280804:step_script
  section_start:1722280804:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1722280804: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/61654171):
    737 |   int __n1 = (n1), __n2 = (n2); \
        |               ^~
  ../lib/xe/xe_eudebug.c:2185:2: note: in expansion of macro ‘igt_assert_eq’
   2185 |  igt_assert_eq(igt_ioctl(debugfd, DRM_XE_EUDEBUG_IOCTL_ACK_EVENT, &ack), 0);
        |  ^~~~~~~~~~~~~
  ../lib/xe/xe_eudebug.c:2177:34: warning: unused variable ‘ack’ [-Wunused-variable]
   2177 |  struct drm_xe_eudebug_ack_event ack = { 0, };
        |                                  ^~~
  ../lib/xe/xe_eudebug.c: In function ‘xe_eudebug_client_metadata_create’:
  ../lib/xe/xe_eudebug.c:2150:1: error: control reaches end of non-void function [-Werror=return-type]
   2150 | }
        | ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1722280799:step_script
  section_start:1722280799:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1722280801: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/61654169):
    737 |   int __n1 = (n1), __n2 = (n2); \
        |               ^~
  ../lib/xe/xe_eudebug.c:2185:2: note: in expansion of macro ‘igt_assert_eq’
   2185 |  igt_assert_eq(igt_ioctl(debugfd, DRM_XE_EUDEBUG_IOCTL_ACK_EVENT, &ack), 0);
        |  ^~~~~~~~~~~~~
  ../lib/xe/xe_eudebug.c:2177:34: warning: unused variable ‘ack’ [-Wunused-variable]
   2177 |  struct drm_xe_eudebug_ack_event ack = { 0, };
        |                                  ^~~
  ../lib/xe/xe_eudebug.c: In function ‘xe_eudebug_client_metadata_create’:
  ../lib/xe/xe_eudebug.c:2150:1: error: control reaches end of non-void function [-Werror=return-type]
   2150 | }
        | ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1722280799:step_script
  section_start:1722280799:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1722280800: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/61654170):
    737 |   int __n1 = (n1), __n2 = (n2); \
        |               ^~
  ../lib/xe/xe_eudebug.c:2185:2: note: in expansion of macro ‘igt_assert_eq’
   2185 |  igt_assert_eq(igt_ioctl(debugfd, DRM_XE_EUDEBUG_IOCTL_ACK_EVENT, &ack), 0);
        |  ^~~~~~~~~~~~~
  ../lib/xe/xe_eudebug.c:2177:34: warning: unused variable ‘ack’ [-Wunused-variable]
   2177 |  struct drm_xe_eudebug_ack_event ack = { 0, };
        |                                  ^~~
  ../lib/xe/xe_eudebug.c: In function ‘xe_eudebug_client_metadata_create’:
  ../lib/xe/xe_eudebug.c:2150:1: error: control reaches end of non-void function [-Werror=return-type]
   2150 | }
        | ^
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1722280800:step_script
  section_start:1722280800:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1722280801:cleanup_file_variables
  ERROR: Job failed: exit code 1

== Logs ==

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


More information about the igt-dev mailing list