====================================================================== INITIALISING ====================================================================== stem version... 1.8.0 tor version... 0.4.6.9 python version... 3.10.1 operating system... Linux cryptography version... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes 36.0.1 pyflakes version... missing pycodestyle version... missing checking for orphaned .pyc files... done (0.0s) checking for unused tests... done (0.1s) importing test modules... done (2.1s) emptying our tor data directory... skipped running pyflakes... unavailable running pycodestyle... unavailable ====================================================================== UNIT TESTS ====================================================================== util.enum... success (0.06s) util.connection... success (0.34s) util.conf... success (0.01s) util.log... success (0.01s) util.proc... success (0.10s) util.str_tools... success (0.02s) util.system... success (0.18s) util.term... success (0.00s) util.tor_tools... success (0.01s) util.__init__... success (0.00s) installation... success (0.02s) descriptor.descriptor... success (0.04s) descriptor.compression... success (0.03s) descriptor.export... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes success (0.04s) descriptor.reader... success (0.33s) descriptor.collector... success (6.98s) descriptor.remote... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes /build/python-stem/src/stem-1.8.0/stem/descriptor/__init__.py:1055: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_to_bytes, int_from_bytes success (0.79s) descriptor.server_descriptor... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes /build/python-stem/src/stem-1.8.0/stem/descriptor/__init__.py:1055: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_to_bytes, int_from_bytes success (0.58s) descriptor.extrainfo_descriptor... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes success (0.51s) descriptor.microdescriptor... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes success (0.04s) descriptor.router_status_entry... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes success (0.17s) descriptor.tordnsel... success (0.01s) descriptor.networkstatus.detached_signature... success (0.03s) descriptor.networkstatus.directory_authority... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes success (0.07s) descriptor.networkstatus.key_certificate... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes success (0.11s) descriptor.networkstatus.document_v2... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes success (0.02s) descriptor.networkstatus.document_v3... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes /build/python-stem/src/stem-1.8.0/stem/descriptor/__init__.py:1055: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_to_bytes, int_from_bytes success (0.78s) descriptor.networkstatus.bridge_document... success (0.01s) descriptor.hidden_service_v2... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes /build/python-stem/src/stem-1.8.0/stem/descriptor/__init__.py:1055: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_to_bytes, int_from_bytes success (0.10s) descriptor.hidden_service_v3... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes success (0.60s) descriptor.certificate... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes success (0.06s) descriptor.bandwidth_file... success (0.07s) exit_policy.rule... success (0.08s) exit_policy.policy... success (0.36s) endpoint... success (0.01s) version... success (0.04s) manual... success (0.17s) directory.authority... success (0.02s) directory.fallback... success (0.18s) tutorial... success (0.14s) tutorial_examples... /build/python-stem/src/stem-1.8.0/stem/prereq.py:142: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes, int_to_bytes success (0.25s) response.add_onion... success (0.02s) response.control_message... success (0.03s) response.control_line... success (0.02s) response.events... success (0.15s) response.getinfo... success (0.01s) response.getconf... success (0.01s) response.singleline... success (0.01s) response.authchallenge... success (0.01s) response.protocolinfo... success (0.02s) response.mapaddress... success (0.01s) client.size... success (0.01s) client.address... success (0.02s) client.link_protocol... success (0.01s) client.certificate... success (0.00s) client.link_specifier... success (0.01s) client.kdf... success (0.00s) client.cell... success (0.08s) connection.authentication... success (0.44s) connection.connect... success (0.03s) control.controller... success (0.80s) interpreter.arguments... success (0.04s) interpreter.autocomplete... success (0.01s) interpreter.help... success (0.02s) interpreter.commands... success (0.08s) doctest... success (0.63s) ====================================================================== INTEGRATION TESTS ====================================================================== Setting up a test instance... making test directory (/build/python-stem/src/stem-1.8.0/test/data)... done configuring logger (/build/python-stem/src/stem-1.8.0/test/data/log)... done writing torrc (/build/python-stem/src/stem-1.8.0/test/data/torrc)... done # Configuration for stem's integration tests SocksPort 1112 ORPort 1113 DataDirectory /build/python-stem/src/stem-1.8.0/test/data Log notice stdout Log debug file /build/python-stem/src/stem-1.8.0/test/data/tor_log AssumeReachable 1 DownloadExtraInfo 1 ExitRelay 0 FetchUselessDescriptors 1 LogTimeGranularity 1 ProtocolWarnings 1 PublishServerDescriptor 0 SafeLogging 0 # Torrc options for the RUN_OPEN target ControlPort 1111 Starting tor... Jan 16 01:05:16.666 [notice] Tor 0.4.6.9 running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1m, Zlib 1.2.11, Liblzma 5.2.5, Libzstd 1.5.0 and Glibc 2.33 as libc. Jan 16 01:05:16.667 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning Jan 16 01:05:16.669 [notice] Read configuration file "/build/python-stem/src/stem-1.8.0/test/data/torrc". Jan 16 01:05:16.689 [warn] Your ContactInfo config option is not set. Please strongly consider setting it, so we can contact you if your relay is misconfigured, end-of-life, or something else goes wrong. It is also possible that your relay might get rejected from the network due to a missing valid contact address. Jan 16 01:05:16.691 [notice] Based on detected system memory, MaxMemInQueues is set to 8192 MB. You can override this by setting MaxMemInQueues by hand. Jan 16 01:05:16.693 [warn] ControlPort is open, but no authentication method has been configured. This means that any program on your computer can reconfigure your Tor. That's bad! You should upgrade your Tor controller as soon as possible. Jan 16 01:05:16.708 [notice] Opening Socks listener on 127.0.0.1:1112 Jan 16 01:05:16.711 [notice] Opened Socks listener connection (ready) on 127.0.0.1:1112 Jan 16 01:05:16.711 [notice] Opening Control listener on 127.0.0.1:1111 Jan 16 01:05:16.711 [notice] Opened Control listener connection (ready) on 127.0.0.1:1111 Jan 16 01:05:16.711 [notice] Opening OR listener on 0.0.0.0:1113 Jan 16 01:05:16.711 [notice] Opened OR listener connection (ready) on 0.0.0.0:1113 Jan 16 01:05:16.711 [notice] Opening OR listener on [::]:1113 Jan 16 01:05:16.711 [notice] Opened OR listener connection (ready) on [::]:1113 Jan 16 01:05:16.712 [warn] Fixing permissions on directory /build/python-stem/src/stem-1.8.0/test/data Jan 16 01:05:16.714 [warn] Your log may contain sensitive information - you disabled SafeLogging, and you're logging more than "notice". Don't log unless it serves an important reason. Overwrite the log afterwards. Jan 16 01:05:16.742 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip. Jan 16 01:05:17.536 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6. Jan 16 01:05:18.504 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now. Jan 16 01:05:18.664 [notice] You are running a new relay. Thanks for helping the Tor network! If you wish to know what will happen in the upcoming weeks regarding its usage, have a look at https://blog.torproject.org/blog/lifecycle-of-a-new-relay Jan 16 01:05:18.667 [notice] It looks like I need to generate and sign a new medium-term signing key, because I don't have one. To do that, I need to load (or create) the permanent master identity key. If the master identity key was not moved or encrypted with a passphrase, this will be done automatically and no further action is required. Otherwise, provide the necessary data using 'tor --keygen' to do it manually. Jan 16 01:05:19.617 [notice] Your Tor server's identity key fingerprint is 'Unnamed 5F78D34C8F6C8AC21BF05BBAABA32E787F53BF17' Jan 16 01:05:19.618 [notice] Your Tor server's identity key ed25519 fingerprint is 'Unnamed hEu4M2CG40B4Wq48ioo6C7NcuM8q04VUYNXfcuh7Zps' Jan 16 01:05:19.619 [notice] Bootstrapped 0% (starting): Starting done (3 seconds) Shutting down tor... done Traceback (most recent call last): File "/build/python-stem/src/stem-1.8.0/./run_tests.py", line 467, in main() File "/build/python-stem/src/stem-1.8.0/./run_tests.py", line 294, in main integ_runner.start(target, args.attribute_targets, args.tor_path) File "/build/python-stem/src/stem-1.8.0/test/runner.py", line 262, in start self._owner_controller = self.get_tor_controller(True) File "/build/python-stem/src/stem-1.8.0/test/runner.py", line 482, in get_tor_controller controller.authenticate(password = CONTROL_PASSWORD, chroot_path = self.get_chroot()) File "/build/python-stem/src/stem-1.8.0/stem/control.py", line 1112, in authenticate stem.connection.authenticate(self, *args, **kwargs) File "/build/python-stem/src/stem-1.8.0/stem/connection.py", line 596, in authenticate controller._post_authentication() File "/build/python-stem/src/stem-1.8.0/stem/control.py", line 4006, in _post_authentication self.reset_conf('__OwningControllerProcess') File "/build/python-stem/src/stem-1.8.0/stem/control.py", line 2488, in reset_conf self.set_options(dict([(entry, None) for entry in params]), True) File "/build/python-stem/src/stem-1.8.0/stem/control.py", line 2535, in set_options elif isinstance(value, collections.Iterable): AttributeError: module 'collections' has no attribute 'Iterable' ==> ERROR: A failure occurred in check().  Aborting...