make test: automatic "vpp finishes startup" check 17/6117/2
authorKlement Sekera <ksekera@cisco.com>
Mon, 10 Apr 2017 04:30:17 +0000 (06:30 +0200)
committerDamjan Marion <dmarion.lists@gmail.com>
Mon, 10 Apr 2017 13:43:03 +0000 (13:43 +0000)
commit3747c75a215f082bc52198a7229e1b1e529d7666
tree3740d5379bce35f1c3e32142d5647480c3fa7b05
parent153646e89c3be70c68348bdd497f8edd2b212a9c
make test: automatic "vpp finishes startup" check

Add code which checks if vpp doesn't crash/exit immediately after
startup to aid debugging stuff like mistyped graph node name or so.
Refuse to run tests if the vpp is unable to start, complain loudly
and print vpp's stderr at critical log level if this happens to make
spotting these problems in jenkins easy.

Change-Id: I40d3fbd05c822c0534713bae6bef05ecfb0e0c1d
Signed-off-by: Klement Sekera <ksekera@cisco.com>
test/Makefile
test/framework.py
test/sanity_run_vpp.py [new file with mode: 0644]