Source: buildbot Version: 4.2.1-1 Severity: important Tags: patch upstream Dear Maintainer,
Hi, Since upgrade to Debian 13 Trixie, buildbot is not showing any logs in any of actions. I believe that this bug is reproducible on all Trixie systems even freshly installed ones. This bug was seen on FreedomBox build infrastructure. An error was repeatedly seen in twisted.log for the build master (traceback follows this bug report). The traceback shows that code tried to import buildbot.test module. This module is (correctly) not shipped in Debian. This error is caused by a regression in upstream[1] during cleanup (present in versions 3.9 upto 4.3). It was fixed[2] in version 4.3 of upstream. The fix is quite small if you wish to backport to Debian Trixie's version 4.2. Links: 1) https://github.com/buildbot/buildbot/commit/d6b698ee4e7fb423e4181b7664b69ebb4d7fa5ca 2) https://github.com/buildbot/buildbot/commit/a894300c5085be925f5021bae2058492625a786b Thank you for packaging and maintaining buildbot package. -- Sunil Mohan Adapa Traceback: 2025-09-30 05:19:50-0700 [-] Unhandled error in Deferred: 2025-09-30 05:19:50-0700 [-] Unhandled Error Traceback (most recent call last): File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 2013, in _inlineCallbacks result = context.run( File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 467, in throwExceptionIntoGenerator return g.throw(self.value.with_traceback(self.tb)) File "/usr/lib/python3/dist- packages/buildbot/process/remotecommand.py", line 403, in remoteUpdate await self.add_stderr_lines(cleanup(value), is_flushed) File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1178, in __iter__ yield self File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 2013, in _inlineCallbacks result = context.run( File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 467, in throwExceptionIntoGenerator return g.throw(self.value.with_traceback(self.tb)) File "/usr/lib/python3/dist- packages/buildbot/process/remotecommand.py", line 361, in add_stderr_lines await self.logs[self.stdioLogName].add_stderr_lines(data) File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1183, in __iter__ yield self File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 2013, in _inlineCallbacks result = context.run( File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 467, in throwExceptionIntoGenerator return g.throw(self.value.with_traceback(self.tb)) File "/usr/lib/python3/dist-packages/buildbot/process/log.py", line 83, in addRawLines yield self.lock.run(lambda: self.master.data.updates.appendLog(self.logid, lines)) File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 2013, in _inlineCallbacks result = context.run( File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 467, in throwExceptionIntoGenerator return g.throw(self.value.with_traceback(self.tb)) File "/usr/lib/python3/dist-packages/buildbot/data/logs.py", line 144, in appendLog res = yield self.master.db.logs.appendLog(logid=logid, content=content) File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 2017, in _inlineCallbacks result = context.run(gen.send, result) File "/usr/lib/python3/dist-packages/buildbot/db/logs.py", line 474, in appendLog async for ( File "/usr/lib/python3/dist-packages/buildbot/db/logs.py", line 820, in _async_iter_on_pool from buildbot.test.fake.reactor import NonThreadPool builtins.ModuleNotFoundError: No module named 'buildbot.test' -- System Information: Debian Release: 13.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.12.48+deb13-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled

