From 13111e94c63f26b3234ae28ff46df3ce8392636d Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Thu, 27 Sep 2018 11:31:33 -0700 Subject: Adjust relative paths for CSIT files Remove leading test/csit/ from all relative paths to accomodate the move into integration/csit repo. Change-Id: Id9482b46df839f5eba28135e9f987a3eda1d7d94 Issue-ID: INT-671 Signed-off-by: Gary Wu --- plans/aaf/sms-test-plan/testplan.txt | 2 +- plans/aai/esr-server/testplan.txt | 2 +- plans/aai/resources/testplan.txt | 2 +- plans/aai/search-data-service/testplan.txt | 2 +- plans/aai/traversal/testplan.txt | 2 +- plans/appc/healthcheck/setup.sh | 2 +- plans/appc/healthcheck/testplan.txt | 2 +- plans/ccsdk/healthcheck/setup.sh | 2 +- plans/ccsdk/healthcheck/testplan.txt | 2 +- plans/clamp/APIs/setup.sh | 4 ++-- plans/clamp/APIs/teardown.sh | 2 +- plans/clamp/APIs/testplan.txt | 2 +- plans/clamp/UIs/setup.sh | 4 ++-- plans/clamp/UIs/teardown.sh | 2 +- plans/clamp/UIs/testplan.txt | 2 +- plans/cli/sanity-check/testplan.txt | 2 +- .../dcaegen2-collectors-hv-ves/testsuites/setup.sh | 2 +- .../testsuites/testplan.txt | 2 +- plans/dcaegen2/prh-testsuites/setup.sh | 2 +- plans/dcaegen2/prh-testsuites/testplan.txt | 2 +- plans/dcaegen2/testsuites/setup.sh | 2 +- plans/dcaegen2/testsuites/testplan.txt | 2 +- plans/dmaap-buscontroller/mock_downstream/setup.sh | 6 +++--- .../mock_downstream/testplan.txt | 2 +- plans/dmaap-buscontroller/ssl/setup.sh | 6 +++--- plans/dmaap-buscontroller/ssl/testplan.txt | 2 +- plans/dmaap-buscontroller/with_dr/setup.sh | 8 +++---- plans/dmaap-buscontroller/with_mr/setup.sh | 8 +++---- plans/dmaap-buscontroller/with_mr/teardown.sh | 2 +- plans/dmaap-buscontroller/with_mr/testplan.txt | 2 +- plans/externalapi-nbi/healthcheck/setup.sh | 2 +- plans/externalapi-nbi/healthcheck/teardown.sh | 2 +- plans/externalapi-nbi/healthcheck/testplan.txt | 2 +- .../sanity-check/testplan.txt | 2 +- plans/integration/functionality1/setup.sh | 4 ++-- plans/integration/functionality1/testplan.txt | 2 +- plans/integration/vCPE/testplan.txt | 2 +- .../APIs/setup.sh | 2 +- .../APIs/teardown.sh | 2 +- .../APIs/testplan.txt | 2 +- plans/msb/iag-redirect-discovery/testplan.txt | 2 +- plans/msb/rest-service/testplan.txt | 2 +- plans/msb/sanity-check/testplan.txt | 2 +- plans/msb/tcp-service/testplan.txt | 2 +- plans/multicloud-ocata/functionality1/testplan.txt | 2 +- plans/multicloud-ocata/hpa-discovery/setup.sh | 4 ++-- plans/multicloud-ocata/hpa-discovery/testplan.txt | 2 +- plans/multicloud-pike/functionality1/testplan.txt | 2 +- plans/multicloud-pike/hpa-discovery/setup.sh | 4 ++-- plans/multicloud-pike/hpa-discovery/testplan.txt | 2 +- .../multicloud-vmware/functionality1/testplan.txt | 2 +- .../functionality1/testplan.txt | 2 +- plans/multicloud/functionality1/testplan.txt | 2 +- .../testplan.txt | 2 +- plans/music/music-test-plan/setup.sh | 10 ++++----- plans/music/music-test-plan/testplan.txt | 2 +- plans/optf-has/has/setup.sh | 6 +++--- plans/optf-has/has/teardown.sh | 6 +++--- plans/optf-has/has/testplan.txt | 2 +- plans/policy/apex-pdp/testplan.txt | 2 +- plans/policy/distribution/testplan.txt | 2 +- plans/policy/health/setup.sh | 4 ++-- plans/policy/health/testplan.txt | 2 +- plans/portal-sdk/testsuite/testplan.txt | 2 +- plans/portal/testsuite/testplan.txt | 2 +- plans/sdc/nightly/setup.sh | 2 +- plans/sdc/nightly/teardown.sh | 2 +- plans/sdc/nightly/testplan.txt | 2 +- plans/sdc/sanity/setup.sh | 2 +- plans/sdc/sanity/teardown.sh | 2 +- plans/sdc/sanity/testplan.txt | 2 +- plans/sdc/uiSanity/setup.sh | 2 +- plans/sdc/uiSanity/teardown.sh | 2 +- plans/sdc/uiSanity/testplan.txt | 2 +- plans/sdnc/healthcheck/setup.sh | 2 +- plans/sdnc/healthcheck/testplan.txt | 2 +- plans/so/integration-testing/setup.sh | 4 ++-- plans/so/integration-testing/testplan.txt | 2 +- plans/usecase-ui-server/testsuite/testplan.txt | 2 +- plans/usecases/5G-bulkpm/setup.sh | 14 ++++++------ plans/usecases/5G-bulkpm/testplan.txt | 2 +- plans/vfc-gvnfm-vnflcm/sanity-check/testplan.txt | 2 +- plans/vfc-gvnfm-vnfmgr/sanity-check/testplan.txt | 2 +- plans/vfc-gvnfm-vnfres/sanity-check/testplan.txt | 2 +- plans/vfc-nfvo-catalog/sanity-check/testplan.txt | 2 +- .../vfc-nfvo-driver-ems/sanity-check/testplan.txt | 2 +- .../vfc-nfvo-driver-sfc/sanity-check/testplan.txt | 2 +- .../sanity-check/testplan.txt | 2 +- .../sanity-check/testplan.txt | 2 +- plans/vfc-nfvo-lcm/sanity-check/testplan.txt | 2 +- .../sanity-check/testplan.txt | 2 +- .../sanity-check/testplan.txt | 2 +- plans/vfc-nfvo-wfengine/sanity-check/testplan.txt | 2 +- plans/vid/healthCheck/setup.sh | 4 ++-- plans/vid/healthCheck/teardown.sh | 2 +- plans/vid/healthCheck/testplan.txt | 2 +- plans/vnfsdk-ice/sanity-check/testplan.txt | 2 +- plans/vnfsdk-marketplace/sanity-check/testplan.txt | 2 +- plans/vnfsdk-pkgtools/sanity-check/testplan.txt | 2 +- plans/vnfsdk-refrepo/sanity-check/testplan.txt | 2 +- plans/vvp/sanity/setup.sh | 10 ++++----- plans/vvp/sanity/teardown.sh | 2 +- plans/vvp/sanity/testplan.txt | 2 +- run-csit.sh | 24 ++++++++++----------- scripts/appc/script1.sh | 2 +- scripts/ccsdk/script1.sh | 2 +- .../clamp/clone_clamp_and_change_dockercompose.sh | 2 +- .../kill_and_remove_clamp_and_db_containers.sh | 2 +- scripts/clamp/start_clamp_containers.sh | 2 +- scripts/cli/startup.sh | 2 +- scripts/dmaap-buscontroller/.mock-aaf.sh.swp | Bin 12288 -> 0 bytes scripts/dmaap-buscontroller/dmaapbc-launch.sh | 2 +- scripts/dmaap-buscontroller/start-mock.sh | 2 +- scripts/externalapi-nbi/delete_nbi_containers.sh | 2 +- scripts/externalapi-nbi/start_nbi_containers.sh | 2 +- scripts/integration/script1.sh | 2 +- .../setup_containers.sh | 2 +- .../teardown_containers.sh | 2 +- scripts/music/music-scripts/music_script.sh | 2 +- scripts/optf-has/has/has_proxy_settings.sh | 2 +- scripts/optf-has/has/has_script.sh | 16 +++++++------- scripts/optf-has/has/music_script.sh | 8 +++---- scripts/optf-has/has/simulator_script.sh | 8 +++---- scripts/policy/script1.sh | 2 +- scripts/run-instance.sh | 2 +- .../sdc/kill_containers_and_remove_dataFolders.sh | 2 +- scripts/sdc/setup_sdc_for_apis_sanity.sh | 12 +++++------ scripts/sdc/setup_sdc_for_ui_sanity.sh | 12 +++++------ scripts/sdc/start_sdc_containers.sh | 2 +- scripts/sdnc/script1.sh | 2 +- scripts/vid/clone_and_setup_vid_data.sh | 2 +- .../vid/kill_containers_and_remove_dataFolders.sh | 2 +- scripts/vid/start_vid_containers.sh | 4 ++-- scripts/vvp/clone_and_setup_vvp_data.sh | 2 +- .../vvp/kill_containers_and_remove_dataFolders.sh | 2 +- scripts/vvp/start_vvp_containers.sh | 2 +- .../testcases/__init__.robot | 2 +- .../testcases/authorization.robot | 2 +- .../testcases/libraries/XnfSimulatorLibrary.py | 2 +- .../testcases/message-routing.robot | 2 +- .../testcases/multiple-clients.robot | 2 +- tests/dcaegen2/prh-testcases/prh_tests.robot | 18 ++++++++-------- tests/dcaegen2/testcases/dcae_ves.robot | 12 +++++------ tests/dcaegen2/testcases/resources/DcaeLibrary.py | 4 ++-- .../dcaegen2/testcases/resources/DcaeVariables.py | 2 +- .../testcases/resources/dcae_keywords.robot | 2 +- .../testcases/resources/vesc_enable_https_auth.sh | 2 +- tests/usecases/5G-bulkpm/BulkpmE2E.robot | 2 +- 148 files changed, 231 insertions(+), 233 deletions(-) delete mode 100644 scripts/dmaap-buscontroller/.mock-aaf.sh.swp diff --git a/plans/aaf/sms-test-plan/testplan.txt b/plans/aaf/sms-test-plan/testplan.txt index c2b3b7b1..3ac14bd1 100644 --- a/plans/aaf/sms-test-plan/testplan.txt +++ b/plans/aaf/sms-test-plan/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. aaf/aaf-sms-suite \ No newline at end of file diff --git a/plans/aai/esr-server/testplan.txt b/plans/aai/esr-server/testplan.txt index 43ed23e9..0592a70e 100644 --- a/plans/aai/esr-server/testplan.txt +++ b/plans/aai/esr-server/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. aai/esr-server/startup diff --git a/plans/aai/resources/testplan.txt b/plans/aai/resources/testplan.txt index 1e8902a5..e0538c03 100644 --- a/plans/aai/resources/testplan.txt +++ b/plans/aai/resources/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. aai/resources/api_suite aai/resources/relationship_suite diff --git a/plans/aai/search-data-service/testplan.txt b/plans/aai/search-data-service/testplan.txt index b0a72a0f..02f3ea37 100644 --- a/plans/aai/search-data-service/testplan.txt +++ b/plans/aai/search-data-service/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. aai/search-data-service/suite1 diff --git a/plans/aai/traversal/testplan.txt b/plans/aai/traversal/testplan.txt index 9b48bf9b..65603fd5 100644 --- a/plans/aai/traversal/testplan.txt +++ b/plans/aai/traversal/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. aai/traversal/suite1 diff --git a/plans/appc/healthcheck/setup.sh b/plans/appc/healthcheck/setup.sh index da441ea5..0ea9f925 100755 --- a/plans/appc/healthcheck/setup.sh +++ b/plans/appc/healthcheck/setup.sh @@ -18,7 +18,7 @@ # # Place the scripts in run order: SCRIPTS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -source ${WORKSPACE}/test/csit/scripts/appc/script1.sh +source ${WORKSPACE}/scripts/appc/script1.sh export APPC_DOCKER_IMAGE_VERSION=1.4.0-SNAPSHOT-latest export CCSDK_DOCKER_IMAGE_VERSION=0.2-STAGING-latest diff --git a/plans/appc/healthcheck/testplan.txt b/plans/appc/healthcheck/testplan.txt index 97d82786..c7920561 100644 --- a/plans/appc/healthcheck/testplan.txt +++ b/plans/appc/healthcheck/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. appc/healthcheck appc/cdt diff --git a/plans/ccsdk/healthcheck/setup.sh b/plans/ccsdk/healthcheck/setup.sh index bdb5b550..c073acd6 100644 --- a/plans/ccsdk/healthcheck/setup.sh +++ b/plans/ccsdk/healthcheck/setup.sh @@ -18,7 +18,7 @@ # # Place the scripts in run order: SCRIPTS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -source ${WORKSPACE}/test/csit/scripts/ccsdk/script1.sh +source ${WORKSPACE}/scripts/ccsdk/script1.sh export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1) export NEXUS_DOCKER_REPO="nexus3.onap.org:10001" diff --git a/plans/ccsdk/healthcheck/testplan.txt b/plans/ccsdk/healthcheck/testplan.txt index affe635b..2cd8cdaf 100644 --- a/plans/ccsdk/healthcheck/testplan.txt +++ b/plans/ccsdk/healthcheck/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. ccsdk/healthcheck diff --git a/plans/clamp/APIs/setup.sh b/plans/clamp/APIs/setup.sh index bb7a8144..6e27495c 100755 --- a/plans/clamp/APIs/setup.sh +++ b/plans/clamp/APIs/setup.sh @@ -18,9 +18,9 @@ # # Place the scripts in run order: -source ${WORKSPACE}/test/csit/scripts/clamp/clone_clamp_and_change_dockercompose.sh +source ${WORKSPACE}/scripts/clamp/clone_clamp_and_change_dockercompose.sh -source ${WORKSPACE}/test/csit/scripts/clamp/start_clamp_containers.sh +source ${WORKSPACE}/scripts/clamp/start_clamp_containers.sh # Pass any variables required by Robot test suites in ROBOT_VARIABLES #ROBOT_VARIABLES="-v TEST:${TEST}" diff --git a/plans/clamp/APIs/teardown.sh b/plans/clamp/APIs/teardown.sh index 07067e60..0e10d770 100755 --- a/plans/clamp/APIs/teardown.sh +++ b/plans/clamp/APIs/teardown.sh @@ -17,6 +17,6 @@ # Modifications copyright (c) 2017 AT&T Intellectual Property # -source ${WORKSPACE}/test/csit/scripts/clamp/kill_and_remove_clamp_and_db_containers.sh +source ${WORKSPACE}/scripts/clamp/kill_and_remove_clamp_and_db_containers.sh # $WORKSPACE/archives/clamp-clone deleted with archives folder when tests starts so we keep it at the end for debugging diff --git a/plans/clamp/APIs/testplan.txt b/plans/clamp/APIs/testplan.txt index 9d328f52..9891853c 100644 --- a/plans/clamp/APIs/testplan.txt +++ b/plans/clamp/APIs/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. clamp/APIs diff --git a/plans/clamp/UIs/setup.sh b/plans/clamp/UIs/setup.sh index bb7a8144..6e27495c 100755 --- a/plans/clamp/UIs/setup.sh +++ b/plans/clamp/UIs/setup.sh @@ -18,9 +18,9 @@ # # Place the scripts in run order: -source ${WORKSPACE}/test/csit/scripts/clamp/clone_clamp_and_change_dockercompose.sh +source ${WORKSPACE}/scripts/clamp/clone_clamp_and_change_dockercompose.sh -source ${WORKSPACE}/test/csit/scripts/clamp/start_clamp_containers.sh +source ${WORKSPACE}/scripts/clamp/start_clamp_containers.sh # Pass any variables required by Robot test suites in ROBOT_VARIABLES #ROBOT_VARIABLES="-v TEST:${TEST}" diff --git a/plans/clamp/UIs/teardown.sh b/plans/clamp/UIs/teardown.sh index 07067e60..0e10d770 100755 --- a/plans/clamp/UIs/teardown.sh +++ b/plans/clamp/UIs/teardown.sh @@ -17,6 +17,6 @@ # Modifications copyright (c) 2017 AT&T Intellectual Property # -source ${WORKSPACE}/test/csit/scripts/clamp/kill_and_remove_clamp_and_db_containers.sh +source ${WORKSPACE}/scripts/clamp/kill_and_remove_clamp_and_db_containers.sh # $WORKSPACE/archives/clamp-clone deleted with archives folder when tests starts so we keep it at the end for debugging diff --git a/plans/clamp/UIs/testplan.txt b/plans/clamp/UIs/testplan.txt index 9ec5b953..d282425e 100644 --- a/plans/clamp/UIs/testplan.txt +++ b/plans/clamp/UIs/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. clamp/UIs diff --git a/plans/cli/sanity-check/testplan.txt b/plans/cli/sanity-check/testplan.txt index 477ddab1..2280f8b0 100644 --- a/plans/cli/sanity-check/testplan.txt +++ b/plans/cli/sanity-check/testplan.txt @@ -13,6 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. cli/startup/startup_check.robot diff --git a/plans/dcaegen2-collectors-hv-ves/testsuites/setup.sh b/plans/dcaegen2-collectors-hv-ves/testsuites/setup.sh index 6f72521a..587b2680 100755 --- a/plans/dcaegen2-collectors-hv-ves/testsuites/setup.sh +++ b/plans/dcaegen2-collectors-hv-ves/testsuites/setup.sh @@ -37,4 +37,4 @@ docker-compose up -d mkdir -p ${WORKSPACE}/archives/containers_logs -export ROBOT_VARIABLES="--pythonpath ${WORKSPACE}/test/csit/tests/dcaegen2-collectors-hv-ves/testcases/libraries" +export ROBOT_VARIABLES="--pythonpath ${WORKSPACE}/tests/dcaegen2-collectors-hv-ves/testcases/libraries" diff --git a/plans/dcaegen2-collectors-hv-ves/testsuites/testplan.txt b/plans/dcaegen2-collectors-hv-ves/testsuites/testplan.txt index e9a7f636..7b1a3331 100644 --- a/plans/dcaegen2-collectors-hv-ves/testsuites/testplan.txt +++ b/plans/dcaegen2-collectors-hv-ves/testsuites/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. dcaegen2-collectors-hv-ves/testcases diff --git a/plans/dcaegen2/prh-testsuites/setup.sh b/plans/dcaegen2/prh-testsuites/setup.sh index 52167bf5..00892d6b 100644 --- a/plans/dcaegen2/prh-testsuites/setup.sh +++ b/plans/dcaegen2/prh-testsuites/setup.sh @@ -6,7 +6,7 @@ export PRH_SERVICE="prh" export DMAAP_SIMULATOR="dmaap_simulator" export AAI_SIMULATOR="aai_simulator" -cd ${WORKSPACE}/test/csit/tests/dcaegen2/prh-testcases/resources/ +cd ${WORKSPACE}/tests/dcaegen2/prh-testcases/resources/ pip uninstall -y docker-py pip uninstall -y docker diff --git a/plans/dcaegen2/prh-testsuites/testplan.txt b/plans/dcaegen2/prh-testsuites/testplan.txt index 9007a64b..728038a9 100644 --- a/plans/dcaegen2/prh-testsuites/testplan.txt +++ b/plans/dcaegen2/prh-testsuites/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. dcaegen2/prh-testcases diff --git a/plans/dcaegen2/testsuites/setup.sh b/plans/dcaegen2/testsuites/setup.sh index 8ee1309b..7847dce8 100755 --- a/plans/dcaegen2/testsuites/setup.sh +++ b/plans/dcaegen2/testsuites/setup.sh @@ -31,7 +31,7 @@ VESC_IP=`get-instance-ip.sh vesc` export VESC_IP=${VESC_IP} export HOST_IP=${HOST_IP} -export ROBOT_VARIABLES="--pythonpath ${WORKSPACE}/test/csit/tests/dcaegen2/testcases/resources" +export ROBOT_VARIABLES="--pythonpath ${WORKSPACE}/tests/dcaegen2/testcases/resources" pip install jsonschema uuid # Wait container ready diff --git a/plans/dcaegen2/testsuites/testplan.txt b/plans/dcaegen2/testsuites/testplan.txt index fbf08839..06810def 100755 --- a/plans/dcaegen2/testsuites/testplan.txt +++ b/plans/dcaegen2/testsuites/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. dcaegen2/testcases diff --git a/plans/dmaap-buscontroller/mock_downstream/setup.sh b/plans/dmaap-buscontroller/mock_downstream/setup.sh index d5c77b0b..9f5dbbc6 100755 --- a/plans/dmaap-buscontroller/mock_downstream/setup.sh +++ b/plans/dmaap-buscontroller/mock_downstream/setup.sh @@ -22,7 +22,7 @@ # Place the scripts in run order: -source ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/start-mock.sh +source ${WORKSPACE}/scripts/dmaap-buscontroller/start-mock.sh start_mock "aaf" AAF_IP=${IP} start_mock "mrc" 3904 @@ -30,7 +30,7 @@ MRC_IP=${IP} start_mock "drps" DRPS_IP=${IP} -source ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/dmaapbc-launch.sh +source ${WORKSPACE}/scripts/dmaap-buscontroller/dmaapbc-launch.sh dmaapbc_launch $AAF_IP $MRC_IP $DRPS_IP DMAAPBC_IP=${IP} @@ -41,5 +41,5 @@ echo "AAF_IP=$AAF_IP MRC_IP=$MRC_IP DRPS_IP=$DRPS_IP DMAAPBC_IP=$DMAAPBC_IP" ROBOT_VARIABLES="-v AAF_IP:${AAF_IP} -v MRC_IP:${MRC_IP} -v DRPS_IP:${DRPS_IP} -v DMAAPBC_IP:${DMAAPBC_IP}" set -x -${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/dmaapbc-init.sh ${DMAAPBC_IP} ${DRPS_IP} ${MRC_IP} +${WORKSPACE}/scripts/dmaap-buscontroller/dmaapbc-init.sh ${DMAAPBC_IP} ${DRPS_IP} ${MRC_IP} set +x diff --git a/plans/dmaap-buscontroller/mock_downstream/testplan.txt b/plans/dmaap-buscontroller/mock_downstream/testplan.txt index 39a2f449..484fb295 100644 --- a/plans/dmaap-buscontroller/mock_downstream/testplan.txt +++ b/plans/dmaap-buscontroller/mock_downstream/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. dmaap-buscontroller/suite1 diff --git a/plans/dmaap-buscontroller/ssl/setup.sh b/plans/dmaap-buscontroller/ssl/setup.sh index e40f62de..6ab50ed1 100755 --- a/plans/dmaap-buscontroller/ssl/setup.sh +++ b/plans/dmaap-buscontroller/ssl/setup.sh @@ -22,7 +22,7 @@ # Place the scripts in run order: -source ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/start-mock.sh +source ${WORKSPACE}/scripts/dmaap-buscontroller/start-mock.sh start_mock "aaf" AAF_IP=${IP} start_mock "mrc" 3905 @@ -30,7 +30,7 @@ MRC_IP=${IP} start_mock "drps" 8443 DRPS_IP=${IP} -source ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/dmaapbc-launch.sh +source ${WORKSPACE}/scripts/dmaap-buscontroller/dmaapbc-launch.sh dmaapbc_launch $AAF_IP $MRC_IP $DRPS_IP DMAAPBC_IP=${IP} @@ -41,5 +41,5 @@ echo "AAF_IP=$AAF_IP MRC_IP=$MRC_IP DRPS_IP=$DRPS_IP DMAAPBC_IP=$DMAAPBC_IP" ROBOT_VARIABLES="-v AAF_IP:${AAF_IP} -v MRC_IP:${MRC_IP} -v DRPS_IP:${DRPS_IP} -v DMAAPBC_IP:${DMAAPBC_IP}" set -x -${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/dmaapbc-init.sh ${DMAAPBC_IP} ${DRPS_IP} ${MRC_IP} https +${WORKSPACE}/scripts/dmaap-buscontroller/dmaapbc-init.sh ${DMAAPBC_IP} ${DRPS_IP} ${MRC_IP} https set +x diff --git a/plans/dmaap-buscontroller/ssl/testplan.txt b/plans/dmaap-buscontroller/ssl/testplan.txt index e106e7b6..54ce4df1 100644 --- a/plans/dmaap-buscontroller/ssl/testplan.txt +++ b/plans/dmaap-buscontroller/ssl/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. dmaap-buscontroller/ssl_suite diff --git a/plans/dmaap-buscontroller/with_dr/setup.sh b/plans/dmaap-buscontroller/with_dr/setup.sh index 7cefa727..d9d8574f 100755 --- a/plans/dmaap-buscontroller/with_dr/setup.sh +++ b/plans/dmaap-buscontroller/with_dr/setup.sh @@ -29,11 +29,11 @@ then else # Place the scripts in run order: - source ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/dr-launch.sh + source ${WORKSPACE}/scripts/dmaap-buscontroller/dr-launch.sh dmaap_dr_launch DRPS_IP=${IP} - #source ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/start-mock.sh + #source ${WORKSPACE}/scripts/dmaap-buscontroller/start-mock.sh #start_mock "aaf" #AAF_IP=${IP} AAF_IP=0.0.0.0 @@ -41,7 +41,7 @@ else #DRPS_IP=${IP} MRC_IP=0.0.0.0 - source ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/dmaapbc-launch.sh + source ${WORKSPACE}/scripts/dmaap-buscontroller/dmaapbc-launch.sh dmaapbc_launch $AAF_IP $MRC_IP $DRPS_IP DMAAPBC_IP=${IP} @@ -51,7 +51,7 @@ else # Pass any variables required by Robot test suites in ROBOT_VARIABLES ROBOT_VARIABLES="-v AAF_IP:${AAF_IP} -v MRC_IP:${MRC_IP} -v DRPS_IP:${DRPS_IP} -v DMAAPBC_IP:${DMAAPBC_IP}" set -x - ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/dmaapbc-init.sh ${DMAAPBC_IP} ${DRPS_IP} ${MRC_IP} https + ${WORKSPACE}/scripts/dmaap-buscontroller/dmaapbc-init.sh ${DMAAPBC_IP} ${DRPS_IP} ${MRC_IP} https set +x fi diff --git a/plans/dmaap-buscontroller/with_mr/setup.sh b/plans/dmaap-buscontroller/with_mr/setup.sh index bcd19b5a..01636867 100755 --- a/plans/dmaap-buscontroller/with_mr/setup.sh +++ b/plans/dmaap-buscontroller/with_mr/setup.sh @@ -26,11 +26,11 @@ then else # Place the scripts in run order: - source ${WORKSPACE}/test/csit/scripts/dmaap-message-router/dmaap-mr-launch.sh + source ${WORKSPACE}/scripts/dmaap-message-router/dmaap-mr-launch.sh dmaap_mr_launch MRC_IP=${IP} - source ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/start-mock.sh + source ${WORKSPACE}/scripts/dmaap-buscontroller/start-mock.sh start_mock "aaf" AAF_IP=${IP} #AAF_IP=0.0.0.0 @@ -38,7 +38,7 @@ else #DRPS_IP=${IP} DRPS_IP=0.0.0.0 - source ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/dmaapbc-launch.sh + source ${WORKSPACE}/scripts/dmaap-buscontroller/dmaapbc-launch.sh dmaapbc_launch $AAF_IP $MRC_IP $DRPS_IP DMAAPBC_IP=${IP} @@ -48,7 +48,7 @@ else # Pass any variables required by Robot test suites in ROBOT_VARIABLES ROBOT_VARIABLES="-v AAF_IP:${AAF_IP} -v MRC_IP:${MRC_IP} -v DRPS_IP:${DRPS_IP} -v DMAAPBC_IP:${DMAAPBC_IP}" set -x - ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/dmaapbc-init.sh ${DMAAPBC_IP} ${DRPS_IP} ${MRC_IP} + ${WORKSPACE}/scripts/dmaap-buscontroller/dmaapbc-init.sh ${DMAAPBC_IP} ${DRPS_IP} ${MRC_IP} set +x fi diff --git a/plans/dmaap-buscontroller/with_mr/teardown.sh b/plans/dmaap-buscontroller/with_mr/teardown.sh index 3feebe07..ae064814 100644 --- a/plans/dmaap-buscontroller/with_mr/teardown.sh +++ b/plans/dmaap-buscontroller/with_mr/teardown.sh @@ -19,7 +19,7 @@ # ============LICENSE_END========================================================= # # -source ${WORKSPACE}/test/csit/scripts/dmaap-message-router/dmaap-mr-teardown.sh +source ${WORKSPACE}/scripts/dmaap-message-router/dmaap-mr-teardown.sh if [ "$KEEP_DMAAP" != "Y" ] then diff --git a/plans/dmaap-buscontroller/with_mr/testplan.txt b/plans/dmaap-buscontroller/with_mr/testplan.txt index 4f4ff717..0728bd44 100644 --- a/plans/dmaap-buscontroller/with_mr/testplan.txt +++ b/plans/dmaap-buscontroller/with_mr/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. dmaap-buscontroller/single-mr-suite diff --git a/plans/externalapi-nbi/healthcheck/setup.sh b/plans/externalapi-nbi/healthcheck/setup.sh index 50da7ad6..f292a138 100644 --- a/plans/externalapi-nbi/healthcheck/setup.sh +++ b/plans/externalapi-nbi/healthcheck/setup.sh @@ -14,4 +14,4 @@ # limitations under the License. # ======================================================================== -source ${WORKSPACE}/test/csit/scripts/externalapi-nbi/start_nbi_containers.sh +source ${WORKSPACE}/scripts/externalapi-nbi/start_nbi_containers.sh diff --git a/plans/externalapi-nbi/healthcheck/teardown.sh b/plans/externalapi-nbi/healthcheck/teardown.sh index 83929723..fcca23e8 100644 --- a/plans/externalapi-nbi/healthcheck/teardown.sh +++ b/plans/externalapi-nbi/healthcheck/teardown.sh @@ -14,4 +14,4 @@ # limitations under the License. # ======================================================================== -source ${WORKSPACE}/test/csit/scripts/externalapi-nbi/delete_nbi_containers.sh \ No newline at end of file +source ${WORKSPACE}/scripts/externalapi-nbi/delete_nbi_containers.sh \ No newline at end of file diff --git a/plans/externalapi-nbi/healthcheck/testplan.txt b/plans/externalapi-nbi/healthcheck/testplan.txt index 06622ae7..8339c3cb 100644 --- a/plans/externalapi-nbi/healthcheck/testplan.txt +++ b/plans/externalapi-nbi/healthcheck/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. externalapi-nbi/healthcheck diff --git a/plans/holmes-rule-management/sanity-check/testplan.txt b/plans/holmes-rule-management/sanity-check/testplan.txt index e699512d..cc12b3fe 100644 --- a/plans/holmes-rule-management/sanity-check/testplan.txt +++ b/plans/holmes-rule-management/sanity-check/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. holmes/testcase/EngineMgt diff --git a/plans/integration/functionality1/setup.sh b/plans/integration/functionality1/setup.sh index c18f6220..3da509fd 100755 --- a/plans/integration/functionality1/setup.sh +++ b/plans/integration/functionality1/setup.sh @@ -15,7 +15,7 @@ # limitations under the License. # # Place the scripts in run order: -source ${WORKSPACE}/test/csit/scripts/integration/script1.sh +source ${WORKSPACE}/scripts/integration/script1.sh docker run --name i-mock -d jamesdbloom/mockserver MOCK_IP=`get-instance-ip.sh i-mock` @@ -27,7 +27,7 @@ for i in {1..10}; do sleep $i done -${WORKSPACE}/test/csit/scripts/integration/mock-hello.sh ${MOCK_IP} +${WORKSPACE}/scripts/integration/mock-hello.sh ${MOCK_IP} # Pass any variables required by Robot test suites in ROBOT_VARIABLES ROBOT_VARIABLES="-v MOCK_IP:${MOCK_IP}" diff --git a/plans/integration/functionality1/testplan.txt b/plans/integration/functionality1/testplan.txt index 9221b475..e35e1cc0 100644 --- a/plans/integration/functionality1/testplan.txt +++ b/plans/integration/functionality1/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. # Temporary change to trigger verify job. integration/suite1 diff --git a/plans/integration/vCPE/testplan.txt b/plans/integration/vCPE/testplan.txt index 2b3d4ad5..4c8688ec 100644 --- a/plans/integration/vCPE/testplan.txt +++ b/plans/integration/vCPE/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. integration/vCPE diff --git a/plans/modeling-toscaparsers-javatoscachecker/APIs/setup.sh b/plans/modeling-toscaparsers-javatoscachecker/APIs/setup.sh index 03d07def..43e172ab 100644 --- a/plans/modeling-toscaparsers-javatoscachecker/APIs/setup.sh +++ b/plans/modeling-toscaparsers-javatoscachecker/APIs/setup.sh @@ -18,5 +18,5 @@ # # Place the scripts in run order: -source ${WORKSPACE}/test/csit/scripts/modeling-toscaparsers-javatoscachecker/setup_containers.sh +source ${WORKSPACE}/scripts/modeling-toscaparsers-javatoscachecker/setup_containers.sh diff --git a/plans/modeling-toscaparsers-javatoscachecker/APIs/teardown.sh b/plans/modeling-toscaparsers-javatoscachecker/APIs/teardown.sh index 1ecaad4d..a4ba8eb4 100644 --- a/plans/modeling-toscaparsers-javatoscachecker/APIs/teardown.sh +++ b/plans/modeling-toscaparsers-javatoscachecker/APIs/teardown.sh @@ -17,5 +17,5 @@ # Modifications copyright (c) 2017 AT&T Intellectual Property # -source ${WORKSPACE}/test/csit/scripts/modeling-toscaparsers-javatoscachecker/teardown_containers.sh +source ${WORKSPACE}/scripts/modeling-toscaparsers-javatoscachecker/teardown_containers.sh diff --git a/plans/modeling-toscaparsers-javatoscachecker/APIs/testplan.txt b/plans/modeling-toscaparsers-javatoscachecker/APIs/testplan.txt index f59237bd..5a917258 100644 --- a/plans/modeling-toscaparsers-javatoscachecker/APIs/testplan.txt +++ b/plans/modeling-toscaparsers-javatoscachecker/APIs/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. modeling-toscaparsers-javatoscachecker/APIs diff --git a/plans/msb/iag-redirect-discovery/testplan.txt b/plans/msb/iag-redirect-discovery/testplan.txt index 54bb307b..0f807038 100644 --- a/plans/msb/iag-redirect-discovery/testplan.txt +++ b/plans/msb/iag-redirect-discovery/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. msb/rest-service-discovery msb/rest-service-api-gateway \ No newline at end of file diff --git a/plans/msb/rest-service/testplan.txt b/plans/msb/rest-service/testplan.txt index 54bb307b..0f807038 100644 --- a/plans/msb/rest-service/testplan.txt +++ b/plans/msb/rest-service/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. msb/rest-service-discovery msb/rest-service-api-gateway \ No newline at end of file diff --git a/plans/msb/sanity-check/testplan.txt b/plans/msb/sanity-check/testplan.txt index 0ef75071..c0067bba 100644 --- a/plans/msb/sanity-check/testplan.txt +++ b/plans/msb/sanity-check/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. msb/startup diff --git a/plans/msb/tcp-service/testplan.txt b/plans/msb/tcp-service/testplan.txt index ba8f6f28..a18c3579 100644 --- a/plans/msb/tcp-service/testplan.txt +++ b/plans/msb/tcp-service/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. msb/tcp-service-discovery msb/tcp-service-access \ No newline at end of file diff --git a/plans/multicloud-ocata/functionality1/testplan.txt b/plans/multicloud-ocata/functionality1/testplan.txt index fcd795da..a8bd6c46 100644 --- a/plans/multicloud-ocata/functionality1/testplan.txt +++ b/plans/multicloud-ocata/functionality1/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. multicloud-ocata/provision/sanity_test_multicloud.robot diff --git a/plans/multicloud-ocata/hpa-discovery/setup.sh b/plans/multicloud-ocata/hpa-discovery/setup.sh index d17bec12..cc494e86 100644 --- a/plans/multicloud-ocata/hpa-discovery/setup.sh +++ b/plans/multicloud-ocata/hpa-discovery/setup.sh @@ -17,8 +17,8 @@ cd ${SCRIPTS} source common_functions.sh -generic_sim_path=${WORKSPACE}/test/csit/scripts/multicloud-ocata/generic_sim -multicloud_provision_path=${WORKSPACE}/test/csit/tests/multicloud-ocata/provision +generic_sim_path=${WORKSPACE}/scripts/multicloud-ocata/generic_sim +multicloud_provision_path=${WORKSPACE}/tests/multicloud-ocata/provision # start generic simulator for openstack mock and AAI mock if [[ -z $(docker images -q generic_sim) ]]; then pushd $generic_sim_path diff --git a/plans/multicloud-ocata/hpa-discovery/testplan.txt b/plans/multicloud-ocata/hpa-discovery/testplan.txt index 9394379e..d03e80bc 100644 --- a/plans/multicloud-ocata/hpa-discovery/testplan.txt +++ b/plans/multicloud-ocata/hpa-discovery/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. multicloud-ocata/provision/hpa_multicloud.robot diff --git a/plans/multicloud-pike/functionality1/testplan.txt b/plans/multicloud-pike/functionality1/testplan.txt index 7f460164..a2b9ab7b 100644 --- a/plans/multicloud-pike/functionality1/testplan.txt +++ b/plans/multicloud-pike/functionality1/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. multicloud-pike/provision/sanity_test_multicloud.robot diff --git a/plans/multicloud-pike/hpa-discovery/setup.sh b/plans/multicloud-pike/hpa-discovery/setup.sh index cbcc302e..73121139 100644 --- a/plans/multicloud-pike/hpa-discovery/setup.sh +++ b/plans/multicloud-pike/hpa-discovery/setup.sh @@ -17,8 +17,8 @@ cd ${SCRIPTS} source common_functions.sh -generic_sim_path=${WORKSPACE}/test/csit/scripts/multicloud-pike/generic_sim -multicloud_provision_path=${WORKSPACE}/test/csit/tests/multicloud-pike/provision +generic_sim_path=${WORKSPACE}/scripts/multicloud-pike/generic_sim +multicloud_provision_path=${WORKSPACE}/tests/multicloud-pike/provision # start generic simulator for openstack mock and AAI mock if [[ -z $(docker images -q generic_sim) ]]; then pushd $generic_sim_path diff --git a/plans/multicloud-pike/hpa-discovery/testplan.txt b/plans/multicloud-pike/hpa-discovery/testplan.txt index 5914cbba..4a71d55a 100644 --- a/plans/multicloud-pike/hpa-discovery/testplan.txt +++ b/plans/multicloud-pike/hpa-discovery/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. multicloud-pike/provision/hpa_multicloud.robot diff --git a/plans/multicloud-vmware/functionality1/testplan.txt b/plans/multicloud-vmware/functionality1/testplan.txt index 0a2ad45a..bb9097b0 100644 --- a/plans/multicloud-vmware/functionality1/testplan.txt +++ b/plans/multicloud-vmware/functionality1/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. multicloud-vmware/provision/sanity_test_vio.robot multicloud-vmware/provision/sanity_test_tenant.robot diff --git a/plans/multicloud-windriver/functionality1/testplan.txt b/plans/multicloud-windriver/functionality1/testplan.txt index e59320b1..c4f513e7 100644 --- a/plans/multicloud-windriver/functionality1/testplan.txt +++ b/plans/multicloud-windriver/functionality1/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. multicloud-windriver/provision/sanity_test_multicloud.robot diff --git a/plans/multicloud/functionality1/testplan.txt b/plans/multicloud/functionality1/testplan.txt index f515c64d..2daea3d7 100644 --- a/plans/multicloud/functionality1/testplan.txt +++ b/plans/multicloud/functionality1/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. multicloud/provision/sanity_test_multivim.robot diff --git a/plans/music/music-distributed-kv-store-test-plan/testplan.txt b/plans/music/music-distributed-kv-store-test-plan/testplan.txt index ac37bc5a..654f0785 100644 --- a/plans/music/music-distributed-kv-store-test-plan/testplan.txt +++ b/plans/music/music-distributed-kv-store-test-plan/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. music/music-distributed-kv-store-suite \ No newline at end of file diff --git a/plans/music/music-test-plan/setup.sh b/plans/music/music-test-plan/setup.sh index 7775bc52..f8d950e4 100755 --- a/plans/music/music-test-plan/setup.sh +++ b/plans/music/music-test-plan/setup.sh @@ -19,7 +19,7 @@ # add here eventual scripts needed for music # echo "########## music scripts calling ##########"; -source ${WORKSPACE}/test/csit/scripts/music/music-scripts/music_script.sh +source ${WORKSPACE}/scripts/music/music-scripts/music_script.sh # # add here all the configuration steps eventually needed to be carried out for music CSIT testing @@ -35,10 +35,10 @@ TT=10 WORK_DIR=/tmp/music CASS_USERNAME=nelson24 CASS_PASSWORD=winman123 -MUSIC_SOURCE_PROPERTIES=${WORKSPACE}/test/csit/scripts/music/music-properties +MUSIC_SOURCE_PROPERTIES=${WORKSPACE}/scripts/music/music-properties MUSIC_PROPERTIES=/tmp/music/properties MUSIC_LOGS=/tmp/music/logs -CQL_FILES=${WORKSPACE}/test/csit/scripts/music/cql +CQL_FILES=${WORKSPACE}/scripts/music/cql MUSIC_TRIGGER_DIR=/tmp/triggers TRIGGER_JAR=musictrigger-0.1.0.jar TRIGGER_JAR_URL=https://nexus.onap.org/service/local/repositories/autorelease-72298/content/org/onap/music/musictrigger/0.1.0/musictrigger-0.1.0.jar @@ -70,7 +70,7 @@ ${CASS_IMG}; CASSA_IP=`docker inspect -f '{{ $network := index .NetworkSettings.Networks "music-net" }}{{ $network.IPAddress}}' music-db` echo "CASSANDRA_IP=${CASSA_IP}" -${WORKSPACE}/test/csit/scripts/optf-has/has/wait_for_port.sh ${CASSA_IP} 9042 +${WORKSPACE}/scripts/optf-has/has/wait_for_port.sh ${CASSA_IP} 9042 # See if cassandra is up. echo "########## Running Test to see if Cassandra is up ##########" @@ -122,7 +122,7 @@ docker network connect bridge music-tomcat; TOMCAT_IP=`docker inspect --format '{{ .NetworkSettings.Networks.bridge.IPAddress}}' music-tomcat` echo "TOMCAT_IP=${TOMCAT_IP}" -${WORKSPACE}/test/csit/scripts/music/music-scripts/wait_for_port.sh ${TOMCAT_IP} 8080 +${WORKSPACE}/scripts/music/music-scripts/wait_for_port.sh ${TOMCAT_IP} 8080 sleep 20; echo "########## TOMCAT Logs ##########" diff --git a/plans/music/music-test-plan/testplan.txt b/plans/music/music-test-plan/testplan.txt index e53f3267..0f9298ef 100644 --- a/plans/music/music-test-plan/testplan.txt +++ b/plans/music/music-test-plan/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. music/music-suite diff --git a/plans/optf-has/has/setup.sh b/plans/optf-has/has/setup.sh index a0bef71d..6f0e8836 100755 --- a/plans/optf-has/has/setup.sh +++ b/plans/optf-has/has/setup.sh @@ -20,17 +20,17 @@ # add here eventual scripts needed for music # echo "# music scripts calling"; -source ${WORKSPACE}/test/csit/scripts/optf-has/has/music_script.sh +source ${WORKSPACE}/scripts/optf-has/has/music_script.sh # echo "# simulator scripts calling"; -source ${WORKSPACE}/test/csit/scripts/optf-has/has/simulator_script.sh +source ${WORKSPACE}/scripts/optf-has/has/simulator_script.sh # add here eventual scripts needed for optf/has # echo "# optf/has scripts calling"; -source ${WORKSPACE}/test/csit/scripts/optf-has/has/has_script.sh +source ${WORKSPACE}/scripts/optf-has/has/has_script.sh # # add here below the start of all docker containers needed for optf/has CSIT testing diff --git a/plans/optf-has/has/teardown.sh b/plans/optf-has/has/teardown.sh index 41d7aff2..934d0e69 100755 --- a/plans/optf-has/has/teardown.sh +++ b/plans/optf-has/has/teardown.sh @@ -24,11 +24,11 @@ # optf/has scripts docker containers killing"; # echo "# optf/has has scripts calling"; -source ${WORKSPACE}/test/csit/scripts/optf-has/has/has_teardown_script.sh +source ${WORKSPACE}/scripts/optf-has/has/has_teardown_script.sh echo "# optf/has simulator scripts calling"; -source ${WORKSPACE}/test/csit/scripts/optf-has/has/simulator_teardown_script.sh +source ${WORKSPACE}/scripts/optf-has/has/simulator_teardown_script.sh echo "# optf/has music scripts calling"; -source ${WORKSPACE}/test/csit/scripts/optf-has/has/music_teardown_script.sh +source ${WORKSPACE}/scripts/optf-has/has/music_teardown_script.sh diff --git a/plans/optf-has/has/testplan.txt b/plans/optf-has/has/testplan.txt index 980050c9..bf922705 100644 --- a/plans/optf-has/has/testplan.txt +++ b/plans/optf-has/has/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. optf-has/has diff --git a/plans/policy/apex-pdp/testplan.txt b/plans/policy/apex-pdp/testplan.txt index cee9abda..07096cfa 100644 --- a/plans/policy/apex-pdp/testplan.txt +++ b/plans/policy/apex-pdp/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. policy/apex-pdp/apex-pdp-test.robot diff --git a/plans/policy/distribution/testplan.txt b/plans/policy/distribution/testplan.txt index 6f74cce4..bfd8192e 100644 --- a/plans/policy/distribution/testplan.txt +++ b/plans/policy/distribution/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. policy/distribution/distribution-test.robot diff --git a/plans/policy/health/setup.sh b/plans/policy/health/setup.sh index 21f58eb6..890df9b4 100755 --- a/plans/policy/health/setup.sh +++ b/plans/policy/health/setup.sh @@ -30,9 +30,9 @@ for i in {1..10}; do sleep $i done -${WORKSPACE}/test/csit/scripts/policy/mock-hello.sh ${MOCK_IP} +${WORKSPACE}/scripts/policy/mock-hello.sh ${MOCK_IP} -source ${WORKSPACE}/test/csit/scripts/policy/script1.sh +source ${WORKSPACE}/scripts/policy/script1.sh # Pass any variables required by Robot test suites in ROBOT_VARIABLES ROBOT_VARIABLES="-v MOCK_IP:${MOCK_IP} -v IP:${IP} -v POLICY_IP:${POLICY_IP} -v PDP_IP:${PDP_IP} -v DOCKER_IP:${DOCKER_IP}" diff --git a/plans/policy/health/testplan.txt b/plans/policy/health/testplan.txt index bb858748..ab8a5b08 100644 --- a/plans/policy/health/testplan.txt +++ b/plans/policy/health/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. policy/suite1 diff --git a/plans/portal-sdk/testsuite/testplan.txt b/plans/portal-sdk/testsuite/testplan.txt index 27f8af34..75e5af0b 100644 --- a/plans/portal-sdk/testsuite/testplan.txt +++ b/plans/portal-sdk/testsuite/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. portal-sdk/testsuites diff --git a/plans/portal/testsuite/testplan.txt b/plans/portal/testsuite/testplan.txt index d7b18a5c..a2d396af 100644 --- a/plans/portal/testsuite/testplan.txt +++ b/plans/portal/testsuite/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. portal/testsuites diff --git a/plans/sdc/nightly/setup.sh b/plans/sdc/nightly/setup.sh index a7bbaa8e..ff310a5a 100644 --- a/plans/sdc/nightly/setup.sh +++ b/plans/sdc/nightly/setup.sh @@ -1,6 +1,6 @@ #!/bin/bash -source ${WORKSPACE}/test/csit/scripts/sdc/setup_sdc_for_apis_sanity.sh +source ${WORKSPACE}/scripts/sdc/setup_sdc_for_apis_sanity.sh BE_IP=`get-instance-ip.sh sdc-BE` echo BE_IP=${BE_IP} diff --git a/plans/sdc/nightly/teardown.sh b/plans/sdc/nightly/teardown.sh index 2074d10f..6e99c469 100644 --- a/plans/sdc/nightly/teardown.sh +++ b/plans/sdc/nightly/teardown.sh @@ -1,3 +1,3 @@ #!/bin/bash -source ${WORKSPACE}/test/csit/scripts/sdc/kill_containers_and_remove_dataFolders.sh +source ${WORKSPACE}/scripts/sdc/kill_containers_and_remove_dataFolders.sh diff --git a/plans/sdc/nightly/testplan.txt b/plans/sdc/nightly/testplan.txt index 3011ad5c..83a6d9fc 100644 --- a/plans/sdc/nightly/testplan.txt +++ b/plans/sdc/nightly/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. sdc/nightly diff --git a/plans/sdc/sanity/setup.sh b/plans/sdc/sanity/setup.sh index a7bbaa8e..ff310a5a 100644 --- a/plans/sdc/sanity/setup.sh +++ b/plans/sdc/sanity/setup.sh @@ -1,6 +1,6 @@ #!/bin/bash -source ${WORKSPACE}/test/csit/scripts/sdc/setup_sdc_for_apis_sanity.sh +source ${WORKSPACE}/scripts/sdc/setup_sdc_for_apis_sanity.sh BE_IP=`get-instance-ip.sh sdc-BE` echo BE_IP=${BE_IP} diff --git a/plans/sdc/sanity/teardown.sh b/plans/sdc/sanity/teardown.sh index 2074d10f..6e99c469 100644 --- a/plans/sdc/sanity/teardown.sh +++ b/plans/sdc/sanity/teardown.sh @@ -1,3 +1,3 @@ #!/bin/bash -source ${WORKSPACE}/test/csit/scripts/sdc/kill_containers_and_remove_dataFolders.sh +source ${WORKSPACE}/scripts/sdc/kill_containers_and_remove_dataFolders.sh diff --git a/plans/sdc/sanity/testplan.txt b/plans/sdc/sanity/testplan.txt index 801f37d3..9f21c693 100644 --- a/plans/sdc/sanity/testplan.txt +++ b/plans/sdc/sanity/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. sdc/sanity diff --git a/plans/sdc/uiSanity/setup.sh b/plans/sdc/uiSanity/setup.sh index 8f2bafda..0a8d56c0 100644 --- a/plans/sdc/uiSanity/setup.sh +++ b/plans/sdc/uiSanity/setup.sh @@ -1,6 +1,6 @@ #!/bin/bash -source ${WORKSPACE}/test/csit/scripts/sdc/setup_sdc_for_ui_sanity.sh +source ${WORKSPACE}/scripts/sdc/setup_sdc_for_ui_sanity.sh BE_IP=`get-instance-ip.sh sdc-BE` echo BE_IP=${BE_IP} diff --git a/plans/sdc/uiSanity/teardown.sh b/plans/sdc/uiSanity/teardown.sh index 2074d10f..6e99c469 100644 --- a/plans/sdc/uiSanity/teardown.sh +++ b/plans/sdc/uiSanity/teardown.sh @@ -1,3 +1,3 @@ #!/bin/bash -source ${WORKSPACE}/test/csit/scripts/sdc/kill_containers_and_remove_dataFolders.sh +source ${WORKSPACE}/scripts/sdc/kill_containers_and_remove_dataFolders.sh diff --git a/plans/sdc/uiSanity/testplan.txt b/plans/sdc/uiSanity/testplan.txt index 801f37d3..9f21c693 100644 --- a/plans/sdc/uiSanity/testplan.txt +++ b/plans/sdc/uiSanity/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. sdc/sanity diff --git a/plans/sdnc/healthcheck/setup.sh b/plans/sdnc/healthcheck/setup.sh index 991ba18b..dfbd32cc 100644 --- a/plans/sdnc/healthcheck/setup.sh +++ b/plans/sdnc/healthcheck/setup.sh @@ -18,7 +18,7 @@ # # Place the scripts in run order: SCRIPTS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -source ${WORKSPACE}/test/csit/scripts/sdnc/script1.sh +source ${WORKSPACE}/scripts/sdnc/script1.sh export NEXUS_USERNAME=docker export NEXUS_PASSWD=docker diff --git a/plans/sdnc/healthcheck/testplan.txt b/plans/sdnc/healthcheck/testplan.txt index 3fa8dde5..789104a9 100644 --- a/plans/sdnc/healthcheck/testplan.txt +++ b/plans/sdnc/healthcheck/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. sdnc/healthcheck diff --git a/plans/so/integration-testing/setup.sh b/plans/so/integration-testing/setup.sh index cd0cbdc3..02c21f6e 100644 --- a/plans/so/integration-testing/setup.sh +++ b/plans/so/integration-testing/setup.sh @@ -18,10 +18,10 @@ # Start all process required for executing test case #start mariadb -docker run -d --name mariadb -h db.mso.testlab.openecomp.org -e MYSQL_ROOT_PASSWORD=password -p 3306:3306 -v ${WORKSPACE}/test/csit/scripts/mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d -v ${WORKSPACE}/test/csit/scripts/mariadb/conf.d:/etc/mysql/conf.d nexus3.onap.org:10001/mariadb +docker run -d --name mariadb -h db.mso.testlab.openecomp.org -e MYSQL_ROOT_PASSWORD=password -p 3306:3306 -v ${WORKSPACE}/scripts/mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d -v ${WORKSPACE}/scripts/mariadb/conf.d:/etc/mysql/conf.d nexus3.onap.org:10001/mariadb #start so -docker run -d --name so -h mso.mso.testlab.openecomp.org -e MYSQL_ROOT_PASSWORD=password --link=mariadb:db.mso.testlab.openecomp.org -p 8080:8080 -v ${WORKSPACE}/test/csit/scripts/so/chef-config:/shared nexus3.onap.org:10001/openecomp/mso:1.1-STAGING-latest +docker run -d --name so -h mso.mso.testlab.openecomp.org -e MYSQL_ROOT_PASSWORD=password --link=mariadb:db.mso.testlab.openecomp.org -p 8080:8080 -v ${WORKSPACE}/scripts/so/chef-config:/shared nexus3.onap.org:10001/openecomp/mso:1.1-STAGING-latest SO_IP=`get-instance-ip.sh so` diff --git a/plans/so/integration-testing/testplan.txt b/plans/so/integration-testing/testplan.txt index 761c75c0..ed3ab5aa 100644 --- a/plans/so/integration-testing/testplan.txt +++ b/plans/so/integration-testing/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. so/sanity-check/sanity_test_so.robot \ No newline at end of file diff --git a/plans/usecase-ui-server/testsuite/testplan.txt b/plans/usecase-ui-server/testsuite/testplan.txt index ec7f200a..af74191f 100644 --- a/plans/usecase-ui-server/testsuite/testplan.txt +++ b/plans/usecase-ui-server/testsuite/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. usecase-ui/server/test.robot diff --git a/plans/usecases/5G-bulkpm/setup.sh b/plans/usecases/5G-bulkpm/setup.sh index f27bfba5..796b1711 100644 --- a/plans/usecases/5G-bulkpm/setup.sh +++ b/plans/usecases/5G-bulkpm/setup.sh @@ -57,7 +57,7 @@ git clone --depth 1 https://gerrit.onap.org/r/dmaap/datarouter -b master cd datarouter cd $WORKSPACE/archives/dmaapdr/datarouter/docker-compose/ rm -rf docker-compose.yml -cp $WORKSPACE/test/csit/plans/usecases/5G-bulkpm/composefile/docker-compose-e2e.yml $WORKSPACE/archives/dmaapdr/datarouter/docker-compose/docker-compose.yml +cp $WORKSPACE/plans/usecases/5G-bulkpm/composefile/docker-compose-e2e.yml $WORKSPACE/archives/dmaapdr/datarouter/docker-compose/docker-compose.yml docker login -u docker -p docker nexus3.onap.org:10001 docker-compose up -d docker kill datarouter-prov @@ -121,7 +121,7 @@ pip install jsonschema uuid sleep 2 # Data File Collector configuration : -cp $WORKSPACE/test/csit/plans/usecases/5G-bulkpm/assets/datafile_endpoints.json /tmp/ +cp $WORKSPACE/plans/usecases/5G-bulkpm/assets/datafile_endpoints.json /tmp/ sed -i 's/dmaapmrhost/'${DMAAP_MR_IP}'/g' /tmp/datafile_endpoints.json sed -i 's/dmaapdrhost/'${DR_PROV_IP}'/g' /tmp/datafile_endpoints.json docker cp /tmp/datafile_endpoints.json dfc:/config/ @@ -129,13 +129,13 @@ docker restart dfc # SFTP Configuration: # Update the File Ready Notification with actual sftp ip address and copy pm files to sftp server. -cp $WORKSPACE/test/csit/tests/usecases/5G-bulkpm/assets/json_events/FileExistNotification.json $WORKSPACE/test/csit/tests/usecases/5G-bulkpm-bulkpm/testcases/assets/json_events/FileExistNotificationUpdated.json -sed -i 's/sftpserver/'${SFTP_IP}'/g' $WORKSPACE/test/csit/tests/usecases/5G-bulkpm/assets/json_events/FileExistNotificationUpdated.json -docker cp $WORKSPACE/test/csit/plans/usecases/5G-bulkpm/assets/xNF.pm.xml.gz sftp:/home/admin/ +cp $WORKSPACE/tests/usecases/5G-bulkpm/assets/json_events/FileExistNotification.json $WORKSPACE/tests/usecases/5G-bulkpm-bulkpm/testcases/assets/json_events/FileExistNotificationUpdated.json +sed -i 's/sftpserver/'${SFTP_IP}'/g' $WORKSPACE/tests/usecases/5G-bulkpm/assets/json_events/FileExistNotificationUpdated.json +docker cp $WORKSPACE/plans/usecases/5G-bulkpm/assets/xNF.pm.xml.gz sftp:/home/admin/ # Data Router Configuration: # Create default feed and create file consumer subscriber on data router -curl -v -X POST -H "Content-Type:application/vnd.att-dr.feed" -H "X-ATT-DR-ON-BEHALF-OF:dradmin" --data-ascii @$WORKSPACE/test/csit/plans/usecases/5G-bulkpm/assets/createFeed.json --post301 --location-trusted -k https://${DR_PROV_IP}:8443 -cp $WORKSPACE/test/csit/plans/usecases/5G-bulkpm/assets/addSubscriber.json /tmp/addSubscriber.json +curl -v -X POST -H "Content-Type:application/vnd.att-dr.feed" -H "X-ATT-DR-ON-BEHALF-OF:dradmin" --data-ascii @$WORKSPACE/plans/usecases/5G-bulkpm/assets/createFeed.json --post301 --location-trusted -k https://${DR_PROV_IP}:8443 +cp $WORKSPACE/plans/usecases/5G-bulkpm/assets/addSubscriber.json /tmp/addSubscriber.json sed -i 's/fileconsumer/'${DR_SUBSCIBER_IP}'/g' /tmp/addSubscriber.json curl -v -X POST -H "Content-Type:application/vnd.att-dr.subscription" -H "X-ATT-DR-ON-BEHALF-OF:dradmin" --data-ascii @/tmp/addSubscriber.json --post301 --location-trusted -k https://${DR_PROV_IP}:8443/subscribe/1ii @/tmp/addSubscriber.json --post301 --location-trusted -k https://${DR_PROV_IP}:8443/subscribe/1 \ No newline at end of file diff --git a/plans/usecases/5G-bulkpm/testplan.txt b/plans/usecases/5G-bulkpm/testplan.txt index c4e1c427..feeffcc7 100644 --- a/plans/usecases/5G-bulkpm/testplan.txt +++ b/plans/usecases/5G-bulkpm/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. usecases/5G-bulkpm diff --git a/plans/vfc-gvnfm-vnflcm/sanity-check/testplan.txt b/plans/vfc-gvnfm-vnflcm/sanity-check/testplan.txt index 0aa2e3e2..6627c580 100644 --- a/plans/vfc-gvnfm-vnflcm/sanity-check/testplan.txt +++ b/plans/vfc-gvnfm-vnflcm/sanity-check/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vfc/gvnfm-vnflcm/test.robot diff --git a/plans/vfc-gvnfm-vnfmgr/sanity-check/testplan.txt b/plans/vfc-gvnfm-vnfmgr/sanity-check/testplan.txt index 960f7325..c90cc935 100644 --- a/plans/vfc-gvnfm-vnfmgr/sanity-check/testplan.txt +++ b/plans/vfc-gvnfm-vnfmgr/sanity-check/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vfc/gvnfm-vnfmgr/test.robot diff --git a/plans/vfc-gvnfm-vnfres/sanity-check/testplan.txt b/plans/vfc-gvnfm-vnfres/sanity-check/testplan.txt index e94e2946..ac51e674 100644 --- a/plans/vfc-gvnfm-vnfres/sanity-check/testplan.txt +++ b/plans/vfc-gvnfm-vnfres/sanity-check/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vfc/gvnfm-vnfres/test.robot diff --git a/plans/vfc-nfvo-catalog/sanity-check/testplan.txt b/plans/vfc-nfvo-catalog/sanity-check/testplan.txt index 6c8c54a9..3c5f813a 100644 --- a/plans/vfc-nfvo-catalog/sanity-check/testplan.txt +++ b/plans/vfc-nfvo-catalog/sanity-check/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vfc/nfvo-catalog/test.robot diff --git a/plans/vfc-nfvo-driver-ems/sanity-check/testplan.txt b/plans/vfc-nfvo-driver-ems/sanity-check/testplan.txt index 747f8683..cb2a8026 100644 --- a/plans/vfc-nfvo-driver-ems/sanity-check/testplan.txt +++ b/plans/vfc-nfvo-driver-ems/sanity-check/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vfc/nfvo-driver-ems/test.robot diff --git a/plans/vfc-nfvo-driver-sfc/sanity-check/testplan.txt b/plans/vfc-nfvo-driver-sfc/sanity-check/testplan.txt index 9de2acce..3fa996f6 100644 --- a/plans/vfc-nfvo-driver-sfc/sanity-check/testplan.txt +++ b/plans/vfc-nfvo-driver-sfc/sanity-check/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vfc/nfvo-driver-sfc/test.robot diff --git a/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/testplan.txt b/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/testplan.txt index e7bee519..a54f095c 100644 --- a/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/testplan.txt +++ b/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vfc/nfvo-driver-gvnfm/gvnfmdriver.robot diff --git a/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/testplan.txt b/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/testplan.txt index 7eb861ed..08317f72 100644 --- a/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/testplan.txt +++ b/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vfc/nfvo-driver-svnfm/ztevmanager.robot diff --git a/plans/vfc-nfvo-lcm/sanity-check/testplan.txt b/plans/vfc-nfvo-lcm/sanity-check/testplan.txt index fc261e13..2e0a32d5 100644 --- a/plans/vfc-nfvo-lcm/sanity-check/testplan.txt +++ b/plans/vfc-nfvo-lcm/sanity-check/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vfc/nfvo-lcm/test.robot diff --git a/plans/vfc-nfvo-multivimproxy/sanity-check/testplan.txt b/plans/vfc-nfvo-multivimproxy/sanity-check/testplan.txt index f81be8ec..5d1c6e9d 100644 --- a/plans/vfc-nfvo-multivimproxy/sanity-check/testplan.txt +++ b/plans/vfc-nfvo-multivimproxy/sanity-check/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vfc/nfvo-multivimproxy/test.robot \ No newline at end of file diff --git a/plans/vfc-nfvo-resmanagement/sanity-check/testplan.txt b/plans/vfc-nfvo-resmanagement/sanity-check/testplan.txt index 98dac63b..ae6d3a56 100644 --- a/plans/vfc-nfvo-resmanagement/sanity-check/testplan.txt +++ b/plans/vfc-nfvo-resmanagement/sanity-check/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vfc/nfvo-resmanagement/test.robot \ No newline at end of file diff --git a/plans/vfc-nfvo-wfengine/sanity-check/testplan.txt b/plans/vfc-nfvo-wfengine/sanity-check/testplan.txt index ff9f4d5d..2d03683d 100644 --- a/plans/vfc-nfvo-wfengine/sanity-check/testplan.txt +++ b/plans/vfc-nfvo-wfengine/sanity-check/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vfc/nfvo-wfengine/workflow.robot \ No newline at end of file diff --git a/plans/vid/healthCheck/setup.sh b/plans/vid/healthCheck/setup.sh index ce308cfa..a0ed2262 100644 --- a/plans/vid/healthCheck/setup.sh +++ b/plans/vid/healthCheck/setup.sh @@ -21,9 +21,9 @@ /usr/bin/Xvfb :0 -screen 0 1024x768x24& export DISPLAY=:0 -source ${WORKSPACE}/test/csit/scripts/vid/clone_and_setup_vid_data.sh +source ${WORKSPACE}/scripts/vid/clone_and_setup_vid_data.sh -source ${WORKSPACE}/test/csit/scripts/vid/start_vid_containers.sh +source ${WORKSPACE}/scripts/vid/start_vid_containers.sh BE_IP=`get-instance-ip.sh vid-server` diff --git a/plans/vid/healthCheck/teardown.sh b/plans/vid/healthCheck/teardown.sh index e82ef306..01383179 100644 --- a/plans/vid/healthCheck/teardown.sh +++ b/plans/vid/healthCheck/teardown.sh @@ -17,6 +17,6 @@ # Modifications copyright (c) 2017 AT&T Intellectual Property # -source ${WORKSPACE}/test/csit/scripts/vid/kill_containers_and_remove_dataFolders.sh +source ${WORKSPACE}/scripts/vid/kill_containers_and_remove_dataFolders.sh # $WORKSPACE/archives/clamp-clone deleted with archives folder when tests starts so we keep it at the end for debugging diff --git a/plans/vid/healthCheck/testplan.txt b/plans/vid/healthCheck/testplan.txt index 92d8b058..cb5e2798 100644 --- a/plans/vid/healthCheck/testplan.txt +++ b/plans/vid/healthCheck/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vid/healthCheck vid/login diff --git a/plans/vnfsdk-ice/sanity-check/testplan.txt b/plans/vnfsdk-ice/sanity-check/testplan.txt index c84eb031..a18db188 100644 --- a/plans/vnfsdk-ice/sanity-check/testplan.txt +++ b/plans/vnfsdk-ice/sanity-check/testplan.txt @@ -1,3 +1,3 @@ -## Test suites are relative paths under [integration.git]/test/csit/tests/. +## Test suites are relative paths under [integration/csit.git]/tests/. ## Place the suites in run order. vnfsdk-ice/ice-server/validation_test.robot diff --git a/plans/vnfsdk-marketplace/sanity-check/testplan.txt b/plans/vnfsdk-marketplace/sanity-check/testplan.txt index 730df014..b5370f38 100644 --- a/plans/vnfsdk-marketplace/sanity-check/testplan.txt +++ b/plans/vnfsdk-marketplace/sanity-check/testplan.txt @@ -1,3 +1,3 @@ -## Test suites are relative paths under [integration.git]/test/csit/tests/. +## Test suites are relative paths under [integration/csit.git]/tests/. ## Place the suites in run order. vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot diff --git a/plans/vnfsdk-pkgtools/sanity-check/testplan.txt b/plans/vnfsdk-pkgtools/sanity-check/testplan.txt index 05ff05a2..8617c200 100644 --- a/plans/vnfsdk-pkgtools/sanity-check/testplan.txt +++ b/plans/vnfsdk-pkgtools/sanity-check/testplan.txt @@ -1,4 +1,4 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vnfsdk-pkgtools/tosca-metadata/create_open.robot vnfsdk-pkgtools/tosca-metadata/create_validate_digest_signing.robot diff --git a/plans/vnfsdk-refrepo/sanity-check/testplan.txt b/plans/vnfsdk-refrepo/sanity-check/testplan.txt index 730df014..b5370f38 100644 --- a/plans/vnfsdk-refrepo/sanity-check/testplan.txt +++ b/plans/vnfsdk-refrepo/sanity-check/testplan.txt @@ -1,3 +1,3 @@ -## Test suites are relative paths under [integration.git]/test/csit/tests/. +## Test suites are relative paths under [integration/csit.git]/tests/. ## Place the suites in run order. vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot diff --git a/plans/vvp/sanity/setup.sh b/plans/vvp/sanity/setup.sh index cab074c0..12bb6011 100644 --- a/plans/vvp/sanity/setup.sh +++ b/plans/vvp/sanity/setup.sh @@ -19,16 +19,16 @@ # Place the scripts in run order: -source ${WORKSPACE}/test/csit/scripts/vvp/clone_and_setup_vvp_data.sh +source ${WORKSPACE}/scripts/vvp/clone_and_setup_vvp_data.sh -source ${WORKSPACE}/test/csit/scripts/vvp/start_vvp_containers.sh +source ${WORKSPACE}/scripts/vvp/start_vvp_containers.sh -source ${WORKSPACE}/test/csit/scripts/vvp/docker_health.sh +source ${WORKSPACE}/scripts/vvp/docker_health.sh -source ${WORKSPACE}/test/csit/scripts/vvp/start_vvp_sanity.sh +source ${WORKSPACE}/scripts/vvp/start_vvp_sanity.sh -VVP_IP=`${WORKSPACE}/test/csit/scripts/get-instance-ip.sh vvp-engagementmgr` +VVP_IP=`${WORKSPACE}/scripts/get-instance-ip.sh vvp-engagementmgr` echo VVP_IP=${VVP_IP} diff --git a/plans/vvp/sanity/teardown.sh b/plans/vvp/sanity/teardown.sh index b0f33a64..3369c029 100644 --- a/plans/vvp/sanity/teardown.sh +++ b/plans/vvp/sanity/teardown.sh @@ -17,4 +17,4 @@ # Modifications copyright (c) 2017 AT&T Intellectual Property # -source ${WORKSPACE}/test/csit/scripts/vvp/kill_containers_and_remove_dataFolders.sh +source ${WORKSPACE}/scripts/vvp/kill_containers_and_remove_dataFolders.sh diff --git a/plans/vvp/sanity/testplan.txt b/plans/vvp/sanity/testplan.txt index 0acb5083..4957ef6f 100644 --- a/plans/vvp/sanity/testplan.txt +++ b/plans/vvp/sanity/testplan.txt @@ -1,3 +1,3 @@ -# Test suites are relative paths under [integration.git]/test/csit/tests/. +# Test suites are relative paths under [integration/csit.git]/tests/. # Place the suites in run order. vvp/sanity diff --git a/run-csit.sh b/run-csit.sh index 40cd9ee6..9b744dbd 100755 --- a/run-csit.sh +++ b/run-csit.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x # # Copyright 2016-2017 Huawei Technologies Co., Ltd. # @@ -60,10 +60,10 @@ fi rm -rf $WORKSPACE/archives mkdir -p $WORKSPACE/archives -if [ -f ${WORKSPACE}/test/csit/${1}/testplan.txt ]; then +if [ -f ${WORKSPACE}/${1}/testplan.txt ]; then export TESTPLAN="${1}" else - echo "testplan not found: ${WORKSPACE}/test/csit/${TESTPLAN}/testplan.txt" + echo "testplan not found: ${WORKSPACE}/${TESTPLAN}/testplan.txt" exit 2 fi @@ -71,7 +71,7 @@ fi export TESTOPTIONS="${2}" if [ -z "$3" ]; then - CI=${WORKSPACE}/../ci-management + CI=${WORKSPACE}/../../ci-management else CI=${3} fi @@ -79,18 +79,16 @@ fi -TESTPLANDIR=${WORKSPACE}/test/csit/${TESTPLAN} +TESTPLANDIR=${WORKSPACE}/${TESTPLAN} # Assume that if ROBOT_VENV is set, we don't need to reinstall robot if [ -f ${WORKSPACE}/env.properties ]; then source ${WORKSPACE}/env.properties - source ${ROBOT_VENV}/bin/activate fi -if ! type pybot > /dev/null; then - rm -f ${WORKSPACE}/env.properties - source $CI/jjb/integration/include-raw-integration-install-robotframework.sh - source ${WORKSPACE}/env.properties +if [ -f ${ROBOT_VENV}/bin/activate ]; then source ${ROBOT_VENV}/bin/activate +else + source $CI/jjb/integration/include-raw-integration-install-robotframework.sh fi # install required Robot libraries @@ -124,8 +122,8 @@ set -x # Add csit scripts to PATH -export PATH=${PATH}:${WORKSPACE}/test/csit/docker/scripts:${WORKSPACE}/test/csit/scripts:${ROBOT_VENV}/bin -export SCRIPTS=${WORKSPACE}/test/csit/scripts +export PATH=${PATH}:${WORKSPACE}/docker/scripts:${WORKSPACE}/scripts:${ROBOT_VENV}/bin +export SCRIPTS=${WORKSPACE}/scripts export ROBOT_VARIABLES= # Sign in to nexus3 docker repo @@ -145,7 +143,7 @@ docker_stats | tee $WORKSPACE/archives/_sysinfo-1-after-setup.txt # Run test plan cd $WORKDIR echo "Reading the testplan:" -cat ${TESTPLANDIR}/testplan.txt | egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' | sed "s|^|${WORKSPACE}/test/csit/tests/|" > testplan.txt +cat ${TESTPLANDIR}/testplan.txt | egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' | sed "s|^|${WORKSPACE}/tests/|" > testplan.txt cat testplan.txt SUITES=$( xargs -a testplan.txt ) diff --git a/scripts/appc/script1.sh b/scripts/appc/script1.sh index 1c3d92ee..1b41a123 100755 --- a/scripts/appc/script1.sh +++ b/scripts/appc/script1.sh @@ -17,4 +17,4 @@ # Modifications copyright (c) 2017 AT&T Intellectual Property # -echo "This is ${WORKSPACE}/test/csit/scripts/appc/script1.sh" +echo "This is ${WORKSPACE}/scripts/appc/script1.sh" diff --git a/scripts/ccsdk/script1.sh b/scripts/ccsdk/script1.sh index bb583f85..223479e2 100644 --- a/scripts/ccsdk/script1.sh +++ b/scripts/ccsdk/script1.sh @@ -17,4 +17,4 @@ # Modifications copyright (c) 2017 AT&T Intellectual Property # -echo "This is ${WORKSPACE}/test/csit/scripts/ccsdk/script1.sh" +echo "This is ${WORKSPACE}/scripts/ccsdk/script1.sh" diff --git a/scripts/clamp/clone_clamp_and_change_dockercompose.sh b/scripts/clamp/clone_clamp_and_change_dockercompose.sh index e564e637..c2c0de4d 100755 --- a/scripts/clamp/clone_clamp_and_change_dockercompose.sh +++ b/scripts/clamp/clone_clamp_and_change_dockercompose.sh @@ -22,7 +22,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -echo "This is ${WORKSPACE}/test/csit/scripts/clamp/clone_clamp_and_change_dockercompose.sh" +echo "This is ${WORKSPACE}/scripts/clamp/clone_clamp_and_change_dockercompose.sh" firefox --version which firefox diff --git a/scripts/clamp/kill_and_remove_clamp_and_db_containers.sh b/scripts/clamp/kill_and_remove_clamp_and_db_containers.sh index c94a40bc..31eb7560 100755 --- a/scripts/clamp/kill_and_remove_clamp_and_db_containers.sh +++ b/scripts/clamp/kill_and_remove_clamp_and_db_containers.sh @@ -17,7 +17,7 @@ # Modifications copyright (c) 2017 AT&T Intellectual Property # -echo "This is ${WORKSPACE}/test/csit/scripts/clamp/kill_and_remove_clamp_and_db_containers.sh" +echo "This is ${WORKSPACE}/scripts/clamp/kill_and_remove_clamp_and_db_containers.sh" kill-instance.sh clamp_clamp_1 kill-instance.sh clamp_db_1 diff --git a/scripts/clamp/start_clamp_containers.sh b/scripts/clamp/start_clamp_containers.sh index 23b1705e..8a176fbf 100755 --- a/scripts/clamp/start_clamp_containers.sh +++ b/scripts/clamp/start_clamp_containers.sh @@ -22,7 +22,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -echo "This is ${WORKSPACE}/test/csit/scripts/clamp/start_clamp_containers.sh" +echo "This is ${WORKSPACE}/scripts/clamp/start_clamp_containers.sh" # start Clamp and MariaDB containers with docker compose and configuration from clamp/extra/docker/clamp/docker-compose.yml docker-compose up -d diff --git a/scripts/cli/startup.sh b/scripts/cli/startup.sh index 6e29a0e8..243d358a 100644 --- a/scripts/cli/startup.sh +++ b/scripts/cli/startup.sh @@ -15,4 +15,4 @@ # limitations under the License. # # $1 nickname for the MSB instance -echo "This is ${WORKSPACE}/test/csit/scripts/cli/startup.sh" +echo "This is ${WORKSPACE}/scripts/cli/startup.sh" diff --git a/scripts/dmaap-buscontroller/.mock-aaf.sh.swp b/scripts/dmaap-buscontroller/.mock-aaf.sh.swp deleted file mode 100644 index edadfe90..00000000 Binary files a/scripts/dmaap-buscontroller/.mock-aaf.sh.swp and /dev/null differ diff --git a/scripts/dmaap-buscontroller/dmaapbc-launch.sh b/scripts/dmaap-buscontroller/dmaapbc-launch.sh index 317c17f1..079b6644 100755 --- a/scripts/dmaap-buscontroller/dmaapbc-launch.sh +++ b/scripts/dmaap-buscontroller/dmaapbc-launch.sh @@ -8,7 +8,7 @@ function dmaapbc_launch() { CONTAINER_NAME=dmaapbc IP="" - cd ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller + cd ${WORKSPACE}/scripts/dmaap-buscontroller TMP_CFG=/tmp/docker-databus-controller.conf . ./onapCSIT.env > $TMP_CFG diff --git a/scripts/dmaap-buscontroller/start-mock.sh b/scripts/dmaap-buscontroller/start-mock.sh index b4707c5a..d50125a4 100755 --- a/scripts/dmaap-buscontroller/start-mock.sh +++ b/scripts/dmaap-buscontroller/start-mock.sh @@ -39,7 +39,7 @@ function start_mock() { done set -x - ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/init-mock-${app}.sh ${IP} + ${WORKSPACE}/scripts/dmaap-buscontroller/init-mock-${app}.sh ${IP} set +x # this is the output of this function diff --git a/scripts/externalapi-nbi/delete_nbi_containers.sh b/scripts/externalapi-nbi/delete_nbi_containers.sh index 76be3289..bc0d8b09 100644 --- a/scripts/externalapi-nbi/delete_nbi_containers.sh +++ b/scripts/externalapi-nbi/delete_nbi_containers.sh @@ -14,7 +14,7 @@ # limitations under the License. # ======================================================================== -echo "This is ${WORKSPACE}/test/csit/scripts/externalapi-nbi/delete_nbi_containers.sh" +echo "This is ${WORKSPACE}/scripts/externalapi-nbi/delete_nbi_containers.sh" # Check if docker-compose file exists if [ ! -f "$WORKSPACE/externalapi-nbi/docker-compose.yml" ]; then diff --git a/scripts/externalapi-nbi/start_nbi_containers.sh b/scripts/externalapi-nbi/start_nbi_containers.sh index 68fbb029..69007f29 100644 --- a/scripts/externalapi-nbi/start_nbi_containers.sh +++ b/scripts/externalapi-nbi/start_nbi_containers.sh @@ -19,7 +19,7 @@ NEXUS_PASSWD=docker export NEXUS_DOCKER_REPO=nexus3.onap.org:10001 export DOCKER_IMAGE_VERSION=latest -echo "This is ${WORKSPACE}/test/csit/scripts/externalapi-nbi/start_nbi_containers.sh" +echo "This is ${WORKSPACE}/scripts/externalapi-nbi/start_nbi_containers.sh" # Create directory mkdir -p $WORKSPACE/externalapi-nbi diff --git a/scripts/integration/script1.sh b/scripts/integration/script1.sh index 05d57e84..4c8921a0 100755 --- a/scripts/integration/script1.sh +++ b/scripts/integration/script1.sh @@ -14,4 +14,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -echo "This is ${WORKSPACE}/test/csit/scripts/integration/script1.sh" +echo "This is ${WORKSPACE}/scripts/integration/script1.sh" diff --git a/scripts/modeling-toscaparsers-javatoscachecker/setup_containers.sh b/scripts/modeling-toscaparsers-javatoscachecker/setup_containers.sh index 3521ff1c..d11c9e81 100644 --- a/scripts/modeling-toscaparsers-javatoscachecker/setup_containers.sh +++ b/scripts/modeling-toscaparsers-javatoscachecker/setup_containers.sh @@ -20,7 +20,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -echo "This is ${WORKSPACE}/test/csit/scripts/modeling-toscaparsers-javatoscachecker/setup_containers.sh" +echo "This is ${WORKSPACE}/scripts/modeling-toscaparsers-javatoscachecker/setup_containers.sh" #start docker image run-instance.sh nexus3.onap.org:10001/onap/modeling/javatoscachecker:latest modeling_javatoscachecker_1 "-p 8080:8080" diff --git a/scripts/modeling-toscaparsers-javatoscachecker/teardown_containers.sh b/scripts/modeling-toscaparsers-javatoscachecker/teardown_containers.sh index cca4fe19..aa82cf21 100644 --- a/scripts/modeling-toscaparsers-javatoscachecker/teardown_containers.sh +++ b/scripts/modeling-toscaparsers-javatoscachecker/teardown_containers.sh @@ -20,7 +20,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -echo "This is ${WORKSPACE}/test/csit/scripts/modeling-toscaparsers-javatoscachecker/teardown_containers.sh" +echo "This is ${WORKSPACE}/scripts/modeling-toscaparsers-javatoscachecker/teardown_containers.sh" kill-instance.sh modeling_javatoscachecker_1 diff --git a/scripts/music/music-scripts/music_script.sh b/scripts/music/music-scripts/music_script.sh index f16062ad..172ca5b5 100755 --- a/scripts/music/music-scripts/music_script.sh +++ b/scripts/music/music-scripts/music_script.sh @@ -16,7 +16,7 @@ # echo "######################################################################" echo "### " -echo "### This is ${WORKSPACE}/test/csit/scripts/music/music-scripts/music_script.sh" +echo "### This is ${WORKSPACE}/scripts/music/music-scripts/music_script.sh" echo "### " echo "######################################################################" # diff --git a/scripts/optf-has/has/has_proxy_settings.sh b/scripts/optf-has/has/has_proxy_settings.sh index 92f8d93c..48096103 100755 --- a/scripts/optf-has/has/has_proxy_settings.sh +++ b/scripts/optf-has/has/has_proxy_settings.sh @@ -15,7 +15,7 @@ # limitations under the License. # # put into this file local proxy settings in case they are needed on your local environment -echo "### This is ${WORKSPACE}/test/csit/scripts/optf-has/has/has_proxy_settings.sh" +echo "### This is ${WORKSPACE}/scripts/optf-has/has/has_proxy_settings.sh" echo "optf/has proxy settings" if [ "$#" -eq "1" ]; then diff --git a/scripts/optf-has/has/has_script.sh b/scripts/optf-has/has/has_script.sh index 2d2eff3b..24ecc063 100755 --- a/scripts/optf-has/has/has_script.sh +++ b/scripts/optf-has/has/has_script.sh @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -echo "### This is ${WORKSPACE}/test/csit/scripts/optf-has/has/has_script.sh" +echo "### This is ${WORKSPACE}/scripts/optf-has/has/has_script.sh" # # add here whatever commands is needed to prepare the optf/has CSIT testing # @@ -38,11 +38,11 @@ BUNDLE=/tmp/conductor/properties/cert.pem mkdir -p /tmp/conductor/properties mkdir -p /tmp/conductor/logs -cp ${WORKSPACE}/test/csit/scripts/optf-has/has/has-properties/conductor.conf.onap /tmp/conductor/properties/conductor.conf -cp ${WORKSPACE}/test/csit/scripts/optf-has/has/has-properties/log.conf.onap /tmp/conductor/properties/log.conf -cp ${WORKSPACE}/test/csit/scripts/optf-has/has/has-properties/cert.cer /tmp/conductor/properties/cert.cer -cp ${WORKSPACE}/test/csit/scripts/optf-has/has/has-properties/cert.key /tmp/conductor/properties/cert.key -cp ${WORKSPACE}/test/csit/scripts/optf-has/has/has-properties/cert.pem /tmp/conductor/properties/cert.pem +cp ${WORKSPACE}/scripts/optf-has/has/has-properties/conductor.conf.onap /tmp/conductor/properties/conductor.conf +cp ${WORKSPACE}/scripts/optf-has/has/has-properties/log.conf.onap /tmp/conductor/properties/log.conf +cp ${WORKSPACE}/scripts/optf-has/has/has-properties/cert.cer /tmp/conductor/properties/cert.cer +cp ${WORKSPACE}/scripts/optf-has/has/has-properties/cert.key /tmp/conductor/properties/cert.key +cp ${WORKSPACE}/scripts/optf-has/has/has-properties/cert.pem /tmp/conductor/properties/cert.pem #chmod -R 777 /tmp/conductor/properties MUSIC_IP=`docker inspect --format '{{ .NetworkSettings.Networks.bridge.IPAddress}}' music-tomcat` @@ -68,7 +68,7 @@ echo "Query MUSIC to check for reachability. Query Version" curl -vvvvv --noproxy "*" --request GET http://${MUSIC_IP}:8080/MUSIC/rest/v2/version -H "Content-Type: application/json" echo "Onboard conductor into music" -curl -vvvvv --noproxy "*" --request POST http://${MUSIC_IP}:8080/MUSIC/rest/v2/admin/onboardAppWithMusic -H "Content-Type: application/json" --data @${WORKSPACE}/test/csit/tests/optf-has/has/data/onboard.json +curl -vvvvv --noproxy "*" --request POST http://${MUSIC_IP}:8080/MUSIC/rest/v2/admin/onboardAppWithMusic -H "Content-Type: application/json" --data @${WORKSPACE}/tests/optf-has/has/data/onboard.json docker run -d --name cond-cont -v ${COND_CONF}:/usr/local/bin/conductor.conf -v ${LOG_CONF}:/usr/local/bin/log.conf ${IMAGE_NAME}:${IMAGE_VER} python /usr/local/bin/conductor-controller --config-file=/usr/local/bin/conductor.conf sleep 20 @@ -82,7 +82,7 @@ docker run -d --name cond-data -v ${COND_CONF}:/usr/local/bin/conductor.conf -v sleep 20 COND_IP=`docker inspect --format '{{ .NetworkSettings.Networks.bridge.IPAddress}}' cond-api` -${WORKSPACE}/test/csit/scripts/optf-has/has/wait_for_port.sh ${COND_IP} 8091 +${WORKSPACE}/scripts/optf-has/has/wait_for_port.sh ${COND_IP} 8091 echo "inspect docker things for tracing purpose" docker inspect cond-data diff --git a/scripts/optf-has/has/music_script.sh b/scripts/optf-has/has/music_script.sh index 7693d7b3..811a39c2 100755 --- a/scripts/optf-has/has/music_script.sh +++ b/scripts/optf-has/has/music_script.sh @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -echo "### This is ${WORKSPACE}/test/csit/scripts/optf-has/has/music_script.sh" +echo "### This is ${WORKSPACE}/scripts/optf-has/has/music_script.sh" # # add here whatever commands is needed to prepare the music setup for optf-has CSIT testing # @@ -31,7 +31,7 @@ MUSIC_IMG=nexus3.onap.org:10001/onap/music/music:2.5.3 WORK_DIR=/tmp/music CASS_USERNAME=nelson24 CASS_PASSWORD=winman123 -MUSIC_SOURCE_PROPERTIES=${WORKSPACE}/test/csit/scripts/optf-has/has/music-properties +MUSIC_SOURCE_PROPERTIES=${WORKSPACE}/scripts/optf-has/has/music-properties MUSIC_PROPERTIES=/tmp/music/properties MUSIC_LOGS=/tmp/music/logs mkdir -p ${MUSIC_PROPERTIES} @@ -50,7 +50,7 @@ docker run -d --name music-db --network music-net -p "7000:7000" -p "7001:7001" #CASSA_IP=`docker inspect --format '{{ .NetworkSettings.Networks.bridge.IPAddress}}' music-db` CASSA_IP=`docker inspect -f '{{ $network := index .NetworkSettings.Networks "music-net" }}{{ $network.IPAddress}}' music-db` echo "CASSANDRA_IP=${CASSA_IP}" -${WORKSPACE}/test/csit/scripts/optf-has/has/wait_for_port.sh ${CASSA_IP} 9042 +${WORKSPACE}/scripts/optf-has/has/wait_for_port.sh ${CASSA_IP} 9042 sleep 150 # Start Music war docker run -d --name music-war -v music-vol:/app ${MUSIC_IMG}; @@ -77,7 +77,7 @@ docker network connect bridge music-tomcat; TOMCAT_IP=`docker inspect --format '{{ .NetworkSettings.Networks.bridge.IPAddress}}' music-tomcat` echo "TOMCAT_IP=${TOMCAT_IP}" -${WORKSPACE}/test/csit/scripts/optf-has/has/wait_for_port.sh ${TOMCAT_IP} 8080 +${WORKSPACE}/scripts/optf-has/has/wait_for_port.sh ${TOMCAT_IP} 8080 # wait a while to make sure music is totally up and configured sleep 90 diff --git a/scripts/optf-has/has/simulator_script.sh b/scripts/optf-has/has/simulator_script.sh index 2e8a0e6f..42dcd57f 100755 --- a/scripts/optf-has/has/simulator_script.sh +++ b/scripts/optf-has/has/simulator_script.sh @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -echo "### This is ${WORKSPACE}/test/csit/scripts/optf-has/has/simulator_script.sh" +echo "### This is ${WORKSPACE}/scripts/optf-has/has/simulator_script.sh" # # add here whatever commands is needed to prepare the optf/has CSIT testing # @@ -39,7 +39,7 @@ git clone https://gerrit.onap.org/r/optf/has if [ ${USER} != 'jenkins' ]; then # add proxy settings into this script when you work behind a proxy - ${WORKSPACE}/test/csit/scripts/optf-has/has/has_proxy_settings.sh ${WORK_DIR} + ${WORKSPACE}/scripts/optf-has/has/has_proxy_settings.sh ${WORK_DIR} fi @@ -58,7 +58,7 @@ docker run -d --name aaisim -p 8081:8081 aaisim AAISIM_IP=`docker inspect --format '{{ .NetworkSettings.Networks.bridge.IPAddress}}' aaisim` echo "AAISIM_IP=${AAISIM_IP}" -${WORKSPACE}/test/csit/scripts/optf-has/has/wait_for_port.sh ${AAISIM_IP} 8081 +${WORKSPACE}/scripts/optf-has/has/wait_for_port.sh ${AAISIM_IP} 8081 # prepare multicloudsim cd ${WORK_DIR}/has/conductor/conductor/tests/functional/simulators/multicloudsim/ @@ -75,7 +75,7 @@ docker run -d --name multicloudsim -p 8082:8082 multicloudsim MULTICLOUDSIM_IP=`docker inspect --format '{{ .NetworkSettings.Networks.bridge.IPAddress}}' multicloudsim` echo "MULTICLOUDSIM_IP=${MULTICLOUDSIM_IP}" -${WORKSPACE}/test/csit/scripts/optf-has/has/wait_for_port.sh ${MULTICLOUDSIM_IP} 8082 +${WORKSPACE}/scripts/optf-has/has/wait_for_port.sh ${MULTICLOUDSIM_IP} 8082 # wait a while before continuing sleep 2 diff --git a/scripts/policy/script1.sh b/scripts/policy/script1.sh index 12509eda..b38401e3 100755 --- a/scripts/policy/script1.sh +++ b/scripts/policy/script1.sh @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -echo "This is ${WORKSPACE}/test/csit/scripts/policy/script1.sh" +echo "This is ${WORKSPACE}/scripts/policy/script1.sh" # the directory of the script diff --git a/scripts/run-instance.sh b/scripts/run-instance.sh index 84ab3439..7ccc895a 100755 --- a/scripts/run-instance.sh +++ b/scripts/run-instance.sh @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# $1 docker image path under ${WORKSPACE}/test/csit/docker/ +# $1 docker image path under ${WORKSPACE}/docker/ # $2 nickname for the instance # $3 docker run options, e.g. variables diff --git a/scripts/sdc/kill_containers_and_remove_dataFolders.sh b/scripts/sdc/kill_containers_and_remove_dataFolders.sh index a4e933ff..f231a262 100644 --- a/scripts/sdc/kill_containers_and_remove_dataFolders.sh +++ b/scripts/sdc/kill_containers_and_remove_dataFolders.sh @@ -17,7 +17,7 @@ # Modifications copyright (c) 2017 AT&T Intellectual Property # -echo "This is ${WORKSPACE}/test/csit/scripts/sdc/kill_and_remove_dataFolder.sh" +echo "This is ${WORKSPACE}/scripts/sdc/kill_and_remove_dataFolder.sh" # copy logs to archive diff --git a/scripts/sdc/setup_sdc_for_apis_sanity.sh b/scripts/sdc/setup_sdc_for_apis_sanity.sh index 41d3d2aa..c1442d1f 100644 --- a/scripts/sdc/setup_sdc_for_apis_sanity.sh +++ b/scripts/sdc/setup_sdc_for_apis_sanity.sh @@ -2,7 +2,7 @@ set -x -echo "This is ${WORKSPACE}/test/csit/scripts/sdc/clone_and_setup_sdc_data.sh" +echo "This is ${WORKSPACE}/scripts/sdc/clone_and_setup_sdc_data.sh" # Clone sdc enviroment template mkdir -p ${WORKSPACE}/data/environments/ @@ -39,15 +39,15 @@ source ${WORKSPACE}/data/clone/sdc/version.properties export RELEASE=$major.$minor-STAGING-latest export DEP_ENV=$ENV_NAME -cp ${WORKSPACE}/data/clone/sdc/sdc-os-chef/scripts/docker_run.sh ${WORKSPACE}/test/csit/scripts/sdc/ -#sed -i "s~/data~${WORKSPACE}\/data~g" ${WORKSPACE}/test/csit/scripts/sdc/docker_run.sh -#sed -i "s/HOST_IP=\${IP}/HOST_IP=\${HOST_IP}/g" ${WORKSPACE}/test/csit/scripts/sdc/docker_run.sh -#sed -i "s/ENVNAME=\"\${DEP_ENV}\"/ENVNAME=\"\${ENV_NAME}\"/g" ${WORKSPACE}/test/csit/scripts/sdc/docker_run.sh +cp ${WORKSPACE}/data/clone/sdc/sdc-os-chef/scripts/docker_run.sh ${WORKSPACE}/scripts/sdc/ +#sed -i "s~/data~${WORKSPACE}\/data~g" ${WORKSPACE}/scripts/sdc/docker_run.sh +#sed -i "s/HOST_IP=\${IP}/HOST_IP=\${HOST_IP}/g" ${WORKSPACE}/scripts/sdc/docker_run.sh +#sed -i "s/ENVNAME=\"\${DEP_ENV}\"/ENVNAME=\"\${ENV_NAME}\"/g" ${WORKSPACE}/scripts/sdc/docker_run.sh source ${WORKSPACE}/data/clone/sdc/version.properties export RELEASE=$major.$minor-STAGING-latest -${WORKSPACE}/test/csit/scripts/sdc/docker_run.sh -r ${RELEASE} -e ${ENV_NAME} -p 10001 -tad +${WORKSPACE}/scripts/sdc/docker_run.sh -r ${RELEASE} -e ${ENV_NAME} -p 10001 -tad sleep 120 diff --git a/scripts/sdc/setup_sdc_for_ui_sanity.sh b/scripts/sdc/setup_sdc_for_ui_sanity.sh index 81b43d21..6f8a2328 100644 --- a/scripts/sdc/setup_sdc_for_ui_sanity.sh +++ b/scripts/sdc/setup_sdc_for_ui_sanity.sh @@ -2,7 +2,7 @@ set -x -echo "This is ${WORKSPACE}/test/csit/scripts/sdc/clone_and_setup_sdc_data.sh" +echo "This is ${WORKSPACE}/scripts/sdc/clone_and_setup_sdc_data.sh" # Clone sdc enviroment template mkdir -p ${WORKSPACE}/data/environments/ @@ -39,15 +39,15 @@ source ${WORKSPACE}/data/clone/sdc/version.properties export RELEASE=$major.$minor-STAGING-latest export DEP_ENV=$ENV_NAME -cp ${WORKSPACE}/data/clone/sdc/sdc-os-chef/scripts/docker_run.sh ${WORKSPACE}/test/csit/scripts/sdc/ -#sed -i "s~/data~${WORKSPACE}\/data~g" ${WORKSPACE}/test/csit/scripts/sdc/docker_run.sh -#sed -i "s/HOST_IP=\${IP}/HOST_IP=\${HOST_IP}/g" ${WORKSPACE}/test/csit/scripts/sdc/docker_run.sh -#sed -i "s/ENVNAME=\"\${DEP_ENV}\"/ENVNAME=\"\${ENV_NAME}\"/g" ${WORKSPACE}/test/csit/scripts/sdc/docker_run.sh +cp ${WORKSPACE}/data/clone/sdc/sdc-os-chef/scripts/docker_run.sh ${WORKSPACE}/scripts/sdc/ +#sed -i "s~/data~${WORKSPACE}\/data~g" ${WORKSPACE}/scripts/sdc/docker_run.sh +#sed -i "s/HOST_IP=\${IP}/HOST_IP=\${HOST_IP}/g" ${WORKSPACE}/scripts/sdc/docker_run.sh +#sed -i "s/ENVNAME=\"\${DEP_ENV}\"/ENVNAME=\"\${ENV_NAME}\"/g" ${WORKSPACE}/scripts/sdc/docker_run.sh source ${WORKSPACE}/data/clone/sdc/version.properties export RELEASE=$major.$minor-STAGING-latest -${WORKSPACE}/test/csit/scripts/sdc/docker_run.sh -r ${RELEASE} -e ${ENV_NAME} -p 10001 -tud +${WORKSPACE}/scripts/sdc/docker_run.sh -r ${RELEASE} -e ${ENV_NAME} -p 10001 -tud sleep 120 diff --git a/scripts/sdc/start_sdc_containers.sh b/scripts/sdc/start_sdc_containers.sh index 5bc8770b..2aa43314 100644 --- a/scripts/sdc/start_sdc_containers.sh +++ b/scripts/sdc/start_sdc_containers.sh @@ -22,7 +22,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -echo "This is ${WORKSPACE}/test/csit/scripts/sdc/start_sdc_containers.sh" +echo "This is ${WORKSPACE}/scripts/sdc/start_sdc_containers.sh" source ${WORKSPACE}/data/clone/sdc/version.properties export RELEASE=$major.$minor-STAGING-latest diff --git a/scripts/sdnc/script1.sh b/scripts/sdnc/script1.sh index b87e3c19..9bd1a225 100644 --- a/scripts/sdnc/script1.sh +++ b/scripts/sdnc/script1.sh @@ -17,4 +17,4 @@ # Modifications copyright (c) 2017 AT&T Intellectual Property # -echo "This is ${WORKSPACE}/test/csit/scripts/sdnc/script1.sh" +echo "This is ${WORKSPACE}/scripts/sdnc/script1.sh" diff --git a/scripts/vid/clone_and_setup_vid_data.sh b/scripts/vid/clone_and_setup_vid_data.sh index 917016c7..b236d3ad 100644 --- a/scripts/vid/clone_and_setup_vid_data.sh +++ b/scripts/vid/clone_and_setup_vid_data.sh @@ -22,7 +22,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -echo "This is ${WORKSPACE}/test/csit/scripts/sdc/clone_and_setup_vid_data.sh" +echo "This is ${WORKSPACE}/scripts/sdc/clone_and_setup_vid_data.sh" # Clone sdc enviroment template diff --git a/scripts/vid/kill_containers_and_remove_dataFolders.sh b/scripts/vid/kill_containers_and_remove_dataFolders.sh index 33a799d5..9e72a42f 100644 --- a/scripts/vid/kill_containers_and_remove_dataFolders.sh +++ b/scripts/vid/kill_containers_and_remove_dataFolders.sh @@ -17,7 +17,7 @@ # Modifications copyright (c) 2017 AT&T Intellectual Property # -echo "This is ${WORKSPACE}/test/csit/scripts/vid/kill_and_remove_dataFolder.sh" +echo "This is ${WORKSPACE}/scripts/vid/kill_and_remove_dataFolder.sh" #kill and remove all vid dockers docker stop $(docker ps -a -q --filter="name=vid") diff --git a/scripts/vid/start_vid_containers.sh b/scripts/vid/start_vid_containers.sh index c4bdae2d..a058e1fb 100644 --- a/scripts/vid/start_vid_containers.sh +++ b/scripts/vid/start_vid_containers.sh @@ -21,11 +21,11 @@ # =================================================================== # ECOMP is a trademark and service mark of AT&T Intellectual Property. -echo "This is ${WORKSPACE}/test/csit/scripts/vid/start_vid_containers.sh" +echo "This is ${WORKSPACE}/scripts/vid/start_vid_containers.sh" export IP=`ifconfig eth0 | awk -F: '/inet addr/ {gsub(/ .*/,"",$2); print $2}'` -cd ${WORKSPACE}/test/csit/tests/vid/resources +cd ${WORKSPACE}/tests/vid/resources docker-compose up -d --build # WAIT 5 minutes maximum and test every 5 seconds if VID up using HealthCheck API diff --git a/scripts/vvp/clone_and_setup_vvp_data.sh b/scripts/vvp/clone_and_setup_vvp_data.sh index a39ed083..866a82e6 100644 --- a/scripts/vvp/clone_and_setup_vvp_data.sh +++ b/scripts/vvp/clone_and_setup_vvp_data.sh @@ -22,7 +22,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -echo "This is ${WORKSPACE}/test/csit/scripts/vvp/clone_and_setup_vvp_data.sh" +echo "This is ${WORKSPACE}/scripts/vvp/clone_and_setup_vvp_data.sh" # Clone vvp enviroment template mkdir -p ${WORKSPACE}/data/environments/ diff --git a/scripts/vvp/kill_containers_and_remove_dataFolders.sh b/scripts/vvp/kill_containers_and_remove_dataFolders.sh index a6c108eb..38bd3319 100644 --- a/scripts/vvp/kill_containers_and_remove_dataFolders.sh +++ b/scripts/vvp/kill_containers_and_remove_dataFolders.sh @@ -17,7 +17,7 @@ # Modifications copyright (c) 2017 AT&T Intellectual Property # -echo "This is ${WORKSPACE}/test/csit/scripts/vvp/kill_and_remove_dataFolder.sh" +echo "This is ${WORKSPACE}/scripts/vvp/kill_and_remove_dataFolder.sh" CONTAINER_NAME="vvp-engagementmgr" diff --git a/scripts/vvp/start_vvp_containers.sh b/scripts/vvp/start_vvp_containers.sh index 5f905b6a..cafc040c 100644 --- a/scripts/vvp/start_vvp_containers.sh +++ b/scripts/vvp/start_vvp_containers.sh @@ -22,7 +22,7 @@ # ECOMP is a trademark and service mark of AT&T Intellectual Property. # -echo "This is ${WORKSPACE}/test/csit/scripts/vvp/start_vvp_containers.sh" +echo "This is ${WORKSPACE}/scripts/vvp/start_vvp_containers.sh" export IP=$HOST_IP export PREFIX='nexus3.onap.org:10001/openecomp/vvp' diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot b/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot index c0a96dbc..7b99fb0d 100644 --- a/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot +++ b/tests/dcaegen2-collectors-hv-ves/testcases/__init__.robot @@ -52,5 +52,5 @@ ${DCAE_APP_API_MESSAGES_VALIDATION_PATH} ${DCAE_APP_API_MESSAGES_PATH}/val ${ROUTED_MESSAGES_TOPIC} test-hv-ran-meas -${VES_HV_RESOURCES} %{WORKSPACE}/test/csit/tests/dcaegen2-collectors-hv-ves/testcases/resources +${VES_HV_RESOURCES} %{WORKSPACE}/tests/dcaegen2-collectors-hv-ves/testcases/resources ${VES_HV_CONFIGURATION_JSON_FILEPATH} ${VES_HV_RESOURCES}/ves-hv-configuration.json diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/authorization.robot b/tests/dcaegen2-collectors-hv-ves/testcases/authorization.robot index 15c1c489..be24a87a 100644 --- a/tests/dcaegen2-collectors-hv-ves/testcases/authorization.robot +++ b/tests/dcaegen2-collectors-hv-ves/testcases/authorization.robot @@ -54,7 +54,7 @@ Unencrypted connection on both ends *** Variables *** -${VES_HV_SCENARIOS} %{WORKSPACE}/test/csit/tests/dcaegen2-collectors-hv-ves/testcases/resources/scenarios +${VES_HV_SCENARIOS} %{WORKSPACE}/tests/dcaegen2-collectors-hv-ves/testcases/resources/scenarios ${XNF_VALID_MESSAGES_REQUEST} ${VES_HV_SCENARIOS}/authorization/xnf-valid-messages-request.json diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py b/tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py index f6a97875..f091de1b 100644 --- a/tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py +++ b/tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py @@ -8,7 +8,7 @@ XNF_SIMULATOR_NAME = "xNF Simulator" SIMULATOR_IMAGE_NAME = "onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-xnf-simulator" SIMULATOR_IMAGE_FULL_NAME = os.getenv("DOCKER_REGISTRY_PREFIX") + SIMULATOR_IMAGE_NAME + ":latest" WORKSPACE_ENV = os.getenv("WORKSPACE") -certificates_dir_path = WORKSPACE_ENV + "/test/csit/plans/dcaegen2-collectors-hv-ves/testsuites/ssl/" +certificates_dir_path = WORKSPACE_ENV + "/plans/dcaegen2-collectors-hv-ves/testsuites/ssl/" collector_certs_lookup_dir = "/etc/ves-hv/" ONE_SECOND_IN_NANOS = 10 ** 9 diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/message-routing.robot b/tests/dcaegen2-collectors-hv-ves/testcases/message-routing.robot index 89208e45..1850df61 100644 --- a/tests/dcaegen2-collectors-hv-ves/testcases/message-routing.robot +++ b/tests/dcaegen2-collectors-hv-ves/testcases/message-routing.robot @@ -77,7 +77,7 @@ ${HTTP_METHOD_URL} http:// ${XNF_SIM_API_PATH} /simulator/async -${VES_HV_SCENARIOS} %{WORKSPACE}/test/csit/tests/dcaegen2-collectors-hv-ves/testcases/resources/scenarios +${VES_HV_SCENARIOS} %{WORKSPACE}/tests/dcaegen2-collectors-hv-ves/testcases/resources/scenarios ${XNF_FIXED_PAYLOAD_REQUEST} ${VES_HV_SCENARIOS}/fixed-payload/xnf-fixed-payload-request.json ${XNF_TOO_BIG_PAYLOAD_REQUEST} ${VES_HV_SCENARIOS}/too-big-payload/xnf-too-big-payload-request.json ${XNF_INVALID_WIRE_FRAME_REQUEST} ${VES_HV_SCENARIOS}/invalid-wire-frame/xnf-invalid-wire-frame-request.json diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/multiple-clients.robot b/tests/dcaegen2-collectors-hv-ves/testcases/multiple-clients.robot index 9b1982a6..442639e2 100644 --- a/tests/dcaegen2-collectors-hv-ves/testcases/multiple-clients.robot +++ b/tests/dcaegen2-collectors-hv-ves/testcases/multiple-clients.robot @@ -27,7 +27,7 @@ Handle Multiple Connections *** Variables *** -${VES_HV_SCENARIOS} %{WORKSPACE}/test/csit/tests/dcaegen2-collectors-hv-ves/testcases/resources/scenarios +${VES_HV_SCENARIOS} %{WORKSPACE}/tests/dcaegen2-collectors-hv-ves/testcases/resources/scenarios ${XNF_SMALLER_PAYLOAD_REQUEST} ${VES_HV_SCENARIOS}/multiple-simulators-payload/xnf-simulator-smaller-valid-request.json ${DCAE_SMALLER_PAYLOAD_REQUEST} ${VES_HV_SCENARIOS}/multiple-simulators-payload/dcae-smaller-valid-request.json diff --git a/tests/dcaegen2/prh-testcases/prh_tests.robot b/tests/dcaegen2/prh-testcases/prh_tests.robot index 23d86663..55f484fa 100644 --- a/tests/dcaegen2/prh-testcases/prh_tests.robot +++ b/tests/dcaegen2/prh-testcases/prh_tests.robot @@ -10,15 +10,15 @@ Resource ../../common.robot ${DMAAP_SIMULATOR_URL} http://${DMAAP_SIMULATOR} ${AAI_SIMULATOR_URL} http://${AAI_SIMULATOR} ${PRH_URL} http://${PRH} -${EVENT_WITH_ALL_VALID_REQUIRED_FIELDS} %{WORKSPACE}/test/csit/tests/dcaegen2/prh-testcases/assets/json_events/event_with_all_fields.json -${EVENT_WITH_IPV4} %{WORKSPACE}/test/csit/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV4.json -${EVENT_WITH_IPV6} %{WORKSPACE}/test/csit/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV6.json -${EVENT_WITH_MISSING_IPV4_AND_IPV6} %{WORKSPACE}/test/csit/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_IPV4_and_IPV6.json -${EVENT_WITH_MISSING_SOURCENAME} %{WORKSPACE}/test/csit/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName.json -${EVENT_WITH_MISSING_SOURCENAME_AND_IPV4} %{WORKSPACE}/test/csit/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_and_IPV4.json -${EVENT_WITH_MISSING_SOURCENAME_AND_IPV6} %{WORKSPACE}/test/csit/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_and_IPV6.json -${EVENT_WITH_MISSING_SOURCENAME_IPV4_AND_IPV6} %{WORKSPACE}/test/csit/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_IPV4_and_IPV6.json -${Not_json_format} %{WORKSPACE}/test/csit/tests/dcaegen2/prh-testcases/assets/json_events/not_json_format.json +${EVENT_WITH_ALL_VALID_REQUIRED_FIELDS} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_all_fields.json +${EVENT_WITH_IPV4} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV4.json +${EVENT_WITH_IPV6} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV6.json +${EVENT_WITH_MISSING_IPV4_AND_IPV6} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_IPV4_and_IPV6.json +${EVENT_WITH_MISSING_SOURCENAME} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName.json +${EVENT_WITH_MISSING_SOURCENAME_AND_IPV4} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_and_IPV4.json +${EVENT_WITH_MISSING_SOURCENAME_AND_IPV6} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_and_IPV6.json +${EVENT_WITH_MISSING_SOURCENAME_IPV4_AND_IPV6} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_IPV4_and_IPV6.json +${Not_json_format} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets/json_events/not_json_format.json *** Test Cases *** Valid DMaaP event can be converted to PNF_READY notification diff --git a/tests/dcaegen2/testcases/dcae_ves.robot b/tests/dcaegen2/testcases/dcae_ves.robot index daed35fa..f457f2ce 100644 --- a/tests/dcaegen2/testcases/dcae_ves.robot +++ b/tests/dcaegen2/testcases/dcae_ves.robot @@ -16,12 +16,12 @@ ${VESC_URL} http://%{VESC_IP}:8080 ${VES_ANY_EVENT_PATH} /eventListener/v5 ${VES_BATCH_EVENT_PATH} /eventListener/v5/eventBatch ${VES_THROTTLE_STATE_EVENT_PATH} /eventListener/v5/clientThrottlingState -${EVENT_DATA_FILE} %{WORKSPACE}/test/csit/tests/dcaegen2/testcases/assets/json_events/ves_volte_single_fault_event.json -${EVENT_MEASURE_FILE} %{WORKSPACE}/test/csit/tests/dcaegen2/testcases/assets/json_events/ves_vfirewall_measurement.json -${EVENT_DATA_FILE_BAD} %{WORKSPACE}/test/csit/tests/dcaegen2/testcases/assets/json_events/ves_volte_single_fault_event_bad.json -${EVENT_BATCH_DATA_FILE} %{WORKSPACE}/test/csit/tests/dcaegen2/testcases/assets/json_events/ves_volte_fault_eventlist_batch.json -${EVENT_THROTTLING_STATE_DATA_FILE} %{WORKSPACE}/test/csit/tests/dcaegen2/testcases/assets/json_events/ves_volte_fault_provide_throttle_state.json -${EVENT_PNF_REGISTRATION} %{WORKSPACE}/test/csit/tests/dcaegen2/testcases/assets/json_events/ves_pnf_registration_event.json +${EVENT_DATA_FILE} %{WORKSPACE}/tests/dcaegen2/testcases/assets/json_events/ves_volte_single_fault_event.json +${EVENT_MEASURE_FILE} %{WORKSPACE}/tests/dcaegen2/testcases/assets/json_events/ves_vfirewall_measurement.json +${EVENT_DATA_FILE_BAD} %{WORKSPACE}/tests/dcaegen2/testcases/assets/json_events/ves_volte_single_fault_event_bad.json +${EVENT_BATCH_DATA_FILE} %{WORKSPACE}/tests/dcaegen2/testcases/assets/json_events/ves_volte_fault_eventlist_batch.json +${EVENT_THROTTLING_STATE_DATA_FILE} %{WORKSPACE}/tests/dcaegen2/testcases/assets/json_events/ves_volte_fault_provide_throttle_state.json +${EVENT_PNF_REGISTRATION} %{WORKSPACE}/tests/dcaegen2/testcases/assets/json_events/ves_pnf_registration_event.json #DCAE Health Check ${CONFIG_BINDING_URL} http://localhost:8443 diff --git a/tests/dcaegen2/testcases/resources/DcaeLibrary.py b/tests/dcaegen2/testcases/resources/DcaeLibrary.py index b43ee29e..d4188e30 100644 --- a/tests/dcaegen2/testcases/resources/DcaeLibrary.py +++ b/tests/dcaegen2/testcases/resources/DcaeLibrary.py @@ -74,13 +74,13 @@ class DcaeLibrary(object): client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) client.connect(os.environ['CSIT_IP'], port=22, username=os.environ['CSIT_USER'], password=os.environ['CSIT_PD']) - stdin, stdout, stderr = client.exec_command('%{WORKSPACE}/test/csit/tests/dcaegen2/testcases/resources/vesc_enable_https_auth.sh') + stdin, stdout, stderr = client.exec_command('%{WORKSPACE}/tests/dcaegen2/testcases/resources/vesc_enable_https_auth.sh') logger.console(stdout.read()) finally: client.close() return ws = os.environ['WORKSPACE'] - script2run = ws + "/test/csit/tests/dcaegen2/testcases/resources/vesc_enable_https_auth.sh" + script2run = ws + "/tests/dcaegen2/testcases/resources/vesc_enable_https_auth.sh" logger.info("Running script: " + script2run) logger.console("Running script: " + script2run) subprocess.call(script2run) diff --git a/tests/dcaegen2/testcases/resources/DcaeVariables.py b/tests/dcaegen2/testcases/resources/DcaeVariables.py index a9456d0f..ac1eb9f5 100644 --- a/tests/dcaegen2/testcases/resources/DcaeVariables.py +++ b/tests/dcaegen2/testcases/resources/DcaeVariables.py @@ -8,7 +8,7 @@ def get_environment_variable(env_varstr): DCAE_HEALTH_CHECK_URL = "http://135.205.228.129:8500" DCAE_HEALTH_CHECK_URL1 = "http://135.205.228.170:8500" -CommonEventSchemaV5 = get_environment_variable('WORKSPACE') + "/test/csit/tests/dcaegen2/testcases/assets/json_events/CommonEventFormat_28.3.json" +CommonEventSchemaV5 = get_environment_variable('WORKSPACE') + "/tests/dcaegen2/testcases/assets/json_events/CommonEventFormat_28.3.json" HttpServerThread = None HTTPD = None diff --git a/tests/dcaegen2/testcases/resources/dcae_keywords.robot b/tests/dcaegen2/testcases/resources/dcae_keywords.robot index 6820050f..013f6f03 100644 --- a/tests/dcaegen2/testcases/resources/dcae_keywords.robot +++ b/tests/dcaegen2/testcases/resources/dcae_keywords.robot @@ -8,7 +8,7 @@ Variables ../resources/DcaeVariables.py Resource ../resources/dcae_properties.robot *** Variables *** -${DCAE_HEALTH_CHECK_BODY} %{WORKSPACE}/test/csit/tests/dcae/testcases/assets/json_events/dcae_healthcheck.json +${DCAE_HEALTH_CHECK_BODY} %{WORKSPACE}/tests/dcae/testcases/assets/json_events/dcae_healthcheck.json *** Keywords *** Create sessions diff --git a/tests/dcaegen2/testcases/resources/vesc_enable_https_auth.sh b/tests/dcaegen2/testcases/resources/vesc_enable_https_auth.sh index 12989911..0755f077 100755 --- a/tests/dcaegen2/testcases/resources/vesc_enable_https_auth.sh +++ b/tests/dcaegen2/testcases/resources/vesc_enable_https_auth.sh @@ -16,7 +16,7 @@ docker exec -it vesc /opt/app/VESCollector/bin/VESrestfulCollector.sh stop sleep 2 -docker cp ${WORKSPACE}/test/csit/tests/dcaegen2/testcases/resources/collector.properties vesc:/opt/app/VESCollector/etc +docker cp ${WORKSPACE}/tests/dcaegen2/testcases/resources/collector.properties vesc:/opt/app/VESCollector/etc sleep 10 docker exec -id vesc /opt/app/VESCollector/bin/VESrestfulCollector.sh start sleep 5 diff --git a/tests/usecases/5G-bulkpm/BulkpmE2E.robot b/tests/usecases/5G-bulkpm/BulkpmE2E.robot index 9098b1ab..154b5139 100644 --- a/tests/usecases/5G-bulkpm/BulkpmE2E.robot +++ b/tests/usecases/5G-bulkpm/BulkpmE2E.robot @@ -12,7 +12,7 @@ ${VESC_URL} http://%{VESC_IP}:8080 ${GLOBAL_APPLICATION_ID} robot-ves ${VES_ANY_EVENT_PATH} /eventListener/v7 ${HEADER_STRING} content-type=application/json -${EVENT_DATA_FILE} %{WORKSPACE}/test/csit/tests/usecases/5G-bulkpm/assets/json_events/FileExistNotificationUpdated.json +${EVENT_DATA_FILE} %{WORKSPACE}/tests/usecases/5G-bulkpm/assets/json_events/FileExistNotificationUpdated.json ${TARGETURL_TOPICS} http://${DMAAP_MR_IP}:3904/topics ${TARGETURL_SUBSCR} http://${DMAAP_MR_IP}:3904/events/unauthenticated.VES_NOTIFICATION_OUTPUT/OpenDcae-c12/C12?timeout=1000 -- cgit 1.2.3-korg