Created attachment 780437 [details] build log ==================================================================== FAILURES ===================================================================== _______________________________________________________________ test_peer_interface _______________________________________________________________ kwargs = {}, coro = <coroutine object test_peer_interface at 0x3fa29a8140> task = <Task pending name='Task-82' coro=<test_peer_interface() running at /var/tmp/portage/dev-python/dbus-next-0.2.3/work/p...ervice/test_standard_interfaces.py:90> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x3fa2af05b0>()]>> @functools.wraps(func) def inner(**kwargs): coro = func(**kwargs) if coro is not None: task = asyncio.ensure_future(coro, loop=_loop) try: > _loop.run_until_complete(task) _loop = <_UnixSelectorEventLoop running=False closed=False debug=False> coro = <coroutine object test_peer_interface at 0x3fa29a8140> func = <function test_peer_interface at 0x3fa2c3c430> kwargs = {} task = <Task pending name='Task-82' coro=<test_peer_interface() running at /var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/test/service/test_standard_interfaces.py:90> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x3fa2af05b0>()]>> /usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.9/asyncio/base_events.py:629: in run_until_complete self.run_forever() future = <Task pending name='Task-82' coro=<test_peer_interface() running at /var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/test/service/test_standard_interfaces.py:90> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x3fa2af05b0>()]>> new_task = False self = <_UnixSelectorEventLoop running=False closed=False debug=False> /usr/lib/python3.9/asyncio/base_events.py:596: in run_forever self._run_once() old_agen_hooks = asyncgen_hooks(firstiter=None, finalizer=None) self = <_UnixSelectorEventLoop running=False closed=False debug=False> /usr/lib/python3.9/asyncio/base_events.py:1854: in _run_once event_list = self._selector.select(timeout) sched_count = 0 self = <_UnixSelectorEventLoop running=False closed=False debug=False> timeout = None _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <selectors.EpollSelector object at 0x3fa2affbb0>, timeout = -1 def select(self, timeout=None): if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 else: # epoll_wait() has a resolution of 1 millisecond, round away # from zero to wait *at least* timeout seconds. timeout = math.ceil(timeout * 1e3) * 1e-3 # epoll_wait() expects `maxevents` to be greater than zero; # we want to make sure that `select()` can be called when no # FD is registered. max_ev = max(len(self._fd_to_key), 1) ready = [] try: > fd_event_list = self._selector.poll(timeout, max_ev) E Failed: Timeout >5.0s max_ev = 3 ready = [] self = <selectors.EpollSelector object at 0x3fa2affbb0> timeout = -1 /usr/lib/python3.9/selectors.py:469: Failed ---------------------------------------------------------------- Captured log call ---------------------------------------------------------------- ERROR root:message_bus.py:623 got unexpected error processing a message: DBus STRING type "s" must be Python type "str", got <class 'list'>. Traceback (most recent call last): File "/var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/dbus_next/message_bus.py", line 621, in _on_message self._process_message(msg) File "/var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/dbus_next/message_bus.py", line 725, in _process_message handler(msg, None) File "/var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/dbus_next/message_bus.py", line 586, in reply_notify callback(reply, err) File "/var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/dbus_next/message_bus.py", line 794, in reply_handler send_reply(Message.new_error(msg, reply.error_name, reply.body)) File "/var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/dbus_next/message_bus.py", line 637, in __call__ bus.send(reply) File "/var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/dbus_next/aio/message_bus.py", line 326, in send self._writer.schedule_write(msg, future) File "/var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/dbus_next/aio/message_bus.py", line 82, in schedule_write self.buffer_message(msg, future) File "/var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/dbus_next/aio/message_bus.py", line 78, in buffer_message (msg._marshall(negotiate_unix_fd=self.negotiate_unix_fd), copy(msg.unix_fds), future)) File "/var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/dbus_next/message.py", line 215, in _marshall body_block = Marshaller(self.signature, self.body) File "/var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/dbus_next/_private/marshaller.py", line 8, in __init__ self.signature_tree.verify(body) File "/var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/dbus_next/signature.py", line 359, in verify type_.verify(body[i]) File "/var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/dbus_next/signature.py", line 283, in verify self._verify_string(body) File "/var/tmp/portage/dev-python/dbus-next-0.2.3/work/python-dbus-next-0.2.3/dbus_next/signature.py", line 196, in _verify_string raise SignatureBodyMismatchError( dbus_next.errors.SignatureBodyMismatchError: DBus STRING type "s" must be Python type "str", got <class 'list'>
Portage 3.0.30 (python 3.9.10-final-0, default/linux/riscv/20.0/rv64gc/lp64d/systemd, gcc-11.2.1, glibc-2.34-r9, 5.17.5-gentoo-riscv64 riscv64) ================================================================= System uname: Linux-5.17.5-gentoo-riscv64-riscv64-with-glibc2.34 KiB Mem: 16372476 total, 2649372 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 23 May 2022 14:18:10 +0000 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-lang/perl: 5.34.0-r8::gentoo dev-lang/python: 3.9.10-r1::gentoo, 3.10.2-r1::gentoo dev-lang/rust: 1.60.0::gentoo dev-util/cmake: 3.22.2::gentoo dev-util/meson: 0.61.1::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/sandbox: 2.29::gentoo sys-apps/systemd: 250.4::gentoo sys-devel/autoconf: 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 11.2.1_p20220115::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/llvm: 13.0.1::gentoo, 14.0.0::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.16::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r9::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="riscv ~riscv" ACCEPT_LICENSE="* -@EULA" CBUILD="riscv64-unknown-linux-gnu" CFLAGS="-O2 -pipe" CHOST="riscv64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--jobs 3 --load-average 10" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS=" http://mirrors.163.com/gentoo https://mirrors.tuna.tsinghua.edu.cn/gentoo http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ " LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j6" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X acl alsa bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd ncurses nls nptl openmp pam pcre readline riscv seccomp split-usr ssl systemd udev unicode xattr zlib" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
This was failing due to borked testing environment. The test suite was tripping on a dbus call which attempted to obtain machine-id from /var/lib/dbus/machine-id and /etc/machine-id, both of which didn't exist on the testing system. After re-initializing machine-id, the test suite passed correctly.
Small correction, turns out this was not due to broken environment, but rather systemd-nspawn not writing output to /etc/machine-id [1], so unless manually initialized, it would have never existed in an nspawn container. [1] https://github.com/systemd/systemd/pull/3777/commits/317feb4d9f84cf177aa71496b214bcbbf9682750