Package: src:python-portpicker Version: 1.6.0-2 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202608/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot 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 add an affects on src:python-portpicker, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -f debian/portserver.1 dh_auto_clean make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --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:142: Building wheel for python3.13 with "build" module I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_portpicker * Building wheel... /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib copying src/portpicker.py -> build/lib copying src/portserver.py -> build/lib installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel copying build/lib/portpicker.py -> build/bdist.linux-x86_64/wheel/. copying build/lib/portserver.py -> build/bdist.linux-x86_64/wheel/. running install_egg_info running egg_info creating src/portpicker.egg-info writing src/portpicker.egg-info/PKG-INFO writing dependency_links to src/portpicker.egg-info/dependency_links.txt writing entry points to src/portpicker.egg-info/entry_points.txt writing requirements to src/portpicker.egg-info/requires.txt writing top-level names to src/portpicker.egg-info/top_level.txt writing manifest file 'src/portpicker.egg-info/SOURCES.txt' reading manifest file 'src/portpicker.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'package.sh' adding license file 'LICENSE' writing manifest file 'src/portpicker.egg-info/SOURCES.txt' Copying src/portpicker.egg-info to build/bdist.linux-x86_64/wheel/./portpicker-1.6.0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/portpicker-1.6.0.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_portpicker/.tmp-gi87klu9/portpicker-1.6.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'portpicker.py' adding 'portserver.py' adding 'portpicker-1.6.0.dist-info/licenses/LICENSE' adding 'portpicker-1.6.0.dist-info/METADATA' adding 'portpicker-1.6.0.dist-info/WHEEL' adding 'portpicker-1.6.0.dist-info/entry_points.txt' adding 'portpicker-1.6.0.dist-info/top_level.txt' adding 'portpicker-1.6.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built portpicker-1.6.0-py3-none-any.whl I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with "installer" module I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_portpicker * Building wheel... /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel copying build/lib/portpicker.py -> build/bdist.linux-x86_64/wheel/. copying build/lib/portserver.py -> build/bdist.linux-x86_64/wheel/. running install_egg_info running egg_info writing src/portpicker.egg-info/PKG-INFO writing dependency_links to src/portpicker.egg-info/dependency_links.txt writing entry points to src/portpicker.egg-info/entry_points.txt writing requirements to src/portpicker.egg-info/requires.txt writing top-level names to src/portpicker.egg-info/top_level.txt reading manifest file 'src/portpicker.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'package.sh' adding license file 'LICENSE' writing manifest file 'src/portpicker.egg-info/SOURCES.txt' Copying src/portpicker.egg-info to build/bdist.linux-x86_64/wheel/./portpicker-1.6.0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/portpicker-1.6.0.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_portpicker/.tmp-tc0bg5vb/portpicker-1.6.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'portpicker.py' adding 'portserver.py' adding 'portpicker-1.6.0.dist-info/licenses/LICENSE' adding 'portpicker-1.6.0.dist-info/METADATA' adding 'portpicker-1.6.0.dist-info/WHEEL' adding 'portpicker-1.6.0.dist-info/entry_points.txt' adding 'portpicker-1.6.0.dist-info/top_level.txt' adding 'portpicker-1.6.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built portpicker-1.6.0-py3-none-any.whl I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with "installer" module debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' PYTHONPATH=src python3 src/tests/portpicker_test.py .............s..... ---------------------------------------------------------------------- Ran 18 tests in 0.248s OK (skipped=1) PYTHONPATH=src python3 src/tests/portserver_test.py I0801 20:59:41.117 140421320618496 portserver.py:204] Port 22 unexpectedly in use, last owning pid 0. I0801 20:59:41.117 140421320618496 portserver.py:204] Port 37643 unexpectedly in use, last owning pid 0. I0801 20:59:41.117 140421320618496 portserver.py:208] All ports in use. ..I0801 20:59:41.117 140421320618496 portserver.py:204] Port 12344 unexpectedly in use, last owning pid 0. I0801 20:59:41.117 140421320618496 portserver.py:200] Can't read start time for pid 12345. .I0801 20:59:41.118 140421320618496 portserver.py:204] Port 12345 unexpectedly in use, last owning pid 0. I0801 20:59:41.118 140421320618496 portserver.py:200] Can't read start time for pid 12345. ..W0801 20:59:41.118 140421320618496 portserver.py:261] Could not parse request: invalid literal for int() with base 10: b'' W0801 20:59:41.118 140421320618496 portserver.py:261] Could not parse request: invalid literal for int() with base 10: b'\n' W0801 20:59:41.119 140421320618496 portserver.py:261] Could not parse request: invalid literal for int() with base 10: b'99Z\n' W0801 20:59:41.119 140421320618496 portserver.py:261] Could not parse request: invalid literal for int() with base 10: b'99 8\n' .I0801 20:59:41.119 140421320618496 portserver.py:264] Request on behalf of pid 6. I0801 20:59:41.119 140421320618496 portserver.py:265] cmdline: <MagicMock name='_get_process_command_line()' id='140421302744272'> .I0801 20:59:41.120 140421320618496 portserver.py:264] Request on behalf of pid 5. I0801 20:59:41.120 140421320618496 portserver.py:265] cmdline: <MagicMock name='_get_process_command_line()' id='140421302745616'> .I0801 20:59:41.120 140421320618496 portserver.py:264] Request on behalf of pid 8. I0801 20:59:41.120 140421320618496 portserver.py:265] cmdline: <MagicMock name='_get_process_command_line()' id='140421301486992'> D0801 20:59:41.121 140421320618496 portserver.py:275] Allocated port 999 to pid 8 .......E0801 20:59:41.123 140421320618496 portserver.py:362] No ports. Invalid port ranges in --portserver_static_pool? ..E0801 20:59:41.123 140421320618496 portserver.py:329] Ignoring unparsable port range ''. E0801 20:59:41.123 140421320618496 portserver.py:329] Ignoring unparsable port range 'not'. E0801 20:59:41.123 140421320618496 portserver.py:329] Ignoring unparsable port range 'numbers'. E0801 20:59:41.123 140421320618496 portserver.py:329] Ignoring unparsable port range '8080-8081x'. E0801 20:59:41.123 140421320618496 portserver.py:332] Ignoring out of bounds port range '0-1138'. E0801 20:59:41.123 140421320618496 portserver.py:332] Ignoring out of bounds port range '1138-65536'. .F/usr/lib/python3.14/unittest/case.py:668: ResourceWarning: unclosed file <_io.BufferedReader name=4> with outcome.testPartExecutor(self): ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib/python3.14/unittest/case.py:668: ResourceWarning: unclosed <socket.socket fd=3, family=1, type=1, proto=0> with outcome.testPartExecutor(self): ResourceWarning: Enable tracemalloc to get the object allocation traceback I0801 20:59:45.133 140421320618496 portserver.py:111] Not allocating a port to invalid pid I0801 20:59:45.133 140421320618496 portserver.py:116] Not allocating a port to init. I0801 20:59:45.207 140421320618496 portserver.py:120] Not allocating a port to a non-existent process . ====================================================================== FAIL: test_portserver_binary (__main__.PortserverFunctionsTest.test_portserver_binary) Launch python portserver.py and test it. ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/src/tests/portserver_test.py", line 201, in test_portserver_binary conn.connect(anon_addr) ~~~~~~~~~~~~^^^^^^^^^^^ ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<<PKGBUILDDIR>>/src/tests/portserver_test.py", line 209, in test_portserver_binary self.fail('Failed to connect to portserver ' ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ f'{self._test_socket_addr} within ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ f'{delta} seconds. STDERR:\n' + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ server.stderr.read().decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Failed to connect to portserver @TST-103 within 4.007407982999894 seconds. STDERR: Traceback (most recent call last): File "/<<PKGBUILDDIR>>/src/portserver.py", line 415, in <module> main() ~~~~^^ File "/<<PKGBUILDDIR>>/src/portserver.py", line 370, in main event_loop = asyncio.get_event_loop() File "/usr/lib/python3.14/asyncio/events.py", line 718, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' % threading.current_thread().name) RuntimeError: There is no current event loop in thread 'MainThread'. ---------------------------------------------------------------------- Ran 20 tests in 4.090s FAILED (failures=1) make[1]: *** [debian/rules:27: override_dh_auto_test] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:9: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

