elements_filesink: Test failure on Linux/musl
Describe your issue
The elements_filesink
test fails when run on a Linux computer using musl libc.
Expected Behavior
The test to succeed.
Observed Behavior
Running suite(s): filesink
75%: Checks: 4, Failures: 1, Errors: 0
../tests/check/elements/filesink.c:402:F:general:test_coverage:0: 'gst_element_set_state (filesink, GST_STATE_PLAYING)' (2) is not equal to 'GST_STATE_CHANGE_FAILURE' (0)
Check suite filesink ran in 0.211s (tests failed: 1)
Setup
- Operating System: Adélie Linux (development release), though it appears to also occur on at least Void and Alpine
- Device: Computer: Talos II workstation (POWER9); Virtual Machine: Linux on Apple M1 in Parallels
- GStreamer Version: 1.20.1
-
Command line:
_build/tests/check/elements_filesink
Steps to reproduce the bug
ninja test
(or meson test
)
How reproducible is the bug?
Always.
Solutions you have tried
Poke around source code, look for obvious issues, review strace and gst debug logs.
Additional Information
Logs are attached.
- strace(1) logs showing that
/i/do/not/exist
is correctly returning -ENOENT: strace-logs.tar.xz - Output of
GST_DEBUG=*:6
: gstdebug.log.xz