==> Building on luxio ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,618 100% 0.00kB/s 0:00:00 1,618 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=4/6) python-stem-1.8.2-1.log 315 100% 307.62kB/s 0:00:00 315 100% 307.62kB/s 0:00:00 (xfr#2, to-chk=3/6) 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#3, to-chk=0/6) sent 4,972 bytes received 106 bytes 3,385.33 bytes/sec total size is 6,809 speedup is 1.34 ==> Ensuring required PGP keys are present...  -> Checking for 2DA81D01455C3A0032198850F305447AF806D46B... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix25 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] -> [felix25]...done ==> Making package: python-stem 1.8.2-1 (Fri Jul 14 04:38:38 2023) ==> Retrieving sources...  -> Downloading python-stem-1.8.2.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 100k 0 100k 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k 100 2794k 0 2794k 0 0 3485k 0 --:--:-- --:--:-- --:--:-- 12.3M  -> Downloading python-stem-1.8.2.tar.gz.asc... % 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 140 100 140 0 0 276 0 --:--:-- --:--:-- --:--:-- 276 ==> Validating source files with sha256sums... python-stem-1.8.2.tar.gz ... Passed python-stem-1.8.2.tar.gz.asc ... Skipped ==> Verifying source file signatures with gpg... python-stem-1.8.2.tar.gz ... Passed (WARNING: the key has expired.) ==> WARNING: Warnings have occurred while verifying the signatures.  Please make sure you really trust them. ==> Making package: python-stem 1.8.2-1 (Fri Jul 14 04:38:54 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (10) New Version Net Change core/libnsl 2.0.0-3 0.06 MiB extra/libsodium 1.0.18-2 0.38 MiB extra/python-cffi 1.15.1-3 1.39 MiB extra/python-ply 3.11-12 0.40 MiB extra/python-pycparser 2.21-5 1.77 MiB extra/python-six 1.16.0-8 0.12 MiB core/procps-ng 4.0.3-1 2.23 MiB core/python 3.11.3-2 107.17 MiB extra/python-cryptography 41.0.1-2 54.95 MiB extra/python-pynacl 1.4.0-6 0.81 MiB Total Installed Size: 169.28 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-ply... installing python-pycparser... installing python-cffi... installing python-cryptography... installing libsodium... installing python-six... installing python-pynacl... installing procps-ng... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (1) New Version Net Change extra/tor 0.4.7.13-2 14.43 MiB Total Installed Size: 14.43 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing tor... Optional dependencies for tor torsocks: for torify [?25h==> Retrieving sources...  -> Found python-stem-1.8.2.tar.gz  -> Found python-stem-1.8.2.tar.gz.asc ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-stem-1.8.2.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... /build/python-stem/src/stem-1.8.2/setup.py:69: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives import distutils.core running build running build_py creating build creating build/lib creating build/lib/stem copying stem/__init__.py -> build/lib/stem copying stem/connection.py -> build/lib/stem copying stem/control.py -> build/lib/stem copying stem/directory.py -> build/lib/stem copying stem/exit_policy.py -> build/lib/stem copying stem/manual.py -> build/lib/stem copying stem/prereq.py -> build/lib/stem copying stem/process.py -> build/lib/stem copying stem/socket.py -> build/lib/stem copying stem/version.py -> build/lib/stem creating build/lib/stem/client copying stem/client/__init__.py -> build/lib/stem/client copying stem/client/cell.py -> build/lib/stem/client copying stem/client/datatype.py -> build/lib/stem/client creating build/lib/stem/descriptor copying stem/descriptor/__init__.py -> build/lib/stem/descriptor copying stem/descriptor/bandwidth_file.py -> build/lib/stem/descriptor copying stem/descriptor/certificate.py -> build/lib/stem/descriptor copying stem/descriptor/collector.py -> build/lib/stem/descriptor copying stem/descriptor/export.py -> build/lib/stem/descriptor copying stem/descriptor/extrainfo_descriptor.py -> build/lib/stem/descriptor copying stem/descriptor/hidden_service.py -> build/lib/stem/descriptor copying stem/descriptor/hidden_service_descriptor.py -> build/lib/stem/descriptor copying stem/descriptor/microdescriptor.py -> build/lib/stem/descriptor copying stem/descriptor/networkstatus.py -> build/lib/stem/descriptor copying stem/descriptor/reader.py -> build/lib/stem/descriptor copying stem/descriptor/remote.py -> build/lib/stem/descriptor copying stem/descriptor/router_status_entry.py -> build/lib/stem/descriptor copying stem/descriptor/server_descriptor.py -> build/lib/stem/descriptor copying stem/descriptor/tordnsel.py -> build/lib/stem/descriptor creating build/lib/stem/interpreter copying stem/interpreter/__init__.py -> build/lib/stem/interpreter copying stem/interpreter/arguments.py -> build/lib/stem/interpreter copying stem/interpreter/autocomplete.py -> build/lib/stem/interpreter copying stem/interpreter/commands.py -> build/lib/stem/interpreter copying stem/interpreter/help.py -> build/lib/stem/interpreter creating build/lib/stem/response copying stem/response/__init__.py -> build/lib/stem/response copying stem/response/add_onion.py -> build/lib/stem/response copying stem/response/authchallenge.py -> build/lib/stem/response copying stem/response/events.py -> build/lib/stem/response copying stem/response/getconf.py -> build/lib/stem/response copying stem/response/getinfo.py -> build/lib/stem/response copying stem/response/mapaddress.py -> build/lib/stem/response copying stem/response/protocolinfo.py -> build/lib/stem/response creating build/lib/stem/util copying stem/util/__init__.py -> build/lib/stem/util copying stem/util/conf.py -> build/lib/stem/util copying stem/util/connection.py -> build/lib/stem/util copying stem/util/ed25519.py -> build/lib/stem/util copying stem/util/enum.py -> build/lib/stem/util copying stem/util/log.py -> build/lib/stem/util copying stem/util/lru_cache.py -> build/lib/stem/util copying stem/util/ordereddict.py -> build/lib/stem/util copying stem/util/proc.py -> build/lib/stem/util copying stem/util/str_tools.py -> build/lib/stem/util copying stem/util/system.py -> build/lib/stem/util copying stem/util/term.py -> build/lib/stem/util copying stem/util/test_tools.py -> build/lib/stem/util copying stem/util/tor_tools.py -> build/lib/stem/util copying stem/cached_fallbacks.cfg -> build/lib/stem copying stem/cached_manual.sqlite -> build/lib/stem copying stem/settings.cfg -> build/lib/stem copying stem/interpreter/settings.cfg -> build/lib/stem/interpreter copying stem/util/ports.cfg -> build/lib/stem/util running build_scripts creating build/scripts-3.11 copying and adjusting tor-prompt -> build/scripts-3.11 changing mode of build/scripts-3.11/tor-prompt from 644 to 755 ==> Starting check()... ====================================================================== INITIALISING ====================================================================== stem version... 1.8.2 tor version... 0.4.7.13 python version... 3.11.3 operating system... Linux cryptography version... 41.0.1 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 (0.9s) emptying our tor data directory... skipped running pyflakes... unavailable running pycodestyle... unavailable ====================================================================== UNIT TESTS ====================================================================== util.enum... success (0.04s) util.connection... success (0.15s) util.conf... success (0.01s) util.log... success (0.00s) util.proc... success (0.04s) util.str_tools... success (0.01s) util.system... success (0.05s) util.term... success (0.00s) util.tor_tools... success (0.00s) util.__init__... success (0.00s) installation... success (0.01s) descriptor.descriptor... success (0.01s) descriptor.compression... success (0.01s) descriptor.export... success (0.01s) descriptor.reader... success (0.12s) descriptor.collector... success (2.22s) descriptor.remote... success (0.33s) descriptor.server_descriptor... success (0.35s) descriptor.extrainfo_descriptor... success (0.23s) descriptor.microdescriptor... success (0.01s) descriptor.router_status_entry... success (0.06s) descriptor.tordnsel... success (0.00s) 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.00s) descriptor.networkstatus.document_v3... success (0.25s) descriptor.networkstatus.bridge_document... success (0.00s) descriptor.hidden_service_v2... success (0.03s) descriptor.hidden_service_v3... success (0.21s) descriptor.certificate... success (0.02s) descriptor.bandwidth_file... success (0.02s) exit_policy.rule... success (0.03s) exit_policy.policy... success (0.13s) endpoint... success (0.00s) version... success (0.01s) manual... success (0.06s) directory.authority... success (0.01s) directory.fallback... success (0.06s) tutorial... success (0.05s) tutorial_examples... success (0.09s) response.add_onion... success (0.00s) response.control_message... success (0.01s) response.control_line... success (0.00s) response.events... success (0.05s) 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.00s) 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.17s) connection.connect... success (0.02s) control.controller... success (0.53s) interpreter.arguments... success (0.01s) interpreter.autocomplete... success (0.00s) interpreter.help... success (0.01s) interpreter.commands... success (0.03s) doctest... success (0.23s) ====================================================================== INTEGRATION TESTS ====================================================================== Setting up a test instance... making test directory (/build/python-stem/src/stem-1.8.2/test/data)... done configuring logger (/build/python-stem/src/stem-1.8.2/test/data/log)... done writing torrc (/build/python-stem/src/stem-1.8.2/test/data/torrc)... done # Configuration for stem's integration tests SocksPort 1112 ORPort 1113 DataDirectory /build/python-stem/src/stem-1.8.2/test/data Log notice stdout Log debug file /build/python-stem/src/stem-1.8.2/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... Jul 14 04:39:14.886 [notice] Tor 0.4.7.13 running on Linux with Libevent 2.1.12-stable, OpenSSL 3.1.1, Zlib 1.2.13, Liblzma 5.4.3, Libzstd 1.5.5 and Glibc 2.37 as libc. Jul 14 04:39:14.886 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/ Jul 14 04:39:14.886 [warn] Tor was compiled with zstd 1.5.4, but is running with zstd 1.5.5. For safety, we'll avoid using advanced zstd functionality. Jul 14 04:39:14.886 [notice] Read configuration file "/build/python-stem/src/stem-1.8.2/test/data/torrc". Jul 14 04:39:14.895 [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. Jul 14 04:39:14.896 [notice] Based on detected system memory, MaxMemInQueues is set to 8192 MB. You can override this by setting MaxMemInQueues by hand. Jul 14 04:39:14.897 [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. Jul 14 04:39:14.904 [notice] Opening Socks listener on 127.0.0.1:1112 Jul 14 04:39:14.905 [notice] Opened Socks listener connection (ready) on 127.0.0.1:1112 Jul 14 04:39:14.905 [notice] Opening Control listener on 127.0.0.1:1111 Jul 14 04:39:14.905 [notice] Opened Control listener connection (ready) on 127.0.0.1:1111 Jul 14 04:39:14.905 [notice] Opening OR listener on 0.0.0.0:1113 Jul 14 04:39:14.905 [notice] Opened OR listener connection (ready) on 0.0.0.0:1113 Jul 14 04:39:14.905 [notice] Opening OR listener on [::]:1113 Jul 14 04:39:14.905 [notice] Opened OR listener connection (ready) on [::]:1113 Jul 14 04:39:14.905 [warn] Fixing permissions on directory /build/python-stem/src/stem-1.8.2/test/data Jul 14 04:39:14.906 [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. Jul 14 04:39:14.917 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip. Jul 14 04:39:15.240 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6. Jul 14 04:39:15.695 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now. Jul 14 04:39:16.040 [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 Jul 14 04:39:16.041 [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. Jul 14 04:39:17.403 [notice] Your Tor server's identity key fingerprint is 'Unnamed FA7E836FBAC006A9E78ED8FC3C2B6611105DFE76' Jul 14 04:39:17.403 [notice] Your Tor server's identity key ed25519 fingerprint is 'Unnamed a4Hd+K1NKrmNI0b7ysptVf0nFLVfz2aBiXP13Ff5QY0' Jul 14 04:39:17.404 [notice] Bootstrapped 0% (starting): Starting done (2 seconds) Running tests... util.conf... success (0.01s) util.connection... success (0.01s) util.proc... success (0.01s) util.system... failed (1.03s) 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 4 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 71 ms [SUCCESS] test_is_running_by_pid Checks the stem.util.system.is_running function with a pid. [SUCCESS] test_pid_by_name 168 ms [SUCCESS] test_pid_by_name_lsof (DisableDebuggerAttachment is set) [SKIPPED] test_pid_by_name_pgrep 74 ms [SUCCESS] test_pid_by_name_pidof [FAILURE] test_pid_by_name_ps_bsd (bsd only) [SKIPPED] test_pid_by_name_ps_linux 71 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 35 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 2 ms [SUCCESS] test_start_time_ps 34 ms [SUCCESS] test_user_none Tests the user function when the process doesn't exist. [SUCCESS] test_user_proc 38 ms [SUCCESS] test_user_ps 37 ms [SUCCESS] ====================================================================== ERROR: test_pid_by_name_pidof ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-stem/src/stem-1.8.2/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.2/test/integ/util/system.py", line 82, in wrapped return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.2/test/require.py", line 58, in wrapped return func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.2/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.2/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 1118, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 1122, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/mock.py", line 1183, in _execute_mock_call result = effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.2/test/integ/util/system.py", line 38, in _filter_system_call return real_call_function(command) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/build/python-stem/src/stem-1.8.2/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.022s FAILED (errors=1, skipped=10) interpreter... success (6.27s) version... success (1.44s) manual... success (0.00s) directory.authority... success (0.00s) directory.fallback... success (0.00s) response.protocolinfo... success (2.75s) socket.control_socket... success (0.07s) socket.control_message... success (0.13s) connection.authentication... success (5.27s) connection.connect... success (0.38s) control.base_controller... success (5.64s) descriptor.collector... success (0.01s) descriptor.remote... success (0.00s) 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 (32 seconds) [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 util.system ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix25/build receiving incremental file list python-stem-1.8.2-1-riscv64-build.log python-stem-1.8.2-1-riscv64-check.log python-stem-1.8.2-1-riscv64-prepare.log sent 81 bytes received 5,362 bytes 3,628.67 bytes/sec total size is 21,451 speedup is 3.94