python test failed
gst-python's build tests are failing
This issue was originally reported at : https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3405 meson build logs :
14726 ================================== 561/572 ===================================
14727 test: gst-editing-services / pythontests
14728 start time: 07:04:15
14729 duration: 0.46s
14730 result: exit status 1
14731 command: CK_DEFAULT_TIMEOUT=20 GST_REGISTRY=/mnt/gstreamer.build/subprojects/gst-editing-services/tests/check/scenarios.registry MALLOC_PERTURB_=79 GST_STATE_IGNORE_ELEMENTS='' ASAN_OPTIONS=hal t_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 GST_PLUGIN_SYSTEM_PATH_1_0='' GST_PLUGIN_PATH_1_0=/mnt/gstreamer.build GI_TYPELIB_PATH=/mnt/gstreamer.build/subprojects/gst-editing-services/tests/check/../../ges /mnt/gstreamer.build/subprojects/gst-devtools/validate/tools/gst-validate-launcher --pyunittest-dir /mnt/ gstreamer/subprojects/gst-editing-services/tests/check pyunittest --dump-on-failure
14732 ----------------------------------- stderr -----------------------------------
14733 Traceback (most recent call last):
14734 File "/mnt/gstreamer.build/subprojects/gst-devtools/validate/tools/gst-validate-launcher", line 55, in <module>
14735 exit(main(libsdir))
14736 ^^^^^^^^^^^^^
14737 File "/mnt/gstreamer/subprojects/gst-devtools/validate/launcher/main.py", line 647, in main
14738 res, options, tests_launcher = setup_launcher_from_args(sys.argv[1:])
14739 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14740 File "/mnt/gstreamer/subprojects/gst-devtools/validate/launcher/main.py", line 633, in setup_launcher_from_args
14741 if not tests_launcher.set_settings(options, []):
14742 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14743 File "/mnt/gstreamer/subprojects/gst-devtools/validate/launcher/baseclasses.py", line 1937, in set_settings
14744 if self._setup_testsuites() is False:
14745 ^^^^^^^^^^^^^^^^^^^^^^^^
14746 File "/mnt/gstreamer/subprojects/gst-devtools/validate/launcher/baseclasses.py", line 1880, in _setup_testsuites
14747 if testsuite.setup_tests(tester, self.options):
14748 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14749 File "/mnt/gstreamer/subprojects/gst-devtools/validate/launcher/testsuites/pyunittest.py", line 23, in setup_tests
14750 test_manager.list_tests()
14751 File "/mnt/gstreamer/subprojects/gst-devtools/validate/launcher/apps/pyunittest.py", line 66, in list_tests
14752 raise(_tests._exception)
14753 ImportError: Failed to import test module: python.test_assets
14754 Traceback (most recent call last):
14755 File "/opt/miniconda/lib/python3.11/unittest/loader.py", line 419, in _find_test_path
14756 module = self._get_module_from_name(name)
14757 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14758 File "/opt/miniconda/lib/python3.11/unittest/loader.py", line 362, in _get_module_from_name
14759 __import__(name)
14760 File "/mnt/gstreamer/subprojects/gst-editing-services/tests/check/python/test_assets.py", line 26, in <module>
14761 gi.require_version("Gst", "1.0")
14762 File "/usr/lib/python3/dist-packages/gi/__init__.py", line 126, in require_version
14763 raise ValueError('Namespace %s not available' % namespace)
14764 ValueError: Namespace Gst not available