[igt-dev] ✗ GitLab.Pipeline: warning for tests/kms_setmode: Fix to get a valid config

Patchwork patchwork at emeril.freedesktop.org
Fri Aug 6 13:05:02 UTC 2021


== Series Details ==

Series: tests/kms_setmode: Fix to get a valid config
URL   : https://patchwork.freedesktop.org/series/93450/
State : warning

== Summary ==

Pipeline status: FAILED.

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

build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/12557637):
  ../tests/kms_setmode.c: In function ‘setup_crtcs’:
  ../tests/kms_setmode.c:364:63: error: expected ‘)’ before ‘config_valid’
       !!(tconf->flags & (TEST_SINGLE_CRTC_CLONE | TEST_TIMINGS))
                                                                 ^
                                                                 )
      config_valid = false;
      ~~~~~~~~~~~~                                                
  ../tests/kms_setmode.c:363:6: note: to match this ‘(’
     if (encoder_usage_count[i] > 1 &&
        ^
  ../tests/kms_setmode.c:369:1: error: expected expression before ‘}’ token
   }
   ^
  ninja: build stopped: subcommand failed.
  section_end:1628246761:step_script
  section_start:1628246761:cleanup_file_variables
  Cleaning up file based variables
  section_end:1628246762: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/12557640):
  ../tests/kms_setmode.c: In function ‘setup_crtcs’:
  ../tests/kms_setmode.c:364:63: error: expected ‘)’ before ‘config_valid’
       !!(tconf->flags & (TEST_SINGLE_CRTC_CLONE | TEST_TIMINGS))
                                                                 ^
                                                                 )
      config_valid = false;
      ~~~~~~~~~~~~                                                
  ../tests/kms_setmode.c:363:6: note: to match this ‘(’
     if (encoder_usage_count[i] > 1 &&
        ^
  ../tests/kms_setmode.c:369:1: error: expected expression before ‘}’ token
   }
   ^
  ninja: build stopped: subcommand failed.
  section_end:1628246755:step_script
  section_start:1628246755:cleanup_file_variables
  Cleaning up file based variables
  section_end:1628246756: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/12557639):
  ../tests/kms_setmode.c: In function ‘setup_crtcs’:
  ../tests/kms_setmode.c:364:63: error: expected ‘)’ before ‘config_valid’
       !!(tconf->flags & (TEST_SINGLE_CRTC_CLONE | TEST_TIMINGS))
                                                                 ^
                                                                 )
      config_valid = false;
      ~~~~~~~~~~~~                                                
  ../tests/kms_setmode.c:363:6: note: to match this ‘(’
     if (encoder_usage_count[i] > 1 &&
        ^
  ../tests/kms_setmode.c:369:1: error: expected expression before ‘}’ token
   }
   ^
  ninja: build stopped: subcommand failed.
  section_end:1628246755:step_script
  section_start:1628246755:cleanup_file_variables
  Cleaning up file based variables
  section_end:1628246756: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/12557641):
  ../tests/kms_setmode.c: In function ‘setup_crtcs’:
  ../tests/kms_setmode.c:364:63: error: expected ‘)’ before ‘config_valid’
       !!(tconf->flags & (TEST_SINGLE_CRTC_CLONE | TEST_TIMINGS))
                                                                 ^
                                                                 )
      config_valid = false;
      ~~~~~~~~~~~~                                                
  ../tests/kms_setmode.c:363:6: note: to match this ‘(’
     if (encoder_usage_count[i] > 1 &&
        ^
  ../tests/kms_setmode.c:369:1: error: expected expression before ‘}’ token
   }
   ^
  ninja: build stopped: subcommand failed.
  section_end:1628246758:step_script
  section_start:1628246758:cleanup_file_variables
  Cleaning up file based variables
  section_end:1628246759:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/12557632):
  ../tests/kms_setmode.c: In function ‘setup_crtcs’:
  ../tests/kms_setmode.c:364:63: error: expected ‘)’ before ‘config_valid’
    364 |     !!(tconf->flags & (TEST_SINGLE_CRTC_CLONE | TEST_TIMINGS))
        |                                                               ^
        |                                                               )
    365 |    config_valid = false;
        |    ~~~~~~~~~~~~                                                
  ../tests/kms_setmode.c:363:6: note: to match this ‘(’
    363 |   if (encoder_usage_count[i] > 1 &&
        |      ^
  ../tests/kms_setmode.c:369:1: error: expected expression before ‘}’ token
    369 | }
        | ^
  ninja: build stopped: subcommand failed.
  section_end:1628246761:step_script
  section_start:1628246761:cleanup_file_variables
  Cleaning up file based variables
  section_end:1628246762: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/12557636):
  ninja: Entering directory `build'
  [1/725] Generating version.h with a custom command.
  [2/623] Linking target tests/kms_rotation_crc.
  [3/623] Compiling C object 'tests/59830eb@@kms_setmode at exe/kms_setmode.c.o'.
  FAILED: tests/59830eb@@kms_setmode at exe/kms_setmode.c.o 
  clang -Itests/59830eb@@kms_setmode at exe -Itests -I../tests -I../include/drm-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 -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 -fcommon -pthread -MD -MQ 'tests/59830eb@@kms_setmode at exe/kms_setmode.c.o' -MF 'tests/59830eb@@kms_setmode at exe/kms_setmode.c.o.d' -o 'tests/59830eb@@kms_setmode at exe/kms_setmode.c.o' -c ../tests/kms_setmode.c
  ../tests/kms_setmode.c:365:4: error: expected ')'
                          config_valid = false;
                          ^
  ../tests/kms_setmode.c:363:6: note: to match this '('
                  if (encoder_usage_count[i] > 1 &&
                     ^
  1 error generated.
  ninja: build stopped: subcommand failed.
  section_end:1628246771:step_script
  section_start:1628246771:cleanup_file_variables
  Cleaning up file based variables
  section_end:1628246772: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/12557635):
  ../tests/kms_setmode.c: In function ‘setup_crtcs’:
  ../tests/kms_setmode.c:364:63: error: expected ‘)’ before ‘config_valid’
    364 |     !!(tconf->flags & (TEST_SINGLE_CRTC_CLONE | TEST_TIMINGS))
        |                                                               ^
        |                                                               )
    365 |    config_valid = false;
        |    ~~~~~~~~~~~~                                                
  ../tests/kms_setmode.c:363:6: note: to match this ‘(’
    363 |   if (encoder_usage_count[i] > 1 &&
        |      ^
  ../tests/kms_setmode.c:369:1: error: expected expression before ‘}’ token
    369 | }
        | ^
  ninja: build stopped: subcommand failed.
  section_end:1628246760:step_script
  section_start:1628246760:cleanup_file_variables
  Cleaning up file based variables
  section_end:1628246762: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/12557633):
  ../tests/kms_setmode.c: In function ‘setup_crtcs’:
  ../tests/kms_setmode.c:364:63: error: expected ‘)’ before ‘config_valid’
    364 |     !!(tconf->flags & (TEST_SINGLE_CRTC_CLONE | TEST_TIMINGS))
        |                                                               ^
        |                                                               )
    365 |    config_valid = false;
        |    ~~~~~~~~~~~~                                                
  ../tests/kms_setmode.c:363:6: note: to match this ‘(’
    363 |   if (encoder_usage_count[i] > 1 &&
        |      ^
  ../tests/kms_setmode.c:369:1: error: expected expression before ‘}’ token
    369 | }
        | ^
  ninja: build stopped: subcommand failed.
  section_end:1628246761:step_script
  section_start:1628246761:cleanup_file_variables
  Cleaning up file based variables
  section_end:1628246763: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/12557634):
  ../tests/kms_setmode.c: In function ‘setup_crtcs’:
  ../tests/kms_setmode.c:364:63: error: expected ‘)’ before ‘config_valid’
    364 |     !!(tconf->flags & (TEST_SINGLE_CRTC_CLONE | TEST_TIMINGS))
        |                                                               ^
        |                                                               )
    365 |    config_valid = false;
        |    ~~~~~~~~~~~~                                                
  ../tests/kms_setmode.c:363:6: note: to match this ‘(’
    363 |   if (encoder_usage_count[i] > 1 &&
        |      ^
  ../tests/kms_setmode.c:369:1: error: expected expression before ‘}’ token
    369 | }
        | ^
  ninja: build stopped: subcommand failed.
  section_end:1628246759:step_script
  section_start:1628246759:cleanup_file_variables
  Cleaning up file based variables
  section_end:1628246760:cleanup_file_variables
  ERROR: Job failed: exit code 1

== Logs ==

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


More information about the igt-dev mailing list