==> Building on shellder ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,699 100% 0.00kB/s 0:00:00 1,699 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=5/7) python-stem-1.8.1-2.log 207 100% 202.15kB/s 0:00:00 207 100% 202.15kB/s 0:00:00 (xfr#2, to-chk=4/7) python3-11.patch 1,484 100% 1.42MB/s 0:00:00 1,484 100% 1.42MB/s 0:00:00 (xfr#3, to-chk=3/7) keys/ keys/pgp/ keys/pgp/68278CC5DD2D1E85C4E45AD90445B7AB9ABBEEC6.asc 700 18% 683.59kB/s 0:00:00 3,724 100% 3.55MB/s 0:00:00 (xfr#4, to-chk=0/7) sent 1,999 bytes received 161 bytes 1,440.00 bytes/sec total size is 7,102 speedup is 3.29 ==> 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 root41 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] -> [root41]...done ==> Making package: python-stem 1.8.1-2 (Tue May 9 20:30:41 2023) ==> Retrieving sources...  -> Found stem-1.8.1.tar.gz  -> Found stem-1.8.1.tar.gz.asc  -> Found python3-11.patch ==> Validating source files with sha256sums... stem-1.8.1.tar.gz ... Passed stem-1.8.1.tar.gz.asc ... Skipped python3-11.patch ... Passed ==> Verifying source file signatures with gpg... stem-1.8.1.tar.gz ... Passed ==> Making package: python-stem 1.8.1-2 (Tue May 9 20:30: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 3.3.17-1 1.43 MiB core/python 3.11.3-1 104.68 MiB extra/python-cryptography 40.0.2-1 4.58 MiB community/python-pynacl 1.4.0-6 0.81 MiB Total Installed Size: 115.61 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 community/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 stem-1.8.1.tar.gz  -> Found stem-1.8.1.tar.gz.asc  -> Found python3-11.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting stem-1.8.1.tar.gz with bsdtar ==> Starting prepare()... patching file stem/control.py patching file stem/prereq.py patching file stem/util/conf.py ==> 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/directory.py -> build/lib/stem copying stem/exit_policy.py -> build/lib/stem copying stem/manual.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 copying stem/control.py -> build/lib/stem copying stem/prereq.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/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/util/conf.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.1 tor version... 0.4.7.13 python version... 3.11.3 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 (1.4s) emptying our tor data directory... skipped running pyflakes... unavailable running pycodestyle... unavailable ====================================================================== UNIT TESTS ====================================================================== util.enum... success (0.06s) util.connection... success (0.24s) util.conf... success (0.01s) util.log... success (0.00s) util.proc... success (0.07s) util.str_tools... success (0.01s) util.system... success (0.08s) 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.02s) descriptor.reader... success (0.19s) descriptor.collector... success (3.60s) descriptor.remote... success (0.39s) descriptor.server_descriptor... success (0.17s) descriptor.extrainfo_descriptor... success (0.22s) descriptor.microdescriptor... success (0.02s) descriptor.router_status_entry... success (0.09s) descriptor.tordnsel... success (0.01s) descriptor.networkstatus.detached_signature... success (0.02s) descriptor.networkstatus.directory_authority... success (0.04s) descriptor.networkstatus.key_certificate... success (0.05s) descriptor.networkstatus.document_v2... success (0.01s) descriptor.networkstatus.document_v3... success (0.41s) descriptor.networkstatus.bridge_document... success (0.01s) descriptor.hidden_service_v2... success (0.04s) descriptor.hidden_service_v3... success (0.03s) descriptor.certificate... success (0.02s) descriptor.bandwidth_file... success (0.04s) exit_policy.rule... success (0.04s) exit_policy.policy... success (0.23s) endpoint... success (0.01s) version... success (0.02s) manual... success (0.11s) directory.authority... success (0.01s) directory.fallback... success (0.10s) tutorial... success (0.10s) tutorial_examples... success (0.16s) response.add_onion... success (0.01s) response.control_message... success (0.02s) response.control_line... success (0.01s) response.events... success (0.09s) response.getinfo... success (0.01s) response.getconf... success (0.01s) 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.01s) client.kdf... success (0.00s) client.cell... success (0.04s) connection.authentication... success (0.28s) connection.connect... success (0.03s) control.controller... success (0.64s) interpreter.arguments... success (0.02s) interpreter.autocomplete... success (0.01s) interpreter.help... success (0.01s) interpreter.commands... success (0.05s) doctest... success (0.42s) ====================================================================== 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... May 09 20:31:23.736 [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.3, Libzstd 1.5.5 and Glibc 2.37 as libc. May 09 20:31:23.736 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/ May 09 20:31:23.736 [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. May 09 20:31:23.737 [notice] Read configuration file "/build/python-stem/src/stem-1.8.1/test/data/torrc". May 09 20:31:23.752 [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. May 09 20:31:23.753 [notice] Based on detected system memory, MaxMemInQueues is set to 8192 MB. You can override this by setting MaxMemInQueues by hand. May 09 20:31:23.754 [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. May 09 20:31:23.766 [notice] Opening Socks listener on 127.0.0.1:1112 May 09 20:31:23.768 [notice] Opened Socks listener connection (ready) on 127.0.0.1:1112 May 09 20:31:23.768 [notice] Opening Control listener on 127.0.0.1:1111 May 09 20:31:23.768 [notice] Opened Control listener connection (ready) on 127.0.0.1:1111 May 09 20:31:23.768 [notice] Opening OR listener on 0.0.0.0:1113 May 09 20:31:23.768 [notice] Opened OR listener connection (ready) on 0.0.0.0:1113 May 09 20:31:23.768 [notice] Opening OR listener on [::]:1113 May 09 20:31:23.768 [notice] Opened OR listener connection (ready) on [::]:1113 May 09 20:31:23.769 [warn] Fixing permissions on directory /build/python-stem/src/stem-1.8.1/test/data May 09 20:31:23.771 [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. May 09 20:31:23.788 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip. May 09 20:31:24.328 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6. May 09 20:31:25.088 [notice] Configured to measure statistics. Look for the *-stats files that will first be written to the data directory in 24 hours from now. May 09 20:31:25.514 [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 May 09 20:31:25.516 [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. May 09 20:31:29.603 [notice] Your Tor server's identity key fingerprint is 'Unnamed DC9A94D6962987FC194E180B27A5FC05D4AEC006' May 09 20:31:29.604 [notice] Your Tor server's identity key ed25519 fingerprint is 'Unnamed U33CiECvkt1t0gER8lwrk7/LT3Wmohhy1l5tfmbjUDQ' May 09 20:31:29.604 [notice] Bootstrapped 0% (starting): Starting done (5 seconds) Running tests... util.conf... success (0.01s) util.connection... success (0.01s) util.proc... success (0.01s) util.system... failed (1.51s) 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 8 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 111 ms [SUCCESS] test_is_running_by_pid Checks the stem.util.system.is_running function with a pid. [SUCCESS] test_pid_by_name 245 ms [SUCCESS] test_pid_by_name_lsof (DisableDebuggerAttachment is set) [SKIPPED] test_pid_by_name_pgrep 115 ms [SUCCESS] test_pid_by_name_pidof [FAILURE] test_pid_by_name_ps_bsd (bsd only) [SKIPPED] test_pid_by_name_ps_linux 101 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 47 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 44 ms [SUCCESS] test_user_none Tests the user function when the process doesn't exist. [SUCCESS] test_user_proc 64 ms [SUCCESS] test_user_ps 61 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.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.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 1.504s FAILED (errors=1, skipped=10) interpreter... success (3.11s) version... success (0.72s) manual... success (0.01s) directory.authority... success (0.00s) directory.fallback... success (0.00s) response.protocolinfo... success (8.46s) socket.control_socket... success (8.47s) socket.control_message... success (3.25s) connection.authentication... success (15.82s) connection.connect... success (1.98s) control.base_controller... success (5.93s) 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 (65 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/root41/build receiving incremental file list python-stem-1.8.1-2-riscv64-build.log python-stem-1.8.1-2-riscv64-check.log python-stem-1.8.1-2-riscv64-prepare.log sent 81 bytes received 5,420 bytes 2,200.40 bytes/sec total size is 21,544 speedup is 3.92