Discussion:
Bug#1076971: python-mpv: FTBFS: ERROR: test_wait_for_property_concurrency (tests.test_mpv.RegressionTests.test_wait_for_property_concurrency)
(too old to reply)
Santiago Vila
2024-07-24 19:50:03 UTC
Permalink
Package: src:python-mpv
Version: 1.0.7-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with python3 --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-mpv
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib
copying mpv.py -> build/lib
running egg_info
creating mpv.egg-info
writing mpv.egg-info/PKG-INFO
writing dependency_links to mpv.egg-info/dependency_links.txt
writing requirements to mpv.egg-info/requires.txt
writing top-level names to mpv.egg-info/top_level.txt
writing manifest file 'mpv.egg-info/SOURCES.txt'
reading manifest file 'mpv.egg-info/SOURCES.txt'
adding license file 'LICENSE.GPL'
adding license file 'LICENSE.LGPL'
writing manifest file 'mpv.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
copying build/lib/mpv.py -> build/bdist.linux-x86_64/wheel
running install_egg_info
Copying mpv.egg-info to build/bdist.linux-x86_64/wheel/mpv-1.0.7.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/mpv-1.0.7.dist-info/WHEEL
creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-mpv/.tmp-7i31rlgv/mpv-1.0.7-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'mpv.py'
adding 'mpv-1.0.7.dist-info/LICENSE.GPL'
adding 'mpv-1.0.7.dist-info/LICENSE.LGPL'
adding 'mpv-1.0.7.dist-info/METADATA'
adding 'mpv-1.0.7.dist-info/WHEEL'
adding 'mpv-1.0.7.dist-info/top_level.txt'
adding 'mpv-1.0.7.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built mpv-1.0.7-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-mpv/build; python3.12 -m unittest discover -v
test_async_command (tests.test_mpv.CommandTests.test_async_command) ... ok
test_loadfile_with_subtitles (tests.test_mpv.CommandTests.test_loadfile_with_subtitles) ... ok
test_sub_add (tests.test_mpv.CommandTests.test_sub_add) ... ok
test_register_decorator_fun (tests.test_mpv.KeyBindingTest.test_register_decorator_fun) ... ok
test_register_decorator_fun_chaining (tests.test_mpv.KeyBindingTest.test_register_decorator_fun_chaining) ... ok
test_register_direct_bound_method (tests.test_mpv.KeyBindingTest.test_register_direct_bound_method) ... ok
test_register_direct_cmd (tests.test_mpv.KeyBindingTest.test_register_direct_cmd) ... ok
test_register_direct_fun (tests.test_mpv.KeyBindingTest.test_register_direct_fun) ... ok
test_register_simple_decorator_fun_chaining (tests.test_mpv.KeyBindingTest.test_register_simple_decorator_fun_chaining) ... ok
test_wait_for_event_error_forwarding (tests.test_mpv.KeyBindingTest.test_wait_for_event_error_forwarding) ... ok
test_wait_for_property_error_forwarding (tests.test_mpv.KeyBindingTest.test_wait_for_property_error_forwarding) ... ok
test_observe_property (tests.test_mpv.ObservePropertyTest.test_observe_property) ... ok
test_property_observer_decorator (tests.test_mpv.ObservePropertyTest.test_property_observer_decorator) ... ok
test_instance_method_property_observer (tests.test_mpv.RegressionTests.test_instance_method_property_observer)
Ensure that bound method objects can be used as property observers. ... ok
test_unobserve_property_runtime_error (tests.test_mpv.RegressionTests.test_unobserve_property_runtime_error)
Ensure a `RuntimeError` is not thrown within ... ok
test_wait_for_property_concurrency (tests.test_mpv.RegressionTests.test_wait_for_property_concurrency) ... ERROR
test_create_destroy (tests.test_mpv.TestLifecycle.test_create_destroy) ... ok
test_event_callback (tests.test_mpv.TestLifecycle.test_event_callback) ... ok
test_flags (tests.test_mpv.TestLifecycle.test_flags) ... ok
test_log_handler (tests.test_mpv.TestLifecycle.test_log_handler) ... ok
test_options (tests.test_mpv.TestLifecycle.test_options) ... ok
test_wait_for_event (tests.test_mpv.TestLifecycle.test_wait_for_event) ... ok
test_wait_for_event_shutdown (tests.test_mpv.TestLifecycle.test_wait_for_event_shutdown) ... ok
test_wait_for_property_event_overflow (tests.test_mpv.TestLifecycle.test_wait_for_property_event_overflow) ... ok
test_wait_for_property_negative (tests.test_mpv.TestLifecycle.test_wait_for_property_negative) ... ok
test_wait_for_property_positive (tests.test_mpv.TestLifecycle.test_wait_for_property_positive) ... ok
test_wait_for_property_shutdown (tests.test_mpv.TestLifecycle.test_wait_for_property_shutdown) ... ok
test_wait_for_shutdown (tests.test_mpv.TestLifecycle.test_wait_for_shutdown) ... ok
test_array_property_bounce (tests.test_mpv.TestProperties.test_array_property_bounce) ... ok
test_multivalued_option (tests.test_mpv.TestProperties.test_multivalued_option) ... ok
test_option_read (tests.test_mpv.TestProperties.test_option_read) ... ok
test_osd_property_bounce (tests.test_mpv.TestProperties.test_osd_property_bounce) ... ok
test_property_bounce (tests.test_mpv.TestProperties.test_property_bounce) ... ok
test_property_decoding_invalid_utf8 (tests.test_mpv.TestProperties.test_property_decoding_invalid_utf8) ... ok
test_property_decoding_multi (tests.test_mpv.TestProperties.test_property_decoding_multi) ... ok
test_property_decoding_valid_utf8 (tests.test_mpv.TestProperties.test_property_decoding_valid_utf8) ... ok
test_raw_property_bounce (tests.test_mpv.TestProperties.test_raw_property_bounce) ... ok
test_read (tests.test_mpv.TestProperties.test_read) ... [W][06348.273883] pw.conf | [ conf.c: 1214 try_load_conf()] can't load config client-rt.conf: No such file or directory
[E][06348.273894] pw.conf | [ conf.c: 1243 pw_conf_load_conf_for_context()] can't load config client-rt.conf: No such file or directory
ok
test_write (tests.test_mpv.TestProperties.test_write) ... [W][06348.674248] pw.conf | [ conf.c: 1214 try_load_conf()] can't load config client-rt.conf: No such file or directory
[E][06348.674258] pw.conf | [ conf.c: 1243 pw_conf_load_conf_for_context()] can't load config client-rt.conf: No such file or directory
ok
test_custom_stream (tests.test_mpv.TestStreams.test_custom_stream) ... ok
test_play_bytes (tests.test_mpv.TestStreams.test_play_bytes) ... ok
test_play_context (tests.test_mpv.TestStreams.test_play_context) ... ok
test_python_stream (tests.test_mpv.TestStreams.test_python_stream) ... ok
test_python_stream_exception (tests.test_mpv.TestStreams.test_python_stream_exception) ... ok
test_stream_open_exception (tests.test_mpv.TestStreams.test_stream_open_exception) ... ok
test_stream_open_forward (tests.test_mpv.TestStreams.test_stream_open_forward) ... ok

======================================================================
ERROR: test_wait_for_property_concurrency (tests.test_mpv.RegressionTests.test_wait_for_property_concurrency)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-mpv/build/tests/test_mpv.py", line 928, in test_wait_for_property_concurrency
player.seek(0, reference='absolute', precision='exact')
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-mpv/build/mpv.py", line 1244, in seek
self.command('seek', amount, reference, precision)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-mpv/build/mpv.py", line 1237, in command
_mpv_command_node(self.handle, ppointer, out)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-mpv/build/mpv.py", line 142, in raise_for_ec
raise ex
SystemError: ('Error running mpv command', -12, (<MpvHandle object at 0x7fdc25d4cad0>, <mpv.LP_MpvNode object at 0x7fdc25c5cdd0>, <mpv.LP_MpvNode object at 0x7fdc25f34d50>))

----------------------------------------------------------------------
Ran 46 tests in 41.390s

FAILED (errors=1)
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-mpv/build; python3.12 -m unittest discover -v
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202407/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.
Debian Bug Tracking System
2024-08-24 05:40:01 UTC
Permalink
Your message dated Sat, 24 Aug 2024 05:34:29 +0000
with message-id <E1shjPx-00Azxn-***@fasolo.debian.org>
and subject line Bug#1076971: fixed in python-mpv 1.0.7-2
has caused the Debian Bug report #1076971,
regarding python-mpv: FTBFS: ERROR: test_wait_for_property_concurrency (tests.test_mpv.RegressionTests.test_wait_for_property_concurrency)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
1076971: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076971
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...