Article View: linux.debian.bugs.dist
Article #1175Bug#1151162: python-stestr: FTBFS: ImportError: 'test_user' module incorrectly imported from '/tmp/tmpywnpkbk5'. Expected '/tmp/...
From: Santiago Vila
Date: Sat, 17 Oct 2026 16:20
Date: Sat, 17 Oct 2026 16:20
41 lines
3092 bytes
3092 bytes
Package: src:python-stestr
Version: 4.2.1-7
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Full build log is available here:
https://people.debian.org/~sanvila/build-logs/202610/
After trying 21 times, this package failed to build for me:
100% of the time on machines with 1 CPU
46% of the time on machines with 2 CPUs
Therefore I recommend GRUB_CMDLINE_LINUX="nr_cpus=1" to reproduce.
(And, if that does not work, I can offer a VM, as always).
Thanks.
--------------------------------------------------------------------------------
[...]
full_path, pattern, False)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/unittest/loader.py", line 455, in _find_test_path
raise ImportError(
msg % (mod_name, module_dir, expected_dir))
ImportError: 'test_user' module incorrectly imported from '/tmp/tmpywnpkbk5'. Expected '/tmp/tmpo_cfnt4f'. Is this module globally installed?
----------------------------------------------------------------------
Ran 322 tests in 61.204s
FAILED (failures=1, skipped=2)
make[1]: *** [debian/rules:22: override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<NPfix-6akC-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1151162: python-stestr: FTBFS: ImportError: 'test_user' module incorrectly imported from '/tmp/tmpywnpkbk5'. Expected '/tmp/tmpo_cfnt4f'. Is this module globally installed? Date: Sat, 17 Oct 2026 18:20:01 +0200 Message-ID: <NPfix-6akC-3@gated-at.bofh.it> X-Original-To: Debian BTS <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Oct 17 16:17:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Santiago Vila <sanvila@debian.org>, 1151162@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, team+openstack@tracker.debian.org X-Debian-Pr-Message: report 1151162 X-Debian-Pr-Package: src:python-stestr X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: python-stestr X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997250 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 41 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 17 Oct 2026 16:15:34 +0000 X-Original-Message-ID: <E1xI74I-008Q65-1K@paradis.debian.org>