summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/topotest.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-11-26 10:56:56 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-11-27 20:22:14 -0500
commitd21321142aab52e20a003f33f93973e1e4177465 (patch)
tree7ddb0abdcb1b3f2bca5704c6aacbaa04e8327252 /tests/topotests/lib/topotest.py
parentb941f9587f9f798f76b686e014912b7d7c08683a (diff)
Add a tiny breadcrumb to hopefully help end user
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>
Diffstat (limited to 'tests/topotests/lib/topotest.py')
-rw-r--r--tests/topotests/lib/topotest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py
index 1d69eb685a..1bdf8b10d0 100644
--- a/tests/topotests/lib/topotest.py
+++ b/tests/topotests/lib/topotest.py
@@ -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))