==> Building on luxio ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,559 100% 0.00kB/s 0:00:00 1,559 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=4/6) python-stem-1.8.1-1.log 204 100% 199.22kB/s 0:00:00 204 100% 199.22kB/s 0:00:00 (xfr#2, to-chk=3/6) keys/ keys/pgp/ keys/pgp/68278CC5DD2D1E85C4E45AD90445B7AB9ABBEEC6.asc 3,724 100% 3.55MB/s 0:00:00 3,724 100% 3.55MB/s 0:00:00 (xfr#3, to-chk=0/6) sent 4,052 bytes received 106 bytes 2,772.00 bytes/sec total size is 5,475 speedup is 1.32 ==> Ensuring required PGP keys are present...  -> Checking for 68278CC5DD2D1E85C4E45AD90445B7AB9ABBEEC6... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root28 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community 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] -> [root28]...done ==> Making package: python-stem 1.8.1-1 (Sun Apr 16 20:58:57 2023) ==> Retrieving sources...  -> Downloading stem-1.8.1.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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2792k 100 2792k 0 0 7870k 0 --:--:-- --:--:-- --:--:-- 7870k  -> Downloading stem-1.8.1.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 488 100 488 0 0 691 0 --:--:-- --:--:-- --:--:-- 691 100 488 100 488 0 0 691 0 --:--:-- --:--:-- --:--:-- 0 ==> Validating source files with sha256sums... stem-1.8.1.tar.gz ... Passed stem-1.8.1.tar.gz.asc ... Skipped ==> Verifying source file signatures with gpg... stem-1.8.1.tar.gz ... Passed ==> Making package: python-stem 1.8.1-1 (Sun Apr 16 20:59:06 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-1 1.00 MiB extra/python-ply 3.11-10 0.31 MiB extra/python-pycparser 2.21-3 1.39 MiB extra/python-six 1.16.0-6 0.09 MiB core/procps-ng 3.3.17-1 1.43 MiB core/python 3.10.10-1 81.41 MiB extra/python-cryptography 40.0.1-1 3.80 MiB community/python-pynacl 1.4.0-5 0.65 MiB Total Installed Size: 90.52 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 Download Size community/tor 0.4.7.13-2 14.43 MiB 2.75 MiB Total Download Size: 2.75 MiB Total Installed Size: 14.43 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... tor-0.4.7.13-2-riscv64 downloading... 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 stem-1.8.1.tar.gz  -> Found stem-1.8.1.tar.gz.asc ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting stem-1.8.1.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... /build/python-stem/src/stem-1.8.1/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.10 copying and adjusting tor-prompt -> build/scripts-3.10 changing mode of build/scripts-3.10/tor-prompt from 644 to 755 ==> Starting check()... ====================================================================== INITIALISING ====================================================================== stem version... 1.8.1 tor version... 0.4.7.13 python version... 3.10.10 operating system... Linux cryptography version... missing 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.7s) emptying our tor data directory... skipped running pyflakes... unavailable running pycodestyle... unavailable ====================================================================== UNIT TESTS ====================================================================== util.enum... success (0.02s) util.connection... success (0.13s) util.conf... success (0.00s) 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.13s) descriptor.collector... success (2.41s) descriptor.remote... success (0.29s) descriptor.server_descriptor... success (0.11s) descriptor.extrainfo_descriptor... success (0.13s) 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.28s) descriptor.networkstatus.bridge_document... success (0.00s) descriptor.hidden_service_v2... success (0.02s) descriptor.hidden_service_v3... success (0.02s) descriptor.certificate... success (0.01s) descriptor.bandwidth_file... success (0.02s) exit_policy.rule... success (0.03s) exit_policy.policy... success (0.15s) 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.06s) 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.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.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.16s) connection.connect... success (0.02s) control.controller... success (0.55s) interpreter.arguments... success (0.01s) interpreter.autocomplete... success (0.00s) interpreter.help... success (0.01s) interpreter.commands... success (0.03s) doctest... success (0.25s) ====================================================================== INTEGRATION TESTS ====================================================================== Setting up a test instance... making test directory (/build/python-stem/src/stem-1.8.1/test/data)... done configuring logger (/build/python-stem/src/stem-1.8.1/test/data/log)... done writing torrc (/build/python-stem/src/stem-1.8.1/test/data/torrc)... done # Configuration for stem's integration tests SocksPort 1112 ORPort 1113 DataDirectory /build/python-stem/src/stem-1.8.1/test/data Log notice stdout Log debug file /build/python-stem/src/stem-1.8.1/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 16 20:59:24.582 [notice] Tor 0.4.7.13 running on Linux with Libevent 2.1.12-stable, OpenSSL 3.0.8, Zlib 1.2.13, Liblzma 5.4.2, Libzstd 1.5.4 and Glibc 2.37 as libc. Apr 16 20:59:24.582 [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 16 20:59:24.583 [notice] Read configuration file "/build/python-stem/src/stem-1.8.1/test/data/torrc". Apr 16 20:59:24.590 [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 16 20:59:24.591 [notice] Based on detected system memory, MaxMemInQueues is set to 8192 MB. You can override this by setting MaxMemInQueues by hand. Apr 16 20:59:24.592 [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 16 20:59:24.598 [notice] Opening Socks listener on 127.0.0.1:1112 Apr 16 20:59:24.599 [notice] Opened Socks listener connection (ready) on 127.0.0.1:1112 Apr 16 20:59:24.599 [notice] Opening Control listener on 127.0.0.1:1111 Apr 16 20:59:24.599 [notice] Opened Control listener connection (ready) on 127.0.0.1:1111 Apr 16 20:59:24.599 [notice] Opening OR listener on 0.0.0.0:1113 Apr 16 20:59:24.599 [notice] Opened OR listener connection (ready) on 0.0.0.0:1113 Apr 16 20:59:24.599 [notice] Opening OR listener on [::]:1113 Apr 16 20:59:24.599 [notice] Opened OR listener connection (ready) on [::]:1113 Apr 16 20:59:24.599 [warn] Fixing permissions on directory /build/python-stem/src/stem-1.8.1/test/data Apr 16 20:59:24.600 [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 16 20:59:24.609 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip. Apr 16 20:59:24.892 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6. Apr 16 20:59:25.307 [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 16 20:59:25.570 [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 16 20:59:25.571 [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 16 20:59:27.917 [notice] Your Tor server's identity key fingerprint is 'Unnamed DF74EC8DCA03A34D2C1639B9CB7FD0F6663BE185' Apr 16 20:59:27.918 [notice] Your Tor server's identity key ed25519 fingerprint is 'Unnamed hjkMwZ8RakZOUmnkOWRAcWsurkwzuW+VrQGH2Y4ZKkQ' Apr 16 20:59:27.918 [notice] Bootstrapped 0% (starting): Starting done (3 seconds) Running tests... util.conf... success (0.01s) util.connection... success (0.01s) util.proc... success (0.00s) util.system... failed (0.79s) 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 57 ms [SUCCESS] test_is_running_by_pid Checks the stem.util.system.is_running function with a pid. [SUCCESS] test_pid_by_name 125 ms [SUCCESS] test_pid_by_name_lsof (DisableDebuggerAttachment is set) [SKIPPED] test_pid_by_name_pgrep 58 ms [SUCCESS] test_pid_by_name_pidof [FAILURE] test_pid_by_name_ps_bsd (bsd only) [SKIPPED] test_pid_by_name_ps_linux 54 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 26 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 23 ms [SUCCESS] test_user_none Tests the user function when the process doesn't exist. [SUCCESS] test_user_proc 32 ms [SUCCESS] test_user_ps 31 ms [SUCCESS] ====================================================================== ERROR: test_pid_by_name_pidof ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/python-stem/src/stem-1.8.1/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.1/test/integ/util/system.py", line 82, in wrapped return func(self, *args, **kwargs) File "/build/python-stem/src/stem-1.8.1/test/require.py", line 58, in wrapped return func(self, *args, **kwargs) File "/build/python-stem/src/stem-1.8.1/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.1/stem/util/system.py", line 609, in pid_by_name results = call(GET_PID_BY_NAME_PIDOF % process_name, None) File "/usr/lib/python3.10/unittest/mock.py", line 1114, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib/python3.10/unittest/mock.py", line 1118, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib/python3.10/unittest/mock.py", line 1179, in _execute_mock_call result = effect(*args, **kwargs) File "/build/python-stem/src/stem-1.8.1/test/integ/util/system.py", line 38, in _filter_system_call return real_call_function(command) File "/build/python-stem/src/stem-1.8.1/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 0.786s FAILED (errors=1, skipped=10) interpreter... success (6.67s) version... success (0.03s) manual... success (0.00s) directory.authority... success (0.00s) directory.fallback... success (0.00s) response.protocolinfo... success (0.01s) socket.control_socket... success (0.04s) socket.control_message... success (0.02s) connection.authentication... success (0.03s) connection.connect... success (0.01s) control.base_controller... success (0.28s) 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 (17 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/root28/build receiving incremental file list python-stem-1.8.1-1-riscv64-build.log python-stem-1.8.1-1-riscv64-check.log python-stem-1.8.1-1-riscv64-prepare.log sent 81 bytes received 5,266 bytes 3,564.67 bytes/sec total size is 20,918 speedup is 3.91