fix test issues

Change-Id: Ieb809efb2253a556fa576cebacdae18039bb758a
diff --git a/tests/functional/Voltha_ErrorScenarios.robot b/tests/functional/Voltha_ErrorScenarios.robot
index 1fc6fe8..6df5663 100644
--- a/tests/functional/Voltha_ErrorScenarios.robot
+++ b/tests/functional/Voltha_ErrorScenarios.robot
@@ -58,6 +58,7 @@
     [Tags]    VOL-2405   VOL-2406   AddSameOLT   functional
     [Setup]    None
     [Teardown]   None
+    Run Keyword If    ${has_dataplane}    Delete Device and Verify
     ${olt_device_id}=    Create Device    ${olt_ip}    ${OLT_PORT}
     Set Suite Variable    ${olt_device_id}
     Wait Until Keyword Succeeds    ${timeout}    5s    Validate OLT Device    PREPROVISIONED    UNKNOWN    UNKNOWN