🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #137

Bug#1150306: python-psutil: FTBFS: racy tests

#137
From: Santiago Vila
Date: Thu, 08 Oct 2026 12:50
31 lines
2888 bytes
Note: I also get weird failures on src:datalad, which build-depends on
python3-psutil:


first = {'/tmp/datalad_temp_tree_test_get_open_fileswasnd43a/d': psutil.Process(pid=621486, name='python3.14', status='zombie')}
second = {}, msg = None

    def assert_equal(first, second, msg=None):
        if msg is None:
>           assert first == second
E           AssertionError: assert {'/tmp/datala...us='running')} == {}
E             
E             Left contains 1 more item:
E             {'/tmp/datalad_temp_tree_test_get_open_fileswasnd43a/d': psutil.Process(pid=621486, name='python3.14', status='running')}
E             
E             Full diff:
E             - {}
E             + {
E             +     '/tmp/datalad_temp_tree_test_get_open_fileswasnd43a/d': psutil.Process(pid=621486, name='python3.14', status='running'),
E             + }

datalad/tests/utils_pytest.py:89: AssertionError


Looks like a race condition similar to the one in python-psutil, so I
wonder if those two issues are related. It might be worth to forward
the bug upstream, because at this point we don't know if the test
failure means the test is wrongly designed or it's a real bug in the
program.

Thanks.
Technical Details
Message-ID: <NLVJn-4gFa-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NLVzH-4gB0-1@gated-at.bofh.it> <NLVzH-4gB0-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150306: python-psutil: FTBFS: racy tests
Date: Thu, 08 Oct 2026 14:50:01 +0200
Message-ID: <NLVJn-4gFa-7@gated-at.bofh.it>
References: <NLVzH-4gB0-1@gated-at.bofh.it> <NLVzH-4gB0-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct  8 12:43:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1150306@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: morph@debian.org
X-Debian-Pr-Message: followup 1150306
X-Debian-Pr-Package: src:python-psutil
X-Debian-Pr-Keywords: forky ftbfs patch sid
X-Debian-Pr-Source: python-psutil
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-Debian-User: sanvila
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995705
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 31
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 8 Oct 2026 14:41:29 +0200
X-Original-Message-ID: <asePeUilXzNZ_3uS@nuc>
X-Original-References: <67da0a6f-f0f9-4b43-861c-37fc9c34f291@debian.org> <67da0a6f-f0f9-4b43-861c-37fc9c34f291@debian.org>