]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Add a tiny breadcrumb to hopefully help end user
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 26 Nov 2018 15:56:56 +0000 (10:56 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Nov 2018 01:22:14 +0000 (20:22 -0500)
Add a breadcrumb for people testing to hopefully allow
them to figure out what is going wrong when they
are testing different versions of FRR using
topotests and staticd is not running because
this version of staticd needs to be cleaned up

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
tests/topotests/lib/topotest.py

index 1d69eb685aa8ae8f24b06b04c8805d5f02fad8a3..1bdf8b10d0aadd2e930d5c8b534d9e3b1ad61e1a 100644 (file)
@@ -933,6 +933,10 @@ class Router(Node):
         for daemon in self.daemons:
             if (self.daemons[daemon] == 1) and not (daemon in daemonsRunning):
                 sys.stderr.write("%s: Daemon %s not running\n" % (self.name, daemon))
+                if daemon is "staticd":
+                    sys.stderr.write("You may have a copy of staticd installed but are attempting to test against\n")
+                    sys.stderr.write("a version of FRR that does not have staticd, please cleanup the install dir\n")
+
                 # Look for core file
                 corefiles = glob.glob('{}/{}/{}_core*.dmp'.format(
                     self.logdir, self.name, daemon))