[Pkg-privacy-maintainers] Bug#1006102: txtorcon: FTBFS: tests failed

Lucas Nussbaum lucas at debian.org
Sat Feb 19 07:17:52 GMT 2022


Source: txtorcon
Version: 20.0.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

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=. trial3 --reporter=text test
> ........................................................................./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_controller/FilesystemOnionFactoryTests/test_happy_path/g5n3qgjr/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_controller/FilesystemOnionFactoryTests/test_happy_path/g5n3qgjr/temp'
> ........................................................../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_endpoints/EndpointTests/test_basic_auth/fb__tuyd/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_basic_auth/fb__tuyd/temp'
> ...../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_endpoints/EndpointTests/test_explit_dir_not_readable_ver/ccd70tcc/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_explit_dir_not_readable_ver/ccd70tcc/temp'
> ........../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_endpoints/EndpointTests/test_multiple_disk/1pmqwjhn/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_multiple_disk/1pmqwjhn/temp'
> ........................../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_endpoints/EndpointTests/test_stealth_auth/1a0wt5bs/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_stealth_auth/1a0wt5bs/temp'
> .../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_e/vvk145cn/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_e/vvk145cn/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_r/iur_ai_c/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_r/iur_ai_c/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_r/0wucd1m4/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_r/0wucd1m4/temp'
> ....................................................../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_dir_ioerror/9aunebf9/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_dir_ioerror/9aunebf9/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_dir_ioerror_v3/krj1vt1d/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_dir_ioerror_v3/krj1vt1d/temp'
> ............................./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_old_tor_version/51fxp6pb/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_old_tor_version/51fxp6pb/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_prop224_private_key/oldzz6yk/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_prop224_private_key/oldzz6yk/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_set_dir/3lq964u2/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_set_dir/3lq964u2/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_set_ports/n2hhntuc/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_set_ports/n2hhntuc/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_tor_version_v3_progress/ehspurux/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_tor_version_v3_progress/ehspurux/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_tor_version_v3_progress_awa/x4tlhr3y/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_tor_version_v3_progress_awa/x4tlhr3y/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_unknown_version/xn2b1pog/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_unknown_version/xn2b1pog/temp'
> ..................................................................................................................................................[('HiddenServiceDir', '/tmp/tmp00h0aifs'), ('HiddenServiceVersion', '2')]
> ...................................................................................................................................E....E........E..................................../<<PKGBUILDDIR>>/txtorcon/torstate.py:697: RuntimeWarning: Circuit doesn't start with a guard: [<test.test_torstate.StateTests.test_build_circuit_failure.<locals>.FakeRouter object at 0x7febc3352a90>, <test.test_torstate.StateTests.test_build_circuit_failure.<locals>.FakeRouter object at 0x7febc3352b20>, <test.test_torstate.StateTests.test_build_circuit_failure.<locals>.FakeRouter object at 0x7febc3352b80>]
> ......./<<PKGBUILDDIR>>/txtorcon/torstate.py:697: RuntimeWarning: Circuit doesn't start with a guard: [<test.test_torstate.StateTests.test_build_circuit_with_purpose.<locals>.FakeRouter object at 0x7febc32f6a00>, <test.test_torstate.StateTests.test_build_circuit_with_purpose.<locals>.FakeRouter object at 0x7febc32f6a90>, <test.test_torstate.StateTests.test_build_circuit_with_purpose.<locals>.FakeRouter object at 0x7febc32f6af0>]
> .....................................................................SSSSSSSS
> ===============================================================================
> [SKIPPED]
> Doesn't work in PYPY, Py3
> 
> test.test_util_imports.TestImports.test_no_GeoIP
> ===============================================================================
> [SKIPPED]
> False
> 
> test.test_web.WebAgentTests.test_agent
> test.test_web.WebAgentTests.test_agent_no_socks
> test.test_web.WebAgentTests.test_agent_with_circuit
> test.test_web.WebAgentTests.test_socks_agent_error_saving
> test.test_web.WebAgentTests.test_socks_agent_tcp_host_port
> test.test_web.WebAgentTests.test_socks_agent_tcp_port
> test.test_web.WebAgentTests.test_socks_agent_unix
> ===============================================================================
> [ERROR]
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/test_torinfo.py", line 169, in test_attribute_access
>     yield self.protocol.post_bootstrap
>   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 857, in _runCallbacks
>     current.result = callback(  # type: ignore[misc]
>   File "/<<PKGBUILDDIR>>/txtorcon/torinfo.py", line 285, in _setup_complete
>     pb.callback(self)
>   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 660, in callback
>     assert not isinstance(result, Deferred)
>   File "/usr/lib/python3.9/abc.py", line 119, in __instancecheck__
>     return _abc_instancecheck(cls, instance)
>   File "/<<PKGBUILDDIR>>/txtorcon/torinfo.py", line 213, in __getattribute__
>     raise AttributeError(name)
> builtins.AttributeError: __class__
> 
> test.test_torinfo.InfoTests.test_attribute_access
> ===============================================================================
> [ERROR]
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/txtorcon/torinfo.py", line 285, in _setup_complete
>     pb.callback(self)
>   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 660, in callback
>     assert not isinstance(result, Deferred)
>   File "/usr/lib/python3.9/abc.py", line 119, in __instancecheck__
>     return _abc_instancecheck(cls, instance)
>   File "/<<PKGBUILDDIR>>/txtorcon/torinfo.py", line 213, in __getattribute__
>     raise AttributeError(name)
> builtins.AttributeError: __class__
> 
> test.test_torinfo.InfoTests.test_other_bootstrap
> ===============================================================================
> [ERROR]
> Traceback (most recent call last):
> Failure: twisted.internet.defer.TimeoutError: <test.test_torinfo.ProtocolIntegrationTests testMethod=test_with_arg> (test_with_arg) still running at 120.0 secs
> 
> test.test_torinfo.ProtocolIntegrationTests.test_with_arg
> -------------------------------------------------------------------------------
> Ran 679 tests in 120.918s
> 
> FAILED (skips=8, errors=3, successes=668)
> make[1]: *** [debian/rules:28: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/02/18/txtorcon_20.0.0-1_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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-privacy-maintainers mailing list