fi
if [ "$ODL_BRANCH" == 'master' ]; then
- ODL_STREAM='flourine'
+ ODL_STREAM='neon'
else
ODL_STREAM=${ODL_BRANCH#"stable/"}
fi
echo "Number of Control nodes found: ${NUM_CONTROL_NODES}"
echo "Number of Compute nodes found: ${NUM_COMPUTE_NODES}"
+# Only 1 combo or ctrl node is specified, even for OS HA deployments
+# Currently supported combinations are:
+# 0cmb-1ctl-2cmp
+# 1cmb-0ctl-0cmp
+# 1cmb-0ctl-1cmp
if [ "$NUM_COMPUTE_NODES" -eq 0 ]; then
- OPENSTACK_TOPO="${NUM_CONTROL_NODES}cmb-0ctl-0cmp"
+ OPENSTACK_TOPO="1cmb-0ctl-0cmp"
else
- OPENSTACK_TOPO="0cmb-${NUM_CONTROL_NODES}ctl-${NUM_COMPUTE_NODES}cmp"
+ OPENSTACK_TOPO="0cmb-1ctl-2cmp"
fi
idx=1
robot_cmd="pybot \
--removekeywords wuks \
--xunit robotxunit.xml \
+ --name 'CSIT' \
-e exclude \
-d $LOGS_LOCATION \
-v BUNDLEFOLDER:/opt/opendaylight \
# Live migration will not work unless we use a shared storage backend like
# Ceph which we do not currently use with CSIT images
#
+# ${SUITE_HOME}/netvirt/vpnservice/vpn_basic_ipv6.robot
+# This suite fails with an error indicating the connection was closed
+# to the overcloud control node:
+# https://build.opnfv.org/ci/job/cperf-apex-csit-master/104/consoleFull
suites="${SUITE_HOME}/openstack/connectivity/l2.robot \
${SUITE_HOME}/openstack/connectivity/l3.robot \
${SUITE_HOME}/openstack/securitygroup/neutron_security_group.robot \
${SUITE_HOME}/openstack/securitygroup/security_group_l3bcast.robot \
${SUITE_HOME}/netvirt/vpnservice/vpn_basic.robot \
- ${SUITE_HOME}/netvirt/vpnservice/vpn_basic_ipv6.robot \
${SUITE_HOME}/netvirt/elan/elan.robot \
${SUITE_HOME}/netvirt/vpnservice/arp_learning.robot \
${SUITE_HOME}/netvirt/l2l3_gatewaymac_arp.robot \
opnfv/cperf:$DOCKER_TAG \
/bin/bash -c "source /tmp/overcloudrc; mkdir -p \$HOME/.ssh; cp /tmp/id_rsa \$HOME/.ssh; \
cd /home/opnfv/repos/odl_test/ && git pull origin master; \
+ pip install odltools; \
${robot_cmd} ${suites};"
+
+echo "Running post CSIT clean"
+ansible-playbook -i ${CONTROLLER_1_IP}, -u heat-admin --key-file ${WORKSPACE}/id_rsa ${REL_PATH}/csit-clean.yaml.ansible -vvv