Your message dated Mon, 05 Jan 2026 20:40:19 +0000
with message-id <[email protected]>
and subject line Bug#1124700: fixed in frr 10.5.0-2
has caused the Debian Bug report #1124700,
regarding frr: autopkgtest small improvement
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1124700: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1124700
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: frr
Version: 10.5.0-1
Severity: normal

Dear maintainer,

here is a small patch with a small improvement to the autopkgtests. It just
adds a function to make sure the services have all started before
continuing with the test.

I found it to be useful on the ubuntu side of things.
commit f828a710a1ee97ae53d71b08de85a70fed4be466
Author: Andreas Hasenack <[email protected]>
Date:   Tue Aug 12 21:25:05 2025 -0300

        - d/t/{utils,zebra-lo,py-frr-reload,bgpd-snmp-rpki}: Add a controlled loop
          to wait for the service to be ready:

diff --git a/debian/tests/bgpd-snmp-rpki b/debian/tests/bgpd-snmp-rpki
index 930b8c26dc..9254350299 100755
--- a/debian/tests/bgpd-snmp-rpki
+++ b/debian/tests/bgpd-snmp-rpki
@@ -1,6 +1,8 @@
 #!/bin/sh
 set -e
 
+. debian/tests/utils
+
 # enable bgpd with SNMP & RPKI modules
 cat >> /etc/frr/daemons <<EOF
 bgpd=yes
@@ -9,6 +11,8 @@ EOF
 
 service frr restart
 
+wait_for_service
+
 # check that it actually started
 pgrep watchfrr
 pgrep zebra
diff --git a/debian/tests/py-frr-reload b/debian/tests/py-frr-reload
index 6dfef33f08..d662cb2f96 100755
--- a/debian/tests/py-frr-reload
+++ b/debian/tests/py-frr-reload
@@ -1,9 +1,13 @@
 #!/bin/sh
 set -e
 
+. debian/tests/utils
+
 # should have been started on install, but policy may have inhibited that
 service frr restart
 
+wait_for_service
+
 # these should be running by default
 pgrep watchfrr
 pgrep zebra
diff --git a/debian/tests/utils b/debian/tests/utils
new file mode 100644
index 0000000000..ac73e3056c
--- /dev/null
+++ b/debian/tests/utils
@@ -0,0 +1,15 @@
+wait_for_service() {
+	i=0
+	limit=10
+	echo -n "Waiting for service to be up and running "
+	while ! vtysh -c "show version" 2>/dev/null | grep -qE "^FRRouting"; do
+	    echo -n .
+	    i=$(($i+1))
+	    if [ ${i} -ge ${limit} ]; then
+	        echo "Failed to start service after ${limit}s, giving up."
+	        return 1
+	    fi
+	    sleep 1s
+	done
+	echo " done!"
+}
diff --git a/debian/tests/zebra-lo b/debian/tests/zebra-lo
index 2a388d5da7..b1b718194a 100755
--- a/debian/tests/zebra-lo
+++ b/debian/tests/zebra-lo
@@ -1,9 +1,13 @@
 #!/bin/sh
 set -e
 
+. debian/tests/utils
+
 # should have been started on install, but policy may have inhibited that
 service frr status >/dev/null || service frr restart
 
+wait_for_service
+
 # these should be running by default
 pgrep watchfrr
 pgrep zebra

--- End Message ---
--- Begin Message ---
Source: frr
Source-Version: 10.5.0-2
Done: Daniel Baumann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
frr, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <[email protected]> (supplier of updated frr package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 05 Jan 2026 20:56:53 +0100
Source: frr
Architecture: source
Version: 10.5.0-2
Distribution: sid
Urgency: medium
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Closes: 1124700
Changes:
 frr (10.5.0-2) sid; urgency=medium
 .
   * Updating to standards version 4.7.3.
   * Applying patch from Andreas Hasenack <[email protected]>
     to add a controlled loop to wait for the service to be ready in
     debian/tests/{utils,zebra-lo,py-frr-reload,bgpd-snmp-rpki} (Closes:
     #1124700).
   * Harmonizing code style in debian/tests.
Checksums-Sha1:
 9bb9e69088e2fd33791e7286f5c5d10282acc18f 2129 frr_10.5.0-2.dsc
 8846398cbd576ab7b15656433fe2a7ff20a5b5b1 32288 frr_10.5.0-2.debian.tar.xz
 ab0c6a83d75702805e71596595ff36b95b18427c 10943 frr_10.5.0-2_amd64.buildinfo
Checksums-Sha256:
 d2209c629096d74f2cd6e81562a7f4f1834bd7efd6b141ce8535ad7195ccfcd7 2129 
frr_10.5.0-2.dsc
 4fcd70c59c7222deb0615d0d743bddece2df19ef2d417038f22c9a0095e05189 32288 
frr_10.5.0-2.debian.tar.xz
 e6bc364210c227b9d9f9a08f838dc29a9769cfa03c2601bb7c5f34900c2a4d00 10943 
frr_10.5.0-2_amd64.buildinfo
Files:
 5a594354baf421fd6c51519723e58bdf 2129 net optional frr_10.5.0-2.dsc
 be411dfab66d5e8f3d7e2aa4b0b62940 32288 net optional frr_10.5.0-2.debian.tar.xz
 ed5afff4d1ef8be9d6323d4654a348a6 10943 net optional 
frr_10.5.0-2_amd64.buildinfo

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

iHUEARYKAB0WIQQmmGg4gLaoSj0ERgL7tPDoCoAiLwUCaVwYsQAKCRD7tPDoCoAi
LxkOAQDY6CxRAI9EkMNMbOGxIYh59Q0md8AMW7IpENrhEO+P6QD9H+nzIKpYVddg
WqGIVsBgiKqrjdBE0QSuXmMl1aZ6tAQ=
=+7Ct
-----END PGP SIGNATURE-----

Attachment: pgpy021OYQ8Gl.pgp
Description: PGP signature


--- End Message ---

Reply via email to