[Pkg-privacy-maintainers] Bug#1060955: txtorcon: FTBFS: make[1]: *** [debian/rules:28: override_dh_auto_test] Error 1

Lucas Nussbaum lucas at debian.org
Tue Jan 16 19:37:11 GMT 2024


Source: txtorcon
Version: 22.0.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240115 ftbfs-trixie

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/amgjrrzv/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_controller/FilesystemOnionFactoryTests/test_happy_path/amgjrrzv/temp'
> ........................................................../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_endpoints/EndpointTests/test_basic_auth/n43of8m3/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_basic_auth/n43of8m3/temp'
> ...../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_endpoints/EndpointTests/test_explit_dir_not_readable_ver/damtiry0/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_explit_dir_not_readable_ver/damtiry0/temp'
> ........../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_endpoints/EndpointTests/test_multiple_disk/qq7x3h0_/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_multiple_disk/qq7x3h0_/temp'
> ...................E....../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_endpoints/EndpointTests/test_stealth_auth/gf1pfz07/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_stealth_auth/gf1pfz07/temp'
> .../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_e/vvz3zjvn/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_e/vvz3zjvn/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_r/b5bxfnc2/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_r/b5bxfnc2/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_r/6uvuwkdg/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_r/6uvuwkdg/temp'
> ....................................................../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_dir_ioerror/aisr5ktd/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_dir_ioerror/aisr5ktd/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_dir_ioerror_v3/os3oa97g/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_dir_ioerror_v3/os3oa97g/temp'
> ............................./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_old_tor_version/ub6yllsp/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_old_tor_version/ub6yllsp/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_prop224_private_key/t_q99f2u/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_prop224_private_key/t_q99f2u/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_set_dir/b5m_yqdh/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_set_dir/b5m_yqdh/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_set_ports/ols_7o5o/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_set_ports/ols_7o5o/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_tor_version_v3_progress/r4pb2qn7/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_tor_version_v3_progress/r4pb2qn7/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_tor_version_v3_progress_awa/g7ul_vea/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_tor_version_v3_progress_awa/g7ul_vea/temp'
> ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service directory (test.test_onion/OnionServiceTest/test_unknown_version/atolb6cq/temp) is relative and has been resolved to '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_unknown_version/atolb6cq/temp'
> ..................................................................................................................................................[('HiddenServiceDir', '/tmp/tmpj_gocncp'), ('HiddenServiceVersion', '2')]
> ....................................................................................................................................................................................../<<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 0x7f116a619090>, <test.test_torstate.StateTests.test_build_circuit_failure.<locals>.FakeRouter object at 0x7f116a618f10>, <test.test_torstate.StateTests.test_build_circuit_failure.<locals>.FakeRouter object at 0x7f116a61b610>]
> ......./<<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 0x7f116a6acf50>, <test.test_torstate.StateTests.test_build_circuit_with_purpose.<locals>.FakeRouter object at 0x7f116a6ad410>, <test.test_torstate.StateTests.test_build_circuit_with_purpose.<locals>.FakeRouter object at 0x7f116a6ae7d0>]
> ...........................................S..........................S.......
> ===============================================================================
> [SKIPPED]
> No GeoIP in github-actions
> 
> test.test_util.TestGeoIpDatabaseLoading.test_return_geoip_object
> ===============================================================================
> [SKIPPED]
> Doesn't work in PYPY, Py3
> 
> test.test_util_imports.TestImports.test_no_GeoIP
> ===============================================================================
> [ERROR]
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/mock/mock.py", line 1452, in patched
>     return func(*newargs, **newkeywargs)
>   File "/<<PKGBUILDDIR>>/test/test_endpoints.py", line 545, in test_progress_updates
>     self.assertTrue(ding.called_with(*args))
>   File "/usr/lib/python3/dist-packages/mock/mock.py", line 695, in __getattr__
>     raise AttributeError(
> builtins.AttributeError: 'called_with' is not a valid assertion. Use a spec for the mock if 'called_with' is meant to be an attribute.
> 
> test.test_endpoints.EndpointTests.test_progress_updates
> -------------------------------------------------------------------------------
> Ran 680 tests in 0.831s
> 
> FAILED (skips=2, errors=1, successes=677)
> make[1]: *** [debian/rules:28: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/01/15/txtorcon_22.0.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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