[From nobody Thu Apr 23 03:37:06 2026
Received: (at submit) by bugs.debian.org; 21 Apr 2026 11:08:19 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-121.1 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 PGPSIGNATURE,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 150; neutral, 33; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;jcfp@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:34160)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;jcfp@debian.org&gt;) id 1wF8xn-0075Mk-1M
 for submit@bugs.debian.org; Tue, 21 Apr 2026 11:08:19 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=JR1EEU7X5cdZMGT7KqsxCva7oYNZWtJ5LRAOHaeG0gw=; b=mAh4Pmx4ccSk5NUhXFtQbZo7v1
 Cw+deXVYAHdGxrSX/51E7oANY7IXjzykFzCwX5TesaEUywBza8h6LAsxR6Lei1KV7qMzzMDaIHsIl
 SubGYRLhUrDzN1w4/jZu1Q+XeSmd+6cmRBpOHlGMoalddU9znxHnlGt9O6uV5zgKitQwPWlsHWzFj
 SmzF0ZgvzJXX3zRaZj1F0a7CYH5qUMcU+a9qSG0nU9GVD9kQvfA6GDt/7aca5+NIZ/uYdrKaiAE5T
 nm6+1bNbQ3v0P6iXX7OKVVR1QHhh1CoRn85nrtK/HbA+X+u2aS72rRszJRJFzkSEK+pHifhvRkQQh
 tW4Fh76Q==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;jcfp@debian.org&gt;) id 1wF8xl-000oEL-2c
 for submit@bugs.debian.org; Tue, 21 Apr 2026 11:08:18 +0000
Date: Tue, 21 Apr 2026 11:08:16 -0000
From: Jeroen Ploemen &lt;jcfp@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: cocotb: uses 'Testsuite: autopkgtest-pkg-pybuild' without
 build-time tests
Message-ID: &lt;20260421110816.24ff9a9d@debian.org&gt;
X-Mailer: Claws Mail 4.4.0 (GTK 3.24.41; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary=&quot;Sig_/=KFFbp.RZIPGyHJoZNxl4le&quot;;
 protocol=&quot;application/pgp-signature&quot;; micalg=pgp-sha512
X-Debian-User: jcfp
Delivered-To: submit@bugs.debian.org

--Sig_/=KFFbp.RZIPGyHJoZNxl4le
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Package: cocotb=09
Version: 2.0.1-2.1
X-Debbugs-CC: aelmahmoudy@users.sourceforge.net

Hi,

cocotb sets 'Testsuite: autopkgtest-pkg-pybuild' in d/control, which
is designed to run the build-time tests in an autopkgtest context.
Except the package doesn't actually run any tests on build, which
turns this into the equivalent of running /bin/true as an autopkgtest.

Please either remove the field from d/control, or start running tests
on build that autopkgtest-pkg-pybuild can put to good use.


Log excerpt from the salsa CI at [1] demonstrating the problem:

autopkgtest [03:45:17]: test pybuild-autopkgtest: pybuild-autopkgtest
autopkgtest [03:45:17]: test pybuild-autopkgtest: [-----------------------
pybuild-autopkgtest
W: pybuild base:328: No test runner selected, defaulting to unittest, ignor=
ing test discovery problems.
Use --test-unittest to explicitly select the unittest runner.
I: pybuild base:385: cd /tmp/autopkgtest-lxc.ph2j6hcr/downtmp/autopkgtest_t=
mp/build; python3.14 -m unittest discover -v=20
----------------------------------------------------------------------
Ran 0 tests in 0.000s
NO TESTS RAN
W: pybuild base:328: No test runner selected, defaulting to unittest, ignor=
ing test discovery problems.
Use --test-unittest to explicitly select the unittest runner.
I: pybuild base:385: cd /tmp/autopkgtest-lxc.ph2j6hcr/downtmp/autopkgtest_t=
mp/build; python3.13 -m unittest discover -v=20
----------------------------------------------------------------------
Ran 0 tests in 0.000s
NO TESTS RAN
autopkgtest [03:45:18]: test pybuild-autopkgtest: -----------------------]


[1]https://salsa.debian.org/electronics-team/cocotb/-/jobs/9443708

--Sig_/=KFFbp.RZIPGyHJoZNxl4le
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmnnWqAACgkQQoMEoXSN
zHobtg//ZzJemGYR1Vb4i6S4nKQOgJ+waRZhIACeUd7+h3wUGjES+5suiCSUjCsW
XjVhwqpkZChvMkFIwRadoyG+b/p+s4WkdBBjC05YcIE4dSbXKZ6IRT8iDcpTuvyD
aOXP5yzrZEvqgGDABit0zN4GJ4qJdJWmqSfmDaFTDLHo9UrFGwJcwYzXME7djer2
iyDV/NQxus/sRPTBeumLLO5wxg9xo4lKOnkIG/SlVL+i27slgsqWZB/x/i7G2+a9
I98yOIK9VJgQKSIXNSTHK1oehNtfQX5nMA7gnjZcT/zXT0cAPF+471aNdYd/xnoD
jYWHvwgSDhfX7LW6ksX63VQudybY7Ttv/xT09exALJ6s32saGd10XOQ56e37G7Lr
4euio3zJn0H7kYbvFlcln1TQl2MW5QXHUyQohzDPlSJervSkCWCKv/qcZLsUtT0B
5v46uua3/cGvNHqNW18Sj0rdrMvPMahV0cCB+01KwRQDSDZHqI6o7xyCiSupWa6w
/AJ4Fy+VyLMuu2ZsXgng/gOx3whzJUO3rnq2DxYaP4KNBmtV/4KC+2QkNcwH7FlW
AcqJ6Na1roSBzWHbG6kusj2CPHavc8Nez9xDyhr6PPEiM8N/ATJhoSVEH/SUxZi6
n9XsdB6+oTZ5iy/z1xhTc9J3esZCZWiYa/8QG3kW9vYhGKpSRx0=
=FZXZ
-----END PGP SIGNATURE-----

--Sig_/=KFFbp.RZIPGyHJoZNxl4le--
]