✗ GitLab.Pipeline: warning for tests/gem_ctx_exec: Fix failing preempt timeout updates

Janusz Krzysztofik janusz.krzysztofik at linux.intel.com
Mon Jul 15 18:27:04 UTC 2024


Sorry, I haven't re-tested after final cleanups and the series fails to build.  
Please expect v2 very soon.

Thanks,
Janusz


On Monday, 15 July 2024 20:22:13 GMT+2 Patchwork wrote:
> == Series Details ==
> 
> Series: tests/gem_ctx_exec: Fix failing preempt timeout updates
> URL   : https://patchwork.freedesktop.org/series/136109/
> State : warning
> 
> == Summary ==
> 
> Pipeline status: FAILED.
> 
> see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1224761 for the overview.
> 
> build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/61054445):
>   ../lib/i915/gem_engine_topology.c: In function ‘__open_primary’:
>   ../lib/i915/gem_engine_topology.c:482:36: error: expected ‘)’ before ‘break’
>          !strncmp(device, target, len)
>                                       ^
>                                       )
>       break;
>       ~~~~~                            
>   ../lib/i915/gem_engine_topology.c:481:6: note: to match this ‘(’
>      if (readlinkat(dir, "device", device, sizeof(device)) == len &&
>         ^
>   ../lib/i915/gem_engine_topology.c:487:2: error: expected expression before ‘}’ token
>     }
>     ^
>   ninja: build stopped: subcommand failed.
>   section_end:1721067700:step_script
>   section_start:1721067700:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1721067701: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/61054448):
>   ../lib/i915/gem_engine_topology.c: In function ‘__open_primary’:
>   ../lib/i915/gem_engine_topology.c:482:36: error: expected ‘)’ before ‘break’
>          !strncmp(device, target, len)
>                                       ^
>                                       )
>       break;
>       ~~~~~                            
>   ../lib/i915/gem_engine_topology.c:481:6: note: to match this ‘(’
>      if (readlinkat(dir, "device", device, sizeof(device)) == len &&
>         ^
>   ../lib/i915/gem_engine_topology.c:487:2: error: expected expression before ‘}’ token
>     }
>     ^
>   ninja: build stopped: subcommand failed.
>   section_end:1721067700:step_script
>   section_start:1721067700:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1721067701: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/61054447):
>   ../lib/i915/gem_engine_topology.c: In function ‘__open_primary’:
>   ../lib/i915/gem_engine_topology.c:482:36: error: expected ‘)’ before ‘break’
>          !strncmp(device, target, len)
>                                       ^
>                                       )
>       break;
>       ~~~~~                            
>   ../lib/i915/gem_engine_topology.c:481:6: note: to match this ‘(’
>      if (readlinkat(dir, "device", device, sizeof(device)) == len &&
>         ^
>   ../lib/i915/gem_engine_topology.c:487:2: error: expected expression before ‘}’ token
>     }
>     ^
>   ninja: build stopped: subcommand failed.
>   section_end:1721067710:step_script
>   section_start:1721067710:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1721067712: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/61054449):
>   ../lib/i915/gem_engine_topology.c: In function ‘__open_primary’:
>   ../lib/i915/gem_engine_topology.c:482:36: error: expected ‘)’ before ‘break’
>          !strncmp(device, target, len)
>                                       ^
>                                       )
>       break;
>       ~~~~~                            
>   ../lib/i915/gem_engine_topology.c:481:6: note: to match this ‘(’
>      if (readlinkat(dir, "device", device, sizeof(device)) == len &&
>         ^
>   ../lib/i915/gem_engine_topology.c:487:2: error: expected expression before ‘}’ token
>     }
>     ^
>   ninja: build stopped: subcommand failed.
>   section_end:1721067699:step_script
>   section_start:1721067699:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1721067699: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/61054446):
>   ../lib/i915/gem_engine_topology.c: In function ‘__open_primary’:
>   ../lib/i915/gem_engine_topology.c:482:36: error: expected ‘)’ before ‘break’
>          !strncmp(device, target, len)
>                                       ^
>                                       )
>       break;
>       ~~~~~                            
>   ../lib/i915/gem_engine_topology.c:481:6: note: to match this ‘(’
>      if (readlinkat(dir, "device", device, sizeof(device)) == len &&
>         ^
>   ../lib/i915/gem_engine_topology.c:487:2: error: expected expression before ‘}’ token
>     }
>     ^
>   ninja: build stopped: subcommand failed.
>   section_end:1721067697:step_script
>   section_start:1721067697:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1721067698:cleanup_file_variables
>   ERROR: Job failed: exit code 1
>   
> 
> build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/61054440):
>   ../lib/i915/gem_engine_topology.c: In function ‘__open_primary’:
>   ../lib/i915/gem_engine_topology.c:482:36: error: expected ‘)’ before ‘break’
>     482 |       !strncmp(device, target, len)
>         |                                    ^
>         |                                    )
>     483 |    break;
>         |    ~~~~~                            
>   ../lib/i915/gem_engine_topology.c:481:6: note: to match this ‘(’
>     481 |   if (readlinkat(dir, "device", device, sizeof(device)) == len &&
>         |      ^
>   ../lib/i915/gem_engine_topology.c:487:2: error: expected expression before ‘}’ token
>     487 |  }
>         |  ^
>   ninja: build stopped: subcommand failed.
>   section_end:1721067707:step_script
>   section_start:1721067707:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1721067708: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/61054444):
>   ninja: Entering directory `build'
>   [1/1847] Generating version.h with a custom command.
>   [2/1845] Linking static target lib/libigt-i915_gem_context_c.a.
>   [3/1845] Compiling C object 'lib/76b5a35@@igt-i915_gem_engine_topology_c at sta/i915_gem_engine_topology.c.o'.
>   FAILED: lib/76b5a35@@igt-i915_gem_engine_topology_c at sta/i915_gem_engine_topology.c.o 
>   clang -Ilib/76b5a35@@igt-i915_gem_engine_topology_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-conversion -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 -D_LARGEFILE64_SOURCE=1 -fPIC -pthread '-DIGT_DATADIR="/usr/local/share/igt-gpu-tools"' '-DIGT_SRCDIR="/builds/gfx-ci/igt-ci-tags/tests"' '-DIGT_LOG_DOMAIN="i915/gem_engine_topology"' -MD -MQ 'lib/76b5a35@@igt-i915_gem_engine_topology_c at sta/i915_gem_engine_topology.c.o' -MF 'lib/76b5a35@@igt-i915_gem_engine_topology_c at sta/i915_gem_engine_topology.c.o.d' -o 'lib/76b5a35@@igt-i915_gem_engine_topology_c at sta/i915_gem_engine_topology.c.o' -c ../lib/i915/gem_engine_topology.c
>   ../lib/i915/gem_engine_topology.c:483:4: error: expected ')'
>                           break;
>                           ^
>   ../lib/i915/gem_engine_topology.c:481:6: note: to match this '('
>                   if (readlinkat(dir, "device", device, sizeof(device)) == len &&
>                      ^
>   1 error generated.
>   ninja: build stopped: subcommand failed.
>   section_end:1721067710:step_script
>   section_start:1721067710:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1721067711: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/61054443):
>   ../lib/i915/gem_engine_topology.c: In function ‘__open_primary’:
>   ../lib/i915/gem_engine_topology.c:482:36: error: expected ‘)’ before ‘break’
>     482 |       !strncmp(device, target, len)
>         |                                    ^
>         |                                    )
>     483 |    break;
>         |    ~~~~~                            
>   ../lib/i915/gem_engine_topology.c:481:6: note: to match this ‘(’
>     481 |   if (readlinkat(dir, "device", device, sizeof(device)) == len &&
>         |      ^
>   ../lib/i915/gem_engine_topology.c:487:2: error: expected expression before ‘}’ token
>     487 |  }
>         |  ^
>   ninja: build stopped: subcommand failed.
>   section_end:1721067696:step_script
>   section_start:1721067696:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1721067697: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/61054441):
>   ../lib/i915/gem_engine_topology.c: In function ‘__open_primary’:
>   ../lib/i915/gem_engine_topology.c:482:36: error: expected ‘)’ before ‘break’
>     482 |       !strncmp(device, target, len)
>         |                                    ^
>         |                                    )
>     483 |    break;
>         |    ~~~~~                            
>   ../lib/i915/gem_engine_topology.c:481:6: note: to match this ‘(’
>     481 |   if (readlinkat(dir, "device", device, sizeof(device)) == len &&
>         |      ^
>   ../lib/i915/gem_engine_topology.c:487:2: error: expected expression before ‘}’ token
>     487 |  }
>         |  ^
>   ninja: build stopped: subcommand failed.
>   section_end:1721067698:step_script
>   section_start:1721067698:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1721067699: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/61054442):
>   ../lib/i915/gem_engine_topology.c: In function ‘__open_primary’:
>   ../lib/i915/gem_engine_topology.c:482:36: error: expected ‘)’ before ‘break’
>     482 |       !strncmp(device, target, len)
>         |                                    ^
>         |                                    )
>     483 |    break;
>         |    ~~~~~                            
>   ../lib/i915/gem_engine_topology.c:481:6: note: to match this ‘(’
>     481 |   if (readlinkat(dir, "device", device, sizeof(device)) == len &&
>         |      ^
>   ../lib/i915/gem_engine_topology.c:487:2: error: expected expression before ‘}’ token
>     487 |  }
>         |  ^
>   ninja: build stopped: subcommand failed.
>   section_end:1721067688:step_script
>   section_start:1721067688:cleanup_file_variables
>   Cleaning up project directory and file based variables
>   section_end:1721067688:cleanup_file_variables
>   ERROR: Job failed: exit code 1
> 
> == Logs ==
> 
> For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1224761
> 



More information about the igt-dev mailing list