diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-06-01 12:58:15 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2018-06-06 05:11:55 +0000 |
commit | 964cb57bfc40efe2e22d472e58ac060e79bfacaf (patch) | |
tree | b451edb75d8bd1a485fffed033d68a31bed2e41d | |
parent | 84aade31caf9df41a880affad7aef4549dfc6b5e (diff) |
HC Tests: reenable NSH plugin (CSIT-994)
Reverts https://gerrit.fd.io/r/#/c/12572/
Change-Id: Ic55016e3c257a81440332a212e4c0d83e1990668
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
-rwxr-xr-x | bootstrap-hc2vpp-integration-odl.sh | 3 | ||||
-rwxr-xr-x | bootstrap-hc2vpp-integration.sh | 2 | ||||
-rwxr-xr-x | bootstrap-hc2vpp-verify-odl.sh | 3 | ||||
-rwxr-xr-x | bootstrap-hc2vpp-verify.sh | 2 | ||||
-rwxr-xr-x | resources/tools/scripts/download_hc_build_pkgs.sh | 16 | ||||
-rwxr-xr-x | resources/tools/scripts/download_hc_pkgs.sh | 16 |
6 files changed, 16 insertions, 26 deletions
diff --git a/bootstrap-hc2vpp-integration-odl.sh b/bootstrap-hc2vpp-integration-odl.sh index c6c7490519..e4d751d866 100755 --- a/bootstrap-hc2vpp-integration-odl.sh +++ b/bootstrap-hc2vpp-integration-odl.sh @@ -233,12 +233,11 @@ if [ "$?" -ne "0" ]; then echo "However, the tests will start." fi -# TODO(CSIT-994): reenable NSH PYTHONPATH=`pwd` pybot -L TRACE -W 136\ -v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology.yaml \ --suite "tests.honeycomb.func" \ --include HC_FUNC \ - --exclude HC_NSHORHC_REST_ONLY \ + --exclude HC_REST_ONLY \ --noncritical EXPECTED_FAILING \ --variable HC_ODL:${ODL} \ tests/ diff --git a/bootstrap-hc2vpp-integration.sh b/bootstrap-hc2vpp-integration.sh index f2858ffbad..de903361bd 100755 --- a/bootstrap-hc2vpp-integration.sh +++ b/bootstrap-hc2vpp-integration.sh @@ -232,12 +232,10 @@ if [ "$?" -ne "0" ]; then echo "However, the tests will start." fi -# TODO(CSIT-994): reenable NSH PYTHONPATH=`pwd` pybot -L TRACE -W 136\ -v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology.yaml \ --suite "tests.honeycomb.func" \ --include HC_FUNC \ - --exclude HC_NSH \ --noncritical EXPECTED_FAILING \ tests/ diff --git a/bootstrap-hc2vpp-verify-odl.sh b/bootstrap-hc2vpp-verify-odl.sh index b58cd0f7a6..ed28463f42 100755 --- a/bootstrap-hc2vpp-verify-odl.sh +++ b/bootstrap-hc2vpp-verify-odl.sh @@ -232,12 +232,11 @@ fi rm -rf ~/*karaf* cp /nfs/common/karaf_${ODL} ~ -# TODO(CSIT-994): reenable NSH PYTHONPATH=`pwd` pybot -L TRACE -W 136\ -v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology.yaml \ --suite "tests.honeycomb.func" \ --include HC_FUNC \ - --exclude HC_NSHORHC_REST_ONLY \ + --exclude HC_REST_ONLY \ --noncritical EXPECTED_FAILING \ --variable HC_ODL:${ODL} \ tests/ diff --git a/bootstrap-hc2vpp-verify.sh b/bootstrap-hc2vpp-verify.sh index 6c136759be..7be50d8172 100755 --- a/bootstrap-hc2vpp-verify.sh +++ b/bootstrap-hc2vpp-verify.sh @@ -227,12 +227,10 @@ if [ "$?" -ne "0" ]; then echo "However, the tests will start." fi -# TODO(CSIT-994): reenable NSH PYTHONPATH=`pwd` pybot -L TRACE -W 136\ -v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology.yaml \ --suite "tests.honeycomb.func" \ --include HC_FUNC \ - --exclude HC_NSH \ --noncritical EXPECTED_FAILING \ tests/ diff --git a/resources/tools/scripts/download_hc_build_pkgs.sh b/resources/tools/scripts/download_hc_build_pkgs.sh index 474344a320..3763c0999c 100755 --- a/resources/tools/scripts/download_hc_build_pkgs.sh +++ b/resources/tools/scripts/download_hc_build_pkgs.sh @@ -22,9 +22,8 @@ OS=$2 URL="https://nexus.fd.io/service/local/artifact/maven/content" VER="RELEASE" VPP_GROUP="io.fd.vpp" -# TODO(CSIT-994): reenable NSH -# NSH_GROUP="io.fd.nsh_sfc" -# NSH_ARTIFACTS="vpp-nsh-plugin" +NSH_GROUP="io.fd.nsh_sfc" +NSH_ARTIFACTS="vpp-nsh-plugin" if [ "${OS}" == "ubuntu1404" ]; then OS="ubuntu.trusty.main" @@ -51,12 +50,11 @@ for ART in ${VPP_ARTIFACTS}; do done done -# TODO(CSIT-994): reenable NSH -# for ART in ${NSH_ARTIFACTS}; do -# for PAC in ${PACKAGE}; do -# curl "${URL}?r=${REPO}&g=${NSH_GROUP}&a=${ART}&p=${PAC}&v=${VER}&c=${CLASS}" -O -J || exit -# done -# done +for ART in ${NSH_ARTIFACTS}; do + for PAC in ${PACKAGE}; do + curl "${URL}?r=${REPO}&g=${NSH_GROUP}&a=${ART}&p=${PAC}&v=${VER}&c=${CLASS}" -O -J || exit + done +done # verify downloaded packages if [ "${OS}" == "centos7" ]; then diff --git a/resources/tools/scripts/download_hc_pkgs.sh b/resources/tools/scripts/download_hc_pkgs.sh index 38c565f97f..a7562aa7f4 100755 --- a/resources/tools/scripts/download_hc_pkgs.sh +++ b/resources/tools/scripts/download_hc_pkgs.sh @@ -22,10 +22,9 @@ URL="https://nexus.fd.io/service/local/artifact/maven/content" VER="RELEASE" GROUP="io.fd.vpp" HC_GROUP="io.fd.hc2vpp" +NSH_GROUP="io.fd.nsh_sfc" HC_ARTIFACTS="honeycomb" -# TODO(CSIT-994): reenable NSH -# NSH_GROUP="io.fd.nsh_sfc" -# NSH_ARTIFACTS="vpp-nsh-plugin" +NSH_ARTIFACTS="vpp-nsh-plugin" if [ "${OS}" == "ubuntu1404" ]; then OS="ubuntu.trusty.main" @@ -62,12 +61,11 @@ for ART in ${DPDK_ARTIFACTS}; do done done -# TODO(CSIT-994): reenable NSH -# for ART in ${NSH_ARTIFACTS}; do -# for PAC in ${PACKAGE}; do -# curl "${URL}?r=${REPO}&g=${NSH_GROUP}&a=${ART}&p=${PAC}&v=${VER}&c=${CLASS}" -O -J || exit -# done -# done +for ART in ${NSH_ARTIFACTS}; do + for PAC in ${PACKAGE}; do + curl "${URL}?r=${REPO}&g=${NSH_GROUP}&a=${ART}&p=${PAC}&v=${VER}&c=${CLASS}" -O -J || exit + done +done # determine VPP dependency # use latest if honeycomb package does not depend on single VPP version, e.g. stable branches since HC2VPP-285 |