==> Building on manectric ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-stem ./ .SRCINFO 665 100% 0.00kB/s 0:00:00 665 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=6/8) .nvchecker.toml 78 100% 76.17kB/s 0:00:00 78 100% 76.17kB/s 0:00:00 (xfr#2, to-chk=5/8) PKGBUILD 1,419 100% 1.35MB/s 0:00:00 1,419 100% 1.35MB/s 0:00:00 (xfr#3, to-chk=4/8) python-stem-1.8.3-1.log 494 100% 482.42kB/s 0:00:00 494 100% 482.42kB/s 0:00:00 (xfr#4, to-chk=3/8) keys/ keys/pgp/ keys/pgp/2DA81D01455C3A0032198850F305447AF806D46B.asc 4,999 100% 4.77MB/s 0:00:00 4,999 100% 4.77MB/s 0:00:00 (xfr#5, to-chk=0/8) sent 5,567 bytes received 169 bytes 3,824.00 bytes/sec total size is 7,357 speedup is 1.28 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix5 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix5]...done ==> Making package: python-stem 1.8.3-1 (Sat Apr 20 07:08:52 2024) ==> Retrieving sources...  -> Downloading python-stem-1.8.3.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 670k 0 670k 0 0 956k 0 --:--:-- --:--:-- --:--:-- 956k 100 2795k 0 2795k 0 0 3531k 0 --:--:-- --:--:-- --:--:-- 23.0M ==> Validating source files with sha256sums... python-stem-1.8.3.tar.gz ... Passed ==> Making package: python-stem 1.8.3-1 (Sat Apr 20 07:09:06 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (8) New Version Net Change extra/libsodium 1.0.19-3 0.41 MiB extra/python-cffi 1.16.0-1 1.41 MiB extra/python-pycparser 2.22-1 1.78 MiB extra/python-six 1.16.0-8 0.12 MiB core/procps-ng 4.0.4-3 2.25 MiB core/python 3.11.8-1 107.82 MiB extra/python-cryptography 42.0.5-1 4.56 MiB extra/python-pynacl 1.4.0-7 0.81 MiB Total Installed Size: 119.16 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing procps-ng... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-pycparser... installing python-cffi... Optional dependencies for python-cffi python-setuptools: "limited api" version checking in cffi.setuptools_ext installing python-cryptography... installing libsodium... installing python-six... installing python-pynacl... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (21) New Version Net Change Download Size extra/python-autocommand 2.2.2-4 0.08 MiB extra/python-fastjsonschema 2.19.1-1 0.30 MiB extra/python-inflect 7.2.0-1 0.39 MiB extra/python-jaraco.context 4.3.0-3 0.04 MiB extra/python-jaraco.functools 4.0.0-1 0.07 MiB extra/python-jaraco.text 3.12.0-1.1 0.09 MiB extra/python-more-itertools 10.2.0-1 0.64 MiB extra/python-ordered-set 4.1.0-4 0.07 MiB extra/python-packaging 23.2-1 0.53 MiB extra/python-platformdirs 4.2.0-1 0.24 MiB extra/python-pyproject-hooks 1.0.0-5 0.09 MiB extra/python-tomli 2.0.1-3 0.11 MiB extra/python-trove-classifiers 2024.3.25-1 0.12 MiB extra/python-typeguard 4.2.1-1 0.42 MiB extra/python-typing_extensions 4.10.0-1 0.39 MiB extra/python-validate-pyproject 0.13-1 0.29 MiB extra/python-build 1.1.1-2 0.69 MiB extra/python-installer 0.7.0-4 0.19 MiB extra/python-setuptools 1:69.0.3-4 4.68 MiB extra/python-wheel 0.43.0-1 0.28 MiB extra/tor 0.4.8.11-1 21.52 MiB 3.77 MiB Total Download Size: 3.77 MiB Total Installed Size: 31.23 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... tor-0.4.8.11-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-virtualenv: Use virtualenv for build isolation installing python-installer... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-typing_extensions... installing python-typeguard... installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing tor... Optional dependencies for tor torsocks: for torify [?25h==> Retrieving sources...  -> Found python-stem-1.8.3.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-stem-1.8.3.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... * Getting build dependencies for wheel... warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.orig' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.swp' found anywhere in distribution warning: no previously-included files matching '*.swo' found anywhere in distribution warning: no previously-included files matching '.tox' found anywhere in distribution warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*' found under directory 'test/data' warning: no previously-included files matching '*' found under directory 'docs/_build' * Building wheel... warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.orig' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.swp' found anywhere in distribution warning: no previously-included files matching '*.swo' found anywhere in distribution warning: no previously-included files matching '.tox' found anywhere in distribution warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*' found under directory 'test/data' warning: no previously-included files matching '*' found under directory 'docs/_build' Successfully built stem-1.8.3-py3-none-any.whl ==> Starting check()... ====================================================================== INITIALISING ====================================================================== stem version... 1.8.3 tor version... 0.4.8.11 python version... 3.11.8 operating system... Linux cryptography version... 42.0.5 mock version... done pyflakes version... missing pycodestyle version... missing checking for orphaned .pyc files... done (0.0s) checking for unused tests... done (0.0s) importing test modules... done (1.0s) emptying our tor data directory... skipped running pyflakes... unavailable running pycodestyle... unavailable ====================================================================== UNIT TESTS ====================================================================== util.enum... success (0.04s) util.connection... success (0.18s) util.conf... success (0.01s) util.log... success (0.00s) util.proc... success (0.05s) util.str_tools... success (0.01s) util.system... success (0.06s) util.term... success (0.00s) util.tor_tools... success (0.00s) util.__init__... success (0.00s) installation... success (0.01s) descriptor.descriptor... success (0.02s) descriptor.compression... success (0.02s) descriptor.export... success (0.01s) descriptor.reader... success (0.14s) descriptor.collector... success (2.44s) descriptor.remote... success (0.34s) descriptor.server_descriptor... failed (0.27s) test_address_malformed Constructs with an invalid ip address. [SUCCESS] test_annotations Checks that content before a descriptor are parsed as annotations.[SUCCESS] test_bridge_descriptor Parses a bridge descriptor. [SUCCESS] test_bridge_unsanitized Targeted check that individual unsanitized attributes will be detected.[SUCCESS] test_bridge_unsanitized_relay Checks that parsing a normal relay descriptor as a bridge will fail due to[SUCCESS] test_bridge_with_ed25519 Parses a bridge descriptor with ed25519. [SUCCESS] test_cr_in_contact_line Parses a descriptor with a huge contact line containing anomalous carriage[SUCCESS] test_descriptor_signing [FAILURE] test_digest 3 ms [SUCCESS] test_duplicate_field Constructs with a field appearing twice. [SUCCESS] test_extrainfo_sha256_digest Extrainfo descriptor line with both a hex and base64 encoded sha256 digest.[SUCCESS] test_fingerprint_invalid Checks that, with a correctly formed fingerprint, we'll fail validation if[SUCCESS] test_from_str 1 ms [SUCCESS] test_ipv6_policy Checks a 'ipv6-policy' line. [SUCCESS] test_make_router_status_entry_with_live_descriptor Tests creation of router status entries with a live server descriptor.[SUCCESS] test_metrics_descriptor Parses and checks our results against a server descriptor from metrics.[SUCCESS] test_metrics_descriptor_multiple Parses and checks our results against a server descriptor from metrics.[SUCCESS] test_minimal_bridge_descriptor Basic sanity check that we can parse a descriptor with minimal attributes.[SUCCESS] test_minimal_relay_descriptor Basic sanity check that we can parse a relay server descriptor with minimal[SUCCESS] test_missing_required_attr Test making a descriptor with a missing required attribute. [SUCCESS] test_negative_uptime Parses a descriptor where we are tolerant of a negative uptime, and another[SUCCESS] test_nickname_invalid_char Constructs with an invalid relay nickname. [SUCCESS] test_nickname_missing Constructs with a malformed router entry. [SUCCESS] test_nickname_too_long Constructs with a nickname that is an invalid length. [SUCCESS] test_non_ascii_descriptor Parses a descriptor with non-ascii content. [SUCCESS] test_ntor_onion_key Checks a 'ntor-onion-key' line. [SUCCESS] test_old_descriptor Parses a relay server descriptor from 2005. [SUCCESS] test_or_address_multiple Constructs a bridge descriptor with multiple or-address entries and multiple ports.[SUCCESS] test_or_address_v4 Constructs a bridge descriptor with a sanatized IPv4 or-address entry.[SUCCESS] test_or_address_v6 Constructs a bridge descriptor with a sanatized IPv6 or-address entry.[SUCCESS] test_parse_with_non_int_version Checks a 'proto' line with non-numeric content. [SUCCESS] test_pickleability Checks that we can unpickle lazy loaded server descriptors. [SUCCESS] test_platform_empty Constructs with an empty platform entry. [SUCCESS] test_platform_for_node_tor Parse a platform line belonging to a node-Tor relay. [SUCCESS] test_port_malformed Constructs with an ORPort that isn't numeric. [SUCCESS] test_port_newline Constructs with a newline replacing the ORPort. [SUCCESS] test_port_too_high Constructs with an ORPort that is too large. [SUCCESS] test_proceeding_line Includes a line prior to the 'router' entry. [SUCCESS] test_protocols Checks a 'proto' line. [SUCCESS] test_protocols_no_circuit_versions Constructs with a protocols line without circuit versions. [SUCCESS] test_protocols_with_no_mapping Checks a 'proto' line when it's not key=value pairs. [SUCCESS] test_published_leap_year Constructs with a published entry for a leap year, and when the date is[SUCCESS] test_published_no_time Constructs with a published entry without a time component. [SUCCESS] test_read_and_write_history Parses a read-history and write-history entry. This is now a deprecated[SUCCESS] test_read_history_empty Parses a read-history with an empty value. [SUCCESS] test_router_digest Constructs with a router-digest line with both valid and invalid contents.[SUCCESS] test_router_status_entry Tests creation of router status entries. [SUCCESS] test_trailing_line Includes a line after the 'router-signature' entry. [SUCCESS] test_unrecognized_line Includes unrecognized content in the descriptor. [SUCCESS] test_with_bridge_distribution Include a preferred method of bridge distribution. [SUCCESS] test_with_ed25519 Parses a descriptor with a ed25519 identity key, as added by proposal 228[SUCCESS] test_with_ed25519_expired_cert Parses a server descriptor with an expired ed25519 certificate[SUCCESS] test_with_opt Includes an 'opt ' entry. [SUCCESS] test_with_tarfile_object Fetch server descriptors via parse_file() for a tarfile object.[SUCCESS] test_with_tarfile_path Fetch server descriptors via parse_file() for a tarfile path.[SUCCESS] ====================================================================== ERROR: test_descriptor_signing ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-stem/src/stem-1.8.3/test/require.py", line 58, in wrapped return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.3/test/unit/descriptor/server_descriptor.py", line 279, in test_descriptor_signing RelayDescriptor.create(sign = True) File "/build/python-stem/src/stem-1.8.3/stem/descriptor/server_descriptor.py", line 911, in create return cls(cls.content(attr, exclude, sign, signing_key, exit_policy), validate = validate, skip_crypto_validation = not sign) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.3/stem/descriptor/server_descriptor.py", line 893, in content signing_key = create_signing_key() ^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.3/stem/descriptor/__init__.py", line 1378, in create_signing_key private_key._backend._lib.EVP_PKEY_CTX_set_signature_md = no_op ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'cryptography.hazmat.bindings._rust.openssl.rsa.RSA' object has no attribute '_backend' ---------------------------------------------------------------------- Ran 55 tests in 0.265s FAILED (errors=1) descriptor.extrainfo_descriptor... failed (0.29s) test_bridge_ip_transports_line Parses the 'bridge-ip-transports' line, which only appears in bridges.[SUCCESS] test_bridge_ip_versions_line Parses the 'bridge-ip-versions' line, which only appears in bridges.[SUCCESS] test_bridge_with_ed25519 Parses a bridge descriptor with a ed25519 identity key. [SUCCESS] test_cell_circuits_per_decile Parses the cell-circuits-per-decile line with valid and invalid data.[SUCCESS] test_conn_bi_direct Parses the conn-bi-direct line with valid and invalid data. [SUCCESS] test_descriptor_signing [FAILURE] test_dir_response_lines Parses the dirreq-v2-resp and dirreq-v3-resp lines with valid and invalid[SUCCESS] test_dir_stat_lines Parses the dirreq-v2-direct-dl, dirreq-v3-direct-dl, dirreq-v2-tunneled-dl,[SUCCESS] test_extrainfo_line_missing_fields Checks that validation catches when the extra-info line is missing fields[SUCCESS] test_from_str 0 ms [SUCCESS] test_geoip_db_digest Parses the geoip-db-digest and geoip6-db-digest lines with valid and[SUCCESS] test_hidden_service_stats Check the 'hidserv-rend-relayed-cells' and 'hidserv-dir-onions-seen', which[SUCCESS] test_hidden_service_stats_end Exercise the hidserv-stats-end, which should be a simple date.[SUCCESS] test_locale_mapping_lines Uses valid and invalid data to tests lines of the form... [SUCCESS] test_metrics_bridge_descriptor Parses and checks our results against an extrainfo bridge descriptor from[SUCCESS] test_metrics_relay_descriptor Parses and checks our results against an extrainfo descriptor from metrics.[SUCCESS] test_minimal_bridge_descriptor Basic sanity check that we can parse a descriptor with minimal attributes.[SUCCESS] test_minimal_extrainfo_descriptor Basic sanity check that we can parse an extrainfo descriptor with minimal[SUCCESS] test_multiple_metrics_bridge_descriptors Check that we can read bridge descriptors when there's multiple in a file.[SUCCESS] test_nonascii_v3_reqs Malformed descriptor with non-ascii content for the 'dirreq-v3-reqs' line.[SUCCESS] test_number_list_lines Uses valid and invalid data to tests lines of the form... [SUCCESS] test_padding_counts Check the 'hidserv-dir-onions-seen' lines. [SUCCESS] test_percentage_lines Uses valid and invalid data to tests lines of the form... [SUCCESS] test_port_mapping_lines Uses valid and invalid data to tests lines of the form... [SUCCESS] test_proceeding_line Includes a line prior to the 'extra-info' entry. [SUCCESS] test_timestamp_and_interval_lines Uses valid and invalid data to tests lines of the form... [SUCCESS] test_timestamp_interval_and_value_lines Uses valid and invalid data to tests lines of the form... [SUCCESS] test_timestamp_lines Uses valid and invalid data to tests lines of the form... [SUCCESS] test_trailing_line Includes a line after the 'router-signature' entry. [SUCCESS] test_transport These lines are only applicable in raw bridge descriptors, which are[SUCCESS] test_transport_line Basic exercise for both a bridge and relay's transport entry.[SUCCESS] test_unrecognized_line Includes unrecognized content in the descriptor. [SUCCESS] test_with_ed25519 Parses a descriptor with a ed25519 identity key. [SUCCESS] ====================================================================== ERROR: test_descriptor_signing ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-stem/src/stem-1.8.3/test/require.py", line 58, in wrapped return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.3/test/unit/descriptor/extrainfo_descriptor.py", line 147, in test_descriptor_signing RelayExtraInfoDescriptor.create(sign = True) File "/build/python-stem/src/stem-1.8.3/stem/descriptor/extrainfo_descriptor.py", line 951, in create return cls(cls.content(attr, exclude, sign, signing_key), validate = validate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.3/stem/descriptor/extrainfo_descriptor.py", line 940, in content signing_key = create_signing_key() ^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.3/stem/descriptor/__init__.py", line 1378, in create_signing_key private_key._backend._lib.EVP_PKEY_CTX_set_signature_md = no_op ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'cryptography.hazmat.bindings._rust.openssl.rsa.RSA' object has no attribute '_backend' ---------------------------------------------------------------------- Ran 33 tests in 0.285s FAILED (errors=1) descriptor.microdescriptor... success (0.01s) descriptor.router_status_entry... success (0.06s) descriptor.tordnsel... success (0.01s) descriptor.networkstatus.detached_signature... success (0.01s) descriptor.networkstatus.directory_authority... success (0.02s) descriptor.networkstatus.key_certificate... success (0.03s) descriptor.networkstatus.document_v2... success (0.01s) descriptor.networkstatus.document_v3... success (0.27s) descriptor.networkstatus.bridge_document... success (0.00s) descriptor.hidden_service_v2... success (0.04s) descriptor.hidden_service_v3... success (0.22s) descriptor.certificate... success (0.02s) descriptor.bandwidth_file... success (0.03s) exit_policy.rule... success (0.03s) exit_policy.policy... success (0.16s) endpoint... success (0.00s) version... success (0.02s) manual... success (0.07s) directory.authority... success (0.01s) directory.fallback... success (0.07s) tutorial... success (0.05s) tutorial_examples... success (0.10s) response.add_onion... success (0.01s) response.control_message... success (0.01s) response.control_line... success (0.00s) response.events... success (0.06s) response.getinfo... success (0.00s) response.getconf... success (0.00s) response.singleline... success (0.00s) response.authchallenge... success (0.00s) response.protocolinfo... success (0.01s) response.mapaddress... success (0.00s) client.size... success (0.01s) client.address... success (0.01s) client.link_protocol... success (0.00s) client.certificate... success (0.00s) client.link_specifier... success (0.00s) client.kdf... success (0.00s) client.cell... success (0.03s) connection.authentication... success (0.18s) connection.connect... success (0.02s) control.controller... success (0.51s) interpreter.arguments... success (0.01s) interpreter.autocomplete... success (0.01s) interpreter.help... success (0.01s) interpreter.commands... success (0.03s) doctest... success (0.27s) ====================================================================== INTEGRATION TESTS ====================================================================== Setting up a test instance... making test directory (/build/python-stem/src/stem-1.8.3/test/data)... done configuring logger (/build/python-stem/src/stem-1.8.3/test/data/log)... done writing torrc (/build/python-stem/src/stem-1.8.3/test/data/torrc)... done # Configuration for stem's integration tests SocksPort 1112 ORPort 1113 DataDirectory /build/python-stem/src/stem-1.8.3/test/data Log notice stdout Log debug file /build/python-stem/src/stem-1.8.3/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... Apr 20 07:09:35.745 [notice] Tor 0.4.8.11 running on Linux with Libevent 2.1.12-stable, OpenSSL 3.2.1, Zlib 1.3.1, Liblzma 5.6.1, Libzstd 1.5.5 and Glibc 2.39 as libc. Apr 20 07:09:35.747 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/ Apr 20 07:09:35.748 [notice] Read configuration file "/build/python-stem/src/stem-1.8.3/test/data/torrc". Apr 20 07:09:35.758 [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. Apr 20 07:09:35.759 [notice] Based on detected system memory, MaxMemInQueues is set to 8192 MB. You can override this by setting MaxMemInQueues by hand. Apr 20 07:09:35.760 [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. Apr 20 07:09:35.767 [notice] Opening Socks listener on 127.0.0.1:1112 Apr 20 07:09:35.768 [notice] Opened Socks listener connection (ready) on 127.0.0.1:1112 Apr 20 07:09:35.768 [notice] Opening Control listener on 127.0.0.1:1111 Apr 20 07:09:35.768 [notice] Opened Control listener connection (ready) on 127.0.0.1:1111 Apr 20 07:09:35.768 [notice] Opening OR listener on 0.0.0.0:1113 Apr 20 07:09:35.768 [notice] Opened OR listener connection (ready) on 0.0.0.0:1113 Apr 20 07:09:35.769 [notice] Opening OR listener on [::]:1113 Apr 20 07:09:35.769 [notice] Opened OR listener connection (ready) on [::]:1113 Apr 20 07:09:35.769 [warn] Fixing permissions on directory /build/python-stem/src/stem-1.8.3/test/data Apr 20 07:09:35.770 [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. Apr 20 07:09:35.781 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip. Apr 20 07:09:36.539 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6. Apr 20 07:09:37.248 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now. Apr 20 07:09:37.436 [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/lifecycle-of-a-new-relay Apr 20 07:09:37.438 [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. Apr 20 07:09:38.548 [notice] Your Tor server's identity key fingerprint is 'Unnamed 608CD46665504887D962C97E0ACA32ACC033937A' Apr 20 07:09:38.548 [notice] Your Tor server's identity key ed25519 fingerprint is 'Unnamed FzDf2kG6Ze1hh6U1qeGV5KckyxBkmdBz9bYhqNb0g44' Apr 20 07:09:38.549 [notice] Bootstrapped 0% (starting): Starting done (2 seconds) Running tests... util.conf... success (0.01s) util.connection... success (0.00s) util.proc... success (0.00s) util.system... failed (1.38s) test_bsd_jail_id Exercises the stem.util.system.bsd_jail_id function, running through[SUCCESS] test_call_time_tracked Check that time taken in the call() function is tracked by SYSTEM_CALL_TIME.[SUCCESS] test_call_timeout 9 ms [SUCCESS] test_cwd (DisableDebuggerAttachment is set) [SKIPPED] test_cwd_lsof (DisableDebuggerAttachment is set) [SKIPPED] test_cwd_pwdx (DisableDebuggerAttachment is set) [SKIPPED] test_daemon_task_on_failure Checks DaemonTask when an exception is raised. [SUCCESS] test_daemon_task_when_successful Checks a simple, successfully DaemonTask that simply echos a value.[SUCCESS] test_expand_path Exercises the expand_path() method with actual runtime data. [SUCCESS] test_is_available 0 ms [SUCCESS] test_is_running_by_name 99 ms [SUCCESS] test_is_running_by_pid Checks the stem.util.system.is_running function with a pid. [SUCCESS] test_pid_by_name 237 ms [SUCCESS] test_pid_by_name_lsof (DisableDebuggerAttachment is set) [SKIPPED] test_pid_by_name_pgrep 102 ms [SUCCESS] test_pid_by_name_pidof [FAILURE] test_pid_by_name_ps_bsd (bsd only) [SKIPPED] test_pid_by_name_ps_linux 99 ms [SUCCESS] test_pid_by_name_tasklist (tasklist unavailable) [SKIPPED] test_pid_by_open_file Checks the stem.util.system.pid_by_open_file function. [SUCCESS] test_pid_by_port (DisableDebuggerAttachment is set) [SKIPPED] test_pid_by_port_lsof (DisableDebuggerAttachment is set) [SKIPPED] test_pid_by_port_netstat (DisableDebuggerAttachment is set) [SKIPPED] test_pid_by_port_sockstat (bsd only) [SKIPPED] test_pids_by_user 44 ms [SUCCESS] test_set_process_name Exercises the get_process_name() and set_process_name() methods.[SUCCESS] test_start_time_none Tests the start_time function when the process doesn't exist.[SUCCESS] test_start_time_proc 3 ms [SUCCESS] test_start_time_ps 42 ms [SUCCESS] test_user_none Tests the user function when the process doesn't exist. [SUCCESS] test_user_proc 49 ms [SUCCESS] test_user_ps 48 ms [SUCCESS] ====================================================================== ERROR: test_pid_by_name_pidof ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-stem/src/stem-1.8.3/stem/util/system.py", line 1329, in call raise OSError('%s returned exit status %i' % (command, exit_status)) OSError: pidof tor returned exit status 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/build/python-stem/src/stem-1.8.3/test/integ/util/system.py", line 82, in wrapped return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.3/test/require.py", line 58, in wrapped return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.3/test/integ/util/system.py", line 212, in test_pid_by_name_pidof self.assertEqual(tor_pid, stem.util.system.pid_by_name(tor_cmd)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.3/stem/util/system.py", line 609, in pid_by_name results = call(GET_PID_BY_NAME_PIDOF % process_name, None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 1189, in _execute_mock_call result = effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.3/test/integ/util/system.py", line 38, in _filter_system_call return real_call_function(command) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.3/stem/util/system.py", line 1348, in call raise CallError(str(exc), ' '.join(command_list), exit_status, runtime, stdout, stderr) stem.util.system.CallError: pidof tor returned exit status 1 ---------------------------------------------------------------------- Ran 32 tests in 1.376s FAILED (errors=1, skipped=10) interpreter... success (4.44s) version... success (0.74s) manual... success (0.00s) directory.authority... success (0.00s) directory.fallback... success (0.00s) response.protocolinfo... success (16.46s) socket.control_socket... success (16.27s) socket.control_message... success (1.99s) connection.authentication... success (1.66s) connection.connect... success (0.01s) control.base_controller... success (0.39s) descriptor.collector... success (0.01s) descriptor.remote... success (0.01s) descriptor.server_descriptor... success (0.00s) descriptor.extrainfo_descriptor... success (0.00s) descriptor.microdescriptor... success (0.00s) descriptor.networkstatus... success (0.00s) Shutting down tor... done Static error checking requires pyflakes version 0.7.3 or later. Please install it from ... https://pypi.org/project/pyflakes/ Style checks require pycodestyle version 1.4.2 or later. Please install it from... https://pypi.org/project/pycodestyle/ TESTING FAILED (54 seconds) [UNIT TEST] test_descriptor_signing (test.unit.descriptor.server_descriptor.TestServerDescriptor) ... ERROR [UNIT TEST] test_descriptor_signing (test.unit.descriptor.extrainfo_descriptor.TestExtraInfoDescriptor) ... ERROR [RUN_OPEN] test_pid_by_name_pidof (test.integ.util.system.TestSystem) ... ERROR You can re-run just these tests with: ./run_tests.py --all --test descriptor.server_descriptor ./run_tests.py --all --test util.system ./run_tests.py --all --test descriptor.extrainfo_descriptor ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix5/build [?25h[?25hreceiving incremental file list python-stem-1.8.3-1-riscv64-build.log python-stem-1.8.3-1-riscv64-check.log python-stem-1.8.3-1-riscv64-prepare.log sent 81 bytes received 7,212 bytes 4,862.00 bytes/sec total size is 30,771 speedup is 4.22