gstbin 1.19.90 test times out on qemu x86_64
Claudius Heine
ch at denx.de
Wed Feb 2 11:45:29 UTC 2022
Hi,
I am currently looking into upgrading the gstreamer recipes for OE to
1.19.90 and have an issue with the gstbin testcase under qemu x86_64,
which times out. All other tests seem to succeed. Under aarch64 the
gstbin testcase seems to pass as well...
I also tested building a unpatched 1.19.90 gstreamer release inside qemu
and tested it via `ninja test`, where the gstbin testcase times out as
well. See appended log. There the `gst_gstsystemclock` test fails as well.
Any idea how why this could happen?
regards,
Claudius
```
root at qemux86-64:~/gstreamer# git status
HEAD detached at 1.19.90
nothing to commit, working tree clean
root at qemux86-64:~/gstreamer# rm -rf subprojects/gstreamer/build && mkdir
-p subprojects/gstreamer/build && cd subprojects/gstreamer/build &&
meson .. -Dintrospection=enabled -Ddoc=disabled -Dexamples=disabled
-Ddbghelp=disabled -Dnls=enabled -Dbash-completion=disabled
-Dcheck=enabled -Dcoretracers=disabled -Dgst_debug=true -Dlibdw=disabled
-Dtests=enabled -Dtools=enabled -Dtracer_hooks=false
-Dlibunwind=disabled && ninja test
The Meson build system
Version: 0.61.1
Source dir: /home/root/gstreamer/subprojects/gstreamer
Build dir: /home/root/gstreamer/subprojects/gstreamer/build
Build type: native build
Project name: gstreamer
Project version: 1.19.90
C compiler for the host machine: ccache cc (gcc 11.2.0 "cc (GCC) 11.2.0")
C linker for the host machine: cc ld.bfd 2.37.20210721
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Message: Disabling GLib cast checks
Has header "dlfcn.h" : YES
Has header "inttypes.h" : YES
Has header "memory.h" : YES
Has header "poll.h" : YES
Has header "stdint.h" : YES
Has header "stdio_ext.h" : YES
Has header "strings.h" : YES
Has header "string.h" : YES
Has header "sys/param.h" : YES
Has header "sys/poll.h" : YES
Has header "sys/prctl.h" : YES
Has header "sys/socket.h" : YES
Has header "sys/stat.h" : YES
Has header "sys/times.h" : YES
Has header "sys/time.h" : YES
Has header "sys/types.h" : YES
Has header "sys/utsname.h" : YES
Has header "sys/wait.h" : YES
Has header "ucontext.h" : YES
Has header "unistd.h" : YES
Has header "sys/resource.h" : YES
Has header "sys/uio.h" : YES
Checking whether type "struct tm" has member "tm_gmtoff" : YES
Checking for function "gmtime_r" : YES
Checking for function "sigaction" : YES
Checking for function "getrusage" : YES
Checking for function "fseeko" : YES
Checking for function "ftello" : YES
Checking for function "poll" : YES
Checking for function "ppoll" : YES
Checking for function "pselect" : YES
Checking for function "getpagesize" : YES
Checking for function "clock_gettime" : YES
Checking for function "clock_nanosleep" : YES
Checking for function "strnlen" : YES
Checking for function "getline" : YES
Checking for function "mkstemp" : YES
Checking for function "alarm" : YES
Checking for function "gettimeofday" : YES
Checking for function "localtime_r" : YES
Checking if "pthread_setname_np(const char*)" : links: YES
Header <pthread.h> has symbol "pthread_condattr_setclock" : YES
Header <pthread.h> has symbol "pthread_cond_timedwait_relative_np" : NO
Checking if "futex(2) system call" : links: YES
Checking if "posix timers from time.h" : compiles: YES
Checking if "monotonic clock from time.h" : compiles: YES
Checking if "__uint128_t available" : compiles: YES
Checking for function "getpid" : YES
Checking for function "strdup" : YES
Checking for function "strsignal" : YES
Checking for type "clockid_t" : YES
Checking for type "timer_t" : YES
Checking whether type "struct timespec" has members "tv_sec", "tv_nsec"
: YES
Checking whether type "struct itimerspec" has members "it_interval",
"it_value" : YES
Dependency libunwind skipped: feature libunwind disabled
Dependency libdw skipped: feature libdw disabled
Has header "dbghelp.h" skipped: feature dbghelp disabled
Checking for function "backtrace" : YES
Message: Minimal support for stack traces, no source info.
Has header "execinfo.h" : YES
Checking for function "backtrace" : YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wredundant-decls: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wformat: YES
Compiler for C supports arguments -Wformat-nonliteral: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Waddress: YES
Compiler for C supports arguments -Waggregate-return: YES
Compiler for C supports arguments -Wno-multichar: YES
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Wvla: YES
Compiler for C supports arguments -Wpointer-arith: YES
Library gmp found: YES
Library gsl found: NO
Library gslcblas found: NO
Library dl found: YES
Checking for function "dladdr" with dependency -ldl: YES
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency glib-2.0 found: YES 2.70.2
Run-time dependency gobject-2.0 found: YES 2.70.2
Run-time dependency gmodule-2.0 found: YES 2.70.2
Run-time dependency gio-2.0 found: YES 2.70.2
Run-time dependency gio-unix-2.0 found: YES 2.70.2
Library m found: YES
Library rt found: YES
Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Program python3 found: YES (/usr/bin/python3)
WARNING: Python files installed by Meson might not be found by python
interpreter.
This warning can be avoided by setting "python.platlibdir" option.
WARNING: Python files installed by Meson might not be found by python
interpreter.
This warning can be avoided by setting "python.purelibdir" option.
Dependency bash-completion skipped: feature bash-completion disabled
Configuring gstconfig.h using configuration
Configuring gstversion.h using configuration
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program flex found: YES (/usr/bin/flex)
Program get_flex_version.py found: YES
(/home/root/gstreamer/subprojects/gstreamer/gst/parse/get_flex_version.py)
Message: flex version 2.6.4 >= 2.5.31: YES
Configuring gen_lex.py using configuration
Program bison found: YES (/usr/bin/bison)
Message: bison version 3.8.2 >= 2.4: YES
Configuring grammar.y using configuration
Configuring gen_grammar.py using configuration
Compiler for C supports arguments -Wno-format-nonliteral: YES
Checking if "long long" : compiles: YES
Checking if "uintmax_t in inttypes.h" : compiles: YES
Checking if "uintmax_t in stdint.h" : compiles: YES
Run-time dependency gobject-introspection-1.0 found: YES 1.70.0
Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached)
Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached)
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Message: PTP supported on linux.
Checking if "SIOCGIFCONF, SIOCGIFFLAGS and SIOCGIFHWADDR available" :
compiles: YES
Checking if "getifaddrs() and AF_LINK available" : compiles: NO
Program setcap /usr/sbin/setcap /sbin/setcap found: NO
Run-time dependency libcap found: YES 2.62
Message: How to install gst-ptp-helper: setuid-root
Configuring libgstreamer-1.0.so.0.1990.0-gdb.py using configuration
Configuring check.h using configuration
Compiler for C supports arguments -Wno-undef: YES
Compiler for C supports arguments -Wno-redundant-decls: YES
Compiler for C supports arguments -Wno-missing-prototypes: YES
Compiler for C supports arguments -Wno-missing-declarations: YES
Compiler for C supports arguments -Wno-old-style-definition: YES
Compiler for C supports arguments -Wno-declaration-after-statement: YES
Compiler for C supports arguments -Wno-format-nonliteral: YES (cached)
Compiler for C supports arguments
-Wno-tautological-constant-out-of-range-compare: NO
Configuring internal-check.h using configuration
C++ compiler for the host machine: ccache c++ (gcc 11.2.0 "c++ (GCC)
11.2.0")
C++ linker for the host machine: c++ ld.bfd 2.37.20210721
Program
/home/root/gstreamer/subprojects/gstreamer/build/docs/gst-plugins-doc-cache-generator
found: YES
(/home/root/gstreamer/subprojects/gstreamer/build/docs/gst-plugins-doc-cache-generator)
Program hotdoc skipped: feature doc disabled
Message: Hotdoc not found, not building the documentation
Program xgettext found: YES (/usr/bin/xgettext)
Program scripts/extract-release-date-from-doap-file.py found: YES
(/home/root/gstreamer/subprojects/gstreamer/scripts/extract-release-date-from-doap-file.py)
Message: Package release date: 2022-01-28
Configuring config.h using configuration
Build targets in project: 194
gstreamer 1.19.90
Plugins : coreelements
User defined options
bash-completion: disabled
check : enabled
coretracers : disabled
dbghelp : disabled
doc : disabled
examples : disabled
gst_debug : true
introspection : enabled
libdw : disabled
libunwind : disabled
nls : enabled
tests : enabled
tools : enabled
tracer_hooks : false
Found ninja-1.10.2 at /usr/bin/ninja
[464/474] Generating gst/Gst-1.0.gir with a custom command
../gst/gstchildproxy.h:57: Error: Gst: identifier not found on the first
line:
* #GstChildProxyInterface::get_child_by_name:
^
../gst/gstchildproxy.h:68: Error: Gst: identifier not found on the first
line:
* #GstChildProxyInterface::get_child_by_index:
^
../gst/gstchildproxy.h:79: Error: Gst: identifier not found on the first
line:
* #GstChildProxyInterface::get_children_count:
^
../gst/gstchildproxy.h:92: Error: Gst: identifier not found on the first
line:
* #GstChildProxyInterface::child_added:
^
../gst/gstchildproxy.h:102: Error: Gst: identifier not found on the
first line:
* #GstChildProxyInterface::child_removed:
^
[473/474] Running all tests.
1/106 gst_gstabi OK 0.44s
2/106 gst_gst OK 0.57s
3/106 gst_gstatomicqueue OK 0.57s
4/106 validate.simplest OK 0.80s
1 subtests passed
5/106 gst_gstbuffer OK 0.71s
6/106 gst_gstbufferpool OK 0.62s
7/106 gst_gstchildproxy OK 0.52s
8/106 gst_gstbufferlist OK 0.85s
9/106 gst_gstclock OK 0.46s
10/106 gst_gstcontext OK 0.57s
11/106 gst_gstcontroller OK 0.66s
12/106 gst_gstdeinit OK 0.11s
13/106 gst_gstcapsfeatures OK 0.51s
14/106 gst_gstcaps OK 0.96s
15/106 gst_gstdatetime OK 0.69s
16/106 gst_gstdevice OK 0.52s
17/106 gst_gstelementfactory OK 0.57s
18/106 gst_gstiterator OK 0.59s
19/106 gst_gstghostpad OK 1.45s
20/106 gst_gstmessage OK 0.51s
21/106 gst_gstmemory OK 0.70s
22/106 gst_gstmeta OK 0.71s
23/106 gst_gstminiobject OK 1.05s
24/106 gst_gstobject OK 1.33s
25/106 gst_gstparamspecs OK 0.60s
26/106 gst_gstprintf OK 0.51s
27/106 gst_gstpad OK 1.78s
28/106 gst_gstinfo OK 5.33s
29/106 gst_gstplugin OK 0.61s
30/106 gst_gstpipeline OK 1.37s
31/106 gst_gstpreset OK 0.54s
32/106 gst_gstprotection OK 0.51s
33/106 gst_gstquery OK 0.52s
34/106 gst_gstregistry OK 0.61s
35/106 gst_gstsegment OK 0.92s
36/106 gst_gstpromise OK 1.39s
37/106 gst_gststream OK 0.54s
38/106 gst_gststructure OK 0.78s
39/106 gst_gsttag OK 0.64s
40/106 gst_gstelement OK 11.16s
41/106 gst_gstpoll OK 5.92s
42/106 gst_gsttoc OK 0.57s
43/106 gst_gsttagsetter OK 2.00s
44/106 gst_gsturi OK 0.98s
45/106 gst_gsttask OK 2.58s
46/106 gst_gsttocsetter OK 2.04s
47/106 gst_gstutils OK 1.27s
48/106 generic_states OK 0.74s
49/106 gst_gstvalue OK 1.38s
50/106 libs_baseparse OK 4.08s
51/106 libs_basesrc OK 1.29s
52/106 libs_basesink OK 1.04s
53/106 libs_bitreader OK 0.78s
54/106 libs_bitwriter OK 0.60s
55/106 libs_bytereader OK 0.81s
56/106 libs_bytewriter OK 0.75s
57/106 libs_adapter OK 10.58s
58/106 libs_bitreader_noinline OK 0.71s
59/106 libs_bytewriter_noinline OK 0.69s
60/106 libs_bytereader_noinline OK 0.87s
61/106 libs_collectpads OK 1.14s
62/106 libs_controller OK 1.21s
63/106 libs_flowcombiner OK 0.72s
64/106 libs_gstnetclientclock OK 2.12s
65/106 libs_gstnettimeprovider OK 1.05s
66/106 libs_gstharness OK 4.17s
67/106 libs_libsabi OK 1.38s
68/106 libs_gsttestclock OK 2.81s
69/106 gst_gstsystemclock FAIL 24.89s
exit status 1
>>> MALLOC_PERTURB_=199 GST_PLUGIN_LOADING_WHITELIST=gstreamer
GST_STATE_IGNORE_ELEMENTS='' CK_DEFAULT_TIMEOUT=20
GST_PLUGIN_SYSTEM_PATH_1_0=''
GST_REGISTRY=/home/root/gstreamer/subprojects/gstreamer/build/tests/check/gst_gstsystemclock.registry
GST_PLUGIN_SCANNER_1_0=/home/root/gstreamer/subprojects/gstreamer/build/libs/gst/helpers/gst-plugin-scanner
GST_PLUGIN_PATH_1_0=/home/root/gstreamer/subprojects/gstreamer/build
/home/root/gstreamer/subprojects/gstreamer/build/tests/check/gst_gstsystemclock
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Running suite(s): GstSystemClock
87%: Checks: 8, Failures: 0, Errors: 1
../tests/check/gst/gstsystemclock.c:219:E:waiting:test_resolution:0:
(after this point) Test timeout expired
Check suite gst_systemclock ran in 24.368s (tests failed: 1)
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
70/106 libs_sparsefile OK 1.54s
71/106 libs_transform2 OK 0.53s
72/106 libs_transform1 OK 0.75s
73/106 libs_typefindhelper OK 0.44s
74/106 libs_queuearray OK 0.58s
75/106 elements_capsfilter OK 0.67s
76/106 elements_clocksync OK 0.66s
77/106 elements_concat OK 0.52s
78/106 elements_dataurisrc OK 0.62s
79/106 libs_aggregator OK 21.47s
80/106 elements_fdsrc OK 0.54s
81/106 elements_fakesrc OK 0.86s
82/106 elements_filesrc OK 0.61s
83/106 elements_identity OK 0.66s
84/106 elements_filesink OK 1.29s
85/106 elements_funnel OK 1.60s
86/106 elements_streamiddemux OK 1.72s
87/106 elements_tee OK 1.31s
88/106 elements_selector OK 2.41s
89/106 elements_multiqueue OK 3.10s
90/106 elements_valve OK 0.57s
91/106 pipelines_queue_error OK 1.16s
92/106 elements_queue OK 2.91s
93/106 elements_queue2 OK 2.87s
94/106 pipelines_cleanup OK 0.49s
95/106 pipelines_parse_launch OK 0.84s
96/106 tools_gstinspect OK 0.43s
97/106 pipelines_simple_launch_lines OK 2.26s
98/106 pipelines_seek OK 8.06s
99/106 gst_gstevent OK 2.59s
100/106 elements_fakesink OK 11.57s
101/106 gst_gstbus OK 11.95s
102/106 gst_gstcpp OK 0.38s
103/106 libs_gstlibscpp OK 0.38s
104/106 generic_sinks OK 4.92s
105/106 pipelines_stress OK 11.11s
106/106 gst_gstbin TIMEOUT 180.06s
killed by signal 15 SIGTERM
>>> GST_PLUGIN_LOADING_WHITELIST=gstreamer GST_STATE_IGNORE_ELEMENTS=''
CK_DEFAULT_TIMEOUT=20
GST_REGISTRY=/home/root/gstreamer/subprojects/gstreamer/build/tests/check/gst_gstbin.registry
GST_PLUGIN_SYSTEM_PATH_1_0=''
GST_PLUGIN_SCANNER_1_0=/home/root/gstreamer/subprojects/gstreamer/build/libs/gst/helpers/gst-plugin-scanner
MALLOC_PERTURB_=150
GST_PLUGIN_PATH_1_0=/home/root/gstreamer/subprojects/gstreamer/build
/home/root/gstreamer/subprojects/gstreamer/build/tests/check/gst_gstbin
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Running suite(s): GstBin
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Summary of Failures:
69/106 gst_gstsystemclock FAIL 24.89s exit
status 1
106/106 gst_gstbin TIMEOUT 180.06s killed by
signal 15 SIGTERM
Ok: 104
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 1
Full log written to
/home/root/gstreamer/subprojects/gstreamer/build/meson-logs/testlog.txt
FAILED: meson-test
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
```
More information about the gstreamer-devel
mailing list