even after adding this additional test dependency and fixing the
s/assertEquals/assertEqual/ stuff, 3.12 fails the tests, while 3.11
succeeds.
[...]
cd build-3.12 && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8
MESON_TESTTHREADS=8 meson test
ninja: Entering directory
`/home/packages/12/gst-python1.0-1.22.6/build-3.12'
ninja: no work to do.
1/3 Test plugins FAIL 0.11s exit status 1
>>> MALLOC_PERTURB_=37
GST_OVERRIDE_SRC_PATH=/home/packages/12/gst-python1.0-1.22.6/testsuite/../gi/overrides
UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1
GST_OVERRIDE_BUILD_PATH=/home/packages/12/gst-python1.0-1.22.6/build-3.12/testsuite/../gi/overrides
GST_PLUGIN_PATH_1_0=/home/packages/12/gst-python1.0-1.22.6/build-3.12:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/home/packages/12/gst-python1.0-1.22.6/build-3.12/plugin:/home/packages/12/gst-python1.0-1.22.6/testsuite
GST_PLUGIN_LOADING_WHITELIST=gstreamer:gst-plugins-base:gst-python@/home/packages/12/gst-python1.0-1.22.6/build-3.12
GST_REGISTRY='/home/packages/12/gst-python1.0-1.22.6/build-3.12/testsuite/Test
plugins.registry' /usr/bin/python3.12
/home/packages/12/gst-python1.0-1.22.6/build-3.12/../testsuite/runtests.py
test_plugin.py
2/3 Test gst FAIL 0.23s exit status 1
>>>
GST_REGISTRY='/home/packages/12/gst-python1.0-1.22.6/build-3.12/testsuite/Test
gst.registry'
GST_OVERRIDE_SRC_PATH=/home/packages/12/gst-python1.0-1.22.6/testsuite/../gi/overrides
UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1
GST_OVERRIDE_BUILD_PATH=/home/packages/12/gst-python1.0-1.22.6/build-3.12/testsuite/../gi/overrides
GST_PLUGIN_PATH_1_0=/home/packages/12/gst-python1.0-1.22.6/build-3.12:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/home/packages/12/gst-python1.0-1.22.6/build-3.12/plugin:/home/packages/12/gst-python1.0-1.22.6/testsuite
MALLOC_PERTURB_=166
GST_PLUGIN_LOADING_WHITELIST=gstreamer:gst-plugins-base:gst-python@/home/packages/12/gst-python1.0-1.22.6/build-3.12
/usr/bin/python3.12
/home/packages/12/gst-python1.0-1.22.6/build-3.12/../testsuite/runtests.py
test_gst.py
3/3 Test fundamentals FAIL 0.40s exit status 1
>>>
GST_REGISTRY='/home/packages/12/gst-python1.0-1.22.6/build-3.12/testsuite/Test
fundamentals.registry'
GST_OVERRIDE_SRC_PATH=/home/packages/12/gst-python1.0-1.22.6/testsuite/../gi/overrides
UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1
GST_OVERRIDE_BUILD_PATH=/home/packages/12/gst-python1.0-1.22.6/build-3.12/testsuite/../gi/overrides
GST_PLUGIN_PATH_1_0=/home/packages/12/gst-python1.0-1.22.6/build-3.12:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/home/packages/12/gst-python1.0-1.22.6/build-3.12/plugin:/home/packages/12/gst-python1.0-1.22.6/testsuite
MALLOC_PERTURB_=253
GST_PLUGIN_LOADING_WHITELIST=gstreamer:gst-plugins-base:gst-python@/home/packages/12/gst-python1.0-1.22.6/build-3.12
/usr/bin/python3.12
/home/packages/12/gst-python1.0-1.22.6/build-3.12/../testsuite/runtests.py
test_types.py
Ok: 0
Expected Fail: 0
Fail: 3
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to
/home/packages/12/gst-python1.0-1.22.6/build-3.12/meson-logs/testlog.txt
cd build-3.12 && tail -v -n \+0 meson-logs/testlog.txt
==> meson-logs/testlog.txt <==
Log of Meson test suite run on 2024-01-06T12:45:07.532706
Inherited environment: DEB_HOST_GNU_SYSTEM=linux-gnu LESSOPEN='|
/usr/bin/lesspipe %s' DFLAGS=-frelease DEB_BUILD_ARCH_BITS=64
DEB_TARGET_GNU_CPU=x86_64 DEB_HOST_ARCH_OS=linux LC_TIME=de_DE.UTF-8
USER=doko ASFLAGS_FOR_BUILD='' CXXFLAGS='-g -O2
-ffile-prefix-map=/home/packages/12/gst-python1.0-1.22.6=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection'
DEB_BUILD_GNU_TYPE=x86_64-linux-gnu XDG_SESSION_TYPE=wayland
FFLAGS_FOR_BUILD='-g -O2' DEB_TARGET_MULTIARCH=x86_64-linux-gnu
OBJCFLAGS='-g -O2
-ffile-prefix-map=/home/packages/12/gst-python1.0-1.22.6=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection' DH_INTERNAL_OPTIONS=''
DEB_BUILD_ARCH_CPU=amd64 SHLVL=3 DEB_HOST_ARCH_LIBC=gnu
DEB_HOST_ARCH_ABI=base OLDPWD=/home/packages/12
HOME=/home/packages/12/gst-python1.0-1.22.6/debian/.debhelper/generated/_source/home
DESKTOP_SESSION=ubuntu SCHROOT_CHROOT_NAME=sid-amd64
GNOME_SHELL_SESSION_MODE=ubuntu DEB_BUILD_ARCH_ENDIAN=little
DFLAGS_FOR_BUILD=-frelease GTK_MODULES=gail:atk-bridge
LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs'
QUILT_PATCHES=debian/patches DEB_TARGET_ARCH_BITS=64
LC_MONETARY=de_DE.UTF-8 DEB_BUILD_GNU_SYSTEM=linux-gnu MAKEFLAGS=w
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
IM_CONFIG_CHECK_ENV=1 SYSTEMD_EXEC_PID=7257 SCHROOT_UID=1000
CXXFLAGS_FOR_BUILD='-g -O2' COLORTERM=truecolor OBJCFLAGS_FOR_BUILD='-g
-O2' DEB_BUILD_ARCH_OS=linux
DEBUGINFOD_URLS='https://debuginfod.ubuntu.com '
DEB_TARGET_GNU_TYPE=x86_64-linux-gnu WAYLAND_DISPLAY=wayland-0
DEB_TARGET_ARCH_CPU=amd64 IM_CONFIG_PHASE=1 LOGNAME=doko
DEB_LDFLAGS_MAINT_APPEND='-Wl,-O1 -Wl,-z,defs' DEB_BUILD_ARCH_LIBC=gnu
DEB_BUILD_ARCH_ABI=base _=/usr/bin/dpkg-buildpackage
XDG_SESSION_CLASS=user DEB_HOST_ARCH=amd64 LDFLAGS_FOR_BUILD=''
DEB_TARGET_ARCH_ENDIAN=little USERNAME=doko TERM=screen.xterm-256color
DH_INTERNAL_OVERRIDE=dh_auto_test
GNOME_DESKTOP_SESSION_ID=this-is-deprecated DEB_HOST_GNU_CPU=x86_64
DEB_TARGET_GNU_SYSTEM=linux-gnu
PATH=/home/doko/bin:/home/doko/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
SESSION_MANAGER=local/x19:@/tmp/.ICE-unix/5037,unix/x19:/tmp/.ICE-unix/5037
LC_ADDRESS=de_DE.UTF-8
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/b2e31590_6e0a_4fc5_a2ba_c403e790ba22
GNOME_SETUP_DISPLAY=:1 DEB_TARGET_ARCH_OS=linux CFLAGS='-g -O2
-ffile-prefix-map=/home/packages/12/gst-python1.0-1.22.6=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection' XDG_MENU_PREFIX=gnome-
MAKELEVEL=2 DEB_HOST_MULTIARCH=x86_64-linux-gnu
SOURCE_DATE_EPOCH=1698854797 FCFLAGS='-g -O2
-ffile-prefix-map=/home/packages/12/gst-python1.0-1.22.6=.
-fstack-protector-strong -fstack-clash-protection -fcf-protection'
SCHROOT_SESSION_ID=sid-amd64-89864d31-572f-4845-bb67-99873fde7a89
DISPLAY=:0 SCHROOT_COMMAND=/bin/bash OBJCXXFLAGS='-g -O2
-ffile-prefix-map=/home/packages/12/gst-python1.0-1.22.6=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection' LANG=en_US.UTF-8
SCHROOT_ALIAS_NAME=sid-amd64 LC_TELEPHONE=de_DE.UTF-8
XDG_CURRENT_DESKTOP=ubuntu:GNOME STY=8832.pts-3.x19
DEB_TARGET_ARCH_LIBC=gnu
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.PLJQG2
GNOME_TERMINAL_SERVICE=:1.137 XDG_SESSION_DESKTOP=ubuntu
XMODIFIERS=@im=ibus
LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:'
DEB_TARGET_ARCH_ABI=base SSH_AGENT_LAUNCHER=openssh
DEB_BUILD_OPTIONS=parallel=8 SCHROOT_GROUP=doko
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh SCHROOT_USER=doko
CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' DH_INTERNAL_BUILDFLAGS=1
LC_NAME=de_DE.UTF-8 SHELL=/bin/bash QT_ACCESSIBILITY=1 GDMSESSION=ubuntu
DEB_HOST_ARCH_BITS=64 DEB_BUILD_ARCH=amd64 LESSCLOSE='/usr/bin/lesspipe
%s %s' LC_MEASUREMENT=de_DE.UTF-8 DEB_BUILD_MAINT_OPTIONS=hardening=+all
CFLAGS_FOR_BUILD='-g -O2' WINDOW=3 DEB_BUILD_GNU_CPU=x86_64
LC_IDENTIFICATION=de_DE.UTF-8 ASFLAGS=''
DEB_HOST_GNU_TYPE=x86_64-linux-gnu FCFLAGS_FOR_BUILD='-g -O2'
QT_IM_MODULE=ibus OBJCXXFLAGS_FOR_BUILD='-g -O2'
PWD=/home/packages/12/gst-python1.0-1.22.6 DEB_HOST_ARCH_CPU=amd64
DEB_RULES_REQUIRES_ROOT=no FFLAGS='-g -O2
-ffile-prefix-map=/home/packages/12/gst-python1.0-1.22.6=.
-fstack-protector-strong -fstack-clash-protection -fcf-protection'
DEB_BUILD_MULTIARCH=x86_64-linux-gnu LC_NUMERIC=de_DE.UTF-8
CPPFLAGS_FOR_BUILD=''
QTWEBENGINE_DICTIONARIES_PATH=/usr/share/hunspell-bdic/
TERMCAP='SC|screen.xterm-256color|VT 100/ANSI X3.64 virtual
terminal:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:li#48:co#96:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:se=\E[23m:mb=\E[5m:md=\E[1m:mh=\E[2m:mr=\E[7m:me=\E[m:ms:Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:vb=\Eg:G0:as=\E(0:ae=\E(B:ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:po=\E[5i:pf=\E[4i:Km=\E[<:k0=\E[10~:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:kB=\E[Z:kh=\E[1~:@1=\E[1~:kH=\E[4~:@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:km:'
SCHROOT_GID=1000 MFLAGS=-w LC_PAPER=de_DE.UTF-8
DEB_HOST_ARCH_ENDIAN=little VTE_VERSION=7400 DEB_TARGET_ARCH=amd64
XDG_RUNTIME_DIR=/tmp/dh-xdg-rundir-yjZUO1cd LC_ALL=C.UTF-8
MESON_TESTTHREADS=8 DEB_PYTHON_INSTALL_LAYOUT=deb
==================================== 1/3
=====================================
test: Test plugins
start time: 11:45:07
duration: 0.11s
result: exit status 1
command: MALLOC_PERTURB_=37
GST_OVERRIDE_SRC_PATH=/home/packages/12/gst-python1.0-1.22.6/testsuite/../gi/overrides
UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1
GST_OVERRIDE_BUILD_PATH=/home/packages/12/gst-python1.0-1.22.6/build-3.12/testsuite/../gi/overrides
GST_PLUGIN_PATH_1_0=/home/packages/12/gst-python1.0-1.22.6/build-3.12:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/home/packages/12/gst-python1.0-1.22.6/build-3.12/plugin:/home/packages/12/gst-python1.0-1.22.6/testsuite
GST_PLUGIN_LOADING_WHITELIST=gstreamer:gst-plugins-base:gst-python@/home/packages/12/gst-python1.0-1.22.6/build-3.12
GST_REGISTRY='/home/packages/12/gst-python1.0-1.22.6/build-3.12/testsuite/Test
plugins.registry' /usr/bin/python3.12
/home/packages/12/gst-python1.0-1.22.6/build-3.12/../testsuite/runtests.py
test_plugin.py
----------------------------------- stderr
-----------------------------------
** (gst-plugin-scanner:1988431): CRITICAL **: 12:45:07.625:
gi.repository.Gst is no dict
E
======================================================================
ERROR: testLoad (test_plugin.TestPlugin.testLoad)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_plugin.py", line
34, in testLoad
p = Gst.parse_launch ("fakesrc ! test_identity_py name=id ! fakesink")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: gst_parse_error: no element
"test_identity_py" (1)
----------------------------------------------------------------------
Ran 1 test in 0.058s
FAILED (errors=1)
==============================================================================
==================================== 2/3
=====================================
test: Test gst
start time: 11:45:07
duration: 0.23s
result: exit status 1
command:
GST_REGISTRY='/home/packages/12/gst-python1.0-1.22.6/build-3.12/testsuite/Test
gst.registry'
GST_OVERRIDE_SRC_PATH=/home/packages/12/gst-python1.0-1.22.6/testsuite/../gi/overrides
UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1
GST_OVERRIDE_BUILD_PATH=/home/packages/12/gst-python1.0-1.22.6/build-3.12/testsuite/../gi/overrides
GST_PLUGIN_PATH_1_0=/home/packages/12/gst-python1.0-1.22.6/build-3.12:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/home/packages/12/gst-python1.0-1.22.6/build-3.12/plugin:/home/packages/12/gst-python1.0-1.22.6/testsuite
MALLOC_PERTURB_=166
GST_PLUGIN_LOADING_WHITELIST=gstreamer:gst-plugins-base:gst-python@/home/packages/12/gst-python1.0-1.22.6/build-3.12
/usr/bin/python3.12
/home/packages/12/gst-python1.0-1.22.6/build-3.12/../testsuite/runtests.py
test_gst.py
----------------------------------- stderr
-----------------------------------
** (gst-plugin-scanner:1988430): CRITICAL **: 12:45:07.621:
gi.repository.Gst is no dict
.EEEEEEEEE
======================================================================
ERROR: test_map_unmap_context
(test_gst.TestBufferMap.test_map_unmap_context)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/packages/12/gst-python1.0-1.22.6/testsuite/test_gst.py",
line 110, in test_map_unmap_context
with buf.map(Gst.MapFlags.READ | Gst.MapFlags.WRITE) as info:
TypeError: '_ResultTuple' object does not support the context manager
protocol
======================================================================
ERROR: test_map_unmap_manual (test_gst.TestBufferMap.test_map_unmap_manual)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/packages/12/gst-python1.0-1.22.6/testsuite/test_gst.py",
line 102, in test_map_unmap_manual
self.assertEqual(info.data[0], 42)
^^^^^^^^^
AttributeError: '_ResultTuple' object has no attribute 'data'
======================================================================
ERROR: testNotDeinitialized
(test_gst.TestNotInitialized.testNotDeinitialized)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/packages/12/gst-python1.0-1.22.6/testsuite/test_gst.py",
line 65, in testNotDeinitialized
assert_type = Gst.NotInitialized
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gi/module.py", line 126, in
__getattr__
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gst' object has no attribute
'NotInitialized'. Did you mean: 'is_initialized'?
======================================================================
ERROR: testNotInitialized (test_gst.TestNotInitialized.testNotInitialized)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/packages/12/gst-python1.0-1.22.6/testsuite/test_gst.py",
line 43, in testNotInitialized
assert_type = Gst.NotInitialized
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gi/module.py", line 126, in
__getattr__
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gst' object has no attribute
'NotInitialized'. Did you mean: 'is_initialized'?
======================================================================
ERROR: test_new (test_gst.TestStructure.test_new)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/packages/12/gst-python1.0-1.22.6/testsuite/test_gst.py",
line 84, in test_new
self.assertEqual(test['test'], 1)
~~~~^^^^^^^^
TypeError: 'Structure' object is not subscriptable
======================================================================
ERROR: testClockTimeNone (test_gst.TimeArgsTest.testClockTimeNone)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/packages/12/gst-python1.0-1.22.6/testsuite/test_gst.py",
line 35, in testClockTimeNone
self.assertEqual(Gst.TIME_ARGS(Gst.CLOCK_TIME_NONE), 'CLOCK_TIME_NONE')
^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gi/module.py", line 126, in
__getattr__
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gst' object has no attribute 'TIME_ARGS'
======================================================================
ERROR: testNoneTime (test_gst.TimeArgsTest.testNoneTime)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/packages/12/gst-python1.0-1.22.6/testsuite/test_gst.py",
line 29, in testNoneTime
self.assertRaises(TypeError, Gst.TIME_ARGS, None)
^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gi/module.py", line 126, in
__getattr__
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gst' object has no attribute 'TIME_ARGS'
======================================================================
ERROR: testOneSecond (test_gst.TimeArgsTest.testOneSecond)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/packages/12/gst-python1.0-1.22.6/testsuite/test_gst.py",
line 38, in testOneSecond
self.assertEqual(Gst.TIME_ARGS(Gst.SECOND), '0:00:01.000000000')
^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gi/module.py", line 126, in
__getattr__
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gst' object has no attribute 'TIME_ARGS'
======================================================================
ERROR: testStringTime (test_gst.TimeArgsTest.testStringTime)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/packages/12/gst-python1.0-1.22.6/testsuite/test_gst.py",
line 32, in testStringTime
self.assertRaises(TypeError, Gst.TIME_ARGS, "String")
^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gi/module.py", line 126, in
__getattr__
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gst' object has no attribute 'TIME_ARGS'
----------------------------------------------------------------------
Ran 10 tests in 0.176s
FAILED (errors=9)
==============================================================================
==================================== 3/3
=====================================
test: Test fundamentals
start time: 11:45:07
duration: 0.40s
result: exit status 1
command:
GST_REGISTRY='/home/packages/12/gst-python1.0-1.22.6/build-3.12/testsuite/Test
fundamentals.registry'
GST_OVERRIDE_SRC_PATH=/home/packages/12/gst-python1.0-1.22.6/testsuite/../gi/overrides
UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1
GST_OVERRIDE_BUILD_PATH=/home/packages/12/gst-python1.0-1.22.6/build-3.12/testsuite/../gi/overrides
GST_PLUGIN_PATH_1_0=/home/packages/12/gst-python1.0-1.22.6/build-3.12:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/home/packages/12/gst-python1.0-1.22.6/build-3.12/plugin:/home/packages/12/gst-python1.0-1.22.6/testsuite
MALLOC_PERTURB_=253
GST_PLUGIN_LOADING_WHITELIST=gstreamer:gst-plugins-base:gst-python@/home/packages/12/gst-python1.0-1.22.6/build-3.12
/usr/bin/python3.12
/home/packages/12/gst-python1.0-1.22.6/build-3.12/../testsuite/runtests.py
test_types.py
----------------------------------- stderr
-----------------------------------
** (gst-plugin-scanner:1988429): CRITICAL **: 12:45:07.616:
gi.repository.Gst is no dict
EEEEEEEEEEEE.EEEEEEEEEEEEEE.EEEE
======================================================================
ERROR: testConstructor (test_types.TestBitmask.testConstructor)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
387, in testConstructor
r = Gst.Bitmask(1 << 5)
^^^^^^^^^^^^^^^^^^^
TypeError: Bitmask() takes no arguments
======================================================================
ERROR: testGetValue (test_types.TestBitmask.testGetValue)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
393, in testGetValue
self.assertEqual(Gst.Structure('test,test=(bitmask)0x20')['test'],
1 << 5)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
TypeError: 'Structure' object is not subscriptable
======================================================================
ERROR: testStr (test_types.TestBitmask.testStr)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
398, in testStr
r = Gst.Bitmask(1 << 5)
^^^^^^^^^^^^^^^^^^^
TypeError: Bitmask() takes no arguments
======================================================================
ERROR: testConstructor (test_types.TestDoubleRange.testConstructor)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
200, in testConstructor
r = Gst.DoubleRange(1.2, 3.4)
^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: DoubleRange() takes no arguments
======================================================================
ERROR: testGetValue (test_types.TestDoubleRange.testGetValue)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
217, in testGetValue
st["range"] = Gst.DoubleRange(1,2)
^^^^^^^^^^^^^^^^^^^^
TypeError: DoubleRange() takes no arguments
======================================================================
ERROR: testRepr (test_types.TestDoubleRange.testRepr)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
211, in testRepr
self.assertEqual(repr(Gst.DoubleRange(1,2)), '<Gst.DoubleRange
[1.0,2.0]>')
^^^^^^^^^^^^^^^^^^^^
TypeError: DoubleRange() takes no arguments
======================================================================
ERROR: testConstructor (test_types.TestFraction.testConstructor)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
66, in testConstructor
frac = Gst.Fraction(1, 2)
^^^^^^^^^^^^^^^^^^
TypeError: Fraction() takes no arguments
======================================================================
ERROR: testDiv (test_types.TestFraction.testDiv)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
110, in testDiv
self.assertEqual(Gst.Fraction(1, 3) / Gst.Fraction(1, 4),
Gst.Fraction(4, 3))
^^^^^^^^^^^^^^^^^^
TypeError: Fraction() takes no arguments
======================================================================
ERROR: testEqNe (test_types.TestFraction.testEqNe)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
84, in testEqNe
frac = Gst.Fraction(1, 2)
^^^^^^^^^^^^^^^^^^
TypeError: Fraction() takes no arguments
======================================================================
ERROR: testFloat (test_types.TestFraction.testFloat)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
127, in testFloat
self.assertEqual(float(Gst.Fraction(1, 2)), 0.5)
^^^^^^^^^^^^^^^^^^
TypeError: Fraction() takes no arguments
======================================================================
ERROR: testGetFractionValue (test_types.TestFraction.testGetFractionValue)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
162, in testGetFractionValue
value = st["framerate"]
~~^^^^^^^^^^^^^
TypeError: 'Structure' object is not subscriptable
======================================================================
ERROR: testMul (test_types.TestFraction.testMul)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
95, in testMul
self.assertEqual(Gst.Fraction(1, 2) * Gst.Fraction(1, 2),
Gst.Fraction(1, 4))
^^^^^^^^^^^^^^^^^^
TypeError: Fraction() takes no arguments
======================================================================
ERROR: testRDiv (test_types.TestFraction.testRDiv)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
121, in testRDiv
self.assertEqual(2 / Gst.Fraction(1, 3), Gst.Fraction(6, 1))
^^^^^^^^^^^^^^^^^^
TypeError: Fraction() takes no arguments
======================================================================
ERROR: testRMul (test_types.TestFraction.testRMul)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
103, in testRMul
self.assertEqual(2 * Gst.Fraction(1, 2), Gst.Fraction(1))
^^^^^^^^^^^^^^^^^^
TypeError: Fraction() takes no arguments
======================================================================
ERROR: testRepr (test_types.TestFraction.testRepr)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
79, in testRepr
self.assertEqual(repr(Gst.Fraction(1, 2)), '<Gst.Fraction 1/2>')
^^^^^^^^^^^^^^^^^^
TypeError: Fraction() takes no arguments
======================================================================
ERROR: testConstructor (test_types.TestFractionRange.testConstructor)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
172, in testConstructor
r = Gst.FractionRange(Gst.Fraction(1, 30), Gst.Fraction(1, 2))
^^^^^^^^^^^^^^^^^^^
TypeError: Fraction() takes no arguments
======================================================================
ERROR: testGetValue (test_types.TestFractionRange.testGetValue)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
190, in testGetValue
st["range"] = Gst.FractionRange(Gst.Fraction(1, 30),
Gst.Fraction(1, 2))
^^^^^^^^^^^^^^^^^^^
TypeError: Fraction() takes no arguments
======================================================================
ERROR: testRepr (test_types.TestFractionRange.testRepr)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
183, in testRepr
self.assertEqual(repr(Gst.FractionRange(Gst.Fraction(1,30),
Gst.Fraction(1,2))),
^^^^^^^^^^^^^^^^^^
TypeError: Fraction() takes no arguments
======================================================================
ERROR: testConstructor (test_types.TestInt64Range.testConstructor)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
229, in testConstructor
r = Gst.Int64Range(range(0, 10, 2))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Int64Range() takes no arguments
======================================================================
ERROR: testGetValue (test_types.TestInt64Range.testGetValue)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
248, in testGetValue
st["range"] = Gst.Int64Range(range(0, 10, 2))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Int64Range() takes no arguments
======================================================================
ERROR: testRepr (test_types.TestInt64Range.testRepr)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
241, in testRepr
self.assertEqual(repr(Gst.Int64Range(range(0, 10, 2))),
'<Gst.Int64Range [0,10,2]>')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Int64Range() takes no arguments
======================================================================
ERROR: testConstructor (test_types.TestIntRange.testConstructor)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
358, in testConstructor
r = Gst.IntRange(range(0, 10, 2))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: IntRange() takes no arguments
======================================================================
ERROR: testGetValue (test_types.TestIntRange.testGetValue)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
377, in testGetValue
st["range"] = Gst.IntRange(range(0, 10, 2))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: IntRange() takes no arguments
======================================================================
ERROR: testRepr (test_types.TestIntRange.testRepr)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
370, in testRepr
self.assertEqual(repr(Gst.IntRange(range(0, 10, 2))),
'<Gst.IntRange [0,10,2]>')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: IntRange() takes no arguments
======================================================================
ERROR: testConstructor (test_types.TestValueArray.testConstructor)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
258, in testConstructor
a = Gst.ValueArray((1,2,3))
^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ValueArray() takes no arguments
======================================================================
ERROR: testGetValue (test_types.TestValueArray.testGetValue)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
304, in testGetValue
st["array"] = Gst.ValueArray([Gst.Fraction(1, 30), Gst.Fraction(1, 2)])
^^^^^^^^^^^^^^^^^^^
TypeError: Fraction() takes no arguments
======================================================================
ERROR: testRepr (test_types.TestValueArray.testRepr)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
267, in testRepr
self.assertEqual(repr(Gst.ValueArray([1,2,3])), '<Gst.ValueArray
<1,2,3>>')
^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ValueArray() takes no arguments
======================================================================
ERROR: testConstructor (test_types.TestValueList.testConstructor)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
324, in testConstructor
a = Gst.ValueList((1,2,3))
^^^^^^^^^^^^^^^^^^^^^^
TypeError: ValueList() takes no arguments
======================================================================
ERROR: testGetValue (test_types.TestValueList.testGetValue)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
339, in testGetValue
st["framerate"] = Gst.ValueList([Gst.Fraction(1, 30),
Gst.Fraction(1, 2)])
^^^^^^^^^^^^^^^^^^^
TypeError: Fraction() takes no arguments
======================================================================
ERROR: testRepr (test_types.TestValueList.testRepr)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/12/gst-python1.0-1.22.6/testsuite/test_types.py", line
333, in testRepr
self.assertEqual(repr(Gst.ValueList([1,2,3])), '<Gst.ValueList
{1,2,3}>')
^^^^^^^^^^^^^^^^^^^^^^
TypeError: ValueList() takes no arguments
----------------------------------------------------------------------
Ran 32 tests in 0.307s
FAILED (errors=30)
==============================================================================
Summary of Failures:
1/3 Test plugins FAIL 0.11s exit status 1
2/3 Test gst FAIL 0.23s exit status 1
3/3 Test fundamentals FAIL 0.40s exit status 1
Ok: 0
Expected Fail: 0
Fail: 3
Unexpected Pass: 0
Skipped: 0
Timeout: 0
dh_auto_test: error: cd build-3.12 && DEB_PYTHON_INSTALL_LAYOUT=deb
LC_ALL=C.UTF-8 MESON_TESTTHREADS=8 meson test returned exit code 3