Source: txtorcon Version: 19.0.0-2 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200402 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=. trial3 --reporter=text test > ........................................................................./<<PKGBUILDDIR>>/txtorcon/onion.py:156: > UserWarning: Onions service directory > (test.test_controller/FilesystemOnionFactoryTests/test_happy_path/rio7c53z/temp) > is relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_controller/FilesystemOnionFactoryTests/test_happy_path/rio7c53z/temp' > ..............................................EEE......./<<PKGBUILDDIR>>/txtorcon/onion.py:156: > UserWarning: Onions service directory > (test.test_endpoints/EndpointTests/test_basic_auth/g2urtmv1/temp) is relative > and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_basic_auth/g2urtmv1/temp' > ...../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service > directory > (test.test_endpoints/EndpointTests/test_explit_dir_not_readable_ver/ps9ewttv/temp) > is relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_explit_dir_not_readable_ver/ps9ewttv/temp' > ........../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service > directory > (test.test_endpoints/EndpointTests/test_multiple_disk/vbtomr74/temp) is > relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_multiple_disk/vbtomr74/temp' > ........................../<<PKGBUILDDIR>>/txtorcon/onion.py:156: > UserWarning: Onions service directory > (test.test_endpoints/EndpointTests/test_stealth_auth/poj5dpdg/temp) is > relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_stealth_auth/poj5dpdg/temp' > .../<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service > directory > (test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_e/a6f2y49x/temp) > is relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_e/a6f2y49x/temp' > ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service > directory > (test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_r/fy2rzv44/temp) > is relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_r/fy2rzv44/temp' > ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service > directory > (test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_r/rq_0b7fm/temp) > is relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_endpoints/EndpointTests/test_system_tor_explit_dir_not_r/rq_0b7fm/temp' > ....................................................../<<PKGBUILDDIR>>/txtorcon/onion.py:156: > UserWarning: Onions service directory > (test.test_onion/OnionServiceTest/test_dir_ioerror/mm_jc7wu/temp) is relative > and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_dir_ioerror/mm_jc7wu/temp' > ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service > directory > (test.test_onion/OnionServiceTest/test_dir_ioerror_v3/k7df4980/temp) is > relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_dir_ioerror_v3/k7df4980/temp' > ............................./<<PKGBUILDDIR>>/txtorcon/onion.py:156: > UserWarning: Onions service directory > (test.test_onion/OnionServiceTest/test_old_tor_version/rjbqyv3u/temp) is > relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_old_tor_version/rjbqyv3u/temp' > ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service > directory > (test.test_onion/OnionServiceTest/test_prop224_private_key/26ze6yif/temp) is > relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_prop224_private_key/26ze6yif/temp' > ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service > directory (test.test_onion/OnionServiceTest/test_set_dir/kshugvyi/temp) is > relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_set_dir/kshugvyi/temp' > ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service > directory (test.test_onion/OnionServiceTest/test_set_ports/lz5fie_g/temp) is > relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_set_ports/lz5fie_g/temp' > ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service > directory > (test.test_onion/OnionServiceTest/test_tor_version_v3_progress/22mdax36/temp) > is relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_tor_version_v3_progress/22mdax36/temp' > ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service > directory > (test.test_onion/OnionServiceTest/test_tor_version_v3_progress_awa/48cozh0m/temp) > is relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_tor_version_v3_progress_awa/48cozh0m/temp' > ./<<PKGBUILDDIR>>/txtorcon/onion.py:156: UserWarning: Onions service > directory > (test.test_onion/OnionServiceTest/test_unknown_version/gn1zqaan/temp) is > relative and has been resolved to > '/<<PKGBUILDDIR>>/_trial_temp/test.test_onion/OnionServiceTest/test_unknown_version/gn1zqaan/temp' > ..................................................................................................................................................[('HiddenServiceDir', > '/tmp/tmpqyy0mmj9'), ('HiddenServiceVersion', '2')] > .............................................................................................................................................................................../<<PKGBUILDDIR>>/txtorcon/torstate.py:572: > RuntimeWarning: Circuit doesn't start with a guard: > [<test.test_torstate.StateTests.test_build_circuit_failure.<locals>.FakeRouter > object at 0x7fa6a45962b0>, > <test.test_torstate.StateTests.test_build_circuit_failure.<locals>.FakeRouter > object at 0x7fa6a45962e0>, > <test.test_torstate.StateTests.test_build_circuit_failure.<locals>.FakeRouter > object at 0x7fa6a4596400>] > ......./<<PKGBUILDDIR>>/txtorcon/torstate.py:572: RuntimeWarning: Circuit > doesn't start with a guard: > [<test.test_torstate.StateTests.test_build_circuit_with_purpose.<locals>.FakeRouter > object at 0x7fa6a45d2e20>, > <test.test_torstate.StateTests.test_build_circuit_with_purpose.<locals>.FakeRouter > object at 0x7fa6a45d2df0>, > <test.test_torstate.StateTests.test_build_circuit_with_purpose.<locals>.FakeRouter > object at 0x7fa6a45d2af0>] > ......................................................................S....... > =============================================================================== > [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/twisted/internet/defer.py", line 1418, > in _inlineCallbacks > result = g.send(result) > File "/<<PKGBUILDDIR>>/test/test_controller.py", line 1020, in > test_web_agent_defaults > resp = yield agent.request('GET', b'meejah.ca') > File "/usr/lib/python3/dist-packages/twisted/web/client.py", line 1665, in > request > return self._requestWithEndpoint(key, endpoint, method, parsedURI, > File "/usr/lib/python3/dist-packages/twisted/web/client.py", line 1432, in > _requestWithEndpoint > method = _ensureValidMethod(method) > File "/usr/lib/python3/dist-packages/twisted/web/_newclient.py", line 618, > in _ensureValidMethod > if _VALID_METHOD.match(method): > builtins.TypeError: cannot use a bytes pattern on a string-like object > > test.test_controller.WebAgentTests.test_web_agent_defaults > =============================================================================== > [ERROR] > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1418, > in _inlineCallbacks > result = g.send(result) > File "/<<PKGBUILDDIR>>/test/test_controller.py", line 1034, in > test_web_agent_deferred > resp = yield agent.request('GET', b'meejah.ca') > File "/usr/lib/python3/dist-packages/twisted/web/client.py", line 1665, in > request > return self._requestWithEndpoint(key, endpoint, method, parsedURI, > File "/usr/lib/python3/dist-packages/twisted/web/client.py", line 1432, in > _requestWithEndpoint > method = _ensureValidMethod(method) > File "/usr/lib/python3/dist-packages/twisted/web/_newclient.py", line 618, > in _ensureValidMethod > if _VALID_METHOD.match(method): > builtins.TypeError: cannot use a bytes pattern on a string-like object > > test.test_controller.WebAgentTests.test_web_agent_deferred > =============================================================================== > [ERROR] > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1418, > in _inlineCallbacks > result = g.send(result) > File "/<<PKGBUILDDIR>>/test/test_controller.py", line 1049, in > test_web_agent_endpoint > resp = yield agent.request('GET', b'meejah.ca') > File "/usr/lib/python3/dist-packages/twisted/web/client.py", line 1665, in > request > return self._requestWithEndpoint(key, endpoint, method, parsedURI, > File "/usr/lib/python3/dist-packages/twisted/web/client.py", line 1432, in > _requestWithEndpoint > method = _ensureValidMethod(method) > File "/usr/lib/python3/dist-packages/twisted/web/_newclient.py", line 618, > in _ensureValidMethod > if _VALID_METHOD.match(method): > builtins.TypeError: cannot use a bytes pattern on a string-like object > > test.test_controller.WebAgentTests.test_web_agent_endpoint > ------------------------------------------------------------------------------- > Ran 671 tests in 0.633s > > FAILED (skips=1, errors=3, successes=667) > /<<PKGBUILDDIR>>/test/test_torconfig.py:273: SyntaxWarning: "is" with a > literal. Did you mean "=="? > self.assertTrue(conf.foo is 0) > /<<PKGBUILDDIR>>/test/test_torconfig.py:274: SyntaxWarning: "is" with a > literal. Did you mean "=="? > self.assertTrue(conf.bar is 1) > /<<PKGBUILDDIR>>/test/test_torconfig.py:275: SyntaxWarning: "is" with a > literal. Did you mean "=="? > self.assertTrue(conf.baz is -1) > /<<PKGBUILDDIR>>/test/test_torconfig.py:298: SyntaxWarning: "is" with a > literal. Did you mean "=="? > self.assertTrue(conf.foo is 1) > /<<PKGBUILDDIR>>/test/test_torconfig.py:299: SyntaxWarning: "is" with a > literal. Did you mean "=="? > self.assertTrue(conf.bar is 0) > /<<PKGBUILDDIR>>/test/test_torconfig.py:300: SyntaxWarning: "is" with a > literal. Did you mean "=="? > self.assertTrue(conf.baz is 1) > /<<PKGBUILDDIR>>/test/test_torconfig.py:301: SyntaxWarning: "is" with a > literal. Did you mean "=="? > self.assertTrue(conf.qux is -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/04/02/txtorcon_19.0.0-2_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.