Source: python-portpicker
Version: 1.3.1-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200321 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PYTHONPATH=src python3 src/tests/portpicker_test.py
> ..s....ss.......
> ----------------------------------------------------------------------
> Ran 16 tests in 0.036s
> 
> OK (skipped=3)
> PYTHONPATH=src python3 src/tests/portserver_test.py
> I0322 03:19:52.222 139770363705152 portserver.py:191] Port 22 unexpectedly in 
> use, last owning pid 0.
> I0322 03:19:52.222 139770363705152 portserver.py:191] Port 18862 unexpectedly 
> in use, last owning pid 0.
> I0322 03:19:52.222 139770363705152 portserver.py:195] All ports in use.
> ..I0322 03:19:52.224 139770363705152 portserver.py:191] Port 12344 
> unexpectedly in use, last owning pid 0.
> I0322 03:19:52.224 139770363705152 portserver.py:187] Can't read start time 
> for pid 12345.
> .I0322 03:19:52.224 139770363705152 portserver.py:191] Port 12345 
> unexpectedly in use, last owning pid 0.
> I0322 03:19:52.224 139770363705152 portserver.py:187] Can't read start time 
> for pid 12345.
> ..W0322 03:19:52.226 139770363705152 portserver.py:247] Could not parse 
> request: invalid literal for int() with base 10: b''
> W0322 03:19:52.226 139770363705152 portserver.py:247] Could not parse 
> request: invalid literal for int() with base 10: b'\n'
> W0322 03:19:52.226 139770363705152 portserver.py:247] Could not parse 
> request: invalid literal for int() with base 10: b'99Z\n'
> W0322 03:19:52.226 139770363705152 portserver.py:247] Could not parse 
> request: invalid literal for int() with base 10: b'99 8\n'
> .I0322 03:19:52.227 139770363705152 portserver.py:250] Request on behalf of 
> pid 6.
> I0322 03:19:52.228 139770363705152 portserver.py:251] cmdline: <MagicMock 
> name='_get_process_command_line()' id='139770352359264'>
> .I0322 03:19:52.229 139770363705152 portserver.py:250] Request on behalf of 
> pid 5.
> I0322 03:19:52.229 139770363705152 portserver.py:251] cmdline: <MagicMock 
> name='_get_process_command_line()' id='139770352464848'>
> .I0322 03:19:52.231 139770363705152 portserver.py:250] Request on behalf of 
> pid 8.
> I0322 03:19:52.231 139770363705152 portserver.py:251] cmdline: <MagicMock 
> name='_get_process_command_line()' id='139770352541552'>
> D0322 03:19:52.232 139770363705152 portserver.py:261] Allocated port 999 to 
> pid 8
> .......E0322 03:19:52.240 139770363705152 portserver.py:345] No ports.  
> Invalid port ranges in --portserver_static_pool?
> I0322 03:19:52.242 139770363705152 portserver.py:359] Serving on @TST-14928
> I0322 03:19:52.242 139770363705152 portserver.py:363] Stopping due to ^C.
> I0322 03:19:52.243 139770363705152 portserver.py:267] Dumping statistics:
> I0322 03:19:52.243 139770363705152 portserver.py:277] client-request-errors 0
> I0322 03:19:52.243 139770363705152 portserver.py:277] denied-allocations 0
> I0322 03:19:52.243 139770363705152 portserver.py:277] num-ports-managed 1
> I0322 03:19:52.243 139770363705152 portserver.py:277] 
> num-ports-checked-for-last-request 0
> I0322 03:19:52.243 139770363705152 portserver.py:277] total-allocations 0
> I0322 03:19:52.243 139770363705152 portserver.py:370] Goodbye.
> F.E0322 03:19:52.244 139770363705152 portserver.py:312] Ignoring unparsable 
> port range ''.
> E0322 03:19:52.245 139770363705152 portserver.py:312] Ignoring unparsable 
> port range 'not'.
> E0322 03:19:52.245 139770363705152 portserver.py:312] Ignoring unparsable 
> port range 'numbers'.
> E0322 03:19:52.245 139770363705152 portserver.py:312] Ignoring unparsable 
> port range '8080-8081x'.
> E0322 03:19:52.245 139770363705152 portserver.py:315] Ignoring out of bounds 
> port range '0-1138'.
> E0322 03:19:52.245 139770363705152 portserver.py:315] Ignoring out of bounds 
> port range '1138-65536'.
> .I0322 03:19:52.245 139770363705152 portserver.py:111] Not allocating a port 
> to invalid pid
> I0322 03:19:52.245 139770363705152 portserver.py:116] Not allocating a port 
> to init.
> I0322 03:19:52.246 139770363705152 portserver.py:121] Not allocating a port 
> to a non-existent process
> .
> ======================================================================
> FAIL: test_main (__main__.PortserverFunctionsTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3.8/unittest/mock.py", line 1348, in patched
>     return func(*newargs, **newkeywargs)
>   File "src/tests/portserver_test.py", line 154, in test_main
>     mock_event_loop.run_until_complete.assert_any_call(
>   File "/usr/lib/python3.8/unittest/mock.py", line 984, in assert_any_call
>     raise AssertionError(
> AssertionError: run_until_complete(<Mock name='start_unix_server()' 
> id='139770352541120'>) call not found
> 
> ----------------------------------------------------------------------
> Ran 19 tests in 0.025s
> 
> FAILED (failures=1)
> make[1]: *** [debian/rules:27: override_dh_auto_test] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/03/21/python-portpicker_1.3.1-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to