GNOME Bugzilla – Bug 706586
Check test suite fails on Windows
Last modified: 2018-11-03 12:51:55 UTC
Created attachment 252754 [details] Log of make check (2 tests running separately) The tests have to be run with CK_FORK=no, otherwise 14 of 15 tests fail. $ CK_FORK=no make check This is a problem of all gstreamer test suites https://bugzilla.gnome.org/show_bug.cgi?id=697693 The test suite does not finish, because 2 tests freeze (project and mixers). The suite does not kill them after a timeout. They have to be removed manually from check_PROGRAMS in tests/check/Makefile. * mixer test completes with 100%, but does not terminate. * project test freezes after complaining about parser errors and freezes before showing the score. Without the freezing tests, the test suite completes with "3 of 13 tests failed". The failing tests are basic, uriclip and timelineedition. * basic crashes in glib, as described in this bug report: https://bugzilla.gnome.org/show_bug.cgi?id=706584 * uriclip prints errors and crashes at ges/uriclip.c:150 * timelineedition has an critical error Unexpected critical/warning: g_object_set_valist: object class `GESCustomSourceClip' has no property named `'(((GESTimelineElement*)trackelement2)->duration)' (%I64u) is not equal to '60' (%I64u)' There are tests that have errors but do not fail: * layer has a gnonlin error gnlcomposition gnlcomposition.c:2293:compare_relink_single_node: Not enough sinkpads to link all objects to the operation ! 2 / 1 * simplelayer has ges errors ges ges-simple-layer.c:226:gstl_recalculate: two transitions in sequence! ges ges-simple-layer.c:248:gstl_recalculate: 0, 500000000: overlapping transitions! * transition has a gnonlin error gnlcomposition gnlcomposition.c:2295:compare_relink_single_node: Operation has no child objects to be connected to !!! So i would say 8 out of 15 fail ;)
Created attachment 252755 [details] Backtrace of the uriclip crash
Created attachment 252756 [details] make check log without CK_FORK=no
Important to notice that on Windows every test is running in the same process, there's no process per test as fork() does not exist on Windows.
BTW, the integration tests don't start $ make check-integration cd tests/check && make check-integration make[1]: Entering directory `/c/Users/bmonkey/cerbero/sources/windows_x86/gst-editing-services-git-None/tests/check' ./integration Error0:00:00.319829739 5792 074B5BA0 ERROR check integration.c:1080:main: error generating necessary test files in rendering test make[1]: *** [check-integration] Error 1 make[1]: Leaving directory `/c/Users/bmonkey/cerbero/sources/windows_x86/gst-editing-services-git-None/tests/check' make: *** [check-integration] Error 2
Lubosz, is this still valid ?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-editing-services/issues/11.