From: Sam Hague Date: Thu, 16 Aug 2018 18:40:55 +0000 (-0400) Subject: Remove basic test suites X-Git-Tag: pre-potassium~603 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=commitdiff_plain;h=70cd6fc359f7ee6eab8ffeabe1467ffc31f7ee2a Remove basic test suites These suites were never meant to be kept and were templates for projects to get started. From there the projects were to add real tests. As they are now, they do not test anything related to the project and simply use resources. Long-term new projects should use the templates in the sandbox to gain experience with robot and csit and then update to a real test before merged in production. Some of the removals below depend on the corresponding releng/builder patch listed below. Depends-On: I7962ffe5839a2680bae6fa7041e0be596155a9c1 Change-Id: I7e097f30d118428cf468e4e61d7e9b33e25c3d86 Signed-off-by: Sam Hague --- diff --git a/csit/suites/armoury/basic/010_Restconf_OK.robot b/csit/suites/armoury/basic/010_Restconf_OK.robot deleted file mode 100644 index 8ec9c49d11..0000000000 --- a/csit/suites/armoury/basic/010_Restconf_OK.robot +++ /dev/null @@ -1,16 +0,0 @@ -*** Settings *** -Documentation Test suite to verify Restconf is OK -Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown Delete All Sessions -Library RequestsLibrary -Library ../../../libraries/Common.py -Variables ../../../variables/Variables.py -Resource ../../../libraries/Utils.robot - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the controller modules via Restconf - ${resp} RequestsLibrary.Get Request session ${MODULES_API} - Log ${resp.content} - Should Be Equal As Strings ${resp.status_code} 200 - Should Contain ${resp.content} ietf-restconf diff --git a/csit/suites/centinel/basic/010_Restconf_OK.robot b/csit/suites/centinel/basic/010_Restconf_OK.robot deleted file mode 100644 index aa17f2c11a..0000000000 --- a/csit/suites/centinel/basic/010_Restconf_OK.robot +++ /dev/null @@ -1,18 +0,0 @@ -*** Settings *** -Documentation Test suite to verify Restconf is OK -Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown Delete All Sessions -Library RequestsLibrary -Variables ../../../variables/Variables.py -Resource ../../../libraries/Utils.robot - -*** Variables *** -${REST_CONTEXT} /restconf/modules - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the controller modules via Restconf - ${resp} RequestsLibrary.Get Request session ${REST_CONTEXT} - Log ${resp.content} - Should Be Equal As Strings ${resp.status_code} 200 - Should Contain ${resp.content} ietf-restconf diff --git a/csit/suites/eman/model/EMAN_MODEL.robot b/csit/suites/eman/model/EMAN_MODEL.robot deleted file mode 100644 index e287acb1b7..0000000000 --- a/csit/suites/eman/model/EMAN_MODEL.robot +++ /dev/null @@ -1,18 +0,0 @@ -*** Settings *** -Documentation Test suite for eman model functionality -Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown Delete All Sessions -Library RequestsLibrary -Library ../../../libraries/Common.py -Variables ../../../variables/Variables.py -Resource ../../../libraries/Utils.robot - -*** Variables *** - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the controller modules via Restconf - ${resp} RequestsLibrary.Get Request session ${MODULES_API} - Log ${resp.content} - Should Be Equal As Strings ${resp.status_code} 200 - Should Contain ${resp.content} ietf-restconf diff --git a/csit/suites/faas/singlefabric/singlefabric.robot b/csit/suites/faas/singlefabric/singlefabric.robot deleted file mode 100644 index 88c9b22157..0000000000 --- a/csit/suites/faas/singlefabric/singlefabric.robot +++ /dev/null @@ -1,14 +0,0 @@ -*** Settings *** -Documentation Test suite to verify Restconf is OK. -Suite Setup RequestsLibrary.Create_Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown RequestsLibrary.Delete_All_Sessions -Library RequestsLibrary -Variables ${CURDIR}/../../../variables/Variables.py - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the restconf modules, check 200 status and ietf-restconf presence. - ${resp} = RequestsLibrary.Get_Request session ${MODULES_API} - BuiltIn.Log ${resp.content} - BuiltIn.Should_Be_Equal ${resp.status_code} ${200} - BuiltIn.Should_Contain ${resp.content} ietf-restconf diff --git a/csit/suites/messaging4transport/basic/010_Restconf_OK.robot b/csit/suites/messaging4transport/basic/010_Restconf_OK.robot deleted file mode 100644 index aa17f2c11a..0000000000 --- a/csit/suites/messaging4transport/basic/010_Restconf_OK.robot +++ /dev/null @@ -1,18 +0,0 @@ -*** Settings *** -Documentation Test suite to verify Restconf is OK -Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown Delete All Sessions -Library RequestsLibrary -Variables ../../../variables/Variables.py -Resource ../../../libraries/Utils.robot - -*** Variables *** -${REST_CONTEXT} /restconf/modules - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the controller modules via Restconf - ${resp} RequestsLibrary.Get Request session ${REST_CONTEXT} - Log ${resp.content} - Should Be Equal As Strings ${resp.status_code} 200 - Should Contain ${resp.content} ietf-restconf diff --git a/csit/suites/natapp/basic/restconf_modules.robot b/csit/suites/natapp/basic/restconf_modules.robot deleted file mode 100644 index acf67954f8..0000000000 --- a/csit/suites/natapp/basic/restconf_modules.robot +++ /dev/null @@ -1,15 +0,0 @@ -*** Settings *** -Documentation Test suite to verify Restconf is OK. -Suite Teardown RequestsLibrary.Delete_All_Sessions -Library RequestsLibrary -Resource ${CURDIR}/../../../variables/Variables.robot - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the restconf modules, check 200 status and ietf-restconf presence. - ${AUTH} = Set Variable ${ODL_RESTCONF_USER} ${ODL_RESTCONF_PASSWORD} - RequestsLibrary.Create_Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=&{HEADERS_XML} - ${resp} = RequestsLibrary.Get_Request session ${MODULES_API} - BuiltIn.Log ${resp.content} - BuiltIn.Should_Be_Equal ${resp.status_code} ${200} - BuiltIn.Should_Contain ${resp.content} ietf-restconf diff --git a/csit/suites/netide/basic/010_netide_endpoint.robot b/csit/suites/netide/basic/010_netide_endpoint.robot deleted file mode 100644 index 6972bfc025..0000000000 --- a/csit/suites/netide/basic/010_netide_endpoint.robot +++ /dev/null @@ -1,14 +0,0 @@ -*** Settings *** -Documentation Test suite to verify Restconf is OK for NetIDE. -Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown Delete All Sessions -Library RequestsLibrary -Variables ../../../variables/Variables.py - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the controller modules via Restconf - ${resp} RequestsLibrary.Get Request session ${MODULES_API} - Log ${resp.content} - Should Be Equal As Strings ${resp.status_code} 200 - Should Contain ${resp.content} ietf-restconf diff --git a/csit/suites/of-config/basic/010_restconf_modules.robot b/csit/suites/of-config/basic/010_restconf_modules.robot deleted file mode 100755 index a2c1e1bee3..0000000000 --- a/csit/suites/of-config/basic/010_restconf_modules.robot +++ /dev/null @@ -1,17 +0,0 @@ -*** Settings *** -Documentation Test suite to verify Restconf is OK. -Suite Setup RequestsLibrary.Create_Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown RequestsLibrary.Delete_All_Sessions -Library RequestsLibrary -Variables ${CURDIR}/../../../variables/Variables.py - -*** Variables *** -${REST_CONTEXT} /restconf/modules - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the restconf modules, check 200 status and ietf-restconf presence. - ${resp} = RequestsLibrary.Get_Request session ${REST_CONTEXT} - BuiltIn.Log ${resp.content} - BuiltIn.Should_Be_Equal ${resp.status_code} ${200} - BuiltIn.Should_Contain ${resp.content} ietf-restconf diff --git a/csit/suites/p4plugin/basic/restconf_modules.robot b/csit/suites/p4plugin/basic/restconf_modules.robot deleted file mode 100644 index 4d9c1d4353..0000000000 --- a/csit/suites/p4plugin/basic/restconf_modules.robot +++ /dev/null @@ -1,14 +0,0 @@ -*** Settings *** -Documentation Test suite to verify Restconf is OK. -Suite Setup RequestsLibrary.Create_Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown RequestsLibrary.Delete_All_Sessions -Library RequestsLibrary -Resource ${CURDIR}/../../../variables/Variables.robot - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the restconf modules, check 200 status and ietf-restconf presence. - ${resp} = RequestsLibrary.Get_Request session ${MODULES_API} - BuiltIn.Log ${resp.content} - BuiltIn.Should_Be_Equal ${resp.status_code} ${200} - BuiltIn.Should_Contain ${resp.content} ietf-restconf diff --git a/csit/suites/sdninterfaceapp/basic/010_Restconf_OK.robot b/csit/suites/sdninterfaceapp/basic/010_Restconf_OK.robot deleted file mode 100644 index ddf021b00b..0000000000 --- a/csit/suites/sdninterfaceapp/basic/010_Restconf_OK.robot +++ /dev/null @@ -1,17 +0,0 @@ -*** Settings *** -Documentation Test suite to verify Restconf is OK -Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown Delete All Sessions -Library RequestsLibrary -Variables ../../../variables/Variables.py -Resource ../../../libraries/Utils.robot - -*** Variables *** - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the controller modules via Restconf - ${resp} RequestsLibrary.Get Request session ${MODULES_API} - Log ${resp.content} - Should Be Equal As Strings ${resp.status_code} 200 - Should Contain ${resp.content} ietf-restconf diff --git a/csit/suites/sxp/basic/010_Restconf_OK.robot b/csit/suites/sxp/basic/010_Restconf_OK.robot deleted file mode 100644 index ce54d661d8..0000000000 --- a/csit/suites/sxp/basic/010_Restconf_OK.robot +++ /dev/null @@ -1,16 +0,0 @@ -*** Settings *** -Documentation Test suite to verify Restconf is OK -Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown Delete All Sessions -Library RequestsLibrary -Variables ../../../variables/Variables.py - -*** Variables *** - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the controller modules via Restconf - ${resp} RequestsLibrary.Get Request session ${MODULES_API} - Log ${resp.content} - Should Be Equal As Strings ${resp.status_code} 200 - Should Contain ${resp.content} ietf-restconf diff --git a/csit/suites/ttp/basic/010_Restconf_OK.robot b/csit/suites/ttp/basic/010_Restconf_OK.robot deleted file mode 100644 index aa17f2c11a..0000000000 --- a/csit/suites/ttp/basic/010_Restconf_OK.robot +++ /dev/null @@ -1,18 +0,0 @@ -*** Settings *** -Documentation Test suite to verify Restconf is OK -Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown Delete All Sessions -Library RequestsLibrary -Variables ../../../variables/Variables.py -Resource ../../../libraries/Utils.robot - -*** Variables *** -${REST_CONTEXT} /restconf/modules - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the controller modules via Restconf - ${resp} RequestsLibrary.Get Request session ${REST_CONTEXT} - Log ${resp.content} - Should Be Equal As Strings ${resp.status_code} 200 - Should Contain ${resp.content} ietf-restconf diff --git a/csit/suites/unimgr/basic/010_Restconf_OK.robot b/csit/suites/unimgr/basic/010_Restconf_OK.robot deleted file mode 100644 index 88ec222db0..0000000000 --- a/csit/suites/unimgr/basic/010_Restconf_OK.robot +++ /dev/null @@ -1,17 +0,0 @@ -*** Settings *** -Documentation Test suite to verify Restconf is OK -Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown Delete All Sessions -Library RequestsLibrary -Library ../../../libraries/Common.py -Variables ../../../variables/Variables.py -Resource ../../../libraries/Utils.robot -Resource ../../../libraries/TemplatedRequests.robot - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the controller modules via Restconf - ${resp} RequestsLibrary.Get Request session ${MODULES_API} - Log ${resp.content} - Should Contain ${ALLOWED_STATUS_CODES} ${resp.status_code} - Should Contain ${resp.content} ietf-restconf diff --git a/csit/suites/usc/channel/USC_CHANNEL.robot b/csit/suites/usc/channel/USC_CHANNEL.robot deleted file mode 100644 index ad33f59af4..0000000000 --- a/csit/suites/usc/channel/USC_CHANNEL.robot +++ /dev/null @@ -1,18 +0,0 @@ -*** Settings *** -Documentation Test suite for usc channel functionality -Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown Delete All Sessions -Library RequestsLibrary -Library ../../../libraries/Common.py -Variables ../../../variables/Variables.py -Resource ../../../libraries/Utils.robot - -*** Variables *** - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the controller modules via Restconf - ${resp} RequestsLibrary.Get Request session ${MODULES_API} - Log ${resp.content} - Should Be Equal As Strings ${resp.status_code} 200 - Should Contain ${resp.content} ietf-restconf diff --git a/csit/suites/usecplugin/basic/010_Restconf_OK.robot b/csit/suites/usecplugin/basic/010_Restconf_OK.robot deleted file mode 100644 index ddf021b00b..0000000000 --- a/csit/suites/usecplugin/basic/010_Restconf_OK.robot +++ /dev/null @@ -1,17 +0,0 @@ -*** Settings *** -Documentation Test suite to verify Restconf is OK -Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown Delete All Sessions -Library RequestsLibrary -Variables ../../../variables/Variables.py -Resource ../../../libraries/Utils.robot - -*** Variables *** - -*** Test Cases *** -Get Controller Modules - [Documentation] Get the controller modules via Restconf - ${resp} RequestsLibrary.Get Request session ${MODULES_API} - Log ${resp.content} - Should Be Equal As Strings ${resp.status_code} 200 - Should Contain ${resp.content} ietf-restconf diff --git a/csit/testplans/armoury-basic.txt b/csit/testplans/armoury-basic.txt deleted file mode 100644 index 7a617ddd93..0000000000 --- a/csit/testplans/armoury-basic.txt +++ /dev/null @@ -1,2 +0,0 @@ -# Place the suites in run order: -integration/test/csit/suites/armoury/basic \ No newline at end of file diff --git a/csit/testplans/centinel-basic.txt b/csit/testplans/centinel-basic.txt index b2da1a66cf..07ba77a22c 100644 --- a/csit/testplans/centinel-basic.txt +++ b/csit/testplans/centinel-basic.txt @@ -1,5 +1,4 @@ # Place the suites in run order: -integration/test/csit/suites/centinel/basic/010_Restconf_OK.robot integration/test/csit/suites/centinel/basic/020_FeatureInstallation.robot integration/test/csit/suites/centinel/basic/030_Configuration.robot integration/test/csit/suites/centinel/basic/040_Stream.robot diff --git a/csit/testplans/eman-model.txt b/csit/testplans/eman-model.txt deleted file mode 100644 index 312bd87b48..0000000000 --- a/csit/testplans/eman-model.txt +++ /dev/null @@ -1,2 +0,0 @@ -# Place the suites in run order: -integration/test/csit/suites/eman/model diff --git a/csit/testplans/faas-singlefabric.txt b/csit/testplans/faas-singlefabric.txt deleted file mode 100644 index 4843ac2401..0000000000 --- a/csit/testplans/faas-singlefabric.txt +++ /dev/null @@ -1,2 +0,0 @@ -# Place the suites in run order: -integration/test/csit/suites/faas/singlefabric/ diff --git a/csit/testplans/messaging4transport-basic.txt b/csit/testplans/messaging4transport-basic.txt deleted file mode 100644 index c5a675fc7c..0000000000 --- a/csit/testplans/messaging4transport-basic.txt +++ /dev/null @@ -1,2 +0,0 @@ -# Place the suites in run order: -integration/test/csit/suites/messaging4transport/basic diff --git a/csit/testplans/natapp-basic.txt b/csit/testplans/natapp-basic.txt deleted file mode 100644 index 0e71e5c05c..0000000000 --- a/csit/testplans/natapp-basic.txt +++ /dev/null @@ -1,2 +0,0 @@ -# Place the suites in run order: -integration/test/csit/suites/natapp/basic diff --git a/csit/testplans/netide-basic.txt b/csit/testplans/netide-basic.txt deleted file mode 100644 index f04113efeb..0000000000 --- a/csit/testplans/netide-basic.txt +++ /dev/null @@ -1,2 +0,0 @@ -# Place the suites in run order: -integration/test/csit/suites/netide/basic diff --git a/csit/testplans/of-config-basic.txt b/csit/testplans/of-config-basic.txt deleted file mode 100755 index 1c1a12b16f..0000000000 --- a/csit/testplans/of-config-basic.txt +++ /dev/null @@ -1,2 +0,0 @@ -# Place the suites in run order: -integration/test/csit/suites/of-config/basic diff --git a/csit/testplans/p4plugin-basic.txt b/csit/testplans/p4plugin-basic.txt deleted file mode 100644 index 16835f5e59..0000000000 --- a/csit/testplans/p4plugin-basic.txt +++ /dev/null @@ -1,3 +0,0 @@ -# Place the suites in run order: -integration/test/csit/suites/p4plugin/basic - diff --git a/csit/testplans/sdninterfaceapp-basic.txt b/csit/testplans/sdninterfaceapp-basic.txt deleted file mode 100644 index 2be0c89c7d..0000000000 --- a/csit/testplans/sdninterfaceapp-basic.txt +++ /dev/null @@ -1,2 +0,0 @@ -# Place the suites in run order: -integration/test/csit/suites/sdninterfaceapp/basic diff --git a/csit/testplans/sxp-basic-boron.txt b/csit/testplans/sxp-basic-boron.txt index 2c52d7aff3..fdefef2182 100644 --- a/csit/testplans/sxp-basic-boron.txt +++ b/csit/testplans/sxp-basic-boron.txt @@ -1,5 +1,4 @@ # Place the suites in run order: -integration/test/csit/suites/sxp/basic/010_Restconf_OK.robot integration/test/csit/suites/sxp/basic/020_Restconf_CRUD.robot integration/test/csit/suites/sxp/basic/030_Connectivity.robot integration/test/csit/suites/sxp/basic/040_Custom_Passwords.robot diff --git a/csit/testplans/ttp-parser.txt b/csit/testplans/ttp-parser.txt deleted file mode 100644 index f07e90e035..0000000000 --- a/csit/testplans/ttp-parser.txt +++ /dev/null @@ -1,3 +0,0 @@ -# Place the suites in run order: -integration/test/csit/suites/ttp/basic - diff --git a/csit/testplans/unimgr-basic.txt b/csit/testplans/unimgr-basic.txt index cdac0b84d8..e8ccb065c0 100644 --- a/csit/testplans/unimgr-basic.txt +++ b/csit/testplans/unimgr-basic.txt @@ -1,3 +1,2 @@ # Place the suites in run order: -integration/test/csit/suites/unimgr/basic -integration/test/csit/suites/unimgr/uni_operations \ No newline at end of file +integration/test/csit/suites/unimgr/uni_operations diff --git a/csit/testplans/usc-channel.txt b/csit/testplans/usc-channel.txt deleted file mode 100644 index ccc3d5f259..0000000000 --- a/csit/testplans/usc-channel.txt +++ /dev/null @@ -1,2 +0,0 @@ -# Place the suites in run order: -integration/test/csit/suites/usc/channel diff --git a/csit/testplans/usecplugin-basic.txt b/csit/testplans/usecplugin-basic.txt deleted file mode 100644 index 2f9b510965..0000000000 --- a/csit/testplans/usecplugin-basic.txt +++ /dev/null @@ -1,2 +0,0 @@ -# Place the suites in run order: -integration/test/csit/suites/usecplugin/basic