Debugging information when dpdk bind fails should be improved 59/66459/3
authorDanielMartinBuckley <daniel.m.buckley@intel.com>
Thu, 17 Jan 2019 14:50:46 +0000 (14:50 +0000)
committerEmma Foley <emma.l.foley@intel.com>
Wed, 6 Feb 2019 17:40:46 +0000 (17:40 +0000)
commit93c5f6bb1d3dee16688b9b147e88007bc3dfabaa
treec897f9d59313e4181a634b7b2bc9895add4c58d4
parent88c5dda9712afc71742b164905f21cfff45926fa
Debugging information when dpdk bind fails should be improved

JIRA: YARDSTICK-1585

When dpdk-devbind.py is failing, the information provided is poor,
making it difficult to debug.

At least the exact command used should be printed, ideally with the
returned error. As of today, the more interesting line is

DpdkBindHelperException: /opt/nsb_bin/dpdk-devbind.py command
failed with rc=1

Change-Id: I7831c81ffa9e1f4695480eb140fa97a58ff88f8c
Signed-off-by: Daniel Martin Buckley <daniel.m.buckley@intel.com>
yardstick/network_services/helpers/dpdkbindnic_helper.py
yardstick/network_services/vnf_generic/vnf/sample_vnf.py
yardstick/ssh.py