tests:core: check.gstreamer.gst_gstbin.test_watch_for_state_change sometimes times out
I wasn't able to reproduce locally and the trace from the CI is useless (we should fix that) it happened only once on my 100 runs but then it happened right away in the MR: https://gitlab.freedesktop.org/thiblahute/gstreamer/-/jobs/14601028.
Marking that test as flaky for now:
check.gstreamer.gst_gstbin.test_watch_for_state_change
Command
GST_PLUGIN_LOADING_WHITELIST='gstreamer' GST_PLUGIN_SYSTEM_PATH_1_0='' GST_PLUGIN_SCANNER_1_0='/builds/thiblahute/gstreamer/build/subprojects/gstreamer/libs/gst/helpers/gst-plugin-scanner' GST_CHECKS='test_watch_for_state_change' CK_TIMEOUT_MULTIPLIER='2.0' GST_REGISTRY='/builds/thiblahute/gstreamer/build/registry.dat' CK_DEFAULT_TIMEOUT='20' GST_STATE_IGNORE_ELEMENTS='' /builds/thiblahute/gstreamer/build/subprojects/gstreamer/tests/check/gst_gstbin
gst_gstbin output
Running suite(s): GstBin
Stack trace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Missing separate debuginfo for /lib64/libbrotlidec.so.1
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/29/87e1e2aff5420e3d57e5616ab0b0f9f668eef6.debug
Missing separate debuginfo for /lib64/libbrotlicommon.so.1
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/5f/d51e844866dcdc83f7dce2a3e6ee7526d1bd32.debug
0x00007fd99654ef1a in __GI___waitpid (pid=pid@entry=22060, stat_loc=stat_loc@entry=0x7ffc582413f4, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
30 return SYSCALL_CANCEL (wait4, pid, stat_loc, options, NULL);
warning: File "/builds/thiblahute/gstreamer/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /builds/thiblahute/gstreamer/.gdbinit
line to your configuration file "/root/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
Thread 1 (Thread 0x7fd996133740 (LWP 21294)):
#0 0x00007fd99654ef1a in __GI___waitpid (pid=pid@entry=22060, stat_loc=stat_loc@entry=0x7ffc582413f4, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1 0x00007fd996806b0d in tcase_run_tfun_fork (i=0, tfun=0x1c9ca60, tc=0x1cd6000, sr=0x1cd0ef0) at ../subprojects/gstreamer/libs/gst/check/libcheck/check_run.c:488
#2 srunner_iterate_tcase_tfuns (tc=0x1cd6000, sr=0x1cd0ef0) at ../subprojects/gstreamer/libs/gst/check/libcheck/check_run.c:239
#3 srunner_run_tcase (tc=0x1cd6000, sr=0x1cd0ef0) at ../subprojects/gstreamer/libs/gst/check/libcheck/check_run.c:379
#4 srunner_iterate_suites (print_mode=CK_SILENT, exclude_tags=<optimized out>, include_tags=<optimized out>, tcname=<optimized out>, sname=<optimized out>, sr=0x1cd0ef0) at ../subprojects/gstreamer/libs/gst/check/libcheck/check_run.c:207
#5 srunner_run_tagged (sr=sr@entry=0x1cd0ef0, sname=<optimized out>, sname@entry=0x0, tcname=<optimized out>, tcname@entry=0x0, include_tags=<optimized out>, include_tags@entry=0x0, exclude_tags=<optimized out>, exclude_tags@entry=0x0, print_mode=print_mode@entry=CK_NORMAL) at ../subprojects/gstreamer/libs/gst/check/libcheck/check_run.c:743
#6 0x00007fd996806fad in srunner_run (sr=sr@entry=0x1cd0ef0, sname=sname@entry=0x0, tcname=tcname@entry=0x0, print_mode=print_mode@entry=CK_NORMAL) at ../subprojects/gstreamer/libs/gst/check/libcheck/check_run.c:757
#7 0x00007fd996806fbb in srunner_run_all (sr=sr@entry=0x1cd0ef0, print_mode=print_mode@entry=CK_NORMAL) at ../subprojects/gstreamer/libs/gst/check/libcheck/check_run.c:695
#8 0x00007fd9967faeff in gst_check_run_suite (suite=suite@entry=0x1ce05e0, name=name@entry=0x410cc6 "gst_bin", fname=fname@entry=0x40e010 "../subprojects/gstreamer/tests/check/gst/gstbin.c") at ../subprojects/gstreamer/libs/gst/check/gstcheck.c:1086
#9 0x0000000000402783 in main (argc=<optimized out>, argv=<optimized out>) at ../subprojects/gstreamer/tests/check/gst/gstbin.c:1982
[Inferior 1 (process 21294) detached]
```0%: Checks: 1, Failures: 0, Errors: 1
../subprojects/gstreamer/tests/check/gst/gstbin.c:37:E:bin tests:test_watch_for_state_change:0: (after this point) Received signal 9 (Killed)
Check suite gst_bin ran in 721.456s (tests failed: 1)
**Duration**: 722.4202275276184
==> check.gstreamer.gst_gstbin.test_watch_for_state_change: Timeout 'Application timed out: 720.0 secs'