Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected], [email protected]
Control: affects -1 + src:execnet
User: [email protected]
Usertags: pu
[ Reason ]
Fix Bug #854494. FTBFS due to flaky tests.
[ Impact ]
On some systems, the package fails to build 100% of the time.
[ Tests ]
I've verified that the package builds again on such systems.
[ Risks ]
Very low. No real code changes. Only three tests has been marked as xfail,
following what upstream already did in similar cases.
[ Checklist ]
[X] *all* changes are documented in the d/changelog
[X] I reviewed all changes and I approve them
[X] attach debdiff against the package in (old)stable
[X] the issue is verified as fixed in unstable
[ Changes ]
Mark three tests as flaky.
[ Other info ]
Package is already uploaded.
diff -Nru execnet-2.1.1/debian/changelog execnet-2.1.1/debian/changelog
--- execnet-2.1.1/debian/changelog 2024-04-24 02:10:06.000000000 +0200
+++ execnet-2.1.1/debian/changelog 2026-06-07 20:05:00.000000000 +0200
@@ -1,3 +1,10 @@
+execnet (2.1.1-1+deb13u1) trixie; urgency=medium
+
+ * Team upload.
+ * Mark several tests as flaky. Closes: #854494.
+
+ -- Santiago Vila <[email protected]> Sun, 07 Jun 2026 20:05:00 +0200
+
execnet (2.1.1-1) unstable; urgency=medium
* Update to new upstream release 2.1.1
diff -Nru execnet-2.1.1/debian/patches/flaky-tests.patch
execnet-2.1.1/debian/patches/flaky-tests.patch
--- execnet-2.1.1/debian/patches/flaky-tests.patch 1970-01-01
01:00:00.000000000 +0100
+++ execnet-2.1.1/debian/patches/flaky-tests.patch 2026-06-07
18:01:00.000000000 +0200
@@ -0,0 +1,40 @@
+From: Santiago Vila <[email protected]>
+Subject: Mark several tests as flaky
+Bug-Debian: https://bugs.debian.org/854494
+
+--- a/testing/test_channel.py
++++ b/testing/test_channel.py
+@@ -12,6 +12,7 @@
+
+ needs_early_gc = pytest.mark.skipif("not hasattr(sys, 'getrefcount')")
+ needs_osdup = pytest.mark.skipif("not hasattr(os, 'dup')")
++flakytest = pytest.mark.xfail(reason="flaky test")
+ TESTTIMEOUT = 10.0 # seconds
+
+
+@@ -129,6 +130,7 @@
+ channel.send(newchan)
+ channel.waitclose()
+
++ @flakytest
+ def test_channel_passing_over_channel(self, gw: Gateway) -> None:
+ channel = gw.remote_exec(
+ """
+--- a/testing/test_gateway.py
++++ b/testing/test_gateway.py
+@@ -262,6 +262,7 @@
+ res = channel.receive()
+ assert res == 42
+
++ @flakytest
+ def test__rinfo(self, gw: Gateway) -> None:
+ rinfo = gw._rinfo()
+ assert rinfo.executable
+@@ -325,6 +326,7 @@
+ assert rinfo.cwd == os.getcwd()
+ assert rinfo.version_info == sys.version_info
+
++ @flakytest
+ def test_waitclose_on_remote_killed(
+ self, makegateway: Callable[[str], Gateway]
+ ) -> None:
diff -Nru execnet-2.1.1/debian/patches/series
execnet-2.1.1/debian/patches/series
--- execnet-2.1.1/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ execnet-2.1.1/debian/patches/series 2026-06-07 18:00:00.000000000 +0200
@@ -0,0 +1 @@
+flaky-tests.patch