diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-11-26 16:56:56 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-11-28 02:22:14 +0100 |
commit | d21321142aab52e20a003f33f93973e1e4177465 (patch) | |
tree | 7ddb0abdcb1b3f2bca5704c6aacbaa04e8327252 /tests/topotests | |
parent | bgp-ecmp-topo1: fix some pylint warnings (diff) | |
download | frr-d21321142aab52e20a003f33f93973e1e4177465.tar.xz frr-d21321142aab52e20a003f33f93973e1e4177465.zip |
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')
-rw-r--r-- | tests/topotests/lib/topotest.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py index 1d69eb685..1bdf8b10d 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)) |