]> git.proxmox.com Git - systemd.git/commitdiff
Skip flaky test_resolved_domain_restricted_dns in networkd-test.py
authorMichael Biebl <biebl@debian.org>
Mon, 12 Dec 2022 23:34:11 +0000 (00:34 +0100)
committerMichael Biebl <biebl@debian.org>
Tue, 13 Dec 2022 00:03:31 +0000 (01:03 +0100)
This test is part of DnsmasqClientTest and does not work reliably under
LXC/debci, so skip it for the time being.

Closes: #1025908
debian/patches/debian/Skip-flaky-test_resolved_domain_restricted_dns-in-network.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/debian/Skip-flaky-test_resolved_domain_restricted_dns-in-network.patch b/debian/patches/debian/Skip-flaky-test_resolved_domain_restricted_dns-in-network.patch
new file mode 100644 (file)
index 0000000..8d1f7d6
--- /dev/null
@@ -0,0 +1,24 @@
+From: Michael Biebl <biebl@debian.org>
+Date: Tue, 13 Dec 2022 00:32:17 +0100
+Subject: Skip flaky test_resolved_domain_restricted_dns in networkd-test.py
+
+This test is part of DnsmasqClientTest and does not work reliably under
+LXC/debci, so skip it for the time being.
+
+Closes: #1025908
+---
+ test/networkd-test.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/test/networkd-test.py b/test/networkd-test.py
+index 0a5ba11..4740de2 100755
+--- a/test/networkd-test.py
++++ b/test/networkd-test.py
+@@ -618,6 +618,7 @@ class DnsmasqClientTest(ClientTestBase, unittest.TestCase):
+         with open(self.dnsmasq_log) as f:
+             sys.stdout.write('\n\n---- dnsmasq log ----\n{}\n------\n\n'.format(f.read()))
++    @unittest.skip("test is flaky:  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025908")
+     def test_resolved_domain_restricted_dns(self):
+         '''resolved: domain-restricted DNS servers'''
index e6d8fbcee2188aaad657c80eecae37a87be49e2a..48f125c5eb4ab708cf4b074d312c97406810d132 100644 (file)
@@ -16,3 +16,4 @@ debian/udev-drop-SystemCallArchitectures-native-from-systemd-ude.patch
 debian/Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-back-to-.patch
 debian/systemctl-do-not-shutdown-immediately-on-scheduled-shutdo.patch
 debian/Downgrade-a-couple-of-warnings-to-debug.patch
+debian/Skip-flaky-test_resolved_domain_restricted_dns-in-network.patch